How to normalize the histogram of the hue component of an image ?
Show older comments
I have done this much,
hsv=rgb2hsv(img); h=hsv(:,:,1); hhist= imhist(h);
What do i do next ?
2 Comments
Jan
on 2 Aug 2013
It depends, on what "normalization" exactly means. This might be clear for an experiences image processing scientist, but in general, "normalizing" can mean:
- Scale such that the maximum value is 1.0
- Scale and remove offset such that the data are between 0.0 and 1.0
- Scale such that the data have a normal distribution with standard deviation 1.0 and the mean 0.0
- Scale such that the area under the curve is 1.0
- Scale such that the geometrical sum of the data is 1.0
- etc.
Image Analyst
on 2 Aug 2013
What would this get for you if you could do it?
Answers (0)
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!