Find all correlation matches of the template in the
image. If the number of results exceeds 32767, then
the result list will be truncated at that number. The order of the
results depends on the scan direction defined by the
aoi.
Namespace: Stemmer.Cvb.Minos
Assembly: Stemmer.Cvb.Minos (in Stemmer.Cvb.Minos.dll) Version: 14.0.0.0
Syntax
public static SearchResult[] SearchAll( Image image, Image template, double density, Area2D aoi, double threshold, int radius )
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 - threshold
- Type: SystemDouble
minimum correlation for the results to be reported - radius
- Type: SystemInt32
minimum distance between two positive results
Return Value
Type: SearchResultthe list of extracted results
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | If image or template are null |
ObjectDisposedException | If image or template has already been disposed |
ArgumentOutOfRangeException | If the parameter density or threshold exceeds the range [0...1]. |
See Also