> I've already played with the data management tool (without the desired effect). However, I experience some strange results here.
> My test dataset contains 250 images. I computed a reconstruction without "Single camera for all images". The database management tool lists for each image a different camera. However, all cameras share the SAME intrinsics, i.e. the "params" column in the database management tool contains for each entry the following "2304.000000, 960.000000, 540.000000, 0.000000".
They have the same intrinsic parameters in the database, since they were automatically extract from the images. But as long as the camera_id column of the images does not have the same ID, they do not "share" the same intrinsics in the SfM optimization. If the camera_id of the images is different, the camera intrinsics are simply initialized with whatever is in the database. So, after the reconstruction, the parameters of each camera might be different from each other.
> However, if I export the reconstruction to disc, the "camera.txt" file contains entries like "1 SIMPLE_RADIAL 1920 1080 1250 960 540 -0.00449804", "2 SIMPLE_RADIAL 1920 1080 1250.45 960 540 -0.00489968", etc. I get a similar result if I export the reconstruction as ".nvm" file.
See above. The cameras.txt will only contain a single camera, if all images have the same camera_id.
> Note: The focal length does not match, i.e. 2304 vs. 1250
Probably because the initial guess was bad. I guess the images do not have EXIF information?
> Going one step further, and adding a new camera (e.g. something like "1 SIMPLE_RADIAL 1920 1080 1250 960 540 -0.00449804) with the database management tool, setting the id for all images to the id of the recently added camera, clicking "save", and applying bundle adjustment does not result in sharing the intrinsics for this reconstruction. (If I export the reconstruction again, I see still cameras with different intrinsic camera parameters, e.g. "250 SIMPLE_RADIAL 1920 1080 1147.19 960 540 -0.00244725", "249 SIMPLE_RADIAL 1920 1080 1147.54 960 540 -0.00265687") I think the bundle adjustment was applied without using the new camera information.
The manual bundle adjustment step simply takes the reconstruction as is. In order to use the new camera settings from the database, you have to restart the reconstruction again.
> p.s. If changing the camera model after performing feature extraction has no effect, it would be nice to grey the functionality out, so that the user is aware that a change of this value has no effect
Hm, since you can extract images multiple times, there is no way to know when the user is done with extracting images. I will try to clarify the option though.
Thanks for the feedback, let me know if you have other questions.
Cheers,
Johannes
>
>
> --
> You received this message because you are subscribed to the Google Groups "COLMAP" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
colmap+un...@googlegroups.com.
> To post to this group, send email to
col...@googlegroups.com.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/colmap/078cec2a-7c15-4044-a92f-e17df838f2d6%40googlegroups.com.