How to display rgb image of 256*256*3?

3 views (last 30 days)
Jes
Jes on 15 Aug 2017
Commented: Selva Karna on 17 Aug 2017
I display using imshow function, however, it shows a grey scale image.i.e the image is not color-coded.
Can anyone please help me?
thanks
  3 Comments
Image Analyst
Image Analyst on 15 Aug 2017
I don't understand the problem. So you have an RGB image where everything is a shade of gray. So what? That's allowed. Every one of the 3 color channels is the same. That's allowed. Is that not what you were expecting?
Selva Karna
Selva Karna on 17 Aug 2017
the pixel value is gray, that is showing gray

Sign in to comment.

Answers (0)

Categories

Find more on Image Processing Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!