1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 07:13:02 +04:00

fixed SURf according to clockwise descriptor convention

This commit is contained in:
marina.kolpakova
2012-07-25 13:08:05 +04:00
parent fdfa402428
commit 4fa282e1a9
3 changed files with 11 additions and 3 deletions
+1 -1
View File
@@ -198,7 +198,7 @@ namespace
keypoints.cols = featureCounter;
if (surf_.upright)
keypoints.row(SURF_GPU::ANGLE_ROW).setTo(Scalar::all(90.0));
keypoints.row(SURF_GPU::ANGLE_ROW).setTo(Scalar::all(360.0 - 90.0));
else
findOrientation(keypoints);
}