Effacer les filtres
Effacer les filtres

Color Histogram and Color Cloud

3 vues (au cours des 30 derniers jours)
Shrikanth
Shrikanth le 13 Nov 2015
Commenté : Image Analyst le 13 Nov 2015
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 commentaire
Image Analyst
Image Analyst le 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.

Connectez-vous pour commenter.

Réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by