Display an RGB image

6 Ansichten (letzte 30 Tage)
konstantina vatavali
konstantina vatavali am 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!

Akzeptierte Antwort

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

Weitere Antworten (0)

Kategorien

Mehr zu Convert Image Type finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by