FUNCTION REFERENCE
cameraIntrinsics.worldToImage
Project 3-D world points into 2-D image coordinates using cameraIntrinsics.
Project 3-D world points into 2-D image coordinates using cameraIntrinsics.
Syntax
imagePoints = worldToImage(intrinsics, R, t, worldPoints)Syntax
imagePoints = intrinsics.worldToImage(R, t, worldPoints)Projects N-by-3 world points through rotation R, translation t and the intrinsic matrix and lens distortion of intrinsics.
Example
intr = cameraIntrinsics([500 500], [320 240], [480 640]); p = intr.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.