Computing Medial Axis Transform with Feature Preservation via Restricted Power Diagram

Ningna Wang, Bin Wang, Wenping Wang, Xiaohu Guo

Abstract

The Medial Axis Transform (MAT) is a fundamental geometric representation defined as the set of centers of maximally inscribed spheres within a 3D shape. Despite its utility in shape analysis and mesh generation, robustly computing the MAT for complex 3D models—particularly those with sharp CAD features—remains a significant challenge. This paper presents a novel framework that leverages Restricted Power Diagrams (RPD) to preserve both external features (sharp edges and corners) and internal features (seams and junctions). By utilizing Restricted Power Cells (RPC) for sphere classification and optimization, the proposed method achieves high-fidelity skeletal representations with significantly lower error rates and fewer medial spheres than existing state-of-the-art techniques.

Introduction

The Medial Axis Transform (MAT) serves as a "skeleton" for 3D geometry, capturing the topological and geometric essence of a shape. For a given 3D volume, the medial axis is the locus of points equidistant from at least two points on the shape's boundary. While conceptually simple, the practical computation of the MAT is fraught with difficulties. Existing approaches generally fall into two categories: sampling-based methods, which rely on Voronoi cells of surface points, and voxel-based methods, which utilize volumetric grids.

Sampling-based methods often struggle with sharp features, requiring near-infinite point density to accurately capture edges, which frequently results in "gaps" in the skeleton. Conversely, voxel-based methods are prone to "zig-zag" artifacts and often over-prune the skeleton during the thinning process to maintain a 2D sheet structure. Critically, most existing methods fail to explicitly preserve "internal" features—the seams and junctions where different sheets of the medial axis intersect. This paper introduces a pipeline centered on the Restricted Power Diagram (RPD) to address these limitations.

Methodology

The core of the proposed framework is the use of the Restricted Power Diagram, a weighted variant of a Voronoi diagram. When restricted to the surface of the input shape, the RPD provides critical topological information that guides the MAT construction.

Classification via Restricted Power Cells (RPC)

A key insight of this work is using the Restricted Power Cell (RPC)—the portion of the shape's surface associated with a specific medial sphere—as a topological sensor. The number of connected components in an RPC reveals the sphere's classification:

  • Two components: The sphere lies on a medial sheet.
  • Three components: The sphere lies on a seam.
  • Four or more components: The sphere represents a junction.

This approach transforms a complex geometric classification problem into a robust topological counting task.

Multi-tangent Sphere Optimization

To refine the positions of initial medial spheres, the authors developed a two-stage iterative solver. This solver nudges spheres into ideal positions where they are perfectly tangential to the surface at multiple points. This optimization ensures that the spheres accurately represent the ground truth geometry of seams and junctions, which are often misplaced in noisy initial samplings.

Feature Preservation Strategies

The framework employs dual strategies for feature preservation:

  1. External Features: An adaptive re-sampling strategy is applied to convex sharp edges. This prevents non-feature spheres from "invading" the boundary, thereby maintaining the connectivity of the sharp external features.
  2. Internal Features: The system detects regions where the medial axis is undersampled—such as missing seams between connected sheets—and directly inserts new feature spheres to bridge these gaps.

Geometry-guided Thinning

To ensure the final medial mesh is a "thin" 2D structure without 3D volume, the authors utilize a pruning algorithm guided by Restricted Power Segments (RPS). Medial faces are ranked by an "importance factor" derived from the length of their dual RPS. This ensures that geometrically significant portions of the skeleton are preserved while redundant elements are removed, avoiding the holes and "pockets" common in standard topological thinning.

Experimental Results

The framework was evaluated primarily using the ABC dataset, a large-scale collection of CAD models. Testing on a subset of 2,048 models, as well as organic shapes like a bear and a dolphin, demonstrated the method's versatility and precision.

Accuracy and Efficiency

The proposed method achieved Hausdorff distance errors (a measure of reconstruction accuracy) significantly lower than state-of-the-art methods such as Power Crust, Scale Axis Transform (SAT), and Voxel Core. In many instances, the error was reduced by an order of magnitude, dropping from 2-5% in competing methods to approximately 0.1%. Furthermore, the method is highly efficient; it can produce a more accurate skeleton using only 2,000 spheres compared to 55,000 spheres required by previous CAD-specific medial algorithms.

Topological Fidelity

The resulting medial meshes consistently maintain the correct Euler characteristic. This indicates that the skeletons are topologically equivalent to the input shapes and correctly "thin," satisfying a critical requirement for downstream applications.

Conclusion and Future Work

This research provides a robust framework for computing the 3D Medial Axis Transform with unprecedented feature preservation. While the method demonstrates high success rates, the authors note that theoretical guarantees for topological preservation across all possible input shapes are still being developed. In a test of 73 highly complex models, 19 still exhibited incorrect Euler characteristics, suggesting areas for further refinement in thinning logic.

The high-quality MAT produced by this method holds significant potential for engineering applications, particularly in hex-meshing—the conversion of complex shapes into grids of cubes for simulation. By providing a reliable skeletal structure that respects both internal and external features, this framework moves the field closer to a "general tool" for advanced geometric processing.

Summary updated

BibTeX
@article{wang2022computing,
  author = {Ningna Wang and Bin Wang and Wenping Wang and Xiaohu Guo},
  title = {{Computing Medial Axis Transform with Feature Preservation via Restricted Power Diagram}},
  journal = {ACM Trans. Graphics},
  year = {2022},
}
Figure