EditRegion
Inserts an interactive graphical region control into the spreadsheet. When the control is clicked, the display switches to Interactive Graphics Mode where the size, position, rotation, and curvature of the region can be adjusted. For more information, see Interactive Graphics Mode.
EditRegion Inputs
Syntax: EditRegion(Image,Fixture.Row,Fixture.Column,Fixture.Theta,Move,Size,Rotate,Bend,Name,Show)
Parameter | Description | ||||||
---|---|---|---|---|---|---|---|
Image | This parameter must reference a spreadsheet cell that contains an Image data structure; by default, this parameter references A0, the cell containing the AcquireImage Image data structure. This parameter can also reference other Image data structures, such as those returned by the Vision Tool Image functions or Coordinate Transforms Functions. For more information, see Image or Coordinate Transforms Functions. | ||||||
Specifies the image coordinate system in which the input region is defined.
|
|||||||
Disables or enables the ability to adjust the input region position.
|
|||||||
Disables or enables the ability to adjust the input region height and width.
|
|||||||
Disables or enables the ability to adjust the input region orientation.
|
|||||||
Disables or enables adjustment capability of the input region curvature.
|
|||||||
Specifies a text label for the EditRegion control element in the spreadsheet. |
|||||||
Specifies the display mode for the EditRegion graphical overlay on top of the image.
|
EditRegion Outputs
Results |
An EditRegion control, along with a corresponding results table that will be created in the adjacent cells to the right. |
EditRegion 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 x-coordinate of the position. |
Col |
GetCol(Region) |
The y-coordinate of the position. |
High |
GetHigh(Region) |
The height of the region. |
Wide |
GetWide(Region) |
The width of the region. |
Angle |
GetAngle(Region) |
The orientation of the region. |
Curve |
GetCurve(Region) |
The curvature of the region. |