Skip to content

Commit a558f9e

Browse files
authored
Udpate calls to Open3D functions (#108)
1 parent 26200b9 commit a558f9e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

examples/teaser_python_3dsmooth/teaser_python_3dsmooth.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -264,10 +264,10 @@ def pair_eval_helper(scene_path, desc_path, gt_mat, frag1_idx, frag2_idx):
264264
frag2_desc = frag2_desc["data"]
265265

266266
# save as o3d feature
267-
frag1 = o3d.registration.Feature()
267+
frag1 = o3d.pipelines.registration.Feature()
268268
frag1.data = frag1_desc.T
269269

270-
frag2 = o3d.registration.Feature()
270+
frag2 = o3d.pipelines.registration.Feature()
271271
frag2.data = frag2_desc.T
272272

273273
# load point clouds

examples/teaser_python_fpfh_icp/example.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
o3d.visualization.draw_geometries([A_pcd_T_teaser,B_pcd])
6565

6666
# local refinement using ICP
67-
icp_sol = o3d.registration.registration_icp(
67+
icp_sol = o3d.pipelines.registration.registration_icp(
6868
A_pcd, B_pcd, NOISE_BOUND, T_teaser,
6969
o3d.registration.TransformationEstimationPointToPoint(),
7070
o3d.registration.ICPConvergenceCriteria(max_iteration=100))

0 commit comments

Comments
 (0)