Main Content


Determine if label types are ROI labels


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, Line, and PixelLabel.

Input Arguments

collapse all

Types of labels, specified as a labelType enumeration. labelType can contain Rectangle, Line, Cuboid, Scene, PixelLabel, or Custom labels.

See Also


Introduced in R2017a