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: SearchResultbest result that was detected (Empty if none was found)
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | If the Parent of plane or template is null |
ObjectDisposedException | If the Parent of plane or template has already been disposed |
ArgumentOutOfRangeException | If the density exceeds the range [0...1]. |
See Also