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

Method AddSpatialPairingOptions

src/colmap/controllers/option_manager.cc:449–465  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

447}
448
449void OptionManager::AddSpatialPairingOptions() {
450 if (added_spatial_pairing_options_) {
451 return;
452 }
453 added_spatial_pairing_options_ = true;
454
455 AddFeatureMatchingOptions();
456 AddTwoViewGeometryOptions();
457
458 AddDefaultOption("SpatialMatching.ignore_z", &spatial_pairing->ignore_z);
459 AddDefaultOption("SpatialMatching.max_num_neighbors",
460 &spatial_pairing->max_num_neighbors);
461 AddDefaultOption("SpatialMatching.min_num_neighbors",
462 &spatial_pairing->min_num_neighbors);
463 AddDefaultOption("SpatialMatching.max_distance",
464 &spatial_pairing->max_distance);
465}
466
467void OptionManager::AddTransitivePairingOptions() {
468 if (added_transitive_pairing_options_) {

Callers 1

RunSpatialMatcherFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected