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

Function accuracy

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

Source from the content-addressed store, hash-verified

36
37
38def accuracy(gt_points, rec_points):
39 gt_points_kd_tree = KDTree(gt_points)
40 distances, _ = gt_points_kd_tree.query(rec_points)
41 acc = np.mean(distances)
42 acc_std = np.std(distances)
43 return acc, acc_std
44
45
46def completion(gt_points, rec_points):

Callers 1

calc_3d_metricFunction · 0.85

Calls 1

queryMethod · 0.80

Tested by

no test coverage detected