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×block_size neighborhood.
Namespace: OpenCvSharp
Assembly: OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public void CornerHarris( CvArr harrisResponce, int blockSize, ApertureSize apertureSize, double k )
Parameters
- harrisResponce
- Type: OpenCvSharpCvArr
Image to store the Harris detector responces. Should have the same size as image. - blockSize
- Type: SystemInt32
Neighborhood size. - apertureSize
- Type: OpenCvSharpApertureSize
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
- Type: SystemDouble
Harris detector free parameter.
See Also