Keywords

1 Introduction

The improvement of pictorial information for human interpretation and processing of scene data for autonomous machine perception are the root application areas that has shown interest in image processing filed a decade ago. Vision is the foremost trusted source of information compared to other human perception, and image in the basic container of any pictorial information. The two broad categories of image enhancement are,

  • Spatial domain methods based on direct manipulation of pixel

  • Frequency domain methods [2, 3] are based on modifying the Fourier transform of an image

Fuzzy image processing approach is the collection of how to understand, represent and process the image, their segmentation & features as Fuzzy set. Fuzzy image processing has three main stages: image fuzzification, modification of membership values and image Defuzzification as given in Fig. 1.

Fig. 1.
figure 1

General structure of fuzzy image processing

The main reason for using fuzzy image processing is

  1. (a)

    It is a powerful tool for knowledge representation and process.

  2. (b)

    It can manage the vagueness and ambiguity efficiently.

2 Existing Method

2.1 Spatial Domain

It is denoted by

$$ {\text{g}}\left( {{\text{x}},{\text{y}}} \right) = {\text{T}}\left[ {{\text{f}}\left( {{\text{x}},{\text{y}}} \right)} \right] $$
(1)

Where f(x, y) in the input image, g(x ,y) is the processed image T is the operator on f(x, y). The center of a mark is moved from pixel to pixel from top left corner. The operator T is applied at each location (x, y) to yield g.

2.2 Gray Scale

Here the gray level below the threshold value is mapped to 0 and gray level above threshold value mapped to 255 (Fig. 2).

Fig. 2.
figure 2

(a) Original image Lena; (b) Image with Gaussian noise σ = 100

2.3 Histogram Equalization

It involves finding a gray scale transformation function that creates an output image with uniform histogram. But here the problem is how to determine the gray scale transformation function. Histogram equalization image Lena is given below (Fig. 3).

Fig. 3.
figure 3

Histogram equalization of image Lena

2.4 Image Smoothing [4]

Here the technique of neighborhood averaging is employed which results in blurring. We commonly use some weighting function like rectangular weighting function (average) or a triangular weighting function or a Gaussian.

2.5 Averaging

See Fig. 4.

Fig. 4.
figure 4

Lena image with Gaussian noise σ = 10 filtered by average filter

2.6 Gaussian Filter

See Fig. 5.

Fig. 5.
figure 5

Gaussian filter

As the above method results in blurring, for edge preserving median filtering is used. Here the pixels with outlaying values are forced to become more like their neighbor. It is a non-liner filter (Fig. 6).

Fig. 6.
figure 6

Lena image with Gaussian noise σ = 10 filtered by median filter

2.7 Image Sharpening

Here the high frequency components are enhanced as a high positive component is taken at the center. High boost filter can be used when low frequency components are retained along with the high pass image.

2.8 Frequency Domain Methods

Here we enhance the Fourier Transform (FT) of the image. The FT of the image is multiplied by a filter & the inverse transform is taken to enhance the image.

3 Fuzzy Image Enhancement [6,7,8, 10,11,12]

It consists of Fuzzification, modification of membership value and Defuzzification. The main power of fuzzy image processing in modification of membership value. First the image data are transformed from gray level plane to the membership plane then appropriate fuzzy technique modify the membership value. This can be a fuzzy clustering a fuzzy rule-based approach and a fuzzy integration approach.

3.1 Generalized Fuzzy Image Enhancement

The smoothing operation S uses median filtering. It is a nonlinear method which suppresses noise and reduces blurring at the same time retains the high frequency components. The fuzzy enhancement method (FE) follows the smoothing operation. The image f(i, j) with M x N pixels where \( f_{ij} \,i = 1,\,2 \ldots n \), is the gray level of the pixel. The fuzzy set is represented by \( \tilde{F} \) which is explained in the proposed method. \( \mu_{ij} \) is called the fuzzy property plane. The key to the fuzzy enhancement is a contrast intensification operator is T \( \left( {\mu_{ij} } \right) \) (Fig. 7).

Fig. 7.
figure 7

Block diagram of generalized image enhancement

Where,

$$ \begin{aligned} {\text{T}}(\mu_{ij} ) & = 2(\mu_{ij} )^{2} ,{\text{where}}\,\, 0\le \mu ij \le 0.5 \\ & = 1 - 2(1 - \mu_{ij} )^{2} ,{\text{where}}\,\, 0. 5< \mu_{ij} \le 1. \\ \end{aligned} $$
(2)

The image f(i, j) can be enhanced in the property domain by a transformation function \( T^{(r)} \)

$$ \mu_{ij}^{\prime } = T^{(r)} (\mu_{ij}^{\prime } ) = T(T^{(r - 1)} (\mu_{ij} )),{\text{r}} = 1, 2\ldots $$
(3)

The enhanced image can be obtained by the following inverse transformation

$$ f_{ij}^{\prime } = G^{ - 1} \left( {\mu_{ij}^{\prime } } \right) $$
(4)

Where \( {\text{f}}_{ij}^{{\prime }} \) is the gray level of the (i, j)th pixel in the enhanced image and G−1 denotes the inverse transformation of G. The final result is obtained by a gray transformation, GT (t) (Fig. 8).

Fig. 8.
figure 8

Fuzzification and defuzzification

$$ {\text{f}}_{\text{ij}}^{e} = t(f_{ij}^{{\prime }} )= \frac{{f_{\hbox{max} }^{e} - f_{\hbox{min} }^{e} }}{{f_{\hbox{max} }^{{\prime }} - f_{\hbox{min} }^{{\prime }} }} ( {\text{f}}_{\text{ij}}^{{\prime }} - {\text{f}}_{ \hbox{min} }^{{\prime }} )+ {\text{f}}_{ \hbox{min} }^{\text{e}} $$
(5)

4 Proposed Method

As earlier approach proposed method is also divided into three main steps:

  1. (i)

    Fuzzification

  2. (ii)

    Iterative computations [9]

  3. (iii)

    Defuzzification

Given an image f(i, j) with M x N pixels and f ij levels, and let \( f_{ij} \,i = 1,\;2 \ldots n \), be the gray level of the pixel location (i, j). The fuzzy set \( \tilde{F} \) corresponding to this image can be written as the following form

$$ \tilde{F} = \left( {\frac{{\mu_{IJ} }}{{f_{ij} }}} \right)_{MXN} $$
(6)

Where \( \left( {\frac{{\mu_{ij} }}{{f_{ij} }}} \right) \), \( \left( {0\, \le \mu_{ij} \le 1} \right) \) means the degree of possessing some appointed brightness by the (i, j)th pixel with the gray level f ij . This appointed brightness is usually the maximum fmax of gray levels in the image. Here \( \mu_{ij} = 0 \) indicates dark and \( \mu_{ij} = 1 \) bright. Any intermediate value refers to the grade of maximum gray level of the pixel. A set consisting of all \( \mu_{ij} \) is called the fuzzy property plane of the image. In [1] \( \mu_{ij} \) is expressed as

$$ \mu_{IJ} = G(f_{ij} ) = \left[ {1 + \frac{{f_{\hbox{max} } - f_{ij} }}{{F_{d} }}} \right]^{{ - F_{c} }} $$
(7)

Where Fc and Fd denote the exponential and the denominational fuzzifiers, respectively. It is apparent that those two positive constants have the effect of altering ambiguity in the fuzzy property plane. The key to the fuzzy enhancement is a contrast intensification operator (INT). It is calculated using below equation.

$$ \begin{aligned} T({\mu_{ij}}) & = \sqrt[2]{{{{\mu_{ij}}} \over 2}} \quad {\it 0} \le \mu ij \le{\it 0.5} \\ & = {\it 1} - \sqrt[2]{{{({\rm{i}} - \mu {\rm{ij}})} \over 2}}\\ &{\it 0.5} < {\mu_{ij}} \le {\it 1}\end{aligned} $$
(8)

where T is Contrast Intensification Operator (INT). The image f(i, j) can be enhanced in the property domain by a transformation function \( T^{(r)} \)

$$ \mu_{\textit{ij}}^{{\prime }} = \textit{T}^{{(\textit{r})}} (\mu_{\textit{ij}}^{{\prime }} ) = \textit{T}(\textit{T}^{{(\textit{r} - 1)}} (\mu_{\textit{ij}} )),\,\textit{r} = {\it 1}, {\it 2} \ldots $$
(9)

Where \( T^{(r)} \) is defined a successive application of T. The enhanced image can be obtained by the following inverse transformation

$$ f_{ij}^{{\prime }} = G^{ - 1} \left( {\mu_{ij}^{{\prime }} } \right) $$
(10)

Where \( {\text{f}}_{ij}^{{\prime }} \) is the gray level of the (i, j)th pixel in the enhanced image and \( G^{ - 1} \) denotes the inverse transformation of G. The final result is obtained by a gray transformation, GT, of the enhanced image that can be represented as

$$ {\text{f}}_{\text{ij}}^{e} = t(f_{ij}^{{\prime }} )= \frac{{f_{\hbox{max} }^{e} - f_{\hbox{min} }^{e} }}{{f_{\hbox{max} }^{{\prime }} - f_{\hbox{min} }^{{\prime }} }} ( {\text{f}}_{\text{ij}}^{{\prime }} - {\text{f}}_{\hbox{min} }^{{\prime }} )+ {\text{f}}_{\hbox{min} }^{\text{e}} $$
(11)

Where the gray level of the (i, j)th pixel, the gray maximum and the gray minimum of the final image are denoted by \( f_{\text{ij}}^{\text{e}} ,\;f_{\hbox{min} }^{e} \) and \( f_{\hbox{max} }^{e} \) respectively.

Similarly, \( f_{\hbox{min} }^{\prime } \) and \( f_{\hbox{max} }^{\prime } \) indicate the gray maximum and minimum of the image enhanced by FE, respectively. More ever, the following relationships hold:

$$ f_{\hbox{min} }^{{\prime }} > f_{\hbox{min} }^{e} f_{\hbox{max} }^{{\prime }} < f_{\hbox{max} }^{e} $$
(12)

5 Proposed Algorithm

The Proposed fuzzy enhancement algorithm is given below.

  1. (i)

    Input the original image f(i, j), let r = 1 and define \( f_{\hbox{min} }^{e} \,andf_{\hbox{max} }^{e} \).

  2. (ii)

    For each pixel (i, j) replace its gray level by the median of the gray levels in its 3 × 3 neighborhood.

  3. (iii)

    Calculate the fuzzy property plane μ ij corresponding to the filtered image stated above by Eq. (7).

  4. (iv)

    Transform the fuzzy property plane stated above by (8) and (9) and the result is denoted by \( \mu_{ij}^{{\prime }} \).

  5. (v)

    Solve the inverse transformation (10) of G, and the gray level of thefuzzy-enhanced image can be obtained.

  6. (vi)

    Calculate the gray transform of the image enhanced by the generalized fuzzy enhancement from (11).

  7. (vii)

    If the enhancement effect is not satisfying, then let r = r + 1 and go to (iv), otherwise the iteration ends.

  8. (viii)

    Output the final image.

Parameter selection: Here r is taken as 1,

Fc is 2, and Fd is 250.

6 Simulation and Experimental Results

See Fig. 9.

Fig. 9.
figure 9

(a) Original image Lena (b) Degraded image (c) A generalized Image Enhancement (d) Enhancement using proposed method

7 Conclusion

Fuzzy system is more suitable for the image enhancement problem where diverse, non-exact, uncertain and inaccurate knowledge of information is available. The generalized image enhancement method using fuzzy set does not work well for images having low gray value and high inaccuracy. The proposed method overcomes the problem and from the simulation analysis it is clear that the result is better than the generalized Fuzzy Image Enhancement.