Display an RGB image

4 views (last 30 days)
konstantina vatavali
konstantina vatavali on 6 Jun 2020
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!

Accepted Answer

KSSV
KSSV on 6 Jun 2020
Convert it into uint or int and use imshow or imagesc.

More Answers (0)

Categories

Find more on Convert Image Type 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!