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

Bundle Adjustment Optimization Details #89

Open
Davidyao99 opened this issue Apr 19, 2024 · 3 comments
Open

Bundle Adjustment Optimization Details #89

Davidyao99 opened this issue Apr 19, 2024 · 3 comments

Comments

@Davidyao99
Copy link

I am looking over the optimization implementation and have some confusion over the PointCloudOptimizer implementation.

For poses, there seems to be a self.im_poses parameter and a self.pw_poses parameter. self.im_poses seems to be the world to cam transformation for each camera. self.pw_poses seems to be the world to cam transformation for each pair of images (which I assume is the same as the world to cam transformation for image1 in each pair since both images are in coordinates of image1?)

If so, why are there 2 sets of camera poses used during the optimization?

Any help in understanding is appreciated! Thanks!

@ljjTYJR
Copy link

ljjTYJR commented Apr 20, 2024

I think self.im_poses is just as the name points, the estimated camera poses for each image in the global coordinate.
The self.pw_poses is the estimated transformation of each prediction pair to align with the global estimated point cloud.

@Davidyao99
Copy link
Author

If that is the case, wouldnt the estimated camera pose and estimated transformation be related? If self.pw_poses is the transformation of points in cam1 coordinates of each pair to global coordinates, that means it is the same as the camera pose of cam1?

@ljjTYJR
Copy link

ljjTYJR commented Apr 26, 2024

If that is the case, wouldnt the estimated camera pose and estimated transformation be related? If self.pw_poses is the transformation of points in cam1 coordinates of each pair to global coordinates, that means it is the same as the camera pose of cam1?

Sorry, I did not get what you meant. Pair-wise transformation and image poses are two different things

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

No branches or pull requests

2 participants