TransFixtureToWorld

Converts a fixture from pixel coordinates to real-world coordinates. For more information, see Fixture.

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.

TransFixtureToWorld Inputs

Syntax: TransFixtureToWorld(Calib,Fixture,Show)

Parameter Description

Calib

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

Fixture

Specifies the fixture coordinate system.

Row

The row offset, in image coordinates.

Column

The column offset, in image coordinates.

Theta

The orientation, in image coordinates.

Show

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

0 = hide all (default)

The fixture will be hidden, except when the cell containing the TransPixelToWorld function is highlighted in the spreadsheet.

2 = input graphics only

The fixture will be displayed at all times.

TransFixtureToWorld Outputs

Returns

  Fixture data structure containing the transformed fixture, or #ERR if any of the input parameters are invalid.

For more information, see Calibrate or Property Sheet.