EdgeSort属性
适用
视觉对象:ArcFinder, ArcInspector, Contour, CornerFinder, Edge, LineFinder, LineInspector, BoxFinder
说明
设定Edge排序顺序。
用法
VGet Sequence.Object.EdgeSort, var
VSet Sequence.Object.EdgeSort, value
- Sequence
- 序列名或表示序列名的字符串变量
- Object
- 对象名或表示对象名的字符串变量对象必须存在于指定的序列中。
- var
- 表示属性值的整数变量
- value
- 表示新属性值的整数或表达式
值
- 1 - Score
- 视觉常数:VISION_EDGESORT_SCORE
- 按分值降序排序
- 2 - PositionPos
- 视觉常数:VISION_EDGESORT_POS_POS
- 按搜索线起点降序排序
- 3 - PositionNeg
- 视觉常数:VISION_EDGESORT_POS_NEG
- 按搜索线终点降序排序
- 4 - Light
- 视觉常数:VISION_EDGESORT_LIGHT
- 按Edge亮侧像素值降序排序
- 5 - Dark
- 视觉常数:VISION_EDGESORT_DARK
- 按Edge暗侧像素值升序排序
- 6 - Contrast
- 视觉常数:VISION_EDGESORT_CONTRAST
- 按对比度降序排序
- 7 - Strength
- 视觉常数:VISION_EDGESORT_STRENGTH
- 按Edge强度降序排序
默认:1 - Score
详细说明
选择在一条搜索线检测到多个Edge时的排序顺序。
参照
Edge对象、LineFinder对象、ArcFinder对象、LineInspector对象、ArcInspector对象、BoxFinder对象、Contour对象、CornerFinder对象