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

Can we apply Keypoint adjustment and Bundle adjustment without colmap? #99

Open ForcewithMe66 opened 1 year ago

ForcewithMe66 commented 1 year ago

Hi, I can only install pycolmap in my environment, instead of COLMAP+pycolmap.

I want to use pixel-perfect-sfm to implement Keypoint adjustment(The first step of the refinement is the keypoint adjustment (KA). It refines the keypoints from tentative matches only, before SfM. Here we show how to run this step separately.) and Bundle adjustment(The second contribution of the refinement is the bundle adjustment (BA). Here we show how to run it separately to refine an existing COLMAP 3D model.).

Is it possible to use these two functions with only PYCOLMAP, instead of installing COLMAP?

Phil26AT commented 1 year ago

Hi, unfortunately, this is not possible right now. To make this work, one would need to build wheels for pixsfm, similar to how it is done in pycolmap. We are also interested in making pixsfm more portable, so if someone is willing to take the lead on this I would gladly offer my help.