Skip to content
Discussion options

You must be logged in to vote

Managed to solve it by adding estimate normals, as the given pcd didn't compute normals for each point, hence it can't be applied to TransformationEstimationPointToPlane
Add the last 2 lines in the giving sample project, resolved the issue for me.
source = source_raw.voxel_down_sample(voxel_size=0.02)
target = target_raw.voxel_down_sample(voxel_size=0.02)
source.estimate_normals(search_param=o3d.geometry.KDTreeSearchParamHybrid(radius=0.1, max_nn=30))
target.estimate_normals(search_param=o3d.geometry.KDTreeSearchParamHybrid(radius=0.1, max_nn=30))

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by germanros1987
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant