segmentObjects
Segment objects using Mask R-CNN instance segmentation
Syntax
Description
configures the segmentation using additional name-value arguments. For example,
masks
= segmentObjects(detector
,I
,Name=Value
)segmentObjects(detector,I,Threshold=0.9)
specifies the detection
threshold as 0.9
.
[
also returns the location of segmented object as bounding boxes,
masks
,labels
,scores
,bboxes
] = segmentObjects(___)bboxes
.
Note
This function requires the Computer Vision Toolbox™ Model for Mask R-CNN Instance Segmentation. You can install the Computer Vision Toolbox Model for Mask R-CNN Instance Segmentation from Add-On Explorer. For more information about installing add-ons, see Get and Manage Add-Ons. To run this function, you will require the Deep Learning Toolbox™.