<?xml version="1.0" encoding="UTF-8"?>
<article xmlns:xlink="http://www.w3.org/1999/xlink">
<front><article-meta>
<title-group><article-title>Soft Computing Fusion with Applications</article-title></title-group>
</article-meta></front>
<body>
<sec><title>Abstract</title><p>The aim of this study is to compare the similarity ratios between the Sobel, Prewitt, Laplacian, Canny and Robert - Cross edge detection filters, which are frequently used in edge detection, and the fuzzy edge detection filter obtained using fuzzy logic with the help of Hamming, Euclidean and Minkowski distance measures in Matlab.</p>
</sec>
<sec><title>Keywords:</title><p>Fuzzy set, Fuzzy distance measures, Fuzzy similarity measures, Matlab.</p>
</sec>
<sec><title>1 Introduction</title><p>In classical (Aristotelian) logic, which is a system of logic with two truth values, the classical concept of set is based on whether an object is an element of that set or not. There can never be partial membership. If the membership value of the object i s ? , it is an element of the set, and if it is ? , it is not an element. The transition between linguistic concepts frequently used in daily life is not as sharp as in classical logic, so classical logic is not suitable for describing these expressions nume rically. However, with fuzzy logic, these words can be easily defined without the need for much additional information and can be more accurately characterised by fuzzy sets.</p>
<p>The basic definitions of fuzzy logic and fuzzy set theory, which is an extension of multivalued logic and uses the rules of classical logic, were introduced by Zadeh in [1] . Subsequently, fuzzy logic has provided a new dimension for dealing with uncertain systems and has enabled many studies in numerous fields [2 ] ² [ 4] . A fuzzy set  in a non - empty set  is characterised by a mapping  ? ?  ?</p>
<p>? ? ? ? ? ? where  ? is called membership function and  ? ?  ? is called degree of membership of the element  . That is, a fuzzy set  is shown as  Corresponding Author : egulle@aku.edu.tr https://doi.org/10.22105/scfa.v1i1.32 Licensee System Analytics. This article is an open - access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0).</p>
<p> Gülle and Kaya | Soft. Comput. Fusion. Appl. 1 ( 1 ) ( 2024 ) 4 4 - 4 9  ? ? ?  ?  ? ?  ? ? ?  ?      ? ?  ?  ? ? ? ? ? ? ? ? ? Throughout the paper, ? is regarded as the class of all fuzzy sets of  and  is regarded as the complement of the fuzzy set  . Image filtering, a technique used in image processing, is used to reduce noise in the image, sharpen edges, sharpen the image and obtain a clearer image. Image filters are usually expressed as a matrix or kernel. Edge detection filters, which have become t he most active area of image processing in recent years, are image filters used to detect edges (i.e., points where two regions with different pixel values meet) in an image. These filters work by calculating the difference between a pixel and other pixels around it.</p>
<p>Edge detection operators are generally divided into two. The first one is the gradient - based edge operators using first order derivatives, such as Sobel, Prewitt and Robert operators. The other one is the edge operators using second order derivative based methods and Laplacian can be given as an example. Sobel edge detection: The edges in this technique are found using ? ? ? neighbourhood image filter.</p>
<p>Prewitt edge detection: The edge detection in this technique is estimated using simplified ? ? ? neighbourhood image filter. Roberts - Cross edge detection: In this type of edge detection technique, the image filter is a ? ? ? image gradient measurement applied on the image matrix. Canny edge detection: In this technique, an objective function to be optimized is developed. The solution to this problem is an exponential function, which could be approximated and optimizes the edge.</p>
<p>Laplacian edge detection: In this type of edge detection technique, the image filter is a ? ? ? Laplacian core matrix applied on the image filter. The use of fuzzy logic in image edge detection techniques has an important place in the literature. When fuzzy logic is used for edge detection, softer, blurred edges can be obtained instead of sharp edges. Fuzzy edge detection: In this type of edge detection technique, general steps are summarized as follows: 1)</p>
<p>t he input image is blurred using a blurring process , 2) gradient is calculated on the blurred image , and 3) t hresholding is used to sharpen the edges and suppress transitions to the background. Readers interested in edge detection can check out [5 ] ² [ 7] articles for more information. Xuecheng [8] introduced the basic axioms of distance and similarity measures and analysed the relationship between these measures with examples. Then, many researchers [9 ] ² [ 13] have generalised distance and similarity measures using the concept of fuzzy logic. The distance measure of two fuzzy sets is a measure that describes the difference between the fuzzy sets. Also, the similarity measure of two fuzzy sets shows the ty between the fuzzy sets. The higher value of similarity measure indicates that the images using two of the edge detection techniques are similar.</p>
<p>? A function  ? ? ? ? ? ? is said to be a distance function if the following properties are satisfying: I.  ?  ?  ? ?  ?  ?  ? ? for all  ?  ? ? . II.  ?  ?  ? ?  ? for all  ? ? .  ? III.  ?  ?   ? ?  ? ? ? ? ?   ?  ?  ? for all  ? ? ? ?  ?      ? . IV. If  ?  ?  , then  ?  ?  ? ?   ?  ?  ? and  ?  ?  ? ?   ?  ?  ? for all  ?  ?  ? ? . The Hamming distance, used for discrete data such as binary values, calculates the number of different positions of the corresponding symbols. It is shown as follows: ?</p>
<p> ?  ?  ? ? ? ?  ? ?  ? ? ? ? ? ?  The Euclidean distance is used to compare features of images and identify similar images. It is shown as follows: ? ?  ?  ?  ? ?  ? ? ?  ? ?   ? ? ? ? ? ? The Minkowski distance, is a generalization of the Euclidean distance, compare two images by measuring the similarity of their pixel values. It is shown as follows : ? ? ? ? ?  ?  ?  ? ?  ? ?  ?</p>
<p>?  ? ? ? ?  ? ?  ? ? ? ? ? ?  ?  ? ? ? ? ? ? ? A function  ? ? ?  ? ? ? is said to be a similarity function if the following properties are satisfying: I.  ?  ?  ? ?   ?  ?  ? for all  ?  ? ? . ? II.  ?  ?  ? ?   for all  ? ? ? .  ? III.  ?  ?  ? ?   ? ? ? ? ?   ?  ?  ? for all  ? ? ? . IV. If   ?    ?   , then  ?  ?  ? ?  ?  ?  ? and  ?  ?  ? ?  ?</p>
<p> ?  ? for all  ?  ?  ? ? .</p>
</sec>
<sec><title>2 Experimental Results</title><p>In this section, we compare the similarities for image comparison. To do this, for an image, Sobel, Prewitt, Laplacian, Canny, Robert Cross edge detection filters and fuzzy edge detection filter are used. We compare the similarity ratios of these with the help of Hamming, Euclidean and Minkowski distance measures. The chosen original image and the images obtained after using edge detection filters are given below: Fig. 1 .</p>
<p>Original i mage . Fig. 2. Result obtained by Sobel method.  Gülle and Kaya | Soft. Comput. Fusion. Appl. 1 ( 1 ) ( 2024 ) 4 4 - 4 9 Fig. 3. Result obtained by Prewitt method. Fig. 4. Result obtained by Laplacian method. Fig. 5. Result obtained by Canny method. Fig. 6 . Result obtained by Robert Cross method. Fig. 7 . Result obtained by fuzzy edge operator .  ? Table 1. The similarity function was applied to the Hamming, Euclidean and Minkowski distances .</p>
<p>? ? ? Compared Similarity Ratio for Similarity Ratio for Similarity Ratio for Methods Hamming Distance Euclid Distance Minkowski Distance Canny - fuzzy 0.0000039992 0.002032865 0.015933590 Laplacian - fuzzy 0.0000039855 0.002094396 0.016531473 Prewitt - fuzzy 0.0000039794 0.002092853 0.016532522 Robert Cross - fuzzy 0.0000039991 0.002100671 0.016583102 Sobel - fuzzy 0.0000039853 0.002095436 0.016549766 ?</p>
<p>? Table 2. The similarity function ? was applied to the Hamming, Euclidean and Minkowski distances . Compared Methods Similarity Ratio for Similarity Ratio for Similarity Ratio for Hamming Distance Euclid Distance Minkowski Distance Canny - fuzzy 0.827448868818681 0.999088787886648 0.00000000000000062 Laplacian - fuzzy 0.890082638366111 0.999285477332226 0.00000000000051658 Prewitt - fuzzy 0.889008579664769 0.999281783624385 0.00000000000044773 Robert Cross - fuzzy 0.890064334368099 0.999285414261781 0.00000000000052620 Sobel - fuzzy 0.888846716830148 0.999281228237080 0.033979268908462</p>
</sec>
<sec><title>3 Conclusion</title><p>This study confirms that fuzzy edge detection filters are an effective approach in image processing. In fuzzy edge detection, the detection of edges in the image has shown successful results. While traditional edge detection techniques can detect sharp edg es well, they cannot extract noisy and irregular edges properly. Therefore, fuzzy edge detection methods better handle objects and edges with more complex image structure.Also, in the first table, according to the Hamming distance, the similarity ratio between the Canny and fuzy methods is the highest. The similarity ra tio determined according to Euclidean and Minkowski distances is the highest value between the Robert Cross and fuzzy methods.</p>
<p>In the second table, according to Hamming and Euclidean distances, the similarity ratio between the Laplacian and fuzzy methods is the highest. The similarity ratio determined according to Minkowski distance is the highest value between the Sobel and fuzzy methods.</p>
</sec>
<sec><title>Author Contributaion</title><p>Conceptualization, E.G. and Ö.K.; Methodology, E.G. and Ö.K.; Validation, E.G. and Ö.K.; formal analysis, E.G.; investigation, Ö.K.; resources, Ö.K.; data maintenance, Ö.K.; writing - creating the initial design, E.G.; writing - reviewing and editing, E.G. All authors have read and agreed to the published version of the manuscript. Authorship must be limited to those who have made a significant contribution to the work reported.</p>
</sec>
<sec><title>Funding</title><p>No funds, grants, or other support was received.</p>
</sec>
<sec><title>Data Availability</title><p>Data sharing is not applicable to this article as no new data were created or analyzed in this study.</p>
</sec>
<sec><title>Conflicts of Interest</title><p>The authors declare no conflict of interest.  Gülle and Kaya | Soft. Comput. Fusion. Appl. 1 ( 1 ) ( 2024 ) 4 4 - 4 9</p>
</sec>
<sec><title>References</title><p>[1] Zadeh, L. A. (1965). Fuzzy sets. Information and control , 8 (3), 338 ? 353. https://doi.org/10.1016/S0019 - 9958(65)90241 - X [2] Atanassov, K.T. (1999). Intuitionistic fuzzy sets. Physica, Heidelberg. https://doi.org/10.1007/978 - 3 - 7908 - 1870 - 3_1 [3] Goguen, J. A. (1967). L - Journal of mathematical analysis and applications , 18 (1), 145 ? 174. https://doi.org/10.1016/0022 - 247X(67)90189 - 8 [4] Pang, B. (2014). On (L, M)</p>
<p>- fuzzy convergence spaces. Fuzzy sets and systems , 238 , 46 ? 70. https://doi.org/10.1016/j.fss.2013.07.007 [5] Aborisade, D. O. (2010). Fuzzy logic based digital image edge detection. Global journal of computer science and technology , 10 (14), 78 ? 83. https://computerresearch.org/index.php/computer/article/view/657 [6] Kushwaha, N. (2012). Edge detection using fuzzy logic in Matlab. International journal of advanced research in computer science and software engineering , 2 (4), 38 ?</p>
<p>40. https://B2n.ir/ps1974 [7] Muhammad Rizky Alditra Utama, K., Umar, R., &amp; Yuhdana, A. (2022). Edge detection comparative analysis using Roberts, Sobel, Prewitt, and Canny methods. Jurnal teknologi dan sistem komputer , 10 (2), 67 ? 71. https://doi.org/10.14710/jtsiskom.2021.14209 [8] Xuecheng, L. (1994). Entropy, distance measure and similarity measure of fuzzy sets and their relations. Fuzzy sets and systems , 62 (3), 377.</p>
<p>https://doi.org/10.1016/0165 - 0114(94)90124 - 4 [9] Liu, H. W. (2005). New similarity measures between intuitionistic fuzzy sets and between elements. Mathematical and computer modelling , 42 (1 ? 2), 61 ? 70. https://doi.org/10.1016/j.mcm.2005.04.002 [10] ?????ñ????? ¢??????????? ????????????¢???££¢?? base simplification. IEEE transactions on systems, man, and cybernetics, part b: Cybernetics , 28 (3), 376 ?</p>
<p>386. https://doi.org/10.1109/3477.678632 [11] Omran, S., &amp; Hassaballah, M. (2006). A new class of similarity measures for fuzzy sets. International journal of fuzzy logic and intelligent systems , 6 (2), 100 ? 104. https://doi.org/10.5391/IJFIS.2006.6.2.100 [12] Chen, S. M., Yeh, M. S., &amp; Hsiao, P. Y . (1995). A comparison of similarity measures of fuzzy values. Fuzzy sets and systems , 72 (1), 79 ?</p>
<p>89. https://doi.org/10.1016/0165 - 0114(94)00284 - E [13] Beg, I., &amp; Ashraf, S. (2009). Similarity measures for fuzzy sets. Applied and computational mathematics , 8 (2), 192 ? 202. https://www.researchgate.net/publication/228744370</p>
</sec>
<sec><title>Figures</title>
<fig id="fig1"><label>Figure 1</label><caption><p>Automatically extracted from the source PDF file; the original caption text could not be recovered.</p></caption><graphic xlink:href="https://scfa.reapress.com/public/journals/1/jats-figures/32/fig-1-7565e0d043de.jpg"/></fig>
<fig id="fig2"><label>Figure 2</label><caption><p>Automatically extracted from the source PDF file; the original caption text could not be recovered.</p></caption><graphic xlink:href="https://scfa.reapress.com/public/journals/1/jats-figures/32/fig-2-7ebd6f5d0bb6.jpg"/></fig>
<fig id="fig3"><label>Figure 3</label><caption><p>Automatically extracted from the source PDF file; the original caption text could not be recovered.</p></caption><graphic xlink:href="https://scfa.reapress.com/public/journals/1/jats-figures/32/fig-3-f92b6b0fc7b4.jpg"/></fig>
<fig id="fig4"><label>Figure 4</label><caption><p>Automatically extracted from the source PDF file; the original caption text could not be recovered.</p></caption><graphic xlink:href="https://scfa.reapress.com/public/journals/1/jats-figures/32/fig-4-f276d06ac583.jpg"/></fig>
<fig id="fig5"><label>Figure 5</label><caption><p>Automatically extracted from the source PDF file; the original caption text could not be recovered.</p></caption><graphic xlink:href="https://scfa.reapress.com/public/journals/1/jats-figures/32/fig-5-35ec54b2711b.png"/></fig>
<fig id="fig6"><label>Figure 6</label><caption><p>Automatically extracted from the source PDF file; the original caption text could not be recovered.</p></caption><graphic xlink:href="https://scfa.reapress.com/public/journals/1/jats-figures/32/fig-6-9d5771c63214.png"/></fig>
<fig id="fig7"><label>Figure 7</label><caption><p>Automatically extracted from the source PDF file; the original caption text could not be recovered.</p></caption><graphic xlink:href="https://scfa.reapress.com/public/journals/1/jats-figures/32/fig-7-f828860cb48d.png"/></fig>
</sec>
</body>
</article>