mvs-texturing icon indicating copy to clipboard operation
mvs-texturing copied to clipboard

How to get the .cam files?

Open anna-debug opened this issue 1 year ago • 2 comments

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

anna-debug avatar Aug 14 '22 16:08 anna-debug

use colmap to write out the .nvm files

Maxiah avatar Mar 13 '23 00:03 Maxiah

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

abenbihi avatar Jul 16 '23 08:07 abenbihi