CorrelationFindMatches Method (ImagePlane, ImagePlane, Double, Int32, SubPixelMode, Neighborhood)

CVB.Net Documentation
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: LocalMaximum
List of the local maxima that have been found.
Exceptions

ExceptionCondition
ObjectDisposedExceptionIf the plane to work on has already been disposed.
Remarks

If the matches fall within the locality distance (measured using the L1 norm), the one with the lower correlation coefficient will be removed from the result list.
See Also

Reference