PixelLength Result
PixelLength Result
Applies To
Vision Objects: Line
Description
Returns the length in pixels of the distance between the starting and ending point of the line.
Usage
VGet Sequence.Object.PixelLength, 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 in pixels
Remarks
Unlike the Length result, the PixelLength result returns a value even if calibration has not yet been
performed. This is because the units are in pixels and no calibration is needed for pixel unit based
calculations. If the user needs a length in millimeters then a standalone or robot based camera calibration is
required.
Statistics
For the PixelLength result, the following statistics are available. PixelLengthMax, PixelLengthMean,
PixelLengthMin, PixelLengthStdDev. Please see Statistics in the Vision Guide manual for details about
using statistics.
See Also
Calibration, Length Result, Line Object, Object Tab
100 Vision Guide 5.0 Reference (Ver.5.3) Rev.1