MCPcopy Create free account
hub / github.com/colmap/colmap / VocabTreeOptions

Method VocabTreeOptions

src/colmap/controllers/pairing.cc:125–136  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

123}
124
125VocabTreePairingOptions SequentialPairingOptions::VocabTreeOptions() const {
126 VocabTreePairingOptions options;
127 options.num_images = loop_detection_num_images;
128 options.num_nearest_neighbors = loop_detection_num_nearest_neighbors;
129 options.num_checks = loop_detection_num_checks;
130 options.num_images_after_verification =
131 loop_detection_num_images_after_verification;
132 options.max_num_features = loop_detection_max_num_features;
133 options.vocab_tree_path = vocab_tree_path;
134 options.num_threads = num_threads;
135 return options;
136}
137
138bool SpatialPairingOptions::Check() const {
139 CHECK_OPTION_GE(max_distance, 0.0);

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected