Abstract
The Shape Diameter Function (SDF) is a critical scalar metric for 3D shape analysis, providing a pose-oblivious measure of local object thickness. However, traditional SDF computation is computationally intensive and highly sensitive to surface noise and defects. We present a novel approach that calculates SDF relative to an offset surface. This method achieves a 10x speedup by reducing ray-casting requirements, enhances robustness against geometric noise, and extends SDF utility to non-watertight meshes and raw point clouds.
Introduction: The Challenges of Traditional SDF
In 3D geometry processing, the Shape Diameter Function (SDF) describes the local thickness of an object at any given point. Its primary advantage is being "pose-oblivious"—the value remains consistent even as an object deforms or changes pose (e.g., a character moving their limbs). This makes it indispensable for tasks like shape retrieval and automated segmentation.
Despite its utility, the conventional calculation of SDF faces three significant hurdles:
- Computational Overhead: It typically requires casting a cone of dozens of rays from every surface point to average their penetration distances.
- Sensitivity to Noise: Local surface "jitter" can drastically alter surface normals, leading to erratic ray directions and unstable diameter values.
- Strict Topology Requirements: Traditional methods often require "watertight" meshes. Models with holes, gaps, or raw point cloud data often cause the ray-casting logic to fail.
Methodology: The Offset Surface Approach
The core innovation of this work is the shift from calculating SDF on the raw input surface to an offset surface.
By conceptually placing a small sphere of radius $r$ at every point on the object, the outer boundary of the union of these spheres forms the "offset surface." The SDF at point $p$ is determined by finding the closest point $q$ on this outer envelope and shooting a single ray inward along the normal to find the intersection $q'$ on the opposite side. The final SDF is calculated as $||qq'|| - 2r$.
To maintain high performance, the authors utilize an Oriented Bounding Box (OBB) tree. This hierarchical structure allows for efficient intersection tests against the geometric primitives (spheres, cylinders, and prisms) that define the offset volume, avoiding the need to explicitly mesh the offset surface itself.
Key Insights
- Geometric Smoothing: The offset surface acts as a low-pass filter. It effectively "smooths out" high-frequency noise and minor surface details that would otherwise disrupt normal vectors, while preserving the underlying volumetric thickness.
- Efficiency Gains: Because the offset surface provides stable and reliable normals, a single ray is sufficient for an accurate thickness estimate. This reduction from tens of rays to one is the primary driver of the observed 10x speedup.
- Point Cloud Compatibility: Since the offset surface is constructed from point-centered spheres, the algorithm is inherently compatible with raw scan data (point clouds), bypassing the need for complex mesh reconstruction.
Experimental Results
The method was validated using standard benchmarks including SHREC’11 and common models like the Stanford Bunny and the "Kitten" mesh.
- Performance: On the "Kitten" model, the new method processed the shape in 0.6 seconds, compared to 6 seconds for the standard implementation.
- Robustness: The algorithm demonstrated near-invariance to noise, maintaining stable SDF values even with 6% random vertex noise or the removal of 15% of the model's triangles (simulating large cracks).
- Application Success: In shape retrieval tasks on the SHREC’11 dataset, the offset-based SDF outperformed the original in precision and recall. For segmentation, the method achieved a Rand Index of 0.37, a significant improvement over the conventional SDF's 0.63 (where lower values indicate better alignment with human ground truth).
Conclusion and Future Directions
By redefining the Shape Diameter Function through the lens of offset surfaces, this research provides a faster, more robust, and more versatile tool for 3D shape analysis. While the current implementation requires manual selection of the offset radius $r$ (typically 5% of the bounding box), future work aims to make this parameter self-adaptive. Additionally, integrating advanced filtering techniques like bilateral filtering could further enhance the precision of the resulting shape signatures.
Summary updated