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
srcInputArrayInput single-channel 8-bit or floating-point image.
dstOutputArrayImage to store the Harris detector responses. It has the type CV_32FC1 and the same size as src.
blockSizeintNeighborhood size (see the details on #cornerEigenValsAndVecs ).
ksizeintAperture parameter for the Sobel operator.
kdoubleHarris detector free parameter. See the formula above.
borderTypeBorderTypesPixel extrapolation method. See #BorderTypes. #BORDER_WRAP is not supported.