projects
/
platform
/
upstream
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1984aac
)
Fixed crash in SSE implementation of FREAK descriptor when number of pairs is set...
author
Adrian Clark
<adrian.clark@hitlabnz.org>
Sun, 31 Aug 2014 21:37:33 +0000
(09:37 +1200)
committer
Adrian Clark
<adrian.clark@hitlabnz.org>
Sun, 31 Aug 2014 21:37:33 +0000
(09:37 +1200)
See http://code.opencv.org/issues/3889 for more details
modules/features2d/src/freak.cpp
patch
|
blob
|
history
diff --git
a/modules/features2d/src/freak.cpp
b/modules/features2d/src/freak.cpp
index
8cb1b4d
..
8bff9f5
100644
(file)
--- a/
modules/features2d/src/freak.cpp
+++ b/
modules/features2d/src/freak.cpp
@@
-394,7
+394,7
@@
void FREAK::computeImpl( const Mat& image, std::vector<KeyPoint>& keypoints, Mat
(*ptr) = result128;
++ptr;
}
- ptr -=
8
;
+ ptr -=
(FREAK_NB_PAIRS/128)*2
;
#else
// extracting descriptor preserving the order of SSE version
int cnt = 0;