Theory
Algorithm
1. Assign zero values to all element of the array hf;
2. For all pixel (x, y) of the image f, increment hf [f(x, y)] by 1.
Read more »
The histogram of a digital image with gray levels in the range [0, L-1] is a discrete function h(rk) = nk, where rk is the kth gray level and nk is the number of pixels in the image having gray level rk.For an 8-bit grayscale image there are 256 different possible intensities, and so the histogram will graphically display 256 numbers showing the distribution of pixels among those grayscale values.
Algorithm
1. Assign zero values to all element of the array hf;
2. For all pixel (x, y) of the image f, increment hf [f(x, y)] by 1.
تعليقات: 0
إرسال تعليق