# TransBlobsToFixture

Converts a Blobs structure from image coordinates to fixture coordinates. The function computes the offset and orientation of the blob with respect to the specified fixture.

Inputs

Parameter | Description
Fixture | Specifies the fixture coordinate system.
X | The X-offset of the origin, in fixture coordinates.
Y | The Y-offset of the origin, in fixture coordinates.
Theta | The rotation from the image X-axis, in the image coordinate system. (+/-360 degrees clockwise)
Blobs | Blobs data structure. This argument must reference a spreadsheet cell that contains a valid Blobs data structure.
Number to Convert | Specifies the number of blobs from the original Blobs data structure to convert to fixture coordinates between 0 and 4096. The default number is three.

Outputs

Returns | A Blobs data structure containing the transformed blobs, or #ERR if any of the input parameters are invalid.
Results | When the function is initially inserted into a cell, a result table is created in the spreadsheet.

Vision Data Access functions

The Blobs Vision Data Access functions automatically inserted into the spreadsheet is similar to those automatically inserted by the FindBlobs and SortBlobs functions.