Epson 5 Welding System User Manual


 
ModelOrgX Property
ModelOrgX Property
Applies To
Vision Objects: Correlation, Geometric
Description
A model has a fixed reference point by which we describe its location in an image. This point is referred to
as the model origin. The ModelOrgX property contains the X coordinate value of the model origin.
Usage
VGet Sequence.Object.ModelOrgX, var
VSet Sequence.Object.ModelOrgX, 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 expression for the new value of the property.
Values
The ModelOrgX property can be set between 1-255 because the model window is limited in the X direction
to 255 pixels. It should be noted that the ModelOrgX defines the X coordinate of the model origin with
respect to the model's upper left corner.
Default: The model origin is placed in the center of the model window when a new object is created.
Remarks
The model origin may lie anywhere within the model window Region. The origin's coordinates define the
model origin relative to the model's upper left corner, that is, relative to the location of element [0][0] of the
image that defines the model.
When you create a new Correlation, the model origin is set to the center of the model window. However,
the user may modify this position by typing in a new X and Y positions into the ModelOrgX and
ModelOrgY Properties or by simply clicking on the model origin (the crosshair shown in the middle of the
model window) and moving it to the position desired.
The user can also modify the model origin automatically by setting the ModelOrgAutoCenter property to
True. If the ModelOrgAutoCenter property is set to True then the model origin is automatically set to the
center of the model window.
If the ModelOrgAutoCenter property is set to True, the ModelOrgX property cannot be used to reposition
the model origin.
)
NOTE
See Also
Anatomy of a Vision Object, Correlation Object, Geometric Object, ModelOrgAutoCenter Property,
ModelOrgY Property, Object Tab
80 Vision Guide 5.0 Reference (Ver.5.3) Rev.1