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

Input Arguments

collapse all

Types of labels, specified as a labelType enumeration.

See Also


Introduced in R2017a