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

I need to analyze the colors of an image. I am wondering how to plot colormap of color image.

2 Comments

Yes, but I don't understand to solve my problem. Can we plot colormap of image(RGB)?

Sign in to comment.

Answers (5)

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.
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.

Asked:

on 7 Nov 2016

Commented:

on 21 Nov 2016

Community Treasure Hunt

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

Start Hunting!