Escolar Documentos
Profissional Documentos
Cultura Documentos
sub-images based on a threshold, with all values above the Where α and β are user-defined operating parameters which
threshold in one image and all those below in the other. The can be fine-tuned for the specific images being processed
two images are then equalized separately and recombined. [8].
Many attempts have been made to define the optimal value
of this threshold. However, as no enhancement measure has 2.3. Measure of Image Enhancement
been used, these methods can be improved upon. Figure 1
compares the results of several of these methods to the A problem of image enhancement has always been to
results using the Logarithmic AME measure of image develop a quantitative measure to assess image
enhancement. enhancement. The Logarithmic AME and Logarithmic
AMEE measures utilize the Michelson Contrast as well as
2.2. Logarithmic Image Processing (LIP) model Fisher’s Law or Entropy [7]. The measures function by
segmenting an image into k1 x k2 sized blocks, assessing
The LIP model was introduced by Jourlin and Pinoli to give each block separately according to the following formulae,
a non-linear framework for image processing [6]. This is and averaging the results.
designed to both maintain the pixel values inside the range 1 k1 k 2
1 ⎛ I max
w
:k ,l ΘI min:k ,l
w
⎞
[0,M) as well as to more accurately process images from a log AMEk1k 2 (Φ) = ⊗ ∑∑ ⊗ ln⎜ w ⎟ (8)
⎜I ⎟
⎝ max:k ,l ⊕ I min:k ,l
w
k1 k 2 i =1 j =1 20 ⎠
human visual system point of view. The LIP model can be
1 k1 k 2
I w Θ I w :k , l ⎛ I w Θ I w :k , l ⎞
summarized as follows: log AMEE k1k 2 (Φ ) = ⊗ ∑ ∑ wmax :k ,l min ∗ ln ⎜⎜ wmax :k ,l min ⎟
⎟ (9)
k1k 2 i =1 j =1 I max :k ,l ⊕ I min :k ,l
w
⎝ I max :k ,l ⊕ I min :k ,l ⎠
w
ab
a⊕b = a+b− (2) Where I
w w
I
M max;k ,l and min; k ,l are the local maximum and
a−b minimum, respectively. The summations use LIP
aΘb = M (3)
M −g arithmetic.
c It is important to note that this method is relative. This
⎛ f ⎞
c ⊗ a = M − M ⎜1 − ⎟ (4) means that it is not an arbitrary standard of “goodness,” but
⎝ M⎠ rather a means of comparing similarly processed images.
a ∗ b = ϕ −1 (ϕ (a) ⋅ ϕ (b) ) (5) Further, larger or smaller numbers are not necessarily better,
Where we use ⊕ as LIP addition, Θ as LIP subtraction, ⊗ instead this depends on the image.
as LIP scalar multiplication, and * as LIP grayscale
multiplication. Also, a and b are any grey tone pixel values, 3. METHODS
is the maximum value of the range, and c is a constant. In
general, a and b correspond to the same pixel in two In this section, we present the human vision thresholding
different images that are being added, subtracted, or (HVT) algorithm and the multi-histogram equalization using
multiplied. For the grayscale multiplication, the functions HVT method.
ϕ and ϕ −1 are defined as: 3.1. Human Visual System Based Image Enhancement
⎛ f ⎞
ϕ (a) = − M ⋅ ln⎜1 − ⎟ (6) Human Visual System (HVS) based Image Enhancement
⎝ M⎠ aims to emulate the way in which the human visual system
⎡ ⎛ − f ⎞⎤ discriminates between useful and useless data [8] and is
ϕ −1 (a) = M ⋅ ⎢1 − exp⎜ ⎟⎥ (7) based on the background illumination and the gradient. The
⎣ ⎝ M ⎠⎦ former is arrived at using the following formula:
⎡1 ⎛ 1 1 ⎞ ⎤ equalization. Another method is necessary to achieve better
B( x, y ) = ⎢ ⎜⎜ ∑ X (i, j ) + ∑ X (k , l ) ⎟⎟ + X ( x, y )⎥ ÷ 2 (10)
⎢⎣ 2 ⎝ 4 Q 4 2 Q' ⎠ ⎥⎦ results using multi-histogram equalization.
Where B(x,y) is the background intensity at each pixel, By separating the image into regions by the quality of
X(x,y) is the input image, Q is all of the pixels which are illumination, such as over-illuminated, well illuminated, and
directly up, down, left, and right from the pixel, and Q’ is under-illuminated, traditional histogram equalization can be
all of the pixels diagonally one pixel away. We must also used on each region to correct for non-uniform illumination.
define a parameter BT, which is the maximum difference in For this, we utilize the human visual system to segment the
the image, arrived at using: image, using the measure of image enhancement to select
α2 and α3. The first three images are then equalized
( )
BT = max X ( x, y ) − min X ( x, y ) ( (11) ) separately and unionized, with the remaining pixels filled in.
Further, the gradient information is needed, which is In summary, the algorithm is executed as follows:
arrived at in the following formula: Input Image
G1 = X ( x, y ) − X ( x, y + 1)
X ' ( x, y ) = ( G1 + G2 ) ÷ 2 (12)
Step 1: Segment image using Human Vision
G2 = X ( x, y ) − X ( x + 1, y ) Thresholding algorithm
where X’(x,y) is the gradient information and G1, G2 are the Step 2: Equalize images 1, 2, and 3 separately
directional gradients. Finally, we must also know some Step 3: Recombine the pixels in the three equalized
parameters concerning the human eye itself, which we will images
call Bxi, I = 1,2,3 and Ki, I = 1,2,3. These are arrived at Step 4: Fill in the missing pixels
using the following formulas: Output Image
B x1 = α 1 BT
B x 2 = α 2 BT (13) 4. COMPUTER SIMULATIONS
B x 3 = α 3 BT
In this section, we present the results of computer
1 ⎛ X ' ( x, y ) ⎞
K1 = β ⋅ max ⎜⎜ ⎟⎟ simulations. The proposed method has been tested using a
100 ⎝ B ( x, y ) ⎠
(14) variety of images, including uniformly illuminated, well and
K 2 = K1 Bx 2 poorly illuminated, and non-uniformly illuminated, and
K 3 = K1 / Bx3 images with shadows. The test images include images that
Where α1, α2, α3 are parameters based upon the three were produced by high-quality professional digitization
different regions of response characteristics displayed by the methods as well as lower quality cell phone cameras.
human eye. As α1 is the lower saturation level, it is We compare against the results of other leading
effective to set this to 0. For α2, α3, it is necessary to histogram equalization methods. The comparison is made
determine these experimentally, or using the measure. both by visual inspection and the Logarithmic AME
Using this information, the image is first broken up into performance measure. The results show the proposed
the different regions of human visual response. These method to produce more visually pleasing enhanced images
different regions are characterized by the minimum and more consistently produce optimal enhanced images.
difference between two pixel intensities for the human Figure 2 shows the resulting images for the bed image.
visual system to register a difference. Next, these three As can be seen from visual inspection, the proposed
regions are thresholded, removing the pixels which do not algorithm creates the most visually pleasing enhanced
constitute a noticeable change for a human observer and image. It corrects for the largely under-illuminated scene,
placing these in a fourth image. These four images are allowing details such as the bed and pictures to be seen
arrived at using the following formula: clearly. Further, properly illuminated details such as the
X ' ( x, y ) light and the image in the window can still be seen clearly.
B x 2 ≥ B ( x, y ) ≥ B x1 & ≥ K2
Im1 = X ( x, y ) B ( x, y ) Figure 3 shows the resulting images for a camera phone
Im 2 = X ( x, y ) X ' ( x, y )
B x 3 ≥ B ( x, y ) ≥ B x 2 & ≥ K1 image. The original image, in figure 3.a, has regions of
Im 3 = X ( x, y )
such that B ( x, y ) (15)
X ' ( x, y ) under-illumination, over-illumination, and proper
Im 4 = X ( x, y ) B ( x, y ) ≥ B x 3 & ≥ K3
B ( x, y ) 2 illumination. The enhanced images using bi-histogram
All Remaining Pixels equalization only enhance one section, making either the
These four images are then enhanced separately and under-illuminated background visible or correcting the
recombined to form the enhanced image. over-illuminated foreground. The image in figure 3.f, using
the proposed method, corrects both regions such that all
3.1. HVS Based Multi-Histogram Equalization areas of the image can be clearly seen.
Experimental results have shown no significant Figure 4 summarizes the results for a representative
improvement between tri-histogram equalization using the range of images, showing the results of the quantitative
standard thresholding method and bi-histogram measure for the enhanced images. As can be seen from the
(a) (b) (c) (d)
Figure 2: Bed image enhanced using the variants of histogram equalization; (a)Original bed image, bed image enhanced using
(b)recursive mean-separate histogram equalization, (c)brightness preserving histogram equalization with maximum entropy
(d)human vision based multi-histogram equalization