From b2a49190059a7136007c121e86a0f5c2c764ea48 Mon Sep 17 00:00:00 2001 From: Misha S <43847934+mishasweetpie@users.noreply.github.com> Date: Sat, 27 Jan 2024 23:25:41 +0700 Subject: [PATCH] Fix metric names in comments for code examples --- docs/docs/sections/shape_metrics.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/docs/sections/shape_metrics.md b/docs/docs/sections/shape_metrics.md index 87b0214..54a4860 100644 --- a/docs/docs/sections/shape_metrics.md +++ b/docs/docs/sections/shape_metrics.md @@ -40,7 +40,7 @@ p1 = pcu.load_mesh_v("point_cloud_1.ply") # p2 is an (m, 3)-shaped numpy array containing one point per row p2 = pcu.load_mesh_v("point_cloud_2.ply") -# Compute the chamfer distance between p1 and p2 +# Compute the hausdorff distance between p1 and p2 hd = pcu.hausdorff_distance(p1, p2) ``` @@ -61,7 +61,7 @@ p1 = pcu.load_mesh_v("point_cloud_1.ply") # p2 is an (m, 3)-shaped numpy array containing one point per row p2 = pcu.load_mesh_v("point_cloud_2.ply") -# Compute the chamfer distance between p1 and p2 +# Compute the one sided hausdorff distance between p1 and p2 hd_p1_to_p2 = pcu.one_sided_hausdorff_distance(p1, p2) ``` @@ -85,6 +85,6 @@ p1 = pcu.load_mesh_v("point_cloud_1.ply") # p2 is an (m, 3)-shaped numpy array containing one point per row p2 = pcu.load_mesh_v("point_cloud_2.ply") -# Compute the chamfer distance between p1 and p2 +# Compute the earth-mover's distance between p1 and p2 emd, pi = pcu.earth_movers_distance(p1, p2) ```