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 (in Emgu.CV.dll) Version: 2.2.0.1010 (2.2.0.1010)

Syntax

         
 C#  Visual Basic  Visual C++ 
public static void cvCornerHarris(
	IntPtr image,
	IntPtr harrisResponce,
	int blockSize,
	int apertureSize,
	double k
)
Public Shared Sub cvCornerHarris ( _
	image As IntPtr, _
	harrisResponce As IntPtr, _
	blockSize As Integer, _
	apertureSize As Integer, _
	k As Double _
)
public:
static void cvCornerHarris(
	IntPtr image, 
	IntPtr harrisResponce, 
	int blockSize, 
	int apertureSize, 
	double k
)

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.

See Also