ScaleEnable Property

Applies To
Vision Objects: Geometric

Description
Enables a greater range of scale detection.

Usage

VGet  Sequence.Object.ScaleEnable, var
VSet  Sequence.Object.ScaleEnable, 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
Boolean variable that will contain the value of the property
value
Boolean value or expression for the new value of the property.

Values

  • 0 - False: Allow only a small variation in scale.
  • -1 - True: Do allow a greater range of scale during search.

Default: False

Remarks
Use ScaleEnable to search for objects within a specified scale range. Use ScaleFactorMin and ScaleFactorMax to set the range, and ScaleTarget to specify the target scale. When ScaleEnable is "False", a small variation in scale is tolerated, so the Scale result may not always be exactly 1. To ensure Scale to be only 1, you must set ScaleEnable to "True", and set ScaleFactorMin = 1.0, and ScaleFactorMax = 1.0.

See Also
Geometric Object, Scale Result, ScaleFactorMax Property, ScaleFactorMin Property, ScaleTarget Property, Vision Sequences