bboxLidarToCamera
R2026bEstimate 2-D bounding boxes in image from 3-D bounding boxes in point cloud
Syntax
Description
estimates 2-D bounding boxes in an undistorted image from 3-D bounding boxes in the lidar
frame bboxesCamera = bboxLidarToCamera(bboxesLidar,intrinsics,tform)bboxesLidar. The function uses the camera intrinsic parameters
intrinsics and a lidar to camera transformation matrix
tform.
further refines the 2-D bounding boxes to the edges of the object inside it using
bboxesCamera = bboxLidarToCamera(bboxesLidar,intrinsics,tform,L)L. L is the corresponding labeled 2-D image of
the 2-D bounding boxes, where the objects are labeled distinctively.
[
indicates for which of the specified 3-D bounding boxes the function detects a corresponding
2-D bounding box in the undistorted image.bboxesCamera,boxesUsed] = bboxLidarToCamera(___)
[___] = bboxLidarToCamera(___,'ProjectedCuboid',true)
returns 3-D projected cuboids instead of 2-D bounding boxes.





