CorrelationSearch Method (ImagePlane, ImagePlane, Double, Area2D)

CVB.Net Documentation
Find the best correlation match of the template in the plane with sub-pixel accuracy. The amount of sub pixel accuracy that may be achieved depends on the size of the template.

Namespace:  Stemmer.Cvb.Minos
Assembly:  Stemmer.Cvb.Minos (in Stemmer.Cvb.Minos.dll) Version: 14.0.0.0
Syntax

public static SearchResult Search(
	ImagePlane plane,
	ImagePlane template,
	double density,
	Area2D aoi
)

Parameters

plane
Type: Stemmer.CvbImagePlane
image plane in which to look for correlation matches
template
Type: Stemmer.CvbImagePlane
template with which to look for correlation matches
density
Type: SystemDouble
scan density with which to look for correlation matches
aoi
Type: Stemmer.CvbArea2D
area in which to look for correlation matches

Return Value

Type: SearchResult
best result that was detected (Empty if none was found)
Exceptions

ExceptionCondition
ArgumentNullExceptionIf the Parent of plane or template is null
ObjectDisposedExceptionIf the Parent of plane or template has already been disposed
ArgumentOutOfRangeExceptionIf the density exceeds the range [0...1].
See Also

Reference