Runs the Harris edge detector on image. Similarly to cvCornerMinEigenVal and cvCornerEigenValsAndVecs, for each pixel it calculates 2x2 gradient covariation matrix M over block_size x block_size neighborhood. Then, it stores
det(M) - k*trace(M)^2
to the destination image. Corners in the image can be found as local maxima of the destination image.
Namespace: Emgu.CVAssembly: Emgu.CV (in Emgu.CV.dll) Version: 2.2.0.1010 (2.2.0.1010)
Syntax
C# | Visual Basic | Visual C++ |
Parameters
- image
- IntPtr
Input image
- harrisResponce
- IntPtr
Image to store the Harris detector responces. Should have the same size as image
- blockSize
- Int32
Neighborhood size
- apertureSize
- Int32
Aperture parameter for Sobel operator (see cvSobel). format. In the case of floating-point input format this parameter is the number of the fixed float filter used for differencing.
- k
- Double
Harris detector free parameter.