Professional Documents
Culture Documents
Fig. 1: Flow chart of the new combined technique algorithm with combination of HE and FGLG [5].
P(r k )
rk
(a) (b) (c) (d)
Fig. 2: Histograms of a virtual image in four basic intensity characteristics. (a) Dark image. (b) Light image. (c) Low contrast image. (d) High contrast
image.
IJCSNS International Journal of Computer Science and Network Security, VOL.13 No.7, July 2013 115
In this paper, some noise models are adding to low contrast component, P hist . We can directly apply the HE to first sub-
images and observing the effect of these noises on histogram from 0 to (P hist – 1) and apply FGLG to second
performance of the new combined technique. sub-histogram from P hist to L – 1. The transformation
This paper is organized as follows. The new combined function using HE can be expressed as followed [1], [2]:
technique is described in the next section. Section 3 k
( L − 1) k
presents some important noise probability density functions. THE ( rk ) = ( L − 1)∑ pr ( rj ) = ∑nj (1)
j =0 MN j = 0
In section 4, the experimental results to testing performance
the new combined technique in the presence of different for k = 0, 1, 2,..., P hist – 1. The transformation function
noise types are presented and evaluated. Section 5 is the using FGLG is T FGLG (r k ), for k = P hist , P hist + 1, P hist + 2,...,
conclusion. L – 1, as shown in Fig. 1. Therefore the piecewise
transformed function T (r k ) can be expressed as followed:
T (r k ) = T HE (r k ) + T FGLG (r k ) (2)
II. THE ALGORITHM OF THE NEW
for k = 0, 1, 2, …, L – 1. Finally, the piecewise transformed
COMBINED TECHNIQUE function is applied to the original image to reconstruct the
In this section, the new combined technique performs optimal enhanced image.
effectively with images that have the position of the highest
amplitude histogram components lies in the left of NZHC
region. It is a combination of Histogram Equalization (HE) III. SOME IMPORTANT NOISE
and Fast Gray Level Grouping (FGLG). This method is PROBABILITY DENSITY FUNCTIONS
carried out via various stages. Fig.1 illustrates a schematic
diagram of this method [5]. The spatial noise descriptor with which we shall be
The histogram of an image with intensity levels in the range concerned is the statistical behavior of the intensity values
[0, L – 1] is a discrete function h(r k ) = n k , where r k is the in the noise component of the model in Fig 3. These may be
kth intensity level and n k is the number of pixels in the considered random variables, z, characterized by a
image with intensity r k . It is common practice to normalize probability density function (PDF), p(z). The following
a histogram by dividing each of its components by the total noise models are among the most common PDFs found in
number of pixels in the image, denoted by product MN, image processing applications [6].
where, as usual, M and N are the row and column
dimensions of the image. Thus, a normalized histogram is A. Gaussian noise
given by P(r k ) = n k /MN, for k = 0, 1, 2, …, L – 1. Loosely
speaking, P(r k ) is an estimate of the probability of The PDF of a Gaussian random variable, z, is given by
occurrence of intensity level r k in an image. Suppose that 1 −( z − z ') 2 / 2σ 2 (3)
p( z ) = e
an input image I with intensity levels in the range [0, L – 1] 2πσ
and its histogram was calculated, the basic procedure of the where z represents intensity, z` is the mean value of z(the
new combined technique is as follows: default value of z`is zero in this paper), and σ is its standard
deviation. The standard deviation squared, σ², is called the
A. Histogram Segmentation variance of z. The Gaussian image noisily and statistics of
this noise, with sigma = 0.01, are show in Fig. 3(a).
Find the position of the highest amplitude histogram
component, P hist , on the gray scale. If P hist lies inside the B. Impulse noise
left segment of the NZHC but not in the first component of
the NZHC, the histogram can be segmented into two sub- An image corrupted by impulse noise can be
histograms, the first starting from 0 to (P hist – 1) intensity modeled, as described in [7]–[9]:
and the second starting from P hist to maximum intensity
c j ,with probability 1− p (4)
level (L – 1). On the other hand, if P hist lies inside the right xj =
segment of the NZHC or in the first component of the
s j ,with probability p
NZHC then we have to enhance low contrast image using Where j is the 2-D position vector, c j is the j’th pixel value
GLG or FGLG. in the clean image c and s j the pixel value in the impulse
noise image s. The noise image s is usually a uniformly
B. Piecewise Transformed Function distributed random process with the value range of either
{a, b} or [a, b], where in the first case it is commonly
Having performed the histogram segmentation referred to as the salt-and-pepper noise and in the second
based on the position of the highest amplitude histogram the (continuous) random valued impulse noise. In either
116 IJCSNS International Journal of Computer Science and Network Security, VOL.13 No.7, July 2013
P(z)
Number of pixels
(a)
(a)
P(z)
Number of pixels
(b) z
Fig. 3: The image noise models and there statistics with sigma = 0.01. (a)
Gaussian. (b) Impulse. (b) Gray Scale
Fig. 4: The original low contrast images and its histograms with Phist
equal to (a) 27 intensity level. (b) 13 intensity level.
IV. EXPERIMENTAL RESULTS
To demonstrate the effectiveness of the adding noise on the Number of pixels
performance of the new combined technique, i.e., the noise
models as we mentioned earlier are added to a variety of
low contrast gray scale images and the new algorithm was
applied to these images.
Fig. 4 shows the original low contrast images, with
P hist = 27, 13 intensity levels, and its histograms. Fig. 5
shows Fig. 4 after applied the new combined technique on (a)
it.
In addition to qualitative evaluation, quantitative
measures are utilized to evaluate the performance of new
Number of pixels
2552 (5)
PSNR = 10 log10 Fig. 5: Enhanced images from Fig. 4 using the new combined technique.
MSE
where MSE is mean-square error, defined as
Table 1: The values of PSNR, MSE and AMBE of Figs 4 and 5.
IJCSNS International Journal of Computer Science and Network Security, VOL.13 No.7, July 2013 117
Images
Criterion a b
Number of pixels
PSNR 16.129 2.5485
MSE 1585.5 36160
AMBE 0.009 0.2438
Number of pixels
(a)
Number of pixels
(a)
Number of pixels
(b)
Number of pixels
(b)
Number of pixels
Fig. 7: Enhanced images from Fig. 6 using the new combined technique.
(a) σ = 0.01, (b) σ = 0.03 and (c) σ = 0.05.
Number of pixels
Number of pixels
(a) (a)
Number of pixels
Table 3: The values of PSNR, MSE and AMBE of Fig 9.
Sigma (σ)
Criterion
0.01 0.03 0.05
Number of pixels
Number of pixels
(b) Fig. 9: Enhanced images of Fig. 8 using the new combined technique (a)
σ = 0.01, (b) σ = 0.03 and (c) σ = 0.05.
Number of pixels
Fig. 11: Enhanced images from Fig. 10 using the new combined
technique. (a) σ = 0.001, (b) σ = 0.003, (c) σ = 0.005.
Number of pixels
Number of pixels
(a)
Number of pixels
(a)
Number of pixels
(b)
Number of pixels
(b)
Number of pixels
(c)
Gray Scale
Fig. 10: The noisily images by additive Gaussian noise to Fig.4 (b). (a) σ
= 0.001, (b) σ = 0.003 and (c) σ = 0.005.
(c) Gray Scale
Number of pixels
Fig. 12: The noisily images by additive impulse noise to Fig.4 (b). (a) σ =
0.001, (b) σ = 0.003 and (c) σ = 0.005.
Fig. 12 shows also the Fig.4 (b) after adding impulse noise
with sigma = 0.001, 0.003 and 0.005. The original image
after adding this noise is changed slightly in visual but the
histogram of this image is changed clear as shown in the
(a) right column of Fig.12.
Fig. 13 shows the results of applying the new combined
Number of pixels
References
[1] Rafael C. Gonzalez and Richard E. Woods, Digital Image
Number of pixels
Processing (3rd Edition), Prentice Hall, August 2008.
[2] William K. Pratt, Digital Image Processing: PIKS Scientific,
Wiley, 2007.
[3] ZhiYu Chen, Besma R. Abidi, David L. Page, and Mongi A.
Abidi, “Gray-level grouping (GLG): an automatic method for
optimized image contrast enhancement-part I: the basic
(a) method,” IEEE Transactions on Image Processing, vol. 15,
no. 8, pp. 2290– 2302, August 2006.
[4] ZhiYu Chen, Besma R. Abidi, David L. Page, and Mongi A.
Abidi, “Gray-level grouping (GLG): an automatic method for
Number of pixels
V. CONCLUSION
In this paper, the general conclude that the performance of
the new combined technique decreases when adding noise
models (Gaussian and impulse) to low contrast images with
higher noise levels. Experimental results show that the new
combined technique achieves the best quality through
qualitative visual inspection and the image quantitative
parameters of Peak Signal-to-Noise Ratio (PSNR), Mean
square error (MSE) and Absolute Mean Brightness Error
(AMBE) for the clean images used. Therefore
recommending eliminates the noise from the low contrast
images before using this technique to getting the maximum
enhanced. However, this technique can be conducted in a
fully-automated manner to contrast enhancement.