Display an RGB image

3 次查看(过去 30 天)
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.

更多回答(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