# TransBlobsToFixture

Converts a Blobs structure from image coordinates to fixture A fixture is a coordinate location on the image that keeps the tool in the place determined by the fixture. coordinates. The function Functions are tools that are available in Spreadsheet for processing and analyzing acquisitions or other results. You can add functions to your Spreadsheet job to create tool chains and produce results for specific applications. computes the offset and orientation of the blob A blob is a group of pixels on the image that form a distinct pattern, typically used to represent objects, features, or areas of interest in object detection and segmentation tasks. with respect to the specified fixture.

Inputs

The TransBlobsToFixture function has the following syntax:

TransBlobsToFixture(X, Y, Theta, Blobs, Number to Convert)

See the table for a description of the available parameters.

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.