FUNCTION REFERENCE

cameraParameters.worldToImage

Project 3-D world points into 2-D image coordinates using cameraParameters.

Project 3-D world points into 2-D image coordinates using cameraParameters.

Syntax

imagePoints = worldToImage(cameraParams, R, t, worldPoints)

Syntax

imagePoints = cameraParams.worldToImage(R, t, worldPoints)

Projects N-by-3 world points using the intrinsics and distortion stored in cameraParams together with pose (R, t).

Example

cp = cameraParameters('K', [500 0 320; 0 500 240; 0 0 1], 'ImageSize', [480 640]); p = cp.worldToImage(eye(3), [0 0 1], [0 0 0]);   % [320 240]

Differences from MATLAB: Accepts 3-by-3 rotation matrices and 1-by-3 translation vectors; rigidtform3d objects are not supported yet.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.