-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #292 from borglab/use-ransac-in-triangulation
Enable RANSAC in triangulation
- Loading branch information
Showing
10 changed files
with
272 additions
and
119 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
# Relaxes triangulation RANSAC threshold to 100 (10x threshold of deep_front_end.yaml) | ||
|
||
SceneOptimizer: | ||
_target_: gtsfm.scene_optimizer.SceneOptimizer | ||
save_gtsfm_data: True | ||
save_two_view_correspondences_viz: False | ||
save_3d_viz: True | ||
pose_angular_error_thresh: 5 # degrees | ||
|
||
feature_extractor: | ||
_target_: gtsfm.feature_extractor.FeatureExtractor | ||
detector_descriptor: | ||
_target_: gtsfm.frontend.cacher.detector_descriptor_cacher.DetectorDescriptorCacher | ||
detector_descriptor_obj: | ||
_target_: gtsfm.frontend.detector_descriptor.superpoint.SuperPointDetectorDescriptor | ||
max_keypoints: 5000 | ||
|
||
two_view_estimator: | ||
_target_: gtsfm.two_view_estimator.TwoViewEstimator | ||
bundle_adjust_2view: True | ||
eval_threshold_px: 4 # in px | ||
bundle_adjust_2view_maxiters: 100 | ||
|
||
matcher: | ||
_target_: gtsfm.frontend.cacher.matcher_cacher.MatcherCacher | ||
matcher_obj: | ||
_target_: gtsfm.frontend.matcher.superglue_matcher.SuperGlueMatcher | ||
use_outdoor_model: True | ||
|
||
verifier: | ||
_target_: gtsfm.frontend.verifier.ransac.Ransac | ||
use_intrinsics_in_verification: True | ||
estimation_threshold_px: 4 # for H/E/F estimators | ||
|
||
inlier_support_processor: | ||
_target_: gtsfm.two_view_estimator.InlierSupportProcessor | ||
min_num_inliers_est_model: 15 | ||
min_inlier_ratio_est_model: 0.1 | ||
|
||
multiview_optimizer: | ||
_target_: gtsfm.multi_view_optimizer.MultiViewOptimizer | ||
view_graph_estimator: | ||
_target_: gtsfm.view_graph_estimator.cycle_consistent_rotation_estimator.CycleConsistentRotationViewGraphEstimator | ||
edge_error_aggregation_criterion: MEDIAN_EDGE_ERROR | ||
|
||
rot_avg_module: | ||
_target_: gtsfm.averaging.rotation.shonan.ShonanRotationAveraging | ||
|
||
trans_avg_module: | ||
_target_: gtsfm.averaging.translation.averaging_1dsfm.TranslationAveraging1DSFM | ||
robust_measurement_noise: True | ||
|
||
data_association_module: | ||
_target_: gtsfm.data_association.data_assoc.DataAssociation | ||
min_track_len: 2 | ||
triangulation_options: | ||
_target_: gtsfm.data_association.point3d_initializer.TriangulationOptions | ||
reproj_error_threshold: 100 | ||
mode: | ||
_target_: gtsfm.data_association.point3d_initializer.TriangulationSamplingMode | ||
value: RANSAC_SAMPLE_UNIFORM | ||
max_num_hypotheses: 100 | ||
save_track_patches_viz: False | ||
|
||
bundle_adjustment_module: | ||
_target_: gtsfm.bundle.bundle_adjustment.BundleAdjustmentOptimizer | ||
output_reproj_error_thresh: 3 # for post-optimization filtering | ||
robust_measurement_noise: True | ||
shared_calib: False | ||
|
||
dense_multiview_optimizer: | ||
_target_: gtsfm.densify.mvs_patchmatchnet.MVSPatchmatchNet |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.