Borrar filtros
Borrar filtros

Is my uint16 image matrix and RGB image?

3 visualizaciones (últimos 30 días)
ARN
ARN el 18 de Nov. de 2019
Comentada: ARN el 19 de Nov. de 2019
Hi,
I received data set from somewhere and it is matrix of uint16 (spectrogram). I researched and i couldn't find myself a satisfactory answer. Are the unit16 images an rgb images? Is there a way to determine that?

Respuestas (1)

KALYAN ACHARJYA
KALYAN ACHARJYA el 18 de Nov. de 2019
Editada: KALYAN ACHARJYA el 18 de Nov. de 2019
Are the unit16 images an rgb images? Is there a way to determine that?
No, it doesnot mean that, this mean data types
Check the following:
[r c ch_num]=size(image);
If ch_num=3, you can say, it be RGB Image
or other ways
if size(image,3)==3
  1 comentario
ARN
ARN el 19 de Nov. de 2019
as i said i got it in matrix and i can tell its not 3-dimensional matrix. I would just go with 1

Iniciar sesión para comentar.

Categorías

Más información sobre Image Data Workflows en Help Center y File Exchange.

Productos


Versión

R2018b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by