Back to FabImage Studio website
You are here: Start » Filter Reference » OpenCV » Feature Detection » cvCornerHarris
Module: | OpenCV |
---|
Harris corner detector.
Name | Type | Range | Description | |
---|---|---|---|---|
![]() |
inImage | Image | Input single-channel UINT8 or REAL image. | |
![]() |
inBlockSize | Integer | 1 - ![]() |
Neighborhood size. |
![]() |
inApertureSize | Integer | 1 - 31 | Aperture parameter for the Sobel operator, may be 3, 5 or 7. |
![]() |
inK | Real | Harris detector free parameter. | |
![]() |
inBorderType | CvBorderType | Pixel extrapolation method. | |
![]() |
outImage | Image | Harris detector result image. |
Description
The operation detects corners within inImage image using the Harris corner response method. For more information on the method please refer to the DetectCorners_CornerResponse article. outImage is a corner response image of type Real with pixel values from -255 to 255.
Examples
![]() |
![]() |
cvCornerHarris performed on the sample image. Output image is rescaled to range [0,255].
Errors
This filter can throw an exception to report error. Read how to deal with errors in Error Handling.
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Input image must be single-channel UINT8 or REAL in cvCornerHarris. |
Complexity Level
This filter is available on Basic Complexity Level.
See Also
- cvCornerMinEigenVal – Calculates the minimal eigenvalue of gradient matrices for corner detection.
- DetectCorners_CornerResponse – Detects corners using corner response method.