PixelX Result

Applies To
Vision Objects: ArcInspector, Blob, BoxFinder, CodeReader, ColorMatch, Contour, CornerFinder, Correlation, DefectFinder, Edge, Geometric, LineInspector, OCR, Point, Polar, Text, Coordinates

Description
Returns the X position coordinate of the found part's position in pixel coordinates.

Usage

VGet  Sequence.Object.PixelX [(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. Used for objects that return multiple results.

Values
Min: 0

Max Video width- 1

Remarks
The PixelX result is the X coordinate of the objects position in the image coordinate system. The value is a actual number that has a fractional component because of the sub-pixeling feature.

Statistics
For the PixelX result, the following statistics are available.

PixelXMax, PixelXMean, PixelXMin, PixelXStdDev.

For details on how to use statistics, refer to 9.Using Vision Guide Statistics in the Vision Guide Software manual.

See Also
Angle Result, Blob Object, CameraX Result, CameraXYU Result, ColorMatch Object, Correlation Object, Edge Object, Found Result, Geometric Object, Point Object, Polar Object, PixelXYU Result, RobotX Result, RobotXYU Result, CodeReader Object, OCR Object, BoxFinder Object, Contour Object, CornerFinder Object, Text Object, Coordinates Object