MATLAB: Display an RGB image

displayImage Processing Toolboximagescrgb

Hello,
I'm trying to display an image which is generated by R, G and B channels. Each channel is a 225×225 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!

Best Answer

Convert it into uint or int and use imshow or imagesc.