Find an edge pair (as specified) in the image plane.
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, EdgeSearchMode mode, EdgeType type1, double threshold1, EdgeType type2, double threshold2, double density )
Parameters
- plane
- Type: Stemmer.CvbImagePlane
plane to search in - 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 image plane) - 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 plane) - density
- Type: SystemDouble
density at which to scan the image plane.
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