sfm-disambiguation-colmap icon indicating copy to clipboard operation
sfm-disambiguation-colmap copied to clipboard

How to work on large scale scenes?

Open zhangmozhe opened this issue 2 years ago • 2 comments

Thanks for this impressive work. Now we are working on 10k-20k images for colmap, is there any suggestion for this task? Can this work support the large-scale scene sfm?

Thanks a lot!

zhangmozhe avatar Feb 18 '22 09:02 zhangmozhe

Thanks for you interest. Unfortunately, the largest dataset I have worked on is berliner_dom with 1.6 k images only. So I am not sure if the code can run with 20k images without some problems like OOM. My suggestion would be try this Kataria's method first (you can use our modification to compile it with latest versions of COLMAP) since it is basically a COLMAP with some modifications. COLMAP should scale well and the runtime of this method should be close to a usual COLMAP run as it doesn't introduce many computations. Still, I think it will take days to run a scene at this scale and tuning parameters for it would be painful.

In the meantime, you can also try the Cui's method as I implement a parallel version of it on CPU. I am not sure how long this prefiltering will take but it might be good for the colmap mapper because it remove quite some matches beforehand. I am not sure if its runtime (prefiltering + COLMAP reconstruction) will be faster than a vanilla COLMAP run.

One friend also said that SuperGlue is helpful for repetitive scenes but I haven't try that much.

lxxue avatar Feb 18 '22 10:02 lxxue

Thanks for your detailed feedback so much! Thanks for your patience and great work!

zhangmozhe avatar Feb 18 '22 12:02 zhangmozhe