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

Small bug in sift.py of PCV-note #28

Open
takeshi-a opened this issue Jul 21, 2016 · 2 comments
Open

Small bug in sift.py of PCV-note #28

takeshi-a opened this issue Jul 21, 2016 · 2 comments

Comments

@takeshi-a
Copy link

Hi Jan Erik,

I found a small bug in the code of PCV/pcv_book/sift.py.
https://github.com/jesolem/PCV/blob/master/pcv_book/sift.py

In the line 112, it is written like below,

plot([locs1[i][1],locs2[m][1]+cols1],[locs1[i][0],locs2[m][0]],'c')

This line is different from the code of PCV/PCV/localdescriptors/sift.py.
https://github.com/jesolem/PCV/blob/master/PCV/localdescriptors/sift.py

plot([locs1[i][0],locs2[m][0]+cols1],[locs1[i][1],locs2[m][1]],'c')

As you can see, X-Y coordinates are written differently between the two files, and the latter is correct. Since I used the first one in my practice, I've been stuck on drawing the corresponding lines.

I would be happy if this message helps you.

Best,
Takeshi

@jesolem
Copy link
Owner

jesolem commented Jul 22, 2016

Thanks. Yes, I found the problem which is why the PCV code has the right version. Was hesitant to update the book code...

@takeshi-a
Copy link
Author

Hi! It's my pleasure to find such bugs and to let you know. Because you made an excellent book, PCV, you are qualified. Please keep in touch. I'll keep on going with your book.

Takeshi

2016/07/22 19:59�$B!"�(BJan Erik Solem [email protected] �$B$N%a%C%;!<%8�(B:

Thanks. Yes, I found the problem which is why the PCV code has the right version. Was hesitant to update the book code...

�$B!=�(B
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

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