(gt_points, rec_points)
| 44 | |
| 45 | |
| 46 | def 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 | |
| 54 | def get_align_transformation(rec_meshfile, gt_meshfile): |