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 fix camera pose and not to rescale pose? #2560

Open
zhangwenniu opened this issue Oct 6, 2024 · 1 comment
Open

How to fix camera pose and not to rescale pose? #2560

zhangwenniu opened this issue Oct 6, 2024 · 1 comment

Comments

@zhangwenniu
Copy link

I've been tracking how to import Colmap's output (camera intrinsics and extrinsics) into Meshroom recently. I'm glad to find the Colmap2MeshroomSfmConvertions.py file. When I use this file to convert colmap to cameras.sfm and import camera pose through the ImportKnownPoses node, even if I set the lock in intrinsics and extrinsics to true or "1", the camera pose will still be adjusted by Meshroom. The obvious difference is the scale problem. The camera translation range obtained by Colmap is much larger than the camera pose range obtained by Meshroom after the StructureFromMotion node. What happened during this process? How can I avoid Meshroom adjusting the camera pose result from my Colmap calibration to ensure that the reconstruction result is coordinate system aligned?

image

In the picture, the camera pose of the larger ring is imported through COLMAP, and the camera pose of the smaller ring is estimated by Meshroom after passing through the StructureFromMotion node.

@natowi
Copy link
Member

natowi commented Oct 6, 2024

You can run the SfmAlignment node

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