Modify and convert signal masks and extract signal regions of interest
Use signalMask
to store the locations of regions of interest of
a signal together with the label or category values for each region.
Using signalMask
, you can:
Represent a signal mask as a table, a categorical sequence, or a matrix of binary sequences.
Modify regions of interest by extending or shortening their duration, merge same-category regions that are sufficiently close, or remove regions that are not long enough.
Extract signal regions of interest from a signal vector.
Plot a signal with color-coded regions of interest.
creates a signal mask for the input data source msk
= signalMask(src
)src
. A
mask defines the locations of regions of interest of a signal
together with the label or category values for each region.
sets Properties using name-value
pairs. You can specify multiple name-value pairs. Enclose each property name in
quotes.msk
= signalMask(src
,Name,Value
)
binmask | Get matrix of binary sequences mask |
catmask | Get categorical sequence mask |
extractsigroi | Extract regions of interest based on signal mask |
plotsigroi | Plot signal regions based on signal mask |
roimask | Get ROI table mask |
binmask2sigroi
| categorical
| extendsigroi
| extractsigroi
| mergesigroi
| removesigroi
| shortensigroi
| sigroi2binmask