A Closed-Form Algorithm for Converting Hilbert Space-Filling Curve Indices∗
نویسندگان
چکیده
We use the tensor product theory to formulate a closed-form algorithm for converting Hilbert space-filling curve indices of individual points. A twodimensional Hilbert space-filling curve is specified as a permutation which rearranges two-dimensional 2n×2n data elements stored in the row-major order as in C language or the column-major order as in FORTRAN language to the order of traversing a twodimensional Hilbert space-filling curve. The closedform algorithm converts the row-major index or the column index of a single point to the index of Hilbert space-filling curve order. The time complexity of the closed-form algorithm is a function of the length of the binary representation of the index and its space complexity is bounded by a constant. In addition, the closed-form tensor product formula can be directly translated into computer programs which can be used in various applications such as image compression. The process of program generation is explained in the paper.
منابع مشابه
Compact Hilbert Indices
Space-filling curves are continuous self-similar functions which map compact multi-dimensional sets into one-dimensional ones. Since their invention they have found applications in a wide variety of fields [12, 21]. In the context of scientific computing and database systems, spacefilling curves can significantly improve data reuse and request times because of their locality properties [9, 13, ...
متن کاملAnalysis of the Clustering Properties of the Hilbert Space-Filling Curve
ÐSeveral schemes for the linear mapping of a multidimensional space have been proposed for various applications, such as access methods for spatio-temporal databases and image compression. In these applications, one of the most desired properties from such linear mappings is clustering, which means the locality between objects in the multidimensional space being preserved in the linear space. I...
متن کاملTime Complexity of algorithms that update the Sierpiński-like and Modified Hilbert Curves
This paper presents the time complexity of two algorithms that update space-filling curves of adaptively refined domains. The Modified Hilbert (space-filling) Curve was proposed to traverse square-shaped adaptive-refined meshes. Whereas, the Sierpiński-like (space-filling) Curve was proposed in order to traverse triangular-shaped adaptive-refined meshes. Those curves are variations of the names...
متن کاملAn Intuitive Method for Hilbert Curve Coding
Hilbert curves can be generated by using L-System concept. A theoretical intuitive method is suggested for manipulating the Hilbert space filling curve for simple coding to one dimension. Our method is aimed to code the Hilbert curve simply by observing the base Hilbert curve as generated. By simple observation one can code the Hilbert curve easily. The present work has been mainly inspired by ...
متن کاملCompact Hilbert indices: Space-filling curves for domains with unequal side lengths
In this paper we define a new compact Hilbert index which, while maintaining all of the advantages of the standard Hilbert curve, permits spaces with unequal dimension cardinalities. The compact Hilbert index can be used in any application that would have previously relied on Hilbert curves but, in the case of unequal side lengths, provides a more memory efficient representation. This advantage...
متن کامل