Table of Contents

Method CornerHarris

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll

CornerHarris(InputArray, OutputArray, int, int, double, BorderTypes)

Harris corner detector.

public static void CornerHarris(InputArray src, OutputArray dst, int blockSize, int ksize, double k, BorderTypes borderType = BorderTypes.Default)

Parameters

src InputArray

Input single-channel 8-bit or floating-point image.

dst OutputArray

Image to store the Harris detector responses. It has the type CV_32FC1 and the same size as src.

blockSize int

Neighborhood size (see the details on #cornerEigenValsAndVecs ).

ksize int

Aperture parameter for the Sobel operator.

k double

Harris detector free parameter. See the formula above.

borderType BorderTypes

Pixel extrapolation method. See #BorderTypes. #BORDER_WRAP is not supported.