# Replace coordinate frame

Replaces the coordinate frame of the input image with a new coordinate frame without modifying pixels.

## Inputs

image
Input image
worldFrame
The position of the new world coordinate system with respect to the current world coordinate system (referenceFrame = World) or the camera coordinate system (referenceFrame = Camera).
referenceFrame
Flag which selects the coordinate frame in which the input worldFrame is represented.

## Outputs

image
Output image with the same pixel contents as the input image but with a new coordinate frame.

The coordinate frame in which the coordinates of worldFrame are represented.

Enumerator
World

worldFrame is represented in the world frame of the input image. The world coordinate frame of the output image will be calculated by multiplying the world frame of the input image and worldFrame.

Camera

worldFrame is represented in the camera coordinate system and will be used as the world coordinate frame of the output image as such.