Cargando…
Vector Arithmetic in the Triangular Grid
Vector arithmetic is a base of (coordinate) geometry, physics and various other disciplines. The usual method is based on Cartesian coordinate-system which fits both to continuous plane/space and digital rectangular-grids. The triangular grid is also regular, but it is not a point lattice: it is not...
Autores principales: | , , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
MDPI
2021
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8004019/ https://www.ncbi.nlm.nih.gov/pubmed/33804720 http://dx.doi.org/10.3390/e23030373 |
_version_ | 1783671826416664576 |
---|---|
author | Abuhmaidan, Khaled Aldwairi, Monther Nagy, Benedek |
author_facet | Abuhmaidan, Khaled Aldwairi, Monther Nagy, Benedek |
author_sort | Abuhmaidan, Khaled |
collection | PubMed |
description | Vector arithmetic is a base of (coordinate) geometry, physics and various other disciplines. The usual method is based on Cartesian coordinate-system which fits both to continuous plane/space and digital rectangular-grids. The triangular grid is also regular, but it is not a point lattice: it is not closed under vector-addition, which gives a challenge. The points of the triangular grid are represented by zero-sum and one-sum coordinate-triplets keeping the symmetry of the grid and reflecting the orientations of the triangles. This system is expanded to the plane using restrictions like, at least one of the coordinates is an integer and the sum of the three coordinates is in the interval [−1,1]. However, the vector arithmetic is still not straightforward; by purely adding two such vectors the result may not fulfill the above conditions. On the other hand, for various applications of digital grids, e.g., in image processing, cartography and physical simulations, one needs to do vector arithmetic. In this paper, we provide formulae that give the sum, difference and scalar product of vectors of the continuous coordinate system. Our work is essential for applications, e.g., to compute discrete rotations or interpolations of images on the triangular grid. |
format | Online Article Text |
id | pubmed-8004019 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2021 |
publisher | MDPI |
record_format | MEDLINE/PubMed |
spelling | pubmed-80040192021-03-28 Vector Arithmetic in the Triangular Grid Abuhmaidan, Khaled Aldwairi, Monther Nagy, Benedek Entropy (Basel) Article Vector arithmetic is a base of (coordinate) geometry, physics and various other disciplines. The usual method is based on Cartesian coordinate-system which fits both to continuous plane/space and digital rectangular-grids. The triangular grid is also regular, but it is not a point lattice: it is not closed under vector-addition, which gives a challenge. The points of the triangular grid are represented by zero-sum and one-sum coordinate-triplets keeping the symmetry of the grid and reflecting the orientations of the triangles. This system is expanded to the plane using restrictions like, at least one of the coordinates is an integer and the sum of the three coordinates is in the interval [−1,1]. However, the vector arithmetic is still not straightforward; by purely adding two such vectors the result may not fulfill the above conditions. On the other hand, for various applications of digital grids, e.g., in image processing, cartography and physical simulations, one needs to do vector arithmetic. In this paper, we provide formulae that give the sum, difference and scalar product of vectors of the continuous coordinate system. Our work is essential for applications, e.g., to compute discrete rotations or interpolations of images on the triangular grid. MDPI 2021-03-20 /pmc/articles/PMC8004019/ /pubmed/33804720 http://dx.doi.org/10.3390/e23030373 Text en © 2021 by the authors. https://creativecommons.org/licenses/by/4.0/Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/ (https://creativecommons.org/licenses/by/4.0/) ). |
spellingShingle | Article Abuhmaidan, Khaled Aldwairi, Monther Nagy, Benedek Vector Arithmetic in the Triangular Grid |
title | Vector Arithmetic in the Triangular Grid |
title_full | Vector Arithmetic in the Triangular Grid |
title_fullStr | Vector Arithmetic in the Triangular Grid |
title_full_unstemmed | Vector Arithmetic in the Triangular Grid |
title_short | Vector Arithmetic in the Triangular Grid |
title_sort | vector arithmetic in the triangular grid |
topic | Article |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8004019/ https://www.ncbi.nlm.nih.gov/pubmed/33804720 http://dx.doi.org/10.3390/e23030373 |
work_keys_str_mv | AT abuhmaidankhaled vectorarithmeticinthetriangulargrid AT aldwairimonther vectorarithmeticinthetriangulargrid AT nagybenedek vectorarithmeticinthetriangulargrid |