Find an edge pair (as specified) in the aoi.
Namespace: Stemmer.Cvb.Foundation
Assembly: Stemmer.Cvb.Foundation (in Stemmer.Cvb.Foundation.dll) Version: 14.0.0.0
Syntax
public static EdgeResultPair FindPair( ImagePlane plane, Area2D aoi, EdgeSearchMode mode, EdgeType type1, double threshold1, EdgeType type2, double threshold2, double density )
Parameters
- plane
- Type: Stemmer.CvbImagePlane
plane to search in - aoi
- Type: Stemmer.CvbArea2D
area to scan - mode
- Type: Stemmer.Cvb.FoundationEdgeSearchMode
search mode - type1
- Type: Stemmer.Cvb.FoundationEdgeType
Type of edge to be searched for. - threshold1
- Type: SystemDouble
threshold to apply when looking for the first edge (left to right in the aoi) - type2
- Type: Stemmer.Cvb.FoundationEdgeType
Type of edge to be searched for. - threshold2
- Type: SystemDouble
threshold to apply when looking for the second edge (right to left in the aoi) - density
- Type: SystemDouble
density at which to scan the aoi
Return Value
Type: EdgeResultPairSearch results (containing Empty if not found).
Exceptions
Exception | Condition |
---|---|
ObjectDisposedException | If the plane to work on has already been disposed. |
See Also