worldToImage
Project world points into image
Syntax
Description
projects 3-D world points imagePoints
= worldToImage(intrinsics
,tform
,worldPoints
)worldPoints
into points on an
image, imagePoints
. intrinsics
can be
a cameraIntrinsics
or a fisheyeIntrinsics
object. tform
is a rigid3d
object.
returns the projection of 3-D world points into an image given the camera
intrinsics, the rotation matrix, and the translation vector.imagePoints
= worldToImage(intrinsics
,rotationMatrix
,translationVector
,worldPoints
)
[
also returns the indices of valid image points that are within the boundary of
the image using any of the previous syntax inputs.imagePoints
,validIndex
] = worldToImage(___)
[___] = worldToImage(___'ApplyDistortion',
returns the projection with the option of applying distortion. This syntax is
supported for nonfisheye camera parameters.distort
)
Examples
Input Arguments
Output Arguments
Extended Capabilities
Version History
See Also
Apps
Functions
undistortImage
|estimateCameraParameters
|extrinsics
|undistortPoints
|fisheyeIntrinsics
|extrinsicsToCameraPose
|estimateWorldCameraPose
|cameraPoseToExtrinsics
|pointsToWorld
|relativeCameraPose