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

Syntax

C#
public static void CornerHarris(
	IntPtr image,
	IntPtr harrisResponce,
	int blockSize,
	int kSize,
	double k,
	BORDER_TYPE borderType
)
Visual Basic
Public Shared Sub CornerHarris ( 
	image As IntPtr,
	harrisResponce As IntPtr,
	blockSize As Integer,
	kSize As Integer,
	k As Double,
	borderType As BORDER_TYPE
)
Visual C++
public:
static void CornerHarris(
	IntPtr image, 
	IntPtr harrisResponce, 
	int blockSize, 
	int kSize, 
	double k, 
	BORDER_TYPE borderType
)
F#
static member CornerHarris : 
        image : IntPtr * 
        harrisResponce : IntPtr * 
        blockSize : int * 
        kSize : int * 
        k : float * 
        borderType : BORDER_TYPE -> unit 

Parameters

image
Type: System..::..IntPtr
Input OclMat
harrisResponce
Type: System..::..IntPtr
OclMat to store the Harris detector responces. Should have the same size as image.
blockSize
Type: System..::..Int32
Neighborhood size
kSize
Type: System..::..Int32
k
Type: System..::..Double
Harris detector free parameter.
borderType
Type: Emgu.CV.CvEnum..::..BORDER_TYPE
Boreder type, use REFLECT101 for default

See Also