SIFT Octave bug
I am using SIFT matching. For each keypoint I am printing its octave value, something like this:
cout << myKeypoint.octave;
This prints value too high, Example:
Octave value:10420482
Octave value:10420482
Octave value:11337985
Octave value:10944771
Octave value:2294529
Octave value:11535105
Octave value:11535105
Octave value:14549506
Octave value:9634305
Octave value:590082
Octave value:2032385
Octave value:12517889
Octave value:15335681
Octave value:11010817
Octave value:11731457
Octave value:10944769
Octave value:6488322
Octave value:983809
Octave value:3670784
Have you used SIFT keypoints? Which OpenCV version? And more important: Is your image large enough at all? The values look like that the octave-value hasn't been set at all. Double check everything, and if you are really sure it is a bug: write an example-code and submit the bug to http://code.opencv.org/projects/opencv/issues/new
I have last stable from sourceforge: 2.4.5. Also i am pretty sure it's a bug because if i use for example ORB the values are fine (about 1 to 4 )
Also I have found a strange bitmask operation to get the octave in another question: http://answers.opencv.org/question/9392/bug-sift-mask/ can't get the point thou
At least you can circumvent it, see: http://code.opencv.org/issues/2987