Main Content

isROI

Determine if label types are ROI labels

Description

tf = isROI(labelTypes) returns a logical array that indicates which elements in labelTypes are ROI label types. isROI returns logical 1 (true) for ROI labels and otherwise returns logical 0 (false). Valid ROI label types are Rectangle, Cuboid,ProjectedCuboid, Line, Voxel and PixelLabel.

Input Arguments

collapse all

Types of labels, specified as a labelType or lidarLabelType (Lidar Toolbox) enumeration.

Version History

Introduced in R2017a

See Also

|