Contrast result – Epson 5 User Manual
Page 52
Contrast Result
Contrast Result
Applies To
Vision Objects: Edge
Description
Returns the contrast of the found Edge.
Usage
VGet Sequence.Object.Contrast, var
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
Real variable that will contain the value of the result.
Values
Real number from 0 - 255
Remarks
Contrast is the difference in grayscale values between an edge and its background. Contrast can help find
weaker edges. First, find the edge you want to search for and record the contrast value. Next, set the
ContrastTarget property to this value. Then set the ScoreWeightContrast to a higher value that
ScoreWeightStrength. This tells the Edge object to look for an edge with the desired contrast and base the
score on it.
See Also
ContrastTarget Property, ContrastVariation Property, Edge Object
38
Vision Guide 5.0 Reference (Ver.5.3) Rev.1