Display an RGB image

7 vues (au cours des 30 derniers jours)
konstantina vatavali
konstantina vatavali le 6 Juin 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!

Réponse acceptée

KSSV
KSSV le 6 Juin 2020
Convert it into uint or int and use imshow or imagesc.
  1 commentaire
konstantina vatavali
konstantina vatavali le 6 Juin 2020
Thank you very much!

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Convert Image Type dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by