AbstractSummed Volume Tables (SVTs) allow one to compute integrals over the data values in any cubical area of a three‐dimensional orthogonal grid in constant time, and they are especially interesting for building spatial search structures for sparse volumes. However, SVTs become extremely memory consuming due to the large values they need to store; for a dataset of n values an SVT requires 𝒪(n log n) bits. The 3D Fenwick tree allows recovering the integral values in 𝒪(log3 n) time, at a memory consumption of 𝒪(n) bits. We propose an algorithm that generates SVT representations that can flexibly trade speed for memory: From similar characteristics as SVTs, over equal memory consumption as 3D Fenwick trees at significantly lower computational complexity, to even further reduced memory consumption at the cost of raising computational complexity. For a 641 × 9601 × 9601 binary dataset, the algorithm can generate an SVT representation that requires 27.0GB and 46 · 8 data fetch operations to retrieve an integral value, compared to 27.5GB and 1521·8 fetches by 3D Fenwick trees, a decrease in fetches of 97%. A full SVT requires 247.6GB and 8 fetches per integral value. We present a novel hierarchical approach to compute and store intermediate prefix sums of SVTs, so that any prescribed memory consumption between 𝒪(n) bits and 𝒪(n log n) bits is achieved. We evaluate the performance of the proposed algorithm in a number of examples considering large volume data, and we perform comparisons to existing alternatives.
Read full abstract