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

How to get patches? #6

Closed
KarlThelor opened this issue Feb 26, 2020 · 5 comments
Closed

How to get patches? #6

KarlThelor opened this issue Feb 26, 2020 · 5 comments

Comments

@KarlThelor
Copy link

Since the keypoints are detected from distorted images,how to get patches from undistort images ?

@lzx551402
Copy link
Owner

it is indeed a bit troublesome, you may first refer to this example for point undistortion. I will write another example to address your concern.

@KarlThelor
Copy link
Author

Much obliged,that would be great helpful

@Archaon6734
Copy link

Your work are great,but I have a similar problem,we can get the keypoint location in undistort images just as example "(x, y) = (TRANSFORMATION[0, 2] * W/2 + W/2, TRANSFORMATION[1, 2] * H/2 + H/2)"
what's the meaning of TRANSFORMATION[0, 0],and TRANSFORMATION[0, 1]?
If they are the reslut of transformation in GeoDesc 3.2,and if I want get the correnspond patch in differnt scale image,it seems like that I need solve a trigonometric equation to get scale (σ) and orientation (θ) parameters of SIFT.

@lzx551402
Copy link
Owner

@KarlThelor @Archaon6734 Hi two, thank you for your concerning. I write an example to address your concerns, you may now call python visualize.py patch to extract the matching patches. You will be able to see something like this.

I think this fragment of code would better explain your questions.

@Archaon6734
Copy link

It really solved my troubles,I really appreciate your help,thanks!

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

3 participants