Fixed crash in SSE implementation of FREAK descriptor when number of pairs is set to something other than 512.
See http://code.opencv.org/issues/3889 for more details
This commit is contained in:
parent
1984aacb27
commit
fcc481e751
@ -394,7 +394,7 @@ void FREAK::computeImpl( const Mat& image, std::vector<KeyPoint>& keypoints, Mat
|
|||||||
(*ptr) = result128;
|
(*ptr) = result128;
|
||||||
++ptr;
|
++ptr;
|
||||||
}
|
}
|
||||||
ptr -= 8;
|
ptr -= (FREAK_NB_PAIRS/128)*2;
|
||||||
#else
|
#else
|
||||||
// extracting descriptor preserving the order of SSE version
|
// extracting descriptor preserving the order of SSE version
|
||||||
int cnt = 0;
|
int cnt = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user