Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Global registration fails on my data #471

Closed
mutp opened this issue Jul 24, 2018 · 4 comments
Closed

Global registration fails on my data #471

mutp opened this issue Jul 24, 2018 · 4 comments
Labels

Comments

@mutp
Copy link

mutp commented Jul 24, 2018

When I run global registration python script on my point clouds, I only get a blank white viewer with no data visualized.

What could be the reason for this failure? I am attaching my point cloud data, could someone please take a look.

Thanks in advance.
data.zip

@mutp
Copy link
Author

mutp commented Jul 24, 2018

Once I changed to voxel_size = 0.00001, my point clouds were able to be globally registered. I had a question regarding the result of the global registration. Are these return values correct or is there scope for further improvement.

global registration

@syncle
Copy link
Contributor

syncle commented Jul 24, 2018

It is because the point clouds are too tiny. The tutorial code is intended for the space using metric unit: 1 means 1m. However, the horizontal/vertical span of your point cloud is about 0.00035. If you directly reuse the tutorial code, this means you are using point clouds spanning only 0.035mm.

In this case, since the tutorial code downsamples point using voxels of few centimeters size, all the points are being inside to a single voxel. As a result, only a single point will remain after downsampling. That's why you observed nothing (actually there should be a single point after downsampling)

In summary, you can try one of the following things:

  • Try tune parameters in the tutorial script according to your point cloud
  • Rescale point clouds.

@mutp
Copy link
Author

mutp commented Jul 25, 2018

Perfect, thanks for your response. I'll try your suggestions.

@mutp mutp closed this as completed Jul 27, 2018
@ajayrfhp
Copy link

ajayrfhp commented Nov 13, 2018

It is because the point clouds are too tiny. The tutorial code is intended for the space using metric unit: 1 means 1m. However, the horizontal/vertical span of your point cloud is about 0.00035. If you directly reuse the tutorial code, this means you are using point clouds spanning only 0.035mm.

In this case, since the tutorial code downsamples point using voxels of few centimeters size, all the points are being inside to a single voxel. As a result, only a single point will remain after downsampling. That's why you observed nothing (actually there should be a single point after downsampling)

In summary, you can try one of the following things:

  • Try tune parameters in the tutorial script according to your point cloud
  • Rescale point clouds.

Can verify that the white blank screen gets fixed by adjusting depth_trunc parameter in create_rgbd_image_from_color_and_depth

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants