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 produce the points #1

Open
MahejabeenNidhi opened this issue Jan 10, 2024 · 1 comment
Open

How to produce the points #1

MahejabeenNidhi opened this issue Jan 10, 2024 · 1 comment

Comments

@MahejabeenNidhi
Copy link

Hi, thank you for your work. I am still learning homography and image stitching.

Could you please let me know how you were able to generate the points in the .npy files?

Best.

@sumeyye-agac
Copy link
Owner

sumeyye-agac commented Jan 28, 2024

Hi, thank you for your work. I am still learning homography and image stitching.

Could you please let me know how you were able to generate the points in the .npy files?

Best.

Hi, thank you for your interest. The points in the .npy files are generated through user interaction using the ginput function. Users click on distinctive features in the images, such as corners or key landmarks. Then, these points are stored in the .npy files for subsequent use in homography calculations.

For instance, when creating "points_paris_a_-paris_ab.npy", we aim to select coordinates of key points in image paris_a, considering common image regions with image paris_b as much as possible. Similarly, in "points_paris_b_-paris_ab.npy", we select coordinates of key points in image paris_b, considering common image regions with image paris_a as much as possible. Therefore, there is not just one set of points .npy for image paris_b. The points selected for stitching with image paris_a ("points_paris_b_-paris_ab.npy") differ from those selected for stitching with image paris_c ("points_paris_b_-paris_bc.npy").

For additional insights on how to select points, you can also take a look at the visuals on this link

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