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 get the .cam files? #199

Open
anna-debug opened this issue Aug 14, 2022 · 2 comments
Open

How to get the .cam files? #199

anna-debug opened this issue Aug 14, 2022 · 2 comments

Comments

@anna-debug
Copy link

I'm quite a newbie, can anyone explain how I can get the .cam files with the parameters for my images?

@Maxiah
Copy link

Maxiah commented Mar 13, 2023

use colmap to write out the .nvm files

@abenbihi
Copy link

Assuming you are using a pinhole camera model with known parameters fx, fy, cx, cy, and according to elibs/mve/libs/mve/camera.cc the .cam files has the following format f d0 d1 paspect ppx ppy with

133     # format the intrinsics to texrecon format
134     f = fx / width 
135     d0 = 0.
136     d1 = 0. 
137     paspect = fy / fx  
138     ppx = cx / width
139     ppy = cy / height

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

3 participants