TransBlobsToWorld

Converts a Blobs structure from image coordinates to world coordinates. The function computes the offset, orientation, and area of the blob with respect to the specified real-world coordinate system.

Note: The output of any vision tool that reports in real-world coordinates cannot be used as a fixture or region input to another vision tool.

TransBlobsToWorld Inputs

Syntax: TransBlobsToWorld(Calib,Blobs,Number to Convert)

Parameter Description

Calib

This argument must reference a spreadsheet cell that contains a valid Calib data structure.

Blobs

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 world coordinates. (0 to 4096; default = 3)

TransBlobsToWorld 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.

TransBlobsToWorld Vision Data Access Functions

The Vision Data Access functions automatically inserted into the spreadsheet will be similar to those automatically inserted by the FindBlobs and SortBlobs functions. For more information, see Property Sheet, Blobs, FindBlobs, SortBlobs, or Calibrate.