chamfer_distance — 3D metrics op

Data kinds: points × pointsmeasurement

Call: import metrics3d; metrics3d.chamfer_distance(a, b, squared=False) (or ops3d.get("chamfer_distance"))

Usage

The symmetric Chamfer distance = 0.5*(mean_a min_b + mean_b min_a). → scalar. Smaller is a closer match.

Background guides (the physics and conventions behind this op)

blender_interop — Blender との併用 — 形を作って fullseye で測る(軸・単位・正解データの罠)

measurement_uncertainty — 計測の不確かさと校正の知識 — 「測れている」を主張するために

References (sample data, literature)

• Sample-data catalog (download URLs / licences) — 2-D uses skimage.data (BSD/public domain) plus synthetic images; 3-D lists download URLs for real data sources (Stanford, PDS, …).

• Operator provenance and references — the sources of the research/methods this op family came from.

Runnable examples (verified samples that actually call this op)

itokawa_pose_canonicalpy -3.11 examples_3d/itokawa_pose_canonical.py

itokawa_shape_matchpy -3.11 examples_3d/itokawa_shape_match.py

mesh_lod_downloadpy -3.11 examples_3d/mesh_lod_download.py

poisson_surface_reconpy -3.11 examples_3d/poisson_surface_recon.py

Ops the type connects to (they accept measurement as input)

vol_gaussian_psf · fuse_to_voxel · fresnel_reflectance · snell_angle

Same category (metrics)

hausdorff_distance · fscore · rmse_correspondence · normal_consistency · voxel_iou · pose_error


*Provenance: metrics3d.py — 3D operator registry. This per-op note is generated by tools/opdocs.py md (do not hand-edit).*

© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.