Is my uint16 image matrix and RGB image?
1 view (last 30 days)
Show older comments
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?
0 Comments
Answers (1)
KALYAN ACHARJYA
on 18 Nov 2019
Edited: KALYAN ACHARJYA
on 18 Nov 2019
Are the unit16 images an rgb images? Is there a way to determine that?
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
See Also
Categories
Find more on Image Data Workflows in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!