SlideShare uma empresa Scribd logo
1 de 8
Baixar para ler offline
International Journal of Advanced Science and Technology
                                                                                   Vol. 29, April, 2011



            Novel Fuzzy logic Based Edge Detection Technique

                                     Aborisade, D.O
                         Department of Electronics Engineering,
                 Ladoke Akintola University of Tech., Ogbomoso. Oyo-state.
                              doaborisade@yahoo.com


                                          Abstract

    This paper is based on the development of a fuzzy logic based edge detection technique in
digital images. The proposed technique used three linear spatial filters to generate three edge
strength values at each pixel of a digital image through spatial convolution process. These
edge strength values are utilized as fuzzy system inputs. Decision on whether pixels in focus
belong to an edge or non-edge is made in the proposed technique based on the Gaussian
membership functions and fuzzy rules. Mamdani defuzzifier method is employed to produce
the final output pixel classification of a given image. Experimental results show the ability
and high performance of proposed algorithm compared with Sobel and Kirsch operators.

    Keywords: Fuzzy Logic, Fuzzy inference system, Edge strength, Edge detection.

1. Introduction
     An Edge is defined as discontinuities in pixel intensity within an image. The edges of an
image are always the important characteristics that offer an indication for higher frequency.
Detection of edges in an image is used as a preprocessing step to extract some low-level
boundary features, which are then fed into further processing steps, such as object finding and
recognition.
     Many edge-detection methods have been suggested in the past years for the purpose of
image analysis and had been attempted by many researchers to support different optimization
goals. Traditional techniques, such as Sobel, Prewitt and Roberts provide false edge detection
and being very sensitive to noise.
     Canny [1] proposed a method to counter noise problems and minimize the probability of
false edges. In his work image is convolved with the first order derivatives of Gaussian filter
for smoothing in the local gradient direction followed by edge detection by thresholding [2].
Canny edge detector has major drawbacks of being computational complexity and do not give
a satisfactory results in varying contrast areas. However, improvement in the edge-detection
research area has now resulted in the use of some tools such as neural networks, ant colony
and, fuzzy logic by some presented algorithms [2].
     In this paper, fuzzy logic based approach to edge detection in digital images is proposed.
Firstly, for each pixel in the input image „edginess‟ measure is calculated using three 3 3
linear filters after which three fuzzy sets characterized by three (3) Gaussian membership
functions associated to linguistic variable “Low”, “Medium” and “High” were created to
represent each of the edge strengths. The second phase involves application of fuzzy
inference rule to the three fuzzy sets to modify the membership values in such a way that the
fuzzy system output (“edge”) is high only for those pixels belonging to edges in the input
image. Final pixel classification as edge or non-edge using Mamdani defuzzification method
is the last step.




                                                                                                    75
International Journal of Advanced Science and Technology
Vol. 29, April, 2011



2. Fuzzy Logic Based Application
    Fuzzy logic represents a powerful approach to decision making [3], [4], [5]. Since the
concept of fuzzy logic was formulated in 1965 by Zadeh, many researches have been carried
out on its application in the various areas of digital image processing such as image quality
assessment, edge detection, image segmentation, etc.
    Many techniques have been suggested by researchers in the past for fuzzy logic-based
edge detection [6], [7], [8]. In [9], Zhao, et al. proposed an edge detection technique based on
probability partition of the image into 3-fuzzy partitions (regions) and the principle of
maximum entropy for finding the parameters value that result in the best compact edge
representation of images. In their proposed technique the necessary condition for the entropy
function to reach its maximum is derived. Based on this condition an effective algorithm for
three-level thresholding is obtained.
    Several approaches on fuzzy logic based edge detection have been reported based on
fuzzy If-Then rules [10], [11]. In most of these methods, adjacent points of pixels are
assumed in some classes and then fuzzy system inference are implemented using appropriate
membership function, defined for each class [12]. In Liang, et al. [13], adjacent points are
assumed as 3 3 sets around the concerned point. By predefining membership function to
detect edges. In these rules discontinuity in the color of different 3 3 sets, edges are
extracted. It uses 5 fuzzy rules and predefined membership function to detect edges. In these
rules discontinuity of adjacent point around the concerned point are investigated. If this
difference is similar to one of predefined sets, the pixel is assumed as edge.
    A similar work is proposed by Mansoori, et al. [14], wherein adjacent points of each pixel
are grouped in six different set. Then by using of appropriate bell shape membership function,
the value from zero to one is determined for each group. Based on the membership values,
and fuzzy rules, decision about existing/not existing and direction of edge pixels are obtained.

3. Proposed Algorithm
    In this paper, at first an input image is pre-process to accentuate or remove a band of
spatial frequencies and to locate in an image where there is a sudden variation in the grey
level of pixels. For each pixel in the image edge strength value is calculated with three (3)
 3 3 linear spatial filters i.e. low-pass, high-pass and edge enhancement filters (Sobel)
through spatial convolution process. In carrying out a 3 3 kernel convolution, nine
convolution coefficients called the convolution mask are defined and labeled as seen below:

                                     a       b      c
                                     d       e       f
                                     g       h       i

    Every pixel in the input image is evaluated with its eight neighbors, using each of the
three masks shown in Figure 1 to produce edge strength value. The equation used for the
calculation of edginess values between the center pixel and the neighborhood pixels of the
three (3) masks using spatial convolution process is given by:




76
International Journal of Advanced Science and Technology
                                                                                                  Vol. 29, April, 2011



                 O( x, y)  aI ( x  1, y  1)  bI ( x  1, y)  cI ( x  1, y  1)
                                 dI ( x, y  1)  eI ( x, y)  fI( x, y  1)                                     (1)
                                 gI ( x  1, y  1)  hI ( x  1, y)  iI ( x  1, y  1)

However, the result of convolution of the two Sobel kernels is combine thus, the approximate
absolute gradient magnitude (edge strength) at each point is computed as:

                 Og  Ox  O y                                                                                   (2)

The normalized edge strength is then defined as:

                  NO( x, y)  round (O( x, y) / max( O))  100                                                  (3)

where x  0,1, . . . , M  1 and y  0,1, . . . , N  1 for an M-by-N image.



                          1        1     1
                          9        9     9
                                                          - 1       -1     -1
                                                    hHP  - 1              - 1
                            1       1     1
                   hLP                       ,                         9        
                          9        9     9
                                                          - 1
                                                                      -1     -1
                          1        1     1
                          9
                                   9     9
                                           


                         -1        0     1           1          2       1
                   hx   - 2
                                   0    2 ,
                                                 hy   0
                                                                      0      0
                         -1
                                   0     1
                                                       -1
                                                                    -2      -1 
                                                                                


                     Figure 1. 3 3 Kernels Used for Edge Detection

    The edge strength values derived from the three (3) masks served as the inputs used in the
construction of the fuzzy inference system based on which decision on pixel as belonging to
an edge or not are made. Membership functions are defined for fuzzy system inputs. Many
membership functions have been introduced in the literature. In the proposed edge detection
Gaussian membership functions are used. To apply these functions, each of the edge strength
values of O g , O Hp , and O Lp are mapped into fuzzy domain between 0 and 1 , relative to the
normalized gray levels between 0 and 100, using Gaussian membership functions given as
                                                          / 2 2 ]
                  mn  G( xmn )  e[( xmax xmn )
                                                      2
                                                                                                                 (4)

where G ( x mn ) is a Gaussian function, x m ax , x mn are the maximum and (m, n)th gray values
respectively and  is the standard deviation associated with the input variable. Each of the
mapped values are partition into three fuzzy regions “Low”, “Medium”, and “High”. The
defined regions and membership functions are shown in Fig. 2.




                                                                                                                   77
International Journal of Advanced Science and Technology
Vol. 29, April, 2011




                                                                               Po

                         Figure 2. Gaussian Membership Functions

   Fuzzy inference rules are applied to assign the three fuzzy sets characterized by
membership functions  Low ,  Medium , and  High to the output set. The rules, tabulated in
Table 1 are defined in such a way that in the fuzzy inference system, output set
E L , E M , and E H correspond to pixels with low, medium and high probability value
respectively. The output of the system PFinal representing the probability used for final pixel
classification as edge or non-edge was computed using a singleton fuzzifier, Mamdani
defuzzifier method given by;

                                y (  ( ))
                                 M                 n
                                 1                i 1         ki       i
                   p Final                                                                 (5)
                                (  ( ))
                                     M          n
                                      1       i 1       ki         i


where  i are the fuzzy sets associated with the antecedent part of the fuzzy rule base, y  is
the output class center and M is the number of fuzzy rules being considered.

4. Experimental Results
     The proposed fuzzy edge detection method was simulated using MATLAB on different
images, its performance are compared to that of the Sobel and Kirsch operators. Samples for a
set of four test images are shown in Fig. 3(a). The edge detection based on Sobel and Kirsch
operators using the image processing toolbox in MATLAB with threshold automatically
estimated from image‟s binary value is illustrated in Fig. 3(b) and 3(c). The sample output of
the proposed fuzzy technique is shown in Fig. 3(d). The resulting images generated by the
fuzzy method seem to be much smoother with less noise and has an exhaustive set of fuzzy
conditions which helps to provide an efficient edge representation for images with a very high
efficiency than the conventional gradient-based methods (Sobel and Kirsch methods).

5. Conclusion
    Effective fuzzy logic based edge detection has been presented in this paper. This
technique uses the edge strength information derived using three (3) masks to avoid detection
of spurious edges corresponding to noise, which is often the case with conventional gradient-




78
International Journal of Advanced Science and Technology
                                                                                   Vol. 29, April, 2011



based techniques. The three edge strength values used as fuzzy system inputs were fuzzified
using Gaussian membership functions. Fuzzy if-then rules are applied to modify the
membership to one of low, medium, or high classes. Finally, Mamdani defuzzifier method is
applied to produce the final edge image.
    Through the simulation results, it is shown that the proposed technique is far less
computationally expensive; its application on digital image improves the quality of edges as
much as possible compared to the Sobel and Kirsch methods.
    This algorithm is suitable for applications in various areas of digital image processing
such as face recognition, fingerprint identification, remote sensing and medical imaging
where boundaries of specific regions need to be determined for further image analysis.

Acknowledgement
   The author is grateful to Engineer I. A Isaiah at Ladoke Akintola University of
Technology, Ogbomoso, Nigeria for his helpful advice.

                            Table 1. Fuzzy Inference Rules

 If edginess Lp is LO and edginessSo is LO and edginessHp is LO then p edge is E L
 If edginess Lp is LO and edginessSo is LO and edginessHp is MD then p edge is E L
 If edginess Lp is LO and edginessSo is LO and edginessHp is HI then p edge is E L
 If edginess Lp is LO and edginessSo is MD and edginessHp is LO then p edge is E L
 If edginess Lp is LO and edginessSo is MD and edginessHp is MD then p edge is E L
 If edginess Lp is LO and edginessSo is MD and edginessHp is HI then p edge is E M
 If edginess Lp is LO and edginessSo is HI     and edginessHp is LO then p edge is E L
 If edginess Lp is LO and edginessSo is HI and edginessHp is MD then p edge is E H
 If edginess Lp is LO and edginessSo is HI and edginessHp is HI            then p edge is E H
 If edginess Lp is MD and edginessSo is LO and edginessHp is LO then p edge is E L
 If edginess Lp is MD and edginessSo is MD and edginessHp is LO then p edge is E L
                                        .
                                        .
                                        .

 If edginess Lp is HI and edginessSo is LO and edginessHp is HI then p edge is E H
 If edginess Lp is HI and edginessSo is MD and edginessHp is HI then p edge is E H
 If edginess Lp is HI and edginessSo is HI and edginessHp is HI then               p edge is E H




                                                                                                    79
International Journal of Advanced Science and Technology
Vol. 29, April, 2011




          (a)                        (b)                   (c)       (d)

 Figure 3. (a) Original Images, (b) Sobel Operator Results, (c) Kirsch Operator
        Results, (d) Proposed Fuzzy Edge Detection Algorithm Results




80
International Journal of Advanced Science and Technology
                                                                                           Vol. 29, April, 2011



References
[1] Canny, J.F., “A computational approach to edge detection”, IEEE Trans. on Pattern Analysis and Machine
     Intelligence, 8(6), 1986, pp. 679-698.
[2] Madasu H., John S., and Shantaram V., “Fuzzy Edge Detector Using Entropy Optimization” Proceedings of
     the International Conference on Information Technology: Coding and Computing, 2004.
[3] L. A. Zadeh, “Fuzzy sets,” Information and Control, 8: 1965, pp. 338-353.
[4] A. Kaufmann, “Introduction to the Theory of Fuzzy Subsets – Fundamentals Theoretical Elements, Vol. 1.
     Academic Press, New York, 1975.
[5] L.C. Bezdek, “Pattern Recognition with fuzzy Objective Function Algorithm,” Plenum Press, New York,
     1981.
[6] K. Cheung and W. Chan, "Fuzzy One –Mean Algorithm for Edge Detection," IEEE Inter. Conf. On Fuzzy
     Systems, 1995, pp. 2039- 2044.
[7] Y. Kuo, C. Lee, and C. Liu, "A New Fuzzy Edge Detection Method for image Enhancement," IEEE Inter.
     Conf. on Fuzzy Systems, 1997, pp. 1069-1074.
[8] S. El-Khamy, N. El-Yamany, and M. Lotfy, "A Modified Fuzzy Sobel Edge Detector," Seventeenth National
     Radio Science Conference (NRSC'2000), February 22-24, Minufia, Egypt, 2000.
[9] M. Zhao, A. M. N. Fu, and H. Yan, “A Technique of Three-Level Thresholding Based on Probability
     Partition a Fuzzy 3-Partition”. IEEE Trans. on Fuzzy Systems, vol.9, no.3, June 2001, pp. 469- 479.
[10] Tao, C. W. et al(1993), “A Fuzzy if-then approach to edge detection”, Proc. of 2nd IEEE intl.conf. on fuzzy
     systems, pp. 1356–1361.
[11] Li, W. (1997), Recognizing white line markings for vision-guided vehicle navigation by fuzzy reasoning,
     Pattern Recognition Letters, 18: 771–780.
[12] M. N. Mahani, M. K. Moqadam, H. N. pour, and A. Bahrololoom, “Dynamic Edge Detector Using Fuzzy
     Logic,” CSISS' 2008, Sharif University of Technology, Kish, 2008, (In Persian).
[13] L. Liang and C. Looney, “Competitive Fuzzy Edge Detection,” Applied Soft Computing, (3), 2003, pp. 123-
     137.
[14] G. Mansoori and H. Eghbali, “Heuristic edge detection using fuzzy rule-based classifier,” Journal of
     Intelligent and Fuzzy Systems, Volume 17, Number 5 / 2006, pp. 457- 469.


                                                 Authors
                           Aborisade, David O. received the B. Eng. degree in Electronic and
                        Electrical Engineering Technology from Federal University of
                        Technology, Owerri, in 1989. He received M.Eng. and Ph.D. degrees
                        in Electrical Engineering from University of Ilorin, in 1995 and
                        2006, respectively. He is currently a Senior Lecturer with the
                        Department Electronic and Electrical Engineering, Ladoke Akintola
                        University of Technology, Ogbomoso. His research interests include
                        computer vision, pattern recognition, image and signal processing,
                        neural networks, and fuzzy logic.




                                                                                                             81
International Journal of Advanced Science and Technology
Vol. 29, April, 2011




82

Mais conteúdo relacionado

Mais procurados

11.performance evaluation of geometric active contour (gac) and enhanced geom...
11.performance evaluation of geometric active contour (gac) and enhanced geom...11.performance evaluation of geometric active contour (gac) and enhanced geom...
11.performance evaluation of geometric active contour (gac) and enhanced geom...
Alexander Decker
 

Mais procurados (20)

Chapter10 image segmentation
Chapter10 image segmentationChapter10 image segmentation
Chapter10 image segmentation
 
Mathematical tools in dip
Mathematical tools in dipMathematical tools in dip
Mathematical tools in dip
 
LN s05-machine vision-s2
LN s05-machine vision-s2LN s05-machine vision-s2
LN s05-machine vision-s2
 
Image segmentation
Image segmentationImage segmentation
Image segmentation
 
Image segmentation in Digital Image Processing
Image segmentation in Digital Image ProcessingImage segmentation in Digital Image Processing
Image segmentation in Digital Image Processing
 
PPT s12-machine vision-s2
PPT s12-machine vision-s2PPT s12-machine vision-s2
PPT s12-machine vision-s2
 
PPT s08-machine vision-s2
PPT s08-machine vision-s2PPT s08-machine vision-s2
PPT s08-machine vision-s2
 
PPT s07-machine vision-s2
PPT s07-machine vision-s2PPT s07-machine vision-s2
PPT s07-machine vision-s2
 
Local binary pattern
Local binary patternLocal binary pattern
Local binary pattern
 
Image restoration and reconstruction
Image restoration and reconstructionImage restoration and reconstruction
Image restoration and reconstruction
 
Histogram processing
Histogram processingHistogram processing
Histogram processing
 
The International Journal of Engineering and Science (The IJES)
The International Journal of Engineering and Science (The IJES)The International Journal of Engineering and Science (The IJES)
The International Journal of Engineering and Science (The IJES)
 
Morphological operations
Morphological operationsMorphological operations
Morphological operations
 
W33123127
W33123127W33123127
W33123127
 
PPT s06-machine vision-s2
PPT s06-machine vision-s2PPT s06-machine vision-s2
PPT s06-machine vision-s2
 
COM2304: Digital Image Fundamentals - I
COM2304: Digital Image Fundamentals - I COM2304: Digital Image Fundamentals - I
COM2304: Digital Image Fundamentals - I
 
Morphological image processing
Morphological image processingMorphological image processing
Morphological image processing
 
Ph.D. Thesis Presentation: A Study of Priors and Algorithms for Signal Recove...
Ph.D. Thesis Presentation: A Study of Priors and Algorithms for Signal Recove...Ph.D. Thesis Presentation: A Study of Priors and Algorithms for Signal Recove...
Ph.D. Thesis Presentation: A Study of Priors and Algorithms for Signal Recove...
 
Image enhancement
Image enhancementImage enhancement
Image enhancement
 
11.performance evaluation of geometric active contour (gac) and enhanced geom...
11.performance evaluation of geometric active contour (gac) and enhanced geom...11.performance evaluation of geometric active contour (gac) and enhanced geom...
11.performance evaluation of geometric active contour (gac) and enhanced geom...
 

Destaque

GRUPO 4 : new algorithm for image noise reduction
GRUPO 4 :  new algorithm for image noise reductionGRUPO 4 :  new algorithm for image noise reduction
GRUPO 4 : new algorithm for image noise reduction
viisonartificial2012
 
GRUPO 1 : digital manipulation of bright field and florescence images noise ...
GRUPO 1 :  digital manipulation of bright field and florescence images noise ...GRUPO 1 :  digital manipulation of bright field and florescence images noise ...
GRUPO 1 : digital manipulation of bright field and florescence images noise ...
viisonartificial2012
 
Sistema de visión artificial para el reconocimiento y
Sistema de visión artificial para el reconocimiento ySistema de visión artificial para el reconocimiento y
Sistema de visión artificial para el reconocimiento y
viisonartificial2012
 
Sobrado eddie vision_artificial_brazo_robot
Sobrado eddie vision_artificial_brazo_robotSobrado eddie vision_artificial_brazo_robot
Sobrado eddie vision_artificial_brazo_robot
viisonartificial2012
 
Dimensionamiento de piezas en un sistema de visión aplicado a una celda de ma...
Dimensionamiento de piezas en un sistema de visión aplicado a una celda de ma...Dimensionamiento de piezas en un sistema de visión aplicado a una celda de ma...
Dimensionamiento de piezas en un sistema de visión aplicado a una celda de ma...
viisonartificial2012
 

Destaque (6)

GRUPO 4 : new algorithm for image noise reduction
GRUPO 4 :  new algorithm for image noise reductionGRUPO 4 :  new algorithm for image noise reduction
GRUPO 4 : new algorithm for image noise reduction
 
GRUPO 1 : digital manipulation of bright field and florescence images noise ...
GRUPO 1 :  digital manipulation of bright field and florescence images noise ...GRUPO 1 :  digital manipulation of bright field and florescence images noise ...
GRUPO 1 : digital manipulation of bright field and florescence images noise ...
 
Sistema de visión artificial para el reconocimiento y
Sistema de visión artificial para el reconocimiento ySistema de visión artificial para el reconocimiento y
Sistema de visión artificial para el reconocimiento y
 
GRUPO 2 : convolution separable
GRUPO 2 :  convolution separableGRUPO 2 :  convolution separable
GRUPO 2 : convolution separable
 
Sobrado eddie vision_artificial_brazo_robot
Sobrado eddie vision_artificial_brazo_robotSobrado eddie vision_artificial_brazo_robot
Sobrado eddie vision_artificial_brazo_robot
 
Dimensionamiento de piezas en un sistema de visión aplicado a una celda de ma...
Dimensionamiento de piezas en un sistema de visión aplicado a una celda de ma...Dimensionamiento de piezas en un sistema de visión aplicado a una celda de ma...
Dimensionamiento de piezas en un sistema de visión aplicado a una celda de ma...
 

Semelhante a GRUPO 5 : novel fuzzy logic based edge detection technique

An adaptive method for noise removal from real world images
An adaptive method for noise removal from real world imagesAn adaptive method for noise removal from real world images
An adaptive method for noise removal from real world images
IAEME Publication
 
IJCER (www.ijceronline.com) International Journal of computational Engineerin...
IJCER (www.ijceronline.com) International Journal of computational Engineerin...IJCER (www.ijceronline.com) International Journal of computational Engineerin...
IJCER (www.ijceronline.com) International Journal of computational Engineerin...
ijceronline
 
Super Resolution of Image
Super Resolution of ImageSuper Resolution of Image
Super Resolution of Image
Satheesh K
 

Semelhante a GRUPO 5 : novel fuzzy logic based edge detection technique (20)

An adaptive method for noise removal from real world images
An adaptive method for noise removal from real world imagesAn adaptive method for noise removal from real world images
An adaptive method for noise removal from real world images
 
IJCER (www.ijceronline.com) International Journal of computational Engineerin...
IJCER (www.ijceronline.com) International Journal of computational Engineerin...IJCER (www.ijceronline.com) International Journal of computational Engineerin...
IJCER (www.ijceronline.com) International Journal of computational Engineerin...
 
IJCER (www.ijceronline.com) International Journal of computational Engineerin...
IJCER (www.ijceronline.com) International Journal of computational Engineerin...IJCER (www.ijceronline.com) International Journal of computational Engineerin...
IJCER (www.ijceronline.com) International Journal of computational Engineerin...
 
Microscopic Image Analysis of Nanoparticles by Edge Detection Using Ant Colon...
Microscopic Image Analysis of Nanoparticles by Edge Detection Using Ant Colon...Microscopic Image Analysis of Nanoparticles by Edge Detection Using Ant Colon...
Microscopic Image Analysis of Nanoparticles by Edge Detection Using Ant Colon...
 
Performance Evaluation of Image Edge Detection Techniques
Performance Evaluation of Image Edge Detection Techniques Performance Evaluation of Image Edge Detection Techniques
Performance Evaluation of Image Edge Detection Techniques
 
Illustration Clamor Echelon Evaluation via Prime Piece Psychotherapy
Illustration Clamor Echelon Evaluation via Prime Piece PsychotherapyIllustration Clamor Echelon Evaluation via Prime Piece Psychotherapy
Illustration Clamor Echelon Evaluation via Prime Piece Psychotherapy
 
FACE RECOGNITION ALGORITHM BASED ON ORIENTATION HISTOGRAM OF HOUGH PEAKS
FACE RECOGNITION ALGORITHM BASED ON ORIENTATION HISTOGRAM OF HOUGH PEAKSFACE RECOGNITION ALGORITHM BASED ON ORIENTATION HISTOGRAM OF HOUGH PEAKS
FACE RECOGNITION ALGORITHM BASED ON ORIENTATION HISTOGRAM OF HOUGH PEAKS
 
Rigorous Pack Edge Detection Fuzzy System
Rigorous Pack Edge Detection Fuzzy SystemRigorous Pack Edge Detection Fuzzy System
Rigorous Pack Edge Detection Fuzzy System
 
DESPECKLING OF SAR IMAGES BY OPTIMIZING AVERAGED POWER SPECTRAL VALUE IN CURV...
DESPECKLING OF SAR IMAGES BY OPTIMIZING AVERAGED POWER SPECTRAL VALUE IN CURV...DESPECKLING OF SAR IMAGES BY OPTIMIZING AVERAGED POWER SPECTRAL VALUE IN CURV...
DESPECKLING OF SAR IMAGES BY OPTIMIZING AVERAGED POWER SPECTRAL VALUE IN CURV...
 
DESPECKLING OF SAR IMAGES BY OPTIMIZING AVERAGED POWER SPECTRAL VALUE IN CURV...
DESPECKLING OF SAR IMAGES BY OPTIMIZING AVERAGED POWER SPECTRAL VALUE IN CURV...DESPECKLING OF SAR IMAGES BY OPTIMIZING AVERAGED POWER SPECTRAL VALUE IN CURV...
DESPECKLING OF SAR IMAGES BY OPTIMIZING AVERAGED POWER SPECTRAL VALUE IN CURV...
 
A2100106
A2100106A2100106
A2100106
 
Image Texture Analysis
Image Texture AnalysisImage Texture Analysis
Image Texture Analysis
 
Neighbour Local Variability for Multi-Focus Images Fusion
Neighbour Local Variability for Multi-Focus Images FusionNeighbour Local Variability for Multi-Focus Images Fusion
Neighbour Local Variability for Multi-Focus Images Fusion
 
NEIGHBOUR LOCAL VARIABILITY FOR MULTIFOCUS IMAGES FUSION
NEIGHBOUR LOCAL VARIABILITY FOR MULTIFOCUS IMAGES FUSIONNEIGHBOUR LOCAL VARIABILITY FOR MULTIFOCUS IMAGES FUSION
NEIGHBOUR LOCAL VARIABILITY FOR MULTIFOCUS IMAGES FUSION
 
DETECTION OF MOVING OBJECT
DETECTION OF MOVING OBJECTDETECTION OF MOVING OBJECT
DETECTION OF MOVING OBJECT
 
Denoising and Edge Detection Using Sobelmethod
Denoising and Edge Detection Using SobelmethodDenoising and Edge Detection Using Sobelmethod
Denoising and Edge Detection Using Sobelmethod
 
Estimation, Detection & Comparison of Soil Nutrients using Matlab
Estimation, Detection & Comparison of Soil Nutrients using MatlabEstimation, Detection & Comparison of Soil Nutrients using Matlab
Estimation, Detection & Comparison of Soil Nutrients using Matlab
 
2. filtering basics
2. filtering basics2. filtering basics
2. filtering basics
 
Super Resolution of Image
Super Resolution of ImageSuper Resolution of Image
Super Resolution of Image
 
Edge Detection with Detail Preservation for RVIN Using Adaptive Threshold Fil...
Edge Detection with Detail Preservation for RVIN Using Adaptive Threshold Fil...Edge Detection with Detail Preservation for RVIN Using Adaptive Threshold Fil...
Edge Detection with Detail Preservation for RVIN Using Adaptive Threshold Fil...
 

Mais de viisonartificial2012 (8)

Riai
RiaiRiai
Riai
 
Detección de defectos en carrocerías de vehículos basado
Detección de defectos en carrocerías de vehículos basadoDetección de defectos en carrocerías de vehículos basado
Detección de defectos en carrocerías de vehículos basado
 
Sistema de visión artificial
Sistema de visión artificialSistema de visión artificial
Sistema de visión artificial
 
Talelr sistemas de vision artifiacial
Talelr sistemas de vision artifiacialTalelr sistemas de vision artifiacial
Talelr sistemas de vision artifiacial
 
Ejemplo
EjemploEjemplo
Ejemplo
 
77 1
77 177 1
77 1
 
Electiva b2diaposs
Electiva b2diapossElectiva b2diaposs
Electiva b2diaposs
 
Electiva b2diaposs
Electiva b2diapossElectiva b2diaposs
Electiva b2diaposs
 

Último

EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Earley Information Science
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Último (20)

[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 

GRUPO 5 : novel fuzzy logic based edge detection technique

  • 1. International Journal of Advanced Science and Technology Vol. 29, April, 2011 Novel Fuzzy logic Based Edge Detection Technique Aborisade, D.O Department of Electronics Engineering, Ladoke Akintola University of Tech., Ogbomoso. Oyo-state. doaborisade@yahoo.com Abstract This paper is based on the development of a fuzzy logic based edge detection technique in digital images. The proposed technique used three linear spatial filters to generate three edge strength values at each pixel of a digital image through spatial convolution process. These edge strength values are utilized as fuzzy system inputs. Decision on whether pixels in focus belong to an edge or non-edge is made in the proposed technique based on the Gaussian membership functions and fuzzy rules. Mamdani defuzzifier method is employed to produce the final output pixel classification of a given image. Experimental results show the ability and high performance of proposed algorithm compared with Sobel and Kirsch operators. Keywords: Fuzzy Logic, Fuzzy inference system, Edge strength, Edge detection. 1. Introduction An Edge is defined as discontinuities in pixel intensity within an image. The edges of an image are always the important characteristics that offer an indication for higher frequency. Detection of edges in an image is used as a preprocessing step to extract some low-level boundary features, which are then fed into further processing steps, such as object finding and recognition. Many edge-detection methods have been suggested in the past years for the purpose of image analysis and had been attempted by many researchers to support different optimization goals. Traditional techniques, such as Sobel, Prewitt and Roberts provide false edge detection and being very sensitive to noise. Canny [1] proposed a method to counter noise problems and minimize the probability of false edges. In his work image is convolved with the first order derivatives of Gaussian filter for smoothing in the local gradient direction followed by edge detection by thresholding [2]. Canny edge detector has major drawbacks of being computational complexity and do not give a satisfactory results in varying contrast areas. However, improvement in the edge-detection research area has now resulted in the use of some tools such as neural networks, ant colony and, fuzzy logic by some presented algorithms [2]. In this paper, fuzzy logic based approach to edge detection in digital images is proposed. Firstly, for each pixel in the input image „edginess‟ measure is calculated using three 3 3 linear filters after which three fuzzy sets characterized by three (3) Gaussian membership functions associated to linguistic variable “Low”, “Medium” and “High” were created to represent each of the edge strengths. The second phase involves application of fuzzy inference rule to the three fuzzy sets to modify the membership values in such a way that the fuzzy system output (“edge”) is high only for those pixels belonging to edges in the input image. Final pixel classification as edge or non-edge using Mamdani defuzzification method is the last step. 75
  • 2. International Journal of Advanced Science and Technology Vol. 29, April, 2011 2. Fuzzy Logic Based Application Fuzzy logic represents a powerful approach to decision making [3], [4], [5]. Since the concept of fuzzy logic was formulated in 1965 by Zadeh, many researches have been carried out on its application in the various areas of digital image processing such as image quality assessment, edge detection, image segmentation, etc. Many techniques have been suggested by researchers in the past for fuzzy logic-based edge detection [6], [7], [8]. In [9], Zhao, et al. proposed an edge detection technique based on probability partition of the image into 3-fuzzy partitions (regions) and the principle of maximum entropy for finding the parameters value that result in the best compact edge representation of images. In their proposed technique the necessary condition for the entropy function to reach its maximum is derived. Based on this condition an effective algorithm for three-level thresholding is obtained. Several approaches on fuzzy logic based edge detection have been reported based on fuzzy If-Then rules [10], [11]. In most of these methods, adjacent points of pixels are assumed in some classes and then fuzzy system inference are implemented using appropriate membership function, defined for each class [12]. In Liang, et al. [13], adjacent points are assumed as 3 3 sets around the concerned point. By predefining membership function to detect edges. In these rules discontinuity in the color of different 3 3 sets, edges are extracted. It uses 5 fuzzy rules and predefined membership function to detect edges. In these rules discontinuity of adjacent point around the concerned point are investigated. If this difference is similar to one of predefined sets, the pixel is assumed as edge. A similar work is proposed by Mansoori, et al. [14], wherein adjacent points of each pixel are grouped in six different set. Then by using of appropriate bell shape membership function, the value from zero to one is determined for each group. Based on the membership values, and fuzzy rules, decision about existing/not existing and direction of edge pixels are obtained. 3. Proposed Algorithm In this paper, at first an input image is pre-process to accentuate or remove a band of spatial frequencies and to locate in an image where there is a sudden variation in the grey level of pixels. For each pixel in the image edge strength value is calculated with three (3) 3 3 linear spatial filters i.e. low-pass, high-pass and edge enhancement filters (Sobel) through spatial convolution process. In carrying out a 3 3 kernel convolution, nine convolution coefficients called the convolution mask are defined and labeled as seen below: a b c d e f g h i Every pixel in the input image is evaluated with its eight neighbors, using each of the three masks shown in Figure 1 to produce edge strength value. The equation used for the calculation of edginess values between the center pixel and the neighborhood pixels of the three (3) masks using spatial convolution process is given by: 76
  • 3. International Journal of Advanced Science and Technology Vol. 29, April, 2011 O( x, y)  aI ( x  1, y  1)  bI ( x  1, y)  cI ( x  1, y  1)  dI ( x, y  1)  eI ( x, y)  fI( x, y  1) (1)  gI ( x  1, y  1)  hI ( x  1, y)  iI ( x  1, y  1) However, the result of convolution of the two Sobel kernels is combine thus, the approximate absolute gradient magnitude (edge strength) at each point is computed as: Og  Ox  O y (2) The normalized edge strength is then defined as: NO( x, y)  round (O( x, y) / max( O))  100  (3) where x  0,1, . . . , M  1 and y  0,1, . . . , N  1 for an M-by-N image. 1 1 1 9 9 9   - 1 -1 -1  hHP  - 1 - 1 1 1 1 hLP ,  9  9 9 9   - 1  -1 -1 1 1 1 9  9 9   -1 0  1  1 2  1 hx   - 2  0 2 ,  hy   0  0 0  -1  0  1   -1  -2 -1   Figure 1. 3 3 Kernels Used for Edge Detection The edge strength values derived from the three (3) masks served as the inputs used in the construction of the fuzzy inference system based on which decision on pixel as belonging to an edge or not are made. Membership functions are defined for fuzzy system inputs. Many membership functions have been introduced in the literature. In the proposed edge detection Gaussian membership functions are used. To apply these functions, each of the edge strength values of O g , O Hp , and O Lp are mapped into fuzzy domain between 0 and 1 , relative to the normalized gray levels between 0 and 100, using Gaussian membership functions given as / 2 2 ]  mn  G( xmn )  e[( xmax xmn ) 2 (4) where G ( x mn ) is a Gaussian function, x m ax , x mn are the maximum and (m, n)th gray values respectively and  is the standard deviation associated with the input variable. Each of the mapped values are partition into three fuzzy regions “Low”, “Medium”, and “High”. The defined regions and membership functions are shown in Fig. 2. 77
  • 4. International Journal of Advanced Science and Technology Vol. 29, April, 2011 Po Figure 2. Gaussian Membership Functions Fuzzy inference rules are applied to assign the three fuzzy sets characterized by membership functions  Low ,  Medium , and  High to the output set. The rules, tabulated in Table 1 are defined in such a way that in the fuzzy inference system, output set E L , E M , and E H correspond to pixels with low, medium and high probability value respectively. The output of the system PFinal representing the probability used for final pixel classification as edge or non-edge was computed using a singleton fuzzifier, Mamdani defuzzifier method given by;  y (  ( )) M  n  1 i 1 ki i p Final  (5)  (  ( )) M n  1 i 1 ki i where  i are the fuzzy sets associated with the antecedent part of the fuzzy rule base, y  is the output class center and M is the number of fuzzy rules being considered. 4. Experimental Results The proposed fuzzy edge detection method was simulated using MATLAB on different images, its performance are compared to that of the Sobel and Kirsch operators. Samples for a set of four test images are shown in Fig. 3(a). The edge detection based on Sobel and Kirsch operators using the image processing toolbox in MATLAB with threshold automatically estimated from image‟s binary value is illustrated in Fig. 3(b) and 3(c). The sample output of the proposed fuzzy technique is shown in Fig. 3(d). The resulting images generated by the fuzzy method seem to be much smoother with less noise and has an exhaustive set of fuzzy conditions which helps to provide an efficient edge representation for images with a very high efficiency than the conventional gradient-based methods (Sobel and Kirsch methods). 5. Conclusion Effective fuzzy logic based edge detection has been presented in this paper. This technique uses the edge strength information derived using three (3) masks to avoid detection of spurious edges corresponding to noise, which is often the case with conventional gradient- 78
  • 5. International Journal of Advanced Science and Technology Vol. 29, April, 2011 based techniques. The three edge strength values used as fuzzy system inputs were fuzzified using Gaussian membership functions. Fuzzy if-then rules are applied to modify the membership to one of low, medium, or high classes. Finally, Mamdani defuzzifier method is applied to produce the final edge image. Through the simulation results, it is shown that the proposed technique is far less computationally expensive; its application on digital image improves the quality of edges as much as possible compared to the Sobel and Kirsch methods. This algorithm is suitable for applications in various areas of digital image processing such as face recognition, fingerprint identification, remote sensing and medical imaging where boundaries of specific regions need to be determined for further image analysis. Acknowledgement The author is grateful to Engineer I. A Isaiah at Ladoke Akintola University of Technology, Ogbomoso, Nigeria for his helpful advice. Table 1. Fuzzy Inference Rules If edginess Lp is LO and edginessSo is LO and edginessHp is LO then p edge is E L If edginess Lp is LO and edginessSo is LO and edginessHp is MD then p edge is E L If edginess Lp is LO and edginessSo is LO and edginessHp is HI then p edge is E L If edginess Lp is LO and edginessSo is MD and edginessHp is LO then p edge is E L If edginess Lp is LO and edginessSo is MD and edginessHp is MD then p edge is E L If edginess Lp is LO and edginessSo is MD and edginessHp is HI then p edge is E M If edginess Lp is LO and edginessSo is HI and edginessHp is LO then p edge is E L If edginess Lp is LO and edginessSo is HI and edginessHp is MD then p edge is E H If edginess Lp is LO and edginessSo is HI and edginessHp is HI then p edge is E H If edginess Lp is MD and edginessSo is LO and edginessHp is LO then p edge is E L If edginess Lp is MD and edginessSo is MD and edginessHp is LO then p edge is E L . . . If edginess Lp is HI and edginessSo is LO and edginessHp is HI then p edge is E H If edginess Lp is HI and edginessSo is MD and edginessHp is HI then p edge is E H If edginess Lp is HI and edginessSo is HI and edginessHp is HI then p edge is E H 79
  • 6. International Journal of Advanced Science and Technology Vol. 29, April, 2011 (a) (b) (c) (d) Figure 3. (a) Original Images, (b) Sobel Operator Results, (c) Kirsch Operator Results, (d) Proposed Fuzzy Edge Detection Algorithm Results 80
  • 7. International Journal of Advanced Science and Technology Vol. 29, April, 2011 References [1] Canny, J.F., “A computational approach to edge detection”, IEEE Trans. on Pattern Analysis and Machine Intelligence, 8(6), 1986, pp. 679-698. [2] Madasu H., John S., and Shantaram V., “Fuzzy Edge Detector Using Entropy Optimization” Proceedings of the International Conference on Information Technology: Coding and Computing, 2004. [3] L. A. Zadeh, “Fuzzy sets,” Information and Control, 8: 1965, pp. 338-353. [4] A. Kaufmann, “Introduction to the Theory of Fuzzy Subsets – Fundamentals Theoretical Elements, Vol. 1. Academic Press, New York, 1975. [5] L.C. Bezdek, “Pattern Recognition with fuzzy Objective Function Algorithm,” Plenum Press, New York, 1981. [6] K. Cheung and W. Chan, "Fuzzy One –Mean Algorithm for Edge Detection," IEEE Inter. Conf. On Fuzzy Systems, 1995, pp. 2039- 2044. [7] Y. Kuo, C. Lee, and C. Liu, "A New Fuzzy Edge Detection Method for image Enhancement," IEEE Inter. Conf. on Fuzzy Systems, 1997, pp. 1069-1074. [8] S. El-Khamy, N. El-Yamany, and M. Lotfy, "A Modified Fuzzy Sobel Edge Detector," Seventeenth National Radio Science Conference (NRSC'2000), February 22-24, Minufia, Egypt, 2000. [9] M. Zhao, A. M. N. Fu, and H. Yan, “A Technique of Three-Level Thresholding Based on Probability Partition a Fuzzy 3-Partition”. IEEE Trans. on Fuzzy Systems, vol.9, no.3, June 2001, pp. 469- 479. [10] Tao, C. W. et al(1993), “A Fuzzy if-then approach to edge detection”, Proc. of 2nd IEEE intl.conf. on fuzzy systems, pp. 1356–1361. [11] Li, W. (1997), Recognizing white line markings for vision-guided vehicle navigation by fuzzy reasoning, Pattern Recognition Letters, 18: 771–780. [12] M. N. Mahani, M. K. Moqadam, H. N. pour, and A. Bahrololoom, “Dynamic Edge Detector Using Fuzzy Logic,” CSISS' 2008, Sharif University of Technology, Kish, 2008, (In Persian). [13] L. Liang and C. Looney, “Competitive Fuzzy Edge Detection,” Applied Soft Computing, (3), 2003, pp. 123- 137. [14] G. Mansoori and H. Eghbali, “Heuristic edge detection using fuzzy rule-based classifier,” Journal of Intelligent and Fuzzy Systems, Volume 17, Number 5 / 2006, pp. 457- 469. Authors Aborisade, David O. received the B. Eng. degree in Electronic and Electrical Engineering Technology from Federal University of Technology, Owerri, in 1989. He received M.Eng. and Ph.D. degrees in Electrical Engineering from University of Ilorin, in 1995 and 2006, respectively. He is currently a Senior Lecturer with the Department Electronic and Electrical Engineering, Ladoke Akintola University of Technology, Ogbomoso. His research interests include computer vision, pattern recognition, image and signal processing, neural networks, and fuzzy logic. 81
  • 8. International Journal of Advanced Science and Technology Vol. 29, April, 2011 82