Region
Creates a fixtured Region structure.
Region Inputs
Region(Fixture.Row,Fixture.Column,Fixture.Theta,Region.X,Region.Y,Region.High,Region.Wide,Region.Angle,Region.Curve,Show)
Parameter | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Specifies the image coordinate system in which the region is defined.
|
|||||||||||||
Specifies the position, size, rotation, and curvature (if an annular sector, shaped like a circle or ring). Regions are always defined within the coordinate system of a Fixture. For more information, see Fixture.
|
|||||||||||||
Specifies the display mode for the Region graphic overlay on the image.
|
Region Outputs
Returns |
A Region data structure, or #ERR if any of the input parameters are invalid. |
Results |
When Region is initially inserted into a cell, a result table is created in the spreadsheet. |
Region Vision Data Access Functions
The following Vision Data Access functions are automatically inserted into the spreadsheet to create the result table. For more information, see Structures.
Row |
GetRow(Region) |
The row offset of the region's origin, in image coordinates. |
Col |
GetCol(Region) |
The column offset of the region's origin, in image coordinates. |
High |
GetHigh(Region) |
The dimension along the region's x-axis. |
Wide |
GetWide(Region) |
The dimension along the region's y-axis. |
Angle |
GetAngle(Region) |
The orientation, in image coordinates. |
Curve |
GetCurve(Region) |
The angular deviation between the region's x-axis and the opposing boundary line. |