Skip to content
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

[refactor] Remove ransac binaries and calls #197

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

jmichel-otb
Copy link
Member

This PR removes calls to ransac binaries at then of the matching function in sift.py. This mode was barely used and we already have the epipolar checks for that. I also remove the ransac binaries.

@carlodef
Copy link
Contributor

The test added in PR #206 shows that removing RANSAC from the function s2p.sift.matches_on_rpc_roi changes the number of matches. I'll come up with a Python implementation to replace the ransac binaries.

@carlodef carlodef requested a review from dyoussef March 24, 2019 06:51

test_matches = s2p.sift.keypoints_match('tests/data/units/sift1.txt','tests/data/units/sift2.txt')
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you explain why you removed those checks ?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These checks are not removed. As these checks are done several times at different places, a small refactoring was done in PR #206 to avoid code duplication and these checks were moved in the function test_s2p.assert_arrays_are_equal. As this PR contains PR #206, this change appears here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants