Closed darfire closed 1 year ago
Hi, triangulation only refines 3D points. If you want to refine 3D-points + poses + intrinsics, you can just use python -m pixsfm.refine_colmap ba
https://github.com/cvg/pixel-perfect-sfm/blob/17f9df35d02cc06bcdb8b072a739cd447b38e930/pixsfm/refine_colmap.py#L82-L95 after you built your 3D model from hloc triangulation.
If you use the low_memory
config, be sure to allow BA to refine poses and intrinsics by setting these parameters to true.
Hi,
I am trying to refine a model from known poses and I'm having issues making it work.
First my data set. I have:
The poses and camera intrinsics both need some refining. I am trying to use this project to achieve that. My reference_model is in a colmap text format (with points3D.txt empty).
I run the following sequence of commands:
At the end I get 2 models, one in sfm_test and one in sfm_test/hloc. I converted both to TXT and inspected cameras.txt and images.txt. Both the camera intrinsics and a selection of poses seem identical up to 12 decimals to the reference.
The reference poses themselves are pretty close but not close enough for what I am trying to achieve on this dataset (nerf).
Any suggestion on what I may be doing wrong here would be hugely appreciated.