Consider a logical sequence that is true for samples belonging to four possible regions of interest of a signal. Convert the sequence to a two-column matrix of ROI limits.
Binary mask, specified as a logical vector. You can also specify
mask as a numeric vector. In that case, any nonzero element of
the vector is converted to logical 1 (true) and
zeros are converted to logical 0 (false).
Example: logical([0 0 1 1 1 0 0 0 1 1 0 0 0 0 1 1 1 1 1 0 1 1 0])
specifies a binary mask containing four regions of interest.
Example: [0 0 1 1 1 0 0 0 1 1 0 0 0 0 1 1 1 1 1 0 1 1 0] specifies
a binary mask containing four regions of interest.
Region-of-interest limits, returned as a two-column matrix of positive integers. The
ith row of roilims contains nondecreasing
indices corresponding to the beginning and end samples of the ith
region of interest.
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window.
Web browsers do not support MATLAB commands.
Seleccione un país/idioma
Seleccione un país/idioma para obtener contenido traducido, si está disponible, y ver eventos y ofertas de productos y servicios locales. Según su ubicación geográfica, recomendamos que seleccione: .
También puede seleccionar uno de estos países/idiomas:
Cómo obtener el mejor rendimiento
Seleccione China (en idioma chino o inglés) para obtener el mejor rendimiento. Los sitios web de otros países no están optimizados para ser accedidos desde su ubicación geográfica.