CorrelationFindMatches Method (ImagePlane, ImagePlane, Rect, Double, Int32)

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,
	Rect aoi,
	double threshold,
	int locality
)

Parameters

plane
Type: Stemmer.CvbImagePlane
Image plane in which to look for matches.
template
Type: Stemmer.CvbImagePlane
Template to match.
aoi
Type: Stemmer.CvbRect
Region of interest in which to look for matches.
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).

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.

This uses ParabolicFast and thus Use3x3.

See Also

Reference