Display an RGB image

8 visualizzazioni (ultimi 30 giorni)
konstantina vatavali
konstantina vatavali il 6 Giu 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!

Risposta accettata

KSSV
KSSV il 6 Giu 2020
Convert it into uint or int and use imshow or imagesc.

Più risposte (0)

Categorie

Scopri di più su Convert Image Type in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by