-
-
Notifications
You must be signed in to change notification settings - Fork 56.2k
Open
Labels
Description
System information (version)
- OpenCV => 3.3.1
- Operating System / Platform => Ubuntu 16.04
- Compiler => gcc version 5.4.0
Detailed description
Function cornerHarris
and cornerMinEigenVal
works with border incorrect. Еspecially, it can be demonstrated on submat. At first, this algorithm call Sobel
, and borders are interpolated as usual. So we have covariation matrix with size src.width * src.height
. After that, used boxFilter
, and borders interpolated one more time. But in submat case, we could calculete Sobel
for border pixels and use it in Box. So in OpenCV case, if you separate matrix for submats, and calculates cornerHarris for full mat and submats, you will have different result for pixel on submats borders.