EE4206/EE5806 Digital Image Processing
香港 1997 ~ 2007 (特區十年史)
http://hk9707.blogspot.com/
http://www.rthk.org.hk/elearning/dessert/cake.htm
Computing Histograms
quoted from Digital Image Processing : An algorithmic Introduction using java by Burger and Burge (2008)
page. 44
1.Computing the histogram of an 8-bit grayscale image containing instensity values between 0 and 255 is a simple task.
2. All we need is a set of 256 counters, one for each possible intensity value. First, all counters are initialized to zero.
3. Then we iterate through the image I(u,v), determining the pixel value p at each location, and incrementing its corresponding counter by one.
4. At the end, each counter will contain the number of pixels in the image that have corresponding intensity value.
Keine Kommentare:
Kommentar veröffentlichen