cvg / pixel-perfect-sfm

Pixel-Perfect Structure-from-Motion with Featuremetric Refinement (ICCV 2021, Best Student Paper Award)
Apache License 2.0
1.29k stars 132 forks source link

Refinement of unoptimized camera poses #121

Open bkhanal-11 opened 9 months ago

bkhanal-11 commented 9 months ago

Thank you for this amazing work.

I have images, poses and intrinsic matrix obtained from a VIO SLAM. The poses I have are not optimized. I was looking for a tools to refine those poses based on feature matching from those images. Could you help me guide through it? I previously tried to use COLMAP and its instruction to refine pose but got really poor result.

So far I have tried to extract and match features using COLMAP, parse the known poses, images and intrinsics in the format "cameras.txt, images.txt, points3d.txt", then used point_triangulator and finally pixsfm.refine_colmap bundle_adjuster. But the results are worst than initial poses.