Strengthtarget property – Epson 5 User Manual
Page 181
StrengthTarget Property
StrengthTarget Property
Applies To
Vision Objects: Edge
Description
Sets the desired edge strength to search for.
Usage
VGet Sequence.Object.StrengthTarget, var
VSet Sequence.Object.StrengthTarget, 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
0 - 100%
Default: 0 (search for best strength)
Remarks
An edge's strength is the minimum/maximum edge value along the width of the edge (depending on
polarity). This value is a normalized percentage of the maximum pixel value.
Use StrengthTarget to find edges with lower strengths. First, find the edge you want to search for a record
the Strength result value. Next, set the StrengthTarget property to this value. Then set the
ScoreWeightStrength to a higher value than ScoreWeightContrast. This tells the Edge object to look for an
edge with the desired strength and base the score on it.
See Also
Edge Object, Strength Result, StrengthVariation Property
Vision Guide 5.0 Reference (Ver.5.3) Rev.1
167