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

fixed bug in SURF_GPU

This commit is contained in:
Vladislav Vinogradov
2012-01-30 07:59:14 +00:00
parent d38ca09738
commit bb23288c3d
2 changed files with 6 additions and 6 deletions
+3 -1
View File
@@ -200,7 +200,9 @@ namespace
keypoints.cols = featureCounter;
if (!upright)
if (upright)
keypoints.row(SURF_GPU::SF_DIR).setTo(Scalar::all(90.0));
else
findOrientation(keypoints);
}