EdgeSort Property
Applies To
Vision Objects: ArcFinder, ArcInspector, Contour, CornerFinder, Edge, LineFinder, LineInspector, BoxFinder
Description
Sets the edge sorting order.
Usage
VGet Sequence.Object.EdgeSort, var
VSet Sequence.Object.EdgeSort, value
- Sequence
- Name of a sequence or string variable containing a sequence name.
- Object
- Name of an object or string variable containing an object name. The object must exist in the specified sequence.
- var
- Integer variable that will contain the value of the property.
- value
- Integer value or expression for the new value of the property.
Values
- 1 - Score
- Vision constant: VISION_EDGESORT_SCORE
- Sort in descending order by score
- 2 - PositionPos
- Vision constant: VISION_EDGESORT_POS_POS
- Sort in descending order by proximity to the starting point on a search line
- 3 - PositionNeg
- Vision constant: VISION_EDGESORT_POS_NEG
- Sort in descending order by proximity to the end point on a search line
- 4 - Light
- Vision constant: VISION_EDGESORT_LIGHT
- Sort in descending order by pixel value on the bright side of an edge
- 5 - Dark
- Vision constant: VISION_EDGESORT_DARK
- Sort in ascending order by pixel value on the dark side of an edge
- 6 - Contrast
- Vision constant: VISION_EDGESORT_CONTRAST
- Sort in descending order by contrast
- 7 - Strength
- Vision constant: VISION_EDGESORT_STRENGTH
- Sort in descending order by edge strength
Default: 1 - Score
Remarks
Select the sorting order to use when multiple edges are detected on a search line.
See Also
Edge Object, LineFinder Object, ArcFinder Object, LineInspector Object, ArcInspector Object, BoxFinder Object, Contour Object, CornerFinder Object