Scale Result

Applies To
Vision Object: Correlation, Geometric

Description
Returns the scale of the object found.

Usage

VGet  Sequence.Object.Scale [(result)], 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.
result
Optional result number. If omitted, the result number is the CurrentResult.

Values
Real number representing the scale factor of the object found.

Remarks
You can use the Scale result to determine the size of the object found compared to the size of the model trained. 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, Correlation Object, ScaleEnable Property, ScaleFactorMax Property, ScaleFactorMin Property, ScaleTarget Property