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 is left/top to right/bottom.
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, 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 - 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