brief_oboe.patch
b/opencv/modules/features2d/src/brief.cpp | ||
---|---|---|
211 | 211 |
integral( grayImage, sum, CV_32S); |
212 | 212 | |
213 | 213 |
//Remove keypoints very close to the border |
214 |
removeBorderKeypoints(keypoints, image.size(), PATCH_SIZE/2 + KERNEL_SIZE/2); |
|
214 |
removeBorderKeypoints(keypoints, image.size(), PATCH_SIZE/2 + KERNEL_SIZE/2 + 1);
|
|
215 | 215 | |
216 | 216 |
descriptors = Mat::zeros((int)keypoints.size(), bytes_, CV_8U); |
217 | 217 |
test_fn_(sum, keypoints, descriptors); |