StrengthTarget Property

Applies To
Vision Objects: ArcFinder, ArcInspector, BoxFinder, Contour, CornerFinder, Edge, LineFinder, LineInspector

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 value or expression for the new value of the property.

Values
0 to 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
ArcFinder Object, ArcInspector Object, Edge Object, LineFinder Object, LineInspector Object, BoxFinder Object, Contour Object, CornerFinder, Strength Result, StrengthVariation Property