Choose Function to Visualize Detected Objects
R2026bComputer Vision Toolbox™ offers several functions to visualize detected objects by inserting or overlaying shapes on image, video, and point cloud data.
The insert-related functions draw shapes and text by fusing them with
image and video data. The showShape
function uses MATLAB® graphics to overlay shapes and text on top of image, video, and point cloud
data and is rendered in a MATLAB axes.
This table compares the visualization functions on the basis of their support for image, video, and point cloud data.
| Function | Images | Video | Point Clouds | Code Generation | Example |
|---|---|---|---|---|---|
insertShape | Yes | Yes | No | Yes |
|
insertText | Yes | Yes | No | Yes |
|
insertObjectAnnotation | Yes | Yes | No | Yes |
|
insertMarker | Yes | Yes | No | Yes |
|
insertObjectMask | Yes | Yes | No | Yes |
|
insertObjectKeypoints | Yes | Yes | No | Yes |
|
showShape | Yes | Yes | Yes | No |
|
plot (Point Cloud Toolbox) object function of the cylinderModel (Point Cloud Toolbox) | No | No | Yes | No |
Fit Cylinder Shape on Point Cloud (Point Cloud Toolbox) |
plot (Point Cloud Toolbox) object function of the sphereModel (Point Cloud Toolbox) | No | No | Yes | No |
Detect Sphere in Point Cloud (Point Cloud Toolbox) |
plot (Point Cloud Toolbox) object function of the planeModel (Point Cloud Toolbox) | No | No | Yes | No |
Fit Plane Shape on Point Cloud (Point Cloud Toolbox) |
plot (Point Cloud Toolbox) object function of the cuboidModel (Point Cloud Toolbox) object. | No | No | Yes | No |
Fit Cuboid over Point Cloud Data (Point Cloud Toolbox) |
See Also
Objects
cuboidModel(Point Cloud Toolbox) |planeModel(Point Cloud Toolbox) |sphereModel(Point Cloud Toolbox) |cylinderModel(Point Cloud Toolbox) |pcplayer(Point Cloud Toolbox) |vision.VideoPlayer|vision.DeployableVideoPlayer
Functions
pcshow(Point Cloud Toolbox) |imshow|showShape|insertObjectMask|insertMarker|insertObjectAnnotation|insertText|insertShape










