Annulus

Creates a fixtured Annulus structure.

Annulus Inputs

Syntax: Annulus(Fixture.Row,Fixture.Column,Fixture.Theta,Annulus.X,Annulus.Y,Annulus.Inner Radius,Annulus.Outer Radius,Show)

Note: The Fixture and Annulus parameters must be defined within the bounds of the image; otherwise, the function will return #ERR.
Parameter Description

Fixture

Specifies the image coordinate system in which the annulus is defined.

Row

The row offset.

Column

The column offset.

Theta

The orientation.

Annulus

Specifies the size and position of the annulus.

X

The x-offset, in fixture coordinates.

Y

The y-offset, in fixture coordinates.

Inner Radius

The inner radius (1 to 16777216; default = 40 ).

Outer Radius

The outer radius (2 to 16777216; default = 100 ).

Show

Specifies the display mode for the annulus graphic overlay on the image.

0 = hide all

The annulus structure graphic will not be displayed unless the cell containing the Annulus function is highlighted in the spreadsheet.

2 = input graphics only

The annulus structure graphic will be displayed at all times.

Annulus Outputs

Returns

An Annulus data structure, or #ERR if any of the input parameters are invalid.

Results

When Annulus is initially inserted into a cell, a result table is created in the spreadsheet.

Annulus 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(Annulus)

The row offset of the center of the annulus, in image coordinates.

Col

GetCol(Annulus)

The column offset of the center of the annulus, in image coordinates.

Inner Radius

GetRadius(Annulus, 0)

The inner radius of the indexed annulus.

Outer Radius

GetRadius(Annulus, 1)

The outer radius of the indexed annulus.