fuseCameraToLidar
Syntax
Description
fuses information from an image, ptCloudOut
= fuseCameraToLidar(I
,ptCloudIn
,intrinsics
)I
, to a specified point cloud,
ptCloudIn
, using the camera intrinsic parameters,
intrinsics
.
The function crops the fused point cloud, ptCloudOut
, so that it
contains only the points present in the field of view of the camera.
uses the camera to lidar rigid transformation ptCloudOut
= fuseCameraToLidar(I
,ptCloudIn
,intrinsics
,tform
)tform
to bring the point
cloud into image frame before fusing it to the image information. Use this syntax when the
point cloud data is not in the camera coordinate frame.
returns a fused point cloud of the same size as the input point cloud. The function uses the
specified color ptCloudOut
= fuseCameraToLidar(___,nonoverlapcolor
)nonoverlapcolor
for points that are outside the field
of view of the camera in addition to any combination of input arguments from previous
syntaxes.
[
returns the colors of the points ptCloudOut
,colormap
] = fuseCameraToLidar(___)colormap
of the fused point
cloud.
[
returns linear indices of the points in the fused point cloud that are in the field of view
of the camera in addition to output arguments from previous syntaxes.ptCloudOut
,colormap
,indices
] = fuseCameraToLidar(___)