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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user