Hexagonal Efficient Coordinate System
The Hexagonal Efficient Coordinate System, formerly known as Array Set Addressing, is a coordinate system for hexagonal grids that allows hexagonally sampled images to be efficiently stored and processed on digital systems. HECS represents the hexagonal grid as a set of two interleaved rectangular sub-arrays, which can be addressed by normal integer row and column coordinates and are distinguished with a single binary coordinate. Hexagonal sampling is the optimal approach for isotropically band-limited two-dimensional signals and its use provides a sampling efficiency improvement of 13.4% over rectangular sampling. The HECS system enables the use of hexagonal sampling for digital imaging applications without requiring significant additional processing to address the hexagonal array.
Background
The advantages of sampling on a hexagonal grid instead of the standard rectangular grid for digital imaging applications include: more efficient sampling, consistent connectivity, equidistant neighboring pixels, greater angular resolution, and higher circular symmetry. Sometimes, more than one of these advantages compound together, thereby increasing the efficiency by 50% in terms of computation and storage when compared to rectangular sampling. Researchers have shown that the hexagonal grid is the optimal sampling lattice and its use provides a sampling efficiency improvement of 13.4% over rectangular sampling for isotropically band-limited two-dimensional signals. Despite all of these advantages of hexagonal sampling over rectangular sampling, application prior to the introduction of HECS was limited because of the lack of an efficient coordinate system.Hexagonal Efficient Coordinate System
Description
The Hexagonal Efficient Coordinate System is based on the idea of representing the hexagonal grid as a set of two rectangular arrays which can be individually indexed using familiar integer-valued row and column indices. The arrays are distinguished using a single binary coordinate so that a full address for any point on the hexagonal grid is uniquely represented by three coordinates.where the coordinates represent the array, row, and column, respectively. The hexagonal grid is separated into rectangular arrays by taking every other row as one array and the remaining rows as the other array, as shown in the figure.
Nearest neighbors
The addresses of the nearest neighbors of a pixel are easily determined by simple expressions which are functions of the pixel's coordinates, as shown.Convert to Cartesian
Converting coordinates in HECS to their Cartesian counterparts is done with a simple matrix multiplicationOperators
Preliminaries
Let the set of all possible HECS addresses beAddition
A binary addition operator has been defined aswhere is the logical XOR operator and is the logical AND operator.
Negation
A unary negation operator has been defined asSubtraction
A binary subtraction operator has been defined by combining the negation and addition operations asScalar multiplication
Scalar multiplication has been defined for non-negative integer scalar multipliers asand
Separable Fourier kernel
The hexagonal discrete Fourier transform was developed by Mersereau and was converted to an HECS representation by Rummelt. Let be a two-dimensional hexagonally sampled signal and let both arrays be of size. Let be the Fourier transform of x. The HDFT equation for the forward transform is given byNotice that the HECS representation of the HDFT overcomes Mersereau's "insurmountable difficulty" since it is a separable kernel, which led to the development of the hexagonal fast Fourier transform.