Use the correlation coefficient calculation method to find locations
in the input image plane that match the given
template.
Namespace: Stemmer.Cvb.Foundation
Assembly: Stemmer.Cvb.Foundation (in Stemmer.Cvb.Foundation.dll) Version: 14.0.0.0
Syntax
public static LocalMaximum[] FindMatches( ImagePlane plane, ImagePlane template, double threshold, int locality, SubPixelMode subPixMode, Neighborhood subPixRadius )
Parameters
- plane
- Type: Stemmer.CvbImagePlane
Image plane in which to look for matches. - template
- Type: Stemmer.CvbImagePlane
Template to match. - threshold
- Type: SystemDouble
Minimum correlation coefficient to look for (valid values range from 0 to 1). - locality
- Type: SystemInt32
Minimum distance between two valid matches (measured using the L1 norm). - subPixMode
- Type: Stemmer.CvbSubPixelMode
Mode to be used for determining sub pixel accuracy (see description of SubPixelMode values). - subPixRadius
- Type: Stemmer.CvbNeighborhood
Neighborhood to take account in the sub pixel calculation (see description of Neighborhood values).
Return Value
Type: LocalMaximumList of the local maxima that have been found.
Exceptions
Exception | Condition |
---|---|
ObjectDisposedException | If the plane to work on has already been disposed. |
Remarks
See Also