isROI - Determine if label types are ROI labels - MATLAB (original) (raw)
Determine if label types are ROI labels
Syntax
[tf = isROI(labelTypes)](#d126e190656)
Description
`tf` = isROI([labelTypes](#d126e190696))
returns a logical array that indicates which elements inlabelTypes
are ROI
label types.isROI
returns logical 1
(true) forROI
labels and otherwise returns logical0
(false). Valid ROI
label types areRectangle
,Cuboid
,ProjectedCuboid
,Line
, Voxel
andPixelLabel
.
Input Arguments
Types of labels, specified as a labelType or lidarLabelType (Lidar Toolbox) enumeration.
Version History
Introduced in R2017a