Skip to content

Incorrect work with border cornerHarris and cornerMinEigenVal #10449

@ElenaGvozdeva

Description

@ElenaGvozdeva
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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions