ScoreWeightContrast属性
适用
视觉对象:ArcFinder、ArcInspector、BoxFinder、Contour、CornerFinder、Edge、LineFinder、LineInspector
说明
设定对比度结果对分值影响的百分比。
用法
VGet Sequence.Object.ScoreWeightContrast, var
VSet Sequence.Object.ScoreWeightContrast, value
- Sequence
- 序列名或表示序列名的字符串变量
- Object
- 对象名或表示对象名的字符串变量对象必须存在于指定的序列中。
- var
- 表示属性值的整数变量
- value
- 表示新属性值的整数或表达式
值
0至100%的整数值
默认:50
详细说明
ScoreWeightContrast是指示对比度结果在Edge对象最终分值中的比重百分比值。ScoreWeightContrast与ScoreWeighStrength互相关联。这两个属性值相加必须为100%。设定一个属性时,系统自动设定另一个属性的正确值。
参照
ArcFinder对象、ArcInspector对象、Edge对象、Contrast结果、LineFinder对象、LineInspector对象、BoxFinder对象、Contour对象、CornerFinder对象、ScoreWeightStrength属性