Insert masks in image or video stream
specifies options using one or more name-value pair arguments in addition to the input
arguments in previous syntaxes.RGB
= insertObjectMask(___,Name,Value
)
When masks overlap and the same pixel is in more than one mask,
maskstack(:,:,i)
takes precedence over
maskstack(:,:,j)
, where i
<
j
.
For better performance, set 'LineOpacity'
to 0
to disable drawing the edges.
insertObjectAnnotation
| insertShape
| labeloverlay
| showShape