insertObjectMask
Syntax
Description
specifies options using one or more name-value pair arguments in addition to the input
arguments in previous syntaxes.RGB
= insertObjectMask(___,Name,Value
)
Examples
Input Arguments
Output Arguments
Tips
When masks overlap and the same pixel is in more than one mask,
maskstack(:,:,i)
takes precedence overmaskstack(:,:,j)
, wherei
<j
.For better performance, set
'LineOpacity'
to0
to disable drawing the edges.
Extended Capabilities
Version History
Introduced in R2020b