[Paper Review] VDB-EDT: An Efficient Euclidean Distance Transform Algorithm Based on VDB Data Structure
This paper proposes VDB-EDT, a novel Euclidean Distance Transform (EDT) algorithm that leverages the VDB data structure—a memory-efficient, hierarchical B+ tree—to accelerate distance field computation. By optimizing transform function scheduling and exploiting spatial coherency, VDB-EDT reduces memory usage by 30–85% and achieves competitive runtime performance, outperforming state-of-the-art methods in both efficiency and scalability on large-scale subterranean datasets.
This paper presents a fundamental algorithm, called VDB-EDT, for Euclidean distance transform (EDT) based on the VDB data structure. The algorithm executes on grid maps and generates the corresponding distance field for recording distance information against obstacles, which forms the basis of numerous motion planning algorithms. The contributions of this work mainly lie in three folds. Firstly, we propose a novel algorithm that can facilitate distance transform procedures by optimizing the scheduling priorities of transform functions, which significantly improves the running speed of conventional EDT algorithms. Secondly, we for the first time introduce the memory-efficient VDB data structure, a customed B+ tree, to represent the distance field hierarchically. Benefiting from the special index and caching mechanism, VDB shows a fast (average extit{O}(1)) random access speed, and thus is very suitable for the frequent neighbor-searching operations in EDT. Moreover, regarding the small scale of existing datasets, we release a large-scale dataset captured from subterranean environments to benchmark EDT algorithms. Extensive experiments on the released dataset and publicly available datasets show that VDB-EDT can reduce memory consumption by about 30%-85%, depending on the sparsity of the environment, while maintaining a competitive running speed with the fastest array-based implementation. The experiments also show that VDB-EDT can significantly outperform the state-of-the-art EDT algorithm in both runtime and memory efficiency, which strongly demonstrates the advantages of our proposed method. The released dataset and source code are available on https://github.com/zhudelong/VDB-EDT.
Motivation & Objective
- To address the high memory and computational cost of conventional Euclidean Distance Transform (EDT) algorithms in robotic motion planning.
- To improve runtime and memory efficiency by replacing monolithic arrays with a hierarchical, dynamic data structure.
- To enable efficient online trajectory generation in dynamic environments such as subterranean exploration.
- To benchmark EDT performance on large-scale, real-world datasets with complex spatial structures.
- To demonstrate the superiority of VDB-based distance field representation over existing hashing and tree-based methods.
Proposed method
- The algorithm uses the VDB data structure, a custom B+ tree, to hierarchically represent distance fields with fast random access and low memory overhead.
- It introduces a novel scheduling strategy for EDT functions (Raise and Lower) to minimize redundant operations and reduce query frequency by one-third.
- The method exploits spatial coherency by limiting transform operations to regions within a defined distance from obstacles, assigning maximum distance to untransformed areas.
- It dynamically allocates memory only for relevant map regions, avoiding full pre-allocation and reducing waste in sparse environments.
- The algorithm supports incremental updates for online planning, enabling real-time trajectory generation in dynamic maps.
- A large-scale subterranean dataset is released to benchmark EDT performance, reflecting real-world environmental complexity.
Experimental results
Research questions
- RQ1Can a hierarchical, tree-based data structure like VDB improve the memory and runtime efficiency of EDT compared to array-based and hashing-based methods?
- RQ2How does the proposed scheduling optimization of Raise and Lower functions affect the overall performance of EDT in dynamic environments?
- RQ3To what extent does spatial coherency in obstacle proximity reduce the computational load of distance field computation?
- RQ4Can VDB-EDT maintain high accuracy and performance on large-scale, real-world robotic mapping datasets?
- RQ5How does VDB-EDT compare to state-of-the-art EDT algorithms like FIESTA in terms of memory consumption and processing speed?
Key findings
- VDB-EDT reduces memory consumption by 30–85% compared to conventional array-based EDTs, depending on environmental sparsity.
- On the cow-and-lady dataset, VDB-EDT processes 5.4x more map changes than FIESTA while using only half the processing time.
- In the SubT dataset, VDB-EDT processes 1.7x more map changes and 1.6x more runtime than FIESTA, which fails to build a correct distance map.
- The number of query operations in VDB-EDT is reduced by one-third compared to the baseline, demonstrating the effectiveness of the optimized function scheduling.
- VDB-EDT achieves a 1.5x speedup over the standard VDB-based EDT implementation, with improved path quality due to more complete and accurate map fusion.
- The algorithm enables real-time online planning at 16Hz in a forest environment, using only 1.3Gbit of memory for both occupancy and distance maps.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.