How to plot colormap of color image (RGB) in matlab?

5 views (last 30 days)
I need to analyze the colors of an image. I am wondering how to plot colormap of color image.

Answers (5)

Tim Jackman
Tim Jackman on 21 Nov 2016
Edited: Walter Roberson on 21 Nov 2016

KSSV
KSSV on 7 Nov 2016
doc imshow.

Walter Roberson
Walter Roberson on 7 Nov 2016

Image Analyst
Image Analyst on 21 Nov 2016
The color thresholder app on the apps tab will show you the color gamut, which is the real name for what you're asking for.

Image Analyst
Image Analyst on 21 Nov 2016
You can also use the 3D Color Inspector plugin for ImageJ:
You can change color spaces and show appearance weighted by frequency if you want. You can also quantize into fewer colors, like as if you had run rgb2ind() on the image.

Community Treasure Hunt

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

Start Hunting!