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.CVAssembly: Emgu.CV (in Emgu.CV.dll) Version: 2.3.0.1416 (2.3.0.1416)
Syntax
Visual Basic |
---|
Public Shared Sub cvCornerHarris ( _
image As IntPtr, _
harrisResponce As IntPtr, _
blockSize As Integer, _
apertureSize As Integer, _
k As Double _
) |
Visual C++ |
---|
public:
static void cvCornerHarris(
IntPtr image,
IntPtr harrisResponce,
int blockSize,
int apertureSize,
double k
) |
Parameters
- image
- Type: System..::..IntPtr
Input image
- harrisResponce
- Type: System..::..IntPtr
Image to store the Harris detector responces. Should have the same size as image
- blockSize
- Type: System..::..Int32
Neighborhood size
- apertureSize
- Type: System..::..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
- Type: System..::..Double
Harris detector free parameter.
See Also