MCPcopy Create free account
hub / github.com/Robotics-STAR-Lab/H2-Mapping / completion

Function completion

mapping/eval/eval_recon.py:46–51  ·  view source on GitHub ↗
(gt_points, rec_points)

Source from the content-addressed store, hash-verified

44
45
46def completion(gt_points, rec_points):
47 gt_points_kd_tree = KDTree(rec_points)
48 distances, _ = gt_points_kd_tree.query(gt_points)
49 comp = np.mean(distances)
50 comp_std = np.std(distances)
51 return comp, comp_std
52
53
54def get_align_transformation(rec_meshfile, gt_meshfile):

Callers 1

calc_3d_metricFunction · 0.85

Calls 1

queryMethod · 0.80

Tested by

no test coverage detected