-
Notifications
You must be signed in to change notification settings - Fork 544
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
Similarity Transform leads to a zero scale #188
Comments
I didn't play with the similarityTransform yet, but your problem seems general to all point cloud registrations. If your prior transformation is too far, you will converge to a local minima. In the case of a transformation with scale, an obvious one is the zero scale. You can use a software like Paraview to pre-align your point cloud manually. I would suggest you to use the inspector You should use your own calibration file to customize your solution with that part in it:
There are tons of reasons why a point cloud registration could fail. The best advice I can give you is to learn how to debug your solution with the visual tools we implemented in the library. Cheers! |
Can we close this issue? |
Thank you for your reply! Yes we can close it! |
I have one more question related to that issue. Can we avoid the algorithm to use one point more than once?! Because it find me a solution with a reprojection error near to 0.00000001, but with a scale near to 0.0000001. Every points in the second point cloud are scale to match on the same point in the first point cloud! Can we avoid it? Thank you |
Hello, I still have my problem! I tried serveral starts with different angle (Every 22.5° in each direction so 729 starts) and i want to keep the best solution. But the best (with the lowest getMeanError), is wrong. The scale is so small, every point are match on only one point in the second point cloud. Thank you! |
You can send your point clouds as attachments and I will check what is going on. From what I understand, there is no parameters for the PointToPointSimilarityErrorMinimizer implementation. You can also play with the
The parameter |
This is my point clouds : I tried :
but it crash! Should I translate the two point clouds to be closed? or it is already done in icp? Thank you |
Thank you very much for your reply! I applied icp, but first I translated one point cloud on the other and rotated in every direction(bruteforce) and I kept the best solution. I will try with your yaml! |
Thank you! [this image has been removed] Could you suggest the parameters I can play with for improving the results, please |
Hard for me to tell without doing it completely on my side. We cannot support individual tuning for all the applications using Also, your post has nothing to do with this issue "Similarity Transform leads to a zero scale". That being said, I'm glad your trying the library with what it looks like a construction application. |
Thank you. |
Hi,
I have a point cloud of a statue made by photogrammetry so 360 ° and a point cloud by structured light so only one face. The two points clouds don't have the same scale.
I tried the method used by the unit test "similarityTransform" but it find a scale near 0 to flatten the geomtry!
Do you have a solution to do that considering the different scale?
I can send the point coulds if needed!
Thank you
The text was updated successfully, but these errors were encountered: