Expand description
Point cloud comparison metrics for SpatialRust.
Distance metrics quantify how close two clouds are — the standard way to score registration, reconstruction, or downsampling against a reference.
Structs§
- Cloud
Distances - A bundle of directed and symmetric cloud-to-cloud distance statistics.
Functions§
- chamfer_
distance - Symmetric Chamfer distance between two clouds (sum of mean squared NN distances in both directions). Lower is better; zero for identical clouds.
- cloud_
distances - Computes directed NN distance statistics between
aandbin both directions with a single KD-tree per side. - hausdorff_
distance - Symmetric Hausdorff distance between two clouds (the largest NN distance in either direction). Captures the worst-case discrepancy.