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 Commenti

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

Accedi per commentare.

Risposte (5)

Tim Jackman
Tim Jackman il 21 Nov 2016
Modificato: Walter Roberson il 21 Nov 2016

1 Commento

Interesting. I had not seen that before. I see it is new in R2016b.

Accedi per commentare.

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.

Richiesto:

il 7 Nov 2016

Commentato:

il 21 Nov 2016

Community Treasure Hunt

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

Start Hunting!

Translated by