Is my uint16 image matrix and RGB image?

1 次查看(过去 30 天)
ARN
ARN 2019-11-18
评论: ARN 2019-11-19
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?

回答(1 个)

KALYAN ACHARJYA
KALYAN ACHARJYA 2019-11-18
编辑:KALYAN ACHARJYA 2019-11-18
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 个评论
ARN
ARN 2019-11-19
as i said i got it in matrix and i can tell its not 3-dimensional matrix. I would just go with 1

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Image Data Workflows 的更多信息

产品


版本

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by