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

How to set contraint on transformation matrix? #5935

Open
3 tasks done
amir-opal opened this issue Feb 19, 2023 · 3 comments
Open
3 tasks done

How to set contraint on transformation matrix? #5935

amir-opal opened this issue Feb 19, 2023 · 3 comments

Comments

@amir-opal
Copy link

Checklist

My Question

I am working on a problem where all point clouds have their vertical axis aligned, e.g., the z-axis of all point clouds are the same. I want to apply point cloud registration on them. I know that the rotation matrix of the transformation should be a rotation around the z-axis. Thus, I want to set a constraint on the transformation matrix so that the resulting rotation matrix of registration is exactly a rotation around the z-axis. I do not want the algorithm to search for the rotation matrix among all available matrices. I wonder whether there is any implementation so that I cant put this constraint when I want to register the point clouds.

@ssheorey
Copy link
Member

Hi @amir-opal this is not supported yet. What is your use case? In most cases, the point clouds may be "almost" aligned along the Z axis, but not perfectly. e.g. automotive or mobile robot lidar point clouds. The Z axis will change if the car drives up a slope, etc.

@amir-opal
Copy link
Author

Hi @ssheorey. I want to use it for the case that I have the scans of rooms of an indoor space, and I want to stitch them. In this case, all of the point cloud have exactly their z-axis aligned. Is there any way to apply this constraint? or I should write this function from scratch?

@ssheorey
Copy link
Member

Please submit a PR if you implement this from scratch!
Related: #409

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

No branches or pull requests

2 participants