Start » Filter Reference » OpenCV » Feature Detection » cvGoodFeaturesToTrack

cvGoodFeaturesToTrack


Module: OpenCV

Determines strong corners on an image.

Name Type Range Description
Input value
inImage Image Input single-channel UINT8 or REAL image.
Input value
inMaxCorners Integer 0 - Maximum number of corners to return. If there are more corners than are found, the strongest of them is returned.
Input value
inQualityLevel Real 0.001 - 1.0 Parameter characterizing the minimal accepted quality of image corners.
Input value
inMinDistance Real 0.0 - Minimum possible Euclidean distance between the returned corners.
Input value
inMask Region* Region of interest.
Input value
inBlockSize Integer 1 - Size of an average block for computing a derivative covariation matrix over each pixel neighborhood.
Input value
inUseHarrisDetector Bool Parameter indicating whether to use a Harris detector or cornerMinEigenVal.
Input value
inK Real Free parameter of the Harris detector.
Output value
outCorners Point2DArray Output array of detected corners.

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 cvGoodFeaturesToTrack.

Complexity Level

This filter is available on Basic Complexity Level.