Epson 5 Welding System User Manual


 
ThresholdColor Property
ThresholdColor Property
Applies To
Vision Objects: Blob, ImageOp
Description
Sets or returns the color of the pixels whose gray values fall between the ThresholdHigh and ThresholdLow
properties.
Usage
VGet Sequence.Object.ThresholdColor, var
VSet Sequence.Object.ThresholdColor, 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 expression for the new value of the property.
Values
1 - Black
2 - White
Default: Black
Remarks
The ThresholdColor property defines the color of the pixels whose gray values are between the
ThresholdHigh and ThresholdLow properties during binarization. For example, when ThresholdColor =
Black, ThresholdLow = 50 and ThresholdHigh = 100, then pixels whose gray values are between 50 and
100 will be set to black during binarization. All other pixels will be white.
See Also
Blob Object, ImageOp Object, Object Tab, Polarity Property, ThresholdHigh, ThresholdLow Property
Vision Guide 5.0 Reference (Ver.5.3) Rev.1 171