sunyinhui / jopensurf

Automatically exported from code.google.com/p/jopensurf
Other
0 stars 0 forks source link

Possible bug in choice of upright vs free oriented points? #2

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Download latest SVN code

What is the expected output? What do you see instead?

N/A

What version of the product are you using? On what operating system?

Latest SVN code on Ubuntu 10.10

Please provide any additional information below.

This is a question more than an issue.  In 
com.stromberglabs.jopensurf.Surf.getPoints(boolean), the ternary assignment to 
points uses 'mFreeOrientedPoints' if the parameter 'upright' is true, and 
'mUprightPoints' if 'upright' is false:

 List<SURFInterestPoint> points = upright ? mFreeOrientedPoints : mUprightPoints;

Is this correct, or should it be:

 List<SURFInterestPoint> points = upright ? mUprightPoints : mFreeOrientedPoints;

Original issue reported on code.google.com by nwchr...@gmail.com on 21 Nov 2010 at 9:43

GoogleCodeExporter commented 9 years ago
This should now be resolved, I switched it so that they're correctly assigned 
now.

Original comment by jojopot...@gmail.com on 6 Dec 2010 at 4:17