How to normalize the histogram of the hue component of an image ?

2 views (last 30 days)
I have done this much,
hsv=rgb2hsv(img); h=hsv(:,:,1); hhist= imhist(h);
What do i do next ?
  2 Comments
Jan
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:
  1. Scale such that the maximum value is 1.0
  2. Scale and remove offset such that the data are between 0.0 and 1.0
  3. Scale such that the data have a normal distribution with standard deviation 1.0 and the mean 0.0
  4. Scale such that the area under the curve is 1.0
  5. Scale such that the geometrical sum of the data is 1.0
  6. etc.

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!