Pixel coordinates to world🔗
Projects pixel coordinates to world coordinates.
Inputs🔗
image
: Input imagepoints
: A matrix of points or coordinate frames in pixel coordinates. The shape of the matrix can be one of two possible formats:- N-by-2. A list of N pixel coordinates. - 4*N-by-4. A list of N 4-by-4 coordinate frames.
outputType
: Type of points output. Either a point vector or a frame.
Outputs🔗
points
: A matrix of points or coordinate frames in world coordinates. The type is determined by outputType.
-
enum
OutputType
🔗 Type of the points output.
Values:
-
enumerator
Points
🔗 A list of N world coordinates on world XY plane.
-
enumerator
Frames
🔗 A list of N 4-by-4 coordinate frames.
The translation of the output frame is the position of the input pixel converted to world coordinates. The X- and Y-axes of the output frame are the normalized directions of the X- and Y-axes of the input frame projected to world coordinates.
-
enumerator