Fix read after the end of local buffer in SSE-optimized TYPE_5_8 and TYPE_7_12 FAST cornerScore

This commit is contained in:
Andrey Kamaev
2012-10-10 02:31:44 +04:00
parent 56b27bcc7e
commit a9f36dfcfe
2 changed files with 40 additions and 43 deletions

View File

@@ -53,8 +53,6 @@ namespace cv
void makeOffsets(int pixel[25], int row_stride, int patternSize);
//static void testCorner(const uchar* ptr, const int pixel[], int K, int N, int threshold);
template<int patternSize>
int cornerScore(const uchar* ptr, const int pixel[], int threshold);