A New Approach in A Gray-Level Image Contrast Enhancement by Using Fuzzy Logic Technique
A New Approach in A Gray-Level Image Contrast Enhancement by Using Fuzzy Logic Technique
Fuzzy Logic technique represents a new approach for gray level image contrast enhancement. The image contrast
problem is one of the main problems that confront the researchers in the field of digital image processing, such as in
the biomedical image processing like X-Ray and MRI image segmentation for disease classification. In this paper,
presenting a new approach to enhancing the image contrast by using fuzzy logic algorithm, so based on the fuzzy
rule, we present a new membership equation, which represents the variable threshold level. The proposed method
we named it (Fuzzy Hyperbolic Threshold). By using Matlab was implemented the algorithm, and applied to
difference gray level images such as old documents images, biomedical images, most of them gives very good
results especially with the biomedical images, because of its significant impact on the adjustment of lighting in dark
images, clarify its edges, clarify their features and improved image quality.
Keywords
Image Contrast Enhancement; Fuzzy logic; Fuzzy Hyperbolic Threshold; Intelligent Techniques.
I. INTRODUCTION invisible, and the light densities that are more than
the brightness threshold be very luminous, where it
In recent years, was an increased to deal with is difficult to distinguish the image details [4, 5]. In
digital images due to the availability of advanced the computers, the digital images are represented as
technology that makes easy dealing with the images a two dimensional array, and each element in this
in the computers. In general, the working principle array is representation of light intensity of dot
of digital image capture devices depends on the called a pixel. In addition, there are three main
conversion of light into electrical charges (electrical types of digital image, which is a binary image,
signals), and then converts the electrical signals into gray level image and colored image [6].
a series of numbers, such as (zeros and ones) to
represent all the colored dots in the image and save With the progress in digital technology to capture
it as a digital file on the computers [1, 2]. The term images, the users and researchers in particular, they
Contrast is the amount of the difference between had been confronting a bad contrast problem, it is
the different lighting for image elements. However, one of the main problems in the image processing
the ratio between the objects lighting and floor field, therefore, began a need to improve some of
lighting objects that fall on objects [3]. The vision the images that tainted by lack of clarity when
system in the human eye responds to a wide range capture images [7, 8]. The reasons due to the
of lighting levels, this response has varied misuse of devices, use a not good and undeveloped
depending on the rate of observed lighting, which device and sometimes, other reasons give bad
specified by a two thresholds for the darkness and images, like lack of proper lighting, such as cloudy
the brightness. Therefore, the light densities that are weather, bright light, dark locations or take the
less than darkness threshold be very dark, so be
IJSRSET141112 | Received: 9 Dec 2014 | Accepted: 20 Dec 2014 | January-February 2015 [(1)1: 19-23] 19
picture from a distance, all these reasons leading to classical methods, because they contain fogginess
blurred image details and blurred colors in it [9]. in the original. In addition, when processing a color
of the pixel, there are two questions appear, which
FUZZY SYSTEM is it a color value of the current pixel becoming
darker or brighter than the past? And what are the
Fuzzy systems are made of a knowledge base and thresholds for the darkness and the brightness?
reasoning mechanism called fuzzy inference system. Therefore, using fuzzy logic technique to improve
A fuzzy inference system combines fuzzy if-then the digital image, is a very appropriate for such that
rules into a mapping from the inputs of the system things. The fuzzy logic methods differ in the
into its outputs, using fuzzy reasoning methods. processing on how to choose suitable the
That is, fuzzy systems represent a nonlinear membership function to obtain the desired results,
mapping accompanied by fuzzy if-then rules from but all fuzzy logic methods are sharing in a
the rule base. Each of these rules describes the local processing of various subjects at three basic stages,
mappings. The rule base can be constructed either which is Image Fuzzification, Membership
from human expert or from automatic generation Modification and Image Defuzzification. Figure 2,
that is extraction of rules using numerical input- Illustrates the stages of image processing using
output data [10, 11]. A fuzzy inference system (FIS) fuzzy logic.
consists of four functional as shown in Figure 1.
IMAGE ENHANCEMENT BY USING FUZZY
LOGIC TECHNIQUES
Figure 2: Block Diagram of The Proposed Read Image, Img (r, c).
Technique Find the following parameters:
Maximum level Max(Img), Minimum level
Membership function is selected or designed Min(Img) and Middle level Mid(Img).
according to the desired application. For improving . …1
the contrast was used membership function that
Set (α) Between the Range (0, 2).
gives a degree of affiliation to the dark elements
Calculate the membership function value
close to the (0), so do not reach to any bright
m(r ,c) as the follows :
element. Similarly, for the bright elements, they are
gradually increases until reaches to close to the (1) For Img(r, c) >= Mid(Img)
or bright elements. And for the other elements, they
are taking an affiliation degree between the (0, 1) * +
which be an affiliation partly with group. Figure 3,
Illustrates the results from a grayscale image ….2
processing and the same principle is applied to the For Img(r, c) >= Min(Img) and
color image.
Img(r, c) < Mid(Img)
* ( )+ …3
Figure 3: the process of improving the contrast in images using fuzzy Modify the membership value where
logic
…4
In this paper, was used three methods of fuzzy logic
to improve the contrast, which is a Fuzzy
Set the new pixel value as the following:
Histogram Hyperbolization Method, Intensification Img(r, c) = m'(r, c) * Img(r, c) …5
Operator Method and Fuzzy Expected Value
Repeat as at the last above three steps, for
Method, and then compare the results obtained each pixel in the image.
from these methods with the results from our Show the new image Img'(r, c).
proposed method, which named Fuzzy Hyperbolic
Threshold Method. III. RESULTS AND DISCUSSION
II. METHODS AND MATERIAL The proposed method results had been
The procedure steps of proposed method including compared with the other contrast enhancement
calculating the new membership function equation methods of a different selected digital image such
for the fuzzy logic for image enhancement as a scanned ECG image, X-ray images, MRI
technique has explained below. In the procedure images, medical ultrasound images and other
V. REFERENCES