What are the mapper parameter values used by the automatic_reconstructor method?

703 views
Skip to first unread message

Wayne Cochran

unread,
Jan 26, 2021, 11:15:33 AM1/26/21
to COLMAP
I am trying to mimic the behavior of the following automatic reconstruction using feature extraction, matching, and a mapper:

colmap automatic_reconstructor \

    --workspace_path $DATASET_PATH \

    --image_path $DATASET_PATH/images \

    --quality extreme 

First thing I figured out is that Domain Size Pooling is used so I made sure to enable that:

colmap feature_extractor \

   --database_path $DATABASE_PATH \

   --image_path $DATASET_PATH/images \

   --SiftExtraction.domain_size_pooling 1 \

   --SiftExtraction.estimate_affine_shape 1

Then I proceeded with this:

colmap exhaustive_matcher \

   --database_path $DATABASE_PATH

colmap mapper \

   --database_path $DATABASE_PATH \

   --image_path $DATASET_PATH/images \

   --output_path $MODEL_PATH \

   --Mapper.ba_local_max_num_iterations 40 \

   --Mapper.ba_global_max_num_iterations 100 \

   --Mapper.ba_local_max_refinements 3 \

   --Mapper.ba_global_max_refinements 5


My initial DSP-SIFT matches are eqivalent, but I do not get the same two-view geometry matches as with the automatic reconstruction. What are the mapper parameter values used by automatic reconstruction for extreme quality? Is the automatic reconstructor doing something else that I am not?

P.S. I have no idea how to insert code snippets with this editing environment.

Revisionarian

unread,
Feb 12, 2021, 12:53:10 AM2/12/21
to COLMAP
You appear to be missing the "--SiftMatching.guided_matching 1" parameter setting for exhaustive_matcher.

Wayne Cochran

unread,
Feb 12, 2021, 11:49:53 AM2/12/21
to COLMAP
Yes -- thank you....

void OptionManager::ModifyForExtremeQuality() {

  // Most of the options are set to extreme quality by default.                                          

  sift_extraction->estimate_affine_shape = true;

  sift_extraction->domain_size_pooling = true;

  sift_matching->guided_matching = true;

  mapper->ba_local_max_num_iterations = 40;

  mapper->ba_local_max_refinements = 3;

  mapper->ba_global_max_num_iterations = 100;

Reply all
Reply to author
Forward
0 new messages