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에서 Images에 대해 자세히 알아보기

제품


릴리스

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by