Display an RGB image

조회 수: 7 (최근 30일)
konstantina vatavali
konstantina vatavali 2020년 6월 6일
댓글: konstantina vatavali 2020년 6월 6일
Hello,
I'm trying to display an image which is generated by R, G and B channels. Each channel is a 225x225 image. When I combine these channels with cat(3,R,G,B) and display it with imagesc, the image is mostly white. Does anyone know why this is happening? R,G,B images are displaying well.
Thank you!

채택된 답변

KSSV
KSSV 2020년 6월 6일
Convert it into uint or int and use imshow or imagesc.
  댓글 수: 1
konstantina vatavali
konstantina vatavali 2020년 6월 6일
Thank you very much!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Convert Image Type에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by