Find the best correlation match of the template in
the image 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( Image image, Image template, double density, Area2D aoi )
Parameters
- image
- Type: Stemmer.CvbImage
image in which to look for correlation matches - template
- Type: Stemmer.CvbImage
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 image or template are null |
ObjectDisposedException | If image or template has already been disposed |
ArgumentOutOfRangeException | If the parameter value is invalid or the density exceeds the range [0...1]. |
See Also