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

I have two images img1 and img2,how to get the matched point in img2 given points in img1 #34

Open
ddongcui opened this issue Aug 21, 2024 · 1 comment

Comments

@ddongcui
Copy link

I have two images img1 and img2,how to get the matched point in img2 given points in img1. That means I just want to match some specific points in two images,not the full image.

@wyf2020
Copy link
Contributor

wyf2020 commented Sep 4, 2024

I suggest making changes in two places of the code. First, based on the points of img1, we need to filter the coarse matches before this line of code. Then, during the fine matching stage, before this line of code, set all entries of conf_matrix_f (shape: 64,100) and conf_matrix_ff (shape: 64,100) to -1e9 except for the columns where the points of img1 are located, similar to a masking operation 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

No branches or pull requests

2 participants