Color Histogram and Color Cloud
3 views (last 30 days)
Show older comments
Hi
I have obtained Color histogram of Color image by dividing image in 3 parts and plotting histogram of each part separately. After overlapping these 3 parts, I am getting Color histogram. Can anyone please provide me code for drawing Color Histogram as shown in attached image?
In attached image, circle drawn in "img.jpg" has produced "hist.jpg".
With Minimum distance classifier, I have extracted color features of various images and trained dataset to display temperature of input image.
How I can modify same for displaying temperature of single pixel?
1 Comment
Image Analyst
on 13 Nov 2015
That is not a color image - it's an indexed image - so there are not 3 color channels. What do you want? Do you want a histogram where you can control the color of every bar?
By the way, a true color image would either have 3 1-D histograms (one from each color channel), OR would be a 3-D histogram (scatterplot) showing the full color gamut, where the XYZ axes are R, G, and B and there is a dot/marker at every (R,G,B) location in 3-D space.
Answers (0)
See Also
Categories
Find more on Histograms 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!