dge detection is one of the fundamental issues of digital image which is a method of segmentation. Edge detection significantly reduces the amount of data and filters out useless information, while preserving the important structural properties in an image. since edge detection is in the forefront of image processing for object detection, it is crucial to have good understanding of edge detection algorithms. Therefore, precise edge detection is required for numerous image analysis, evaluation and recognition techniques. In the past, a lot of research has been done in the area of image segmentation in various applications using edge detection.
The underlying idea of most edge detection techniques is by the computation of a local first or second derivative operator, followed by some regularization technique to reduce the effects of noise. Earlier edge detection methods, such as Sobel, Prewitt and Roberts' operator used local gradient method to detect edges along a specified direction.
The lack of noise control resulted in their poor performance on blurred or noisy images.
Canny [1] proposed a method to counter noise problems, wherein the image is convolved with the first order derivatives of Gaussian filter for smoothing in the local gradient direction followed by edge detection by thresholding. Marr and Hildreth [2] proposed an algorithm that finds edges at the zero-crossings of the Author ? : Department of ECE, GGSIPU(New Delhi), India. E-mails : [email protected] , [email protected] image Laplacian. Non-linear filtering techniques for edge detection also saw much advancement through the SUSAN method [3], which works by associating a small area of neighboring pixels with similar brightness to each center pixel.
More recently, techniques have been proposed that characterize edge detection as a fuzzy reasoning problem.
Fuzzy logic by the local approach has been used in [4] for morphological edge extraction method.
Ho et al. [5] used both global and local image information for fuzzy categorization and classification based on edges.
In this paper, we have proposed a fuzzy-Canny based approach to edge detection that uses both global and local image information. Firstly, we used a modified Gaussian membership function to represent each pixel in the fuzzy domain. After which, a global contrast intensification operator is used to enhance the image by adjusting its parameters. In this process, pixels having more edginess will be enhanced while that with the lesser will be decreased. The optimization of the entropy function by gradient descent function produces new optimized parameters of contrast enhancement. The second phase involves the edge detection process with local image information by a local fuzzy mask, similar to the one suggested in [4,5]. Then simple thresholding method based on experimental observations and in the last step Canny edge detection is performed to link the edges obtained and results for very low contrast and noisy images are discussed in the paper.
To represent an image in fuzzy domain from spatial domain, a gray tone image R of dimension M x N and L levels can be considered as an array of fuzzy singleton sets: R = {(µ mn , x mn ) where m= 1,?.M; n=1,?.N;}
Here each pixel has some intensity value x mn and its grade its membership grade µ mn (0? µ mn ?1) relative to some brightness level in the range
µ mn = G(x mn ) = ?? [? (???????? ??????? ) 2 2ð??"ð??"? 2 ](2)Here G (x mn ) is a Gaussian function, and x max , x mn are the minimum and (m, n) th gray values respectively. A fuzzy histogram is used to obtain the frequency of occurrence of membership functions of gray levels in the fuzzy image. Thus, R = U {µ(x), p(x)} = {µ mn /x mn } ; m=1,?.,M; n=1,2,?..,N
Where µ(x) is the membership of pixel with intensity value of x, and p(x) is the number of occurrences of the intensity value x, in the image R. The
distribution of p(x) is normalized such that ? ??(??) ???1 ??=0 = 1(4)Membership function which is based on histogram by which pixels of spatial domain can be represented in fuzzy domain by histograrn fuzzification function as
µ(k) = ?? [?(???????? ???) 2 /2ð??"ð??"? 2 ](5)
k is in the range [0, L-1] and the fuzzifier parameter, f h can be determined as
f h = ? (???????? ???) 4 ??(??) ???1 ??=0 2 ? (???????? ???) 2 ??(??) ???1 ??=0(6)p(k) stands for the frequency of occurrence of k in histogram R. In the fuzzy plane, a contrast -enhanced image is low perception (dark), µ ? [0, 0.5] or high perception (bright) µ ? [ 0.5, 1] values. The pixels near µ=0.5 which do not belong to any of the two classes describes the fuzzy boundary and hence they may contain edges.
We first enhance the image using non linear new contrast intensification function as image degradation is non linear in nature. NINT [µ(k)] having 3 tunable parameters, that are intensification operator t, fuzzifier f h and the crossover point x c defined as
µ'(k)= NINT[µ(k)] = 1/(1+exp[-t(µ(k)-x c )]) (7)Here t controls the shape of the sigmoid function and the initial value of x c is taken as 0.5. And other two parameters are adjusted through µ(k) while t will be fixed instead to control the level of contrast enhancement in the image.
To access the image quality different type of measures are reported which are difficult to be quantified. In the fuzzy based approach, entropy of the fuzzy set is a functional to measure the degree of fuzziness of a fuzzy set, giving the value of indefiniteness of an image. Entropy E can be defined in terms of Shannon's function S e
Where
S e (µ'(k)) = -µ'(k) ln µ'(k) -(1-µ'(k)) ln(1-µ'(k)) and {0?µ'?1}(9)Entropy optimization method with pre-set initial values of x c and f h . The derivatives of E w.r.to x c and f h are
???? ?????? = ???? ???? ? (??) ???? ? (??) ?????? = 1 ln 2 ? [?? 2 (??(??) ? ????)ð??"ð??"(?? ? )]??(??) ???1 ??=0 (10) ???? ??ð??"ð??" ? = ???? ???? ? (??) ??µ ? (??) ??µ(??) ???? (??) ??ð??"ð??" ? = 1 ???? 2 ? ? ?? 2 ?? (??)(?? (??)????? )(???????? ???) 2 ð??"ð??"??? ? ? ð??"ð??"? 2 ? ??(??) ???1 ??=0(11)Where g(???) is defined by
g(µ')= µ'(k)(1-µ'(k)) = ?? ???(?? (??)????? [1+?? ???(?? (??)????? ) ]^2(12)Gradient descent technique is used for the recursive learning of the parameters x c and f h
x c,new = x c,old -?? x ???? ?????? (13)f h,new = f h,old -?? x ???? ??ð??"ð??" ?(14)Here Ñ?" x and Ñ?" f are learning factors or learning rates for parameters x c and f h. . If these two diverge and converge too quickly, the value of Ñ?" x and Ñ?" f have to be altered respectively in order that the convergence of these values is ensured. We note that the optimization of x c moves in both decreasing positive and negative search directions. The nearest optimization point of the both is taken as x c,new.
Local Edge Detection b) Entropy optimization of parameters ? and At the local window, optimization is also required to fine-tune parameters ? and ?, as the final edge output depends very much on the values of these two parameters. Taking into consideration that the edge mask is applied locally and does not involve the entire image, the entropy function is taken as
E(? (m, n))= ?(m, n)1n ? (m, n)+(1-? (m, n))1n-? (m, n))] (17)Where the global membership value, ?(k) is now replaced by the local edge pixel ? (m, n).The derivatives of E with respect to ? and ? are obtained as:
? new = ? old ?? ? ???? ???? (20) ? new = ? old ?? ? ???? ???? (21)Where ? and ? are learning factors for both parameters ? and ? respectively. Similarly, if ? and ?? diverge or converge too quickly, the value of ? and ? have to be altered respectively to ensure stability.
Since the optimization formulae might be burdensome, we may not use all points (m, n) on the image. We proposed using only the maximum and minimum intensity points or a selection of points to represent different intensity ranges. Some Thus, the AND operation is taken to avoid such situations, so that the membership is within [0, 1], that is
? (m, n)= min[? (m, n)]? 1; ??????? ? (??, ??) > 1; ?????? ? (m, n)= max[? (m, n)]? 0; ??????? ? (??, ??) < 0; ??????? ? (??, ??) < 0 ; d) Edge image thresholdingAfter the edge image is produced through the edge detector, simple thresholding is required to binaries it according to a certain threshold level. An optimum threshold level ?? is determined through experiments to be in the range of 0.7 to 0.9, where ? (m, n)= ? 1 ?? ? 0.7 ? 0.9 0 ?? ? 0.7 ? 0.9
IV.
Now after fuzzifing the image we can simply apply canny operator to the resultant image. the simple algorithm for Canny edge detection is given below: V. The Fuzzy-Canny detector algorithm is implemented on low contrast noisy image and prior to the application of this algorithm, no pre-processing was done on the image. As the algorithm has two phasesfuzzy based detection and then implementing Canny edge detector, we present the results of implementation on these images separately.
For noisy low contrast images Fussy is a good approach because it involves the enhancement of an image before filtering the edges in which Canny failed to provide acceptable results. This can be explained by the fig. 5.2 and 5.3 given above. The resultant image can be further improved by using Canny operator which will help in linking the edges and enhancing the edge pixels as given by fig. 5.4.
The fuzzy -Canny edge detector presented in this paper uses both global (histogram of gray levels) and local(membership function in a window) information and finally edge linking which is one of the step of Canny immensely suitable for applications such as face recognition and fingerprint identification, as it does not distort the shape and is able to retain the important edges and continuous edges unlike the Canny and fuzzy-Canny edge detector. Choice of some of the parameters t, ?? and ?? is crucial for the success of this algorithm.
![[0, L-1] b) Fuzzy membership function based on histogram Membership function is used for expressing the fuzzy property. Modified Gaussian membership function E a simple transformation functions containing only one fuzzifier is given by](https://engineeringresearch.org/index.php/GJRE/article/download/304/version/100141/1-Fuzzy-Approach-for-Enhanced-Edge-Detection_html/2773/image-2.png)
![Local edge detector mask Redefining contrast intensification function, NINT(.) in terms of (m,n)th pixel µ'(k)= NINT[µ mn ] = 1/(1+exp[-t(µ mn -x c )]) Approach for Enhanced Edge Detection Algorithm by Entropy Optimization A fuzzy parameter-based new Gaussian-type edge detector is proposed as?(m, n)=?? ? ? ? [µ(?? +??,?? +?? )]?? ?? ?? 2(ð??"ð??"? )??(16)where i,j ? [ -(w -1) 2,(w -1) 2], and w x w is the size of the edge detector mask.?'(m, n) is the membership value of central pixel of the mask at location (m, n) and ?(m, n) is the output edge pixel replacing the previous central pixel. The fuzzifier f h is earlier optimized using equation. Parameters ?? and ? are adjustable and are preselected by experiments. As the mask is a generalized Gaussian function, different values of ?? and ? would yield different functions, i.e. selecting ? = ? = 1 would produce an exponential mask, while ? = ? = 2 would yield a normal Gaussian mask. The operation performed by the mask is a nonlinear mapping process and the output pixel value ?(m,n) ? [-?,?], though in general, the value of ? (m, n) lies in [0,1].](https://engineeringresearch.org/index.php/GJRE/article/download/304/version/100141/1-Fuzzy-Approach-for-Enhanced-Edge-Detection_html/2774/image-3.png)





Edge and curve detection:Further Experiments. IEEE Transactions on Computers July 1972. (7) .
Theory of edge detection. Proc. of the Royal Society of London, b207, (of the Royal Society of London, b207) 1980. p. .
Fuzzy sets in image processing. ACM Symposiumon Allied Computing 1994.
A computational approach to edge detection. IEEE Trans. on Pattern Analysis and Machine Intelligence 1986. 8 (6) p. .
FEDGE -Fuzzy edge detection by fuzzy categorization and classification of edges. Fuzzy Logic in Artificial Intelligence, Springer, IJCAI'95 Workshop, (Montreal, Canada
Color image enhancement using fuzzification. Pattern Recognition Letters 2003. 24 p. .
Entropy: A new definition and its applications. SMC-21. IEEE Trans. Sys (5) .
SUSAN -A new approachto low level image processing. International Journal ofComputer Vision 1997. 23 (1) .