-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable RANSAC in triangulation #292
Merged
Merged
Changes from all commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
6089133
enabled RANSAC in triangulation, tested reprojection error threshold …
travisdriver acd4fdd
fix merge conflicts
travisdriver e04bbca
remove changes in config
travisdriver beaa85d
remove changes in config
travisdriver 7febac4
Fixed merge conflicts
travisdriver 742d250
Changed RANSAC threshold to 3 pixels
travisdriver 998c446
Removed dashboard file
travisdriver c74954d
Merge branch 'master' of https://github.com/borglab/gtsfm into use-ra…
travisdriver 613fecb
Reject RANSAC support if <3 measurements
travisdriver f194248
Increase RANSAC threshold to 10 pixels
travisdriver 1a94590
Increase pixel threshold to 100
travisdriver d4fe8c7
Merge branch 'master' of https://github.com/borglab/gtsfm into use-ra…
travisdriver 300e1b4
Decrease RANSAC threshold to 10 pixels
travisdriver 30956c1
Decrease RANSAC threshold to 10 pixels
travisdriver 1e8c9fd
Merge branch 'master' of https://github.com/borglab/gtsfm into use-ra…
9826848
Merge branch 'master' of https://github.com/borglab/gtsfm into use-ra…
travisdriver 2946037
Merge branch 'master' of https://github.com/borglab/gtsfm into use-ra…
travisdriver 4bc9a58
Added AstroNet config
travisdriver c90a98a
Testing confidence-based RANSAC
travisdriver 70962db
Fixed other configs
travisdriver d0cc521
Change SIFT frontend threshold to 100 pixels
travisdriver 0364627
Merge branch 'master' of https://github.com/borglab/gtsfm into use-ra…
travisdriver 16eb600
Fixed unit tests
travisdriver 5669c36
Fixed unit tests
travisdriver 92d0381
Added unit tests, addressed comments
travisdriver 7f61b42
Fixed bugs
travisdriver 3fe2a08
Fix astronet config
travisdriver 991e693
address Akshay comments
7de6481
rename param
6b15560
Merge pull request #433 from borglab/rename-triangulation-param-class
johnwlambert c0342a0
Merge branch 'master' of https://github.com/borglab/gtsfm into use-ra…
f4e3dd7
add ViewGraphEstimator to new config
johnwlambert b3e3e78
address Ayush comments
johnwlambert ba1af74
use str Enum inheritance for config readability
johnwlambert File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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: | ||
travisdriver marked this conversation as resolved.
Show resolved
Hide resolved
|
||
_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 | ||
travisdriver marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we name it something which mentions this attribute value being high instead of tagging it with a database?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree, I think this would improve clarity
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
AstroNet is the only dataset that uses the config by default, so it seems fitting to name it accordingly.