Click or drag to resize
CvInvokeCornerHarris Method
http://www.emgu.com
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.CV
Assembly: Emgu.CV.World (in Emgu.CV.World.dll) Version: 3.1.0.2282 (3.1.0.2282)
Syntax
public static void CornerHarris(
	IInputArray image,
	IOutputArray harrisResponse,
	int blockSize,
	int apertureSize = 3,
	double k = 0.04,
	BorderType borderType = BorderType.Reflect101
)

Parameters

image
Type: Emgu.CVIInputArray
Input image
harrisResponse
Type: Emgu.CVIOutputArray
Image to store the Harris detector responces. Should have the same size as image
blockSize
Type: SystemInt32
Neighborhood size
apertureSize (Optional)
Type: SystemInt32
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 (Optional)
Type: SystemDouble
Harris detector free parameter.
borderType (Optional)
Type: Emgu.CV.CvEnumBorderType
Pixel extrapolation method.
See Also