How to plot colormap of color image (RGB) in matlab?
47 views (last 30 days)
Show older comments
Commented: Walter Roberson on 21 Nov 2016
I need to analyze the colors of an image. I am wondering how to plot colormap of color image.
Tim Jackman on 21 Nov 2016
Edited: Walter Roberson on 21 Nov 2016
Walter Roberson on 7 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.
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.
Find more on Colormaps 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!