image histogram for color constancy
8 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Dear Sir
If i use the imhist() for my subploting imageit will not display the histogram in my color constancy program at the same time i want to display the error ration for orginal image and gray image
Please give suggestion for me it was very helpful to me
with regards Fathima
0 commentaires
Réponse acceptée
Image Analyst
le 16 Fév 2013
We have no knowledge of your color constancy program so we can't say why it will not display. In a regular MATLAB program with an axes, you'd do something like this:
[pixelCounts grayLevels] = imhist(grayImage, 256);
bar(grayLevels, pixelCounts, 'BarWidth', 1.0);
but that's for a gray scale image, not a color image. I also don't know what an "error ration" is. Finally, explain how you got the gray level image from the "original" image.
0 commentaires
Plus de réponses (0)
Voir également
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!