sfm-disambiguation-colmap
sfm-disambiguation-colmap copied to clipboard
aout rajkataria / ReliableResectioning MDS initializing
@lxxue Hi,sorry to bother you. when mds initializing, is the database a new database or is it generated after image extracting and image matching?
Hi, the author creates a new database (also overwrites the old one as they have the same name) and go over the correspondences as shown here: https://github.com/cvg/sfm-disambiguation-colmap/blob/b78896ba1579b7954ff2560b763759b861a0ba01/reliable_resectioning/src/base/mds.cc#L40-L98
I think the matches are in the DatabaseCache and not computed from scratch again.
@lxxue Hi, if creates a new database,the " images = database.ReadAllImages(); " images.size ==0,then image_names.size ==0;the for (auto const &im1 : image_names) do not exec ,so I think the database.db is the result of image extracting and image matching,do you think?
Sorry for the wrong answer: "the author creates a new database (also overwrites the old one".
Yes, you are right the author didn't create a new database. They just use the matches from database.db.