# 2D to 2D Conversion

Example: Fixturing a 2D tool from a 2D Fixture.

Steps:

1. Train and find PatMaxRedLine or any other 2D fixturing function. This gives you the X, Y, and Angle values.

2. Use ExtractCalibration tool on the A1 Image cell. This returns a calibration structure that you can reference in the TransWorldToPixel tool.

3. Use the TransWorldToPixel tool.

   1. In the Calib field, enter the ExtractCalibration cell reference.

   2. For Point, enter the X and Y values created by FindPatMaxRedLine.

4. Multiply the Angle value from FindPatMaxRedLine by -1.

5. You can now use these X, Y (pixel), and Angle values as fixture for 2D tools like DetectBlobs, or Region, and measurement inputs for 2D tools such as PointToPoint or LineToLine.