createMask
Create binary mask image from ROI
Description
Examples
Input Arguments
Output Arguments
Tips
For more information about classifying pixels on the ROI boundary, see Classify Pixels That Are Partially Enclosed by ROI.
If you specify a mask size that does not match the size of the image associated with the
ROI
object, thencreateMask
crops or zero-pads the mask to the specified size. The image associated with the ROI object isROI.Parent.Children(2,1).CData
.
Version History
Introduced in R2018b
See Also
drawassisted
| drawcircle
| drawellipse
| drawfreehand
| drawline
| drawpolygon
| drawpolyline
| drawrectangle
| inROI
| circles2mask