Next Article in Journal
Discerning Xylella fastidiosa-Infected Olive Orchards in the Time Series of MODIS Terra Satellite Evapotranspiration Data by Using the Fisher–Shannon Analysis and the Multifractal Detrended Fluctuation Analysis
Previous Article in Journal
Nonlinear Inverse Problems for Equations with Dzhrbashyan–Nersesyan Derivatives
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Overlap Functions-Based Fuzzy Mathematical Morphological Operators and Their Applications in Image Edge Extraction

1
School of Mathematics and Data Science, Shaanxi University of Science and Technology, Xi’an 710016, China
2
Shaanxi Joint Laboratory of Artificial Intelligence, Shaanxi University of Science and Technology, Xi’an 710016, China
*
Author to whom correspondence should be addressed.
Fractal Fract. 2023, 7(6), 465; https://doi.org/10.3390/fractalfract7060465
Submission received: 13 May 2023 / Revised: 5 June 2023 / Accepted: 6 June 2023 / Published: 9 June 2023

Abstract

:
As special aggregation functions, overlap functions have been widely used in the soft computing field. In this work, with the aid of overlap functions, two new groups of fuzzy mathematical morphology (FMM) operators were proposed and applied to image processing, and they obtained better results than existing algorithms. First, based on overlap functions and structuring elements, the first group of new FMM operators (called OSFMM operators) was proposed, and their properties were systematically analyzed. With the implementation of OSFMM operators and the fuzzy C-means (FCM) algorithm, a new image edge extraction algorithm (called the OS-FCM algorithm) was proposed. Then, the second group of new FMM operators (called ORFMM operators) was proposed based on overlap functions and fuzzy relations. Another new image edge extraction algorithm (called OR-FCM algorithm) was proposed by using ORFMM operators and FCM algorithm. Finally, through the edge segmentation experiments of multiple standard images, the actual segmentation effects of the above-mentioned two algorithms and relevant algorithms were compared. The acquired results demonstrate that the image edge extraction algorithms proposed in this work can extract the complete edge of foreground objects on the basis of introducing the least noise.

1. Introduction

Because of the application requirements in image processing and other soft computing fields, H. Bustine et al. created the overlap function theory [1,2,3]. As a kind of aggregation function, overlap functions not only have continuity and suitable boundary conditions, but also are closely related to fuzzy implications and t-norms. The dual concept of overlap functions and grouping functions and their applications have also received wide attention [4,5,6]. The relationship between overlap functions and grouping functions is similar to that between t-norms and t-conorms, which correspond to “logical AND” and “logical OR” operations, respectively. The overlap and grouping functions are widely used, including for information fusion, image processing, multi-attribute decision-making, uncertainty reasoning, rule-based data analysis [5,7,8], etc. With the in-depth study of the overlap functions, some generalized concepts [9,10,11,12] (such as quasi-overlap functions, general overlap functions, semi-overlap functions, pseudo overlap functions, etc.) have been proposed. The application scope of overlap functions was further expanded.
On the other hand, in the mid-1960s, mathematical morphology (MM) was created by Matheron and Serra G. Matherone and was published in his monograph [13], Random Sets and Integral Geometry, which discussed the technology of shape processing and analysis and laid the theoretical foundation of MM. In 1982, J. Sera published a monograph [14], Image Analysis and Mathematical Morphology, which truly linked MM with image processing and initially formed a theoretical system of MM. Next, Isabelle Bloch et al. published an extended review [15] in 2007 which systematically summarized the basic theory and development of MM.
MM is considered a discipline of image processing and spatial structure analysis based on integral geometry, set theory, topology, and lattice theory. Its basic idea and method are to use a “probe” called a structuring element to collect the information in images. It can examine the relationship between the various parts of the image to understand the structural characteristics of the image when the probe moves continuously in the image. There are four basic operators: erosion, dilation, closing, and opening in MM. They have their own characteristics in gray-scale images and binary images. Various MM practical algorithms can also be combined and derived based on these basic operators, which can be used to process and analyze image structure and shape, including image enhancement and restoration, edge detection, feature extraction, image filtering, image segmentation, etc. MM has become a major research direction of image processing. Its theory and method are powerful tools in the image analysis field. As a result, it has been successfully applied in computer character recognition, medical image processing, industrial inspection, geology, metallurgy, robot vision, video compression, etc. In recent years, MM has been combined with deep learning and has proposed a variety of deep morphological networks [16,17,18,19,20], showing the strong vitality of MM.
Initially, MM dealt with binary images. For dealing with gray-scale images, various forms of FMM [20,21,22,23,24,25,26,27,28,29,30,31,32] have been introduced with the help of fuzzy set theory (including lattice-valued fuzzy sets, classical Zadeh’s fuzzy sets, interval-valued fuzzy sets, etc.). It is natural to generalize from binary to gray-scale images. A simple generalization process is to replace the union and intersection operations in binary morphology with supremum and infimum operations, respectively. As further extensions of this concept, fuzzy mathematical morphology operators based on conjunction, t-norm, innorm, etc. [29,30,31,32,33] (in these works, concepts such as fuzzy implication and residual implication are often applied), and FMM based on fuzzy preference relations [34] and lattice-valued fuzzy relations [35] have been successively studied (see [36] for the role of the lattice structure in mathematical morphology).
Along these lines, the above-mentioned two aspects of the research were combined here. More specifically, the existing FMM was expanded by means of overlap function, fuzzy implication, and other concepts. At the same time, two groups of new morphological operators were proposed, and the FCM algorithm was combined to establish two new algorithms for image edge extraction. The main goal was to demonstrate the important role and the comparative advantages of overlap functions in image processing and MM. The contents of this work are organized as follows. In Section 2, some preliminary concepts related to this work are recalled, including classical morphological operators, overlap function, fuzzy implication, classical FCM algorithm, etc. In Section 3, FMM operators based on overlap functions and structuring elements (called OSFMM operators) are discussed and an image edge extraction OS-FCM algorithm is proposed. In Section 4, the FMM operators based on overlap functions and fuzzy relations (called ORFMM operators) are introduced and another image edge extraction algorithm is proposed, namely the OR-FCM algorithm. The contents of Section 5 include the execution of experiments and analysis with the developed algorithm. Through edge segmentation experiments on multiple standard images, the actual segmentation effects of the two algorithms proposed in this work (OS-FCM, OR-FCM) and the existing relevant typical algorithms are thoroughly compared and analyzed. From our analysis, it was revealed that the two groups of FMM operators based on overlap functions have obvious advantages in image edge extraction applications. The operators and algorithm proposed by us are shown in Figure 1. Section 6 summarizes the study, and the future research direction is also pointed out.

2. Preliminaries

Some preliminary concepts related to this work are introduced in this section, including classical morphological operators, overlap function, fuzzy implication, classical FCM algorithm, etc. In order not to cause confusion, R is used to represent the real numbers set, and R is used to denote fuzzy binary relations and binary relations.
Definition 1
([14]). Let A and B be subsets of Rn, corresponding to binary image and structuring elements, respectively. In MM, the erosion E(A, B) and dilation D(A, B) of A by B are two sets (binary images) given by the following expressions:
E ( A , B ) = { y n | T y ( B ) A } , D ( A , B ) = { y n | T y ( B ) A } ,
where the definition of Ty(B) is Ty(B) = { x n | x y B } .
Definition 2
 ([23]). Let A and B be two fuzzy sets in Rn, i.e., A: Rn→[0, 1], B: Rn→[0, 1]. In FMM, the fuzzy erosion E(A, B) and fuzzy dilation D(A, B) of gray-scale image A by structuring element B are given by the following expressions:
E ( A , B ) ( y ) = inf x n ( max ( B ( x ) , A ( y + x ) ) ) ,   y n , D ( A , B ) ( y ) = sup x n ( min ( B ( x ) , A ( y + x ) ) ) ,   y n .
Definition 3
 ([29]). A function C: [0, 1]2→[0, 1] is called a conjunction if it meets the following conditions:
  • (C1) C is increasing;
  • (C2) C(0, 0) = C(1,0) = C(0, 1) = 0;
  • (C3) C(1, 1) = 1.
Definition 4
([37]). A binary function I: [0, 1]2→[0, 1] is said to be a fuzzy implication if it satisfies the following conditions: ∀x, y, z ∈ [0, 1],
  • (I1) If x ≤ y, then I(y, z) ≤ I(x, z);
  • (I2) If x ≤ y, then I(z, x) ≤ I(z, y);
  • (I3) I(1, 0) = 0;
  • (I4) I(1, 1) = 1;
  • (I5) I(0, 0) = 1.
A fuzzy implication I is said to satisfy the LOP condition if ∀x, y ∈ [0, 1], xyI(x, y) = 1.
Theorem 1
([11,37]). Let binary function C be a conjunction. The definition of binary function IC is the following:
IC(x, y) = sup{t ∈ [0, 1]|C(x, t) ≤ y}, ∀x, y ∈ [0, 1].
If C satisfies C(1, x) > 0 (∀x ∈ (0, 1]), then IC is a fuzzy implication. IC is said to be the residual implication derived from conjunction C.
Definition 5
([37]). A binary function T: [0, 1]2→[0, 1] is called a t-norm if it meets the following conditions:
  • (T1) T is increasing;
  • (T2) T is commutative;
  • (T3) T is associative;
  • (T4) T(y, 1) = y, ∀y ∈ [0, 1].
Definition 6
([29]). Let A and B be two fuzzy sets in Rn, I be a fuzzy implication, and C be a conjunction. Let d(B) = {x|B(x) ≠ 0} ⊆ R2. The fuzzy erosion EI(A, B) and fuzzy dilation DC(A, B) of gray-scale image A by structuring element B are given by the following expressions: ∀y ∈ Rn,
E I ( A , B ) ( y ) = inf x d ( B ) ( I ( B ( x ) , A ( y + x ) ) ) ,   D C ( A , B ) ( y ) = sup x d ( B ) ( C ( B ( x ) , A ( y + x ) ) ) .
Definition 7
([1]). A binary function O: [0, 1]2→[0, 1] is called an overlap function if it meets the following conditions: ∀x, y ∈ [0, 1],
  • (O1) O is increasing;
  • (O2) O is continuous;
  • (O3) O(y, x) = O(x, y);
  • (O4) O(y, x) = 0 iff yx = 0;
  • (O5) O(y, x) = 1 iff yx = 1.
Furthermore, an overlap function O is called 1-section inflation if O(1, y) ≥ y, ∀y ∈ [0, 1] and 1-section deflation if O(y, 1) ≤ y, ∀y ∈ [0, 1].
Example 1.
The functions O1, O2 given by:x, y ∈ [0, 1],
O 1 = x y ; O 2 ( x , y ) = { 35 + x y 36 ,   if   0 . 8 x 1 ,   0 . 8 y 1 ,   ( x , y ) ( 0.8 , 0.8 ) , 99 x y 64 ,   if   0 x 0.8   and   0 y 0.8 , 99 x 80 ,   if   0 x < 0.8   and   0 . 8 < y 1 ,   y x 4 + 1 , 179 x 144 + y 1 45 ,   if   0 x < 0.8   and   0 . 8 < y 1 ,   y > x 4 + 1 , 99 y 80 ,   if   0 y < 0.8   and   0 . 8 < x 1 ,   y 4 x + 4 , 179 y 144 + x 1 45 ,   if   0 y < 0.8   and   0 . 8 < x 1 ,   y > 4 x + 4 ,
are two 1-section inflation overlap functions.
The functions O3, O4 given by: ∀x, y ∈ [0, 1],
O 3 = x 2 y 2 ,   O 4 = xy x   +   y 2  
are two 1-section deflation overlap functions.
The function O5defined below is a special overlap function.
O 5 ( x , y ) = { 2 3 y ,   if   y 3 10 x , 2 5 x + 2 y ,   if   3 10 x < y 3 5 x , x + y 2 ,   if   3 5 x < y 5 3 x , 2 5 y + 2 x ,   if   5 3 x < y 10 3 x , 2 3 x ,   if   10 3 x < y , x , y [ 0 , 1 ]
Overlap function O5 meets the following conditions:
O5(1, y) ≤ y, ∀y ∈ [0, 0.4]
O5(1, y) ≥ y, ∀y ∈ [0.4, 1]
Overlap function O5 is depicted in Figure 2, where the analytic expression of line segment l in the right figure is: x = 1, z = y (0 ≤ y ≤ 1). As can be seen from the right figure of Figure 2, when y < 0.4, curve O5(1, y) is on the lower side of l, and when y > 0.4, curve O5(1, y) is on the upper side of l, which verifies that the overlap function O5 satisfies inequality (1), (2).
Several aggregate functions closely related to the overlap function are introduced above. Next, we will continue to introduce a gray-scale edge extraction algorithm and an image preprocessing process algorithm.
Based on the FMM operators, image edge features can be extracted in detail [14]. The main idea of the edge extraction algorithm using FMM operators (Algorithm 1) is to first calculate the fuzzy erosion and fuzzy dilation of the gray-scale image. In general, fuzzy dilation will lighten the gray-scale image and fuzzy erosion will darken the gray-scale image, while the changes at the edge of the foreground object will be more obvious. Therefore, the edge of the gray-scale image can be obtained by calculating the difference between them.
Algorithm 1 ([29]). Edge detection algorithm using FMM operators.
Input: gray-scale structuring element B, gray-scale image A;
Output: binary edge image;
Step 1: Fuzzify the gray-scale image A;
Step 2: Calculate the fuzzy erosion E(A) and fuzzy dilation D(A) of gray-scale image A;
Step 3: Calculate the fuzzy edge image: D(A) E(A);
Step 4: Defuzzy and binarize the fuzzy edge image calculated in Step 3.
During the image processing process (including image segmentation, edge extraction, etc.), clustering is often used as a preprocessing process, while the FCM algorithm (Algorithm 2) is the clustering algorithm used more [38,39,40,41]. The FCM algorithm was first developed by Dunn in 1973 [38], and it later was improved by Bezdek [39] and widely used in pattern recognition [40,41]. Unlike K-means hard clustering (in the K-means algorithm, each element can only belong to one cluster), the FCM algorithm is a soft clustering idea, which believes that all objects in the cluster object set belong to a cluster with different membership degrees. Thus, each cluster is considered a fuzzy subset of the object set. The FCM algorithm calculates the membership matrix of the samples (the fuzzy matrix whose elements are taken from the unit interval) to maximize the similarity between objects divided into the same cluster and minimize the similarity between different clusters. The FCM algorithm divides N data samples xj, {j = 1, 2, …, N} in the data set into c classes and updates the cluster centers and membership degrees through continuous iteration. After the objective function reaches the minimum value, the cluster is divided according to the membership degree of each point in different classes (clusters). The objective function [38] of the FCM algorithm is defined as follows:
J F C M = j = 1 N i = 1 c u i j m d ( x j , v i )
where uij is the membership degree of point xj in class i, vi refers to the center of class i, d(xj, vi) represents the distance from point xj to the cluster center vi (usually Euclidean distance), and m denotes the weighted index (m usually takes 2). Generally speaking, it is quite difficult to find the optimal solution of objective function J, and the iterative algorithm is always used to find the approximate solution (Bezdek proved that the iterative algorithm is convergent). The iterative expressions [38] of membership degrees and cluster centers are as follows:
u i j = 1 k = 1 c ( d ( x j , v i ) d ( x j , v k ) ) 2 / ( m 1 )  
v i = j = 1 N u i j m x j j = 1 N u i j m
The flow of the FCM algorithm is as follows.
Algorithm 2 ([38,39]). Fuzzy C-means algorithm.
Input: maximum iterations or stop iteration threshold, number of cluster categories c, data set (x1, x2,…, xN);
Output: clustering centers (v1, v2,…, vc), membership degree uij (i = 1, 2,…, c, j = 1, 2,…, N);
Step 1: Randomly initialize the clustering centers;
Step 2: Update the membership degrees according to Formula (3);
Step 3: Update the clustering centers according to Formula (4);
Step 4: Judge whether the maximum iterations or stop iteration threshold is met. Return to Step 2, if the stop condition is not met;
Step 5: Point xj is divided into class i, i satisfies uij = max{u1j, u2j,…, ucj}.

3. FMM Operators Based on Overlap Functions and Structuring Elements (OSFMM Operators) and OS-FCM Algorithm

As was mentioned earlier, in fuzzy mathematical morphology, t-norm, uninorm, etc., are used as special conjunctions to construct morphological operators [3,15,16,17,18]. As special conjunctions and special aggregation functions, do overlap functions have good performance and advantages when used to construct new morphological operators? At present, this issue has not been discussed in the literature.
After performing a preliminary comparative analysis, the following facts were found: (1) Although t-norm, uninorm, and other conjunctions meet the associativity, and the morphological operators constructed by them have good operational properties (such as associativity), the requirement of associativity is too strict. Moreover, the exclusion of the use of conjunctions or aggregation functions that do not meet the associativity also limits its flexibility and scope of application. In fact, associativity does not play a key role during image processing and other applications. At least in a large amount of the literature we have studied, there is no piece of evidence that indicates that associativity plays a significant role. At the same time, the t-norm requires that 1 is a unit element (conjunctions, such as uninorm also have unit elements), which leads to the fact that T(x, y) = min(x, y) is the largest t-norm. Thus, the fuzzy dilation operator constructed by the t-norm meets ∀xR2, T(A(y), and B(x)) ≤ A(y), which also limits the effectiveness of morphological operators in applications. (2) The overlap function is not required to meet the associativity, nor does it require 1 to be the unit element (there are 1-section inflation and 1-section deflation overlap functions, and there are some overlap functions that simultaneously meet 1-section inflation and 1-section deflation in different intervals, see Example 1). Therefore, the morphological operators based on overlap functions have greater flexibility and can express relevance to a certain extent (the associative law usually reflects that the objects involved in the operation are independent, and if there is relevance between the objects involved in the operation, the associative law of the operation will not be established naturally). Through conducting preliminary experiments, it was found that the fuzzy dilation operator constructed by overlap functions enlarges the difference between the pixel values of the foreground and background points in the gray-scale image, which provides convenience for image segmentation and edge extraction. What is more, the overlap functions have continuity, which can deduce the continuity of fuzzy dilation with respect to the position and pixel value, which extends the applications of mathematical morphology operators to video processing.
Based on the above-mentioned considerations, OSFMM operators were proposed in this section based on structuring elements and overlap functions. Furthermore, their properties were analyzed, and OSFMM operators and FCM algorithms were applied to give a new algorithm for the image edge extraction OS-FCM algorithm.

3.1. OSFMM Operators

Definition 8.
Let A and B be two fuzzy sets in Rn, I be a fuzzy implication, and O be an overlap function. Let d(B) = {x | B(x) ≠ 0} ⊆ R 2. The fuzzy erosion EI(A, B) and fuzzy dilation DO(A, B) of gray-scale image A by gray-scale structuring element B are given by the following expressions:
E I ( A , B ) ( y ) = inf x d ( B ) I ( B ( x ) , A ( y + x ) ) ,   y 2 , D O ( A , B ) ( y ) = sup x d ( B ) O ( B ( x ) , A ( y + x ) ) ,   y 2 .
The fuzzy sets Close(A, B) and Open(A, B) defined below are called fuzzy closing and fuzzy opening operators, respectively:
C l o s e ( A , B ) = E I ( D O ( A , B ) , B ) , O p e n ( A , B ) = D O ( E I ( A , B ) , B ) .
The above-defined group of morphological operators based on overlap functions and structuring elements are collectively referred to as OSFMM operators.
Note: The fuzzy opening and closing operators defined above can be expanded as follows: ∀yR2,
C l o s e ( A , B ) ( y ) = E I ( B , D O ( A , B ) ) ( y ) = inf z d ( B ) I ( B ( x ) , D O ( A , B ) ( y + z ) ) = inf z d ( B ) I ( B ( x ) , sup x d ( B ) O ( B ( x ) , A ( y + x + z ) ) ) , O p e n ( A , B ) ( y ) = D O ( B , E I ( A , B ) ) ( y ) = sup z d ( B ) O ( B ( x ) , E I ( A , B ) ( y + x ) ) = sup z d ( B ) O ( B ( x ) , inf x d ( B ) I ( B ( x ) , A ( y + x + z ) ) ) .
Because the overlap function is a special conjunction, it can be seen that the OSFMM operators have the following properties (only some properties are listed here. For more properties, see Properties 32–52 in [29]) by applying the conclusion of [29].
Theorem 2.
Let A, Ai be gray-scale images (i = 1, …, k), B, Bi be gray-scale structuring elements (i = 1, …, k), I be a fuzzy implication, and O be an overlap function. Then, the OSFMM operators satisfy the following properties:
(1)
The fuzzy dilation DO is increasing in the first and the second arguments;
(2)
The fuzzy erosion EI is decreasing in the second and increasing in the first argument;
(3)
D O ( i = 1 k A i , B ) = i = 1 k D O ( A i , B ) , D O ( A , i = 1 k B i ) = i = 1 k D O ( A , B i ) ;
(4)
E I ( A , i = 1 k B i ) = i = 1 k E I ( A , B i ) , E I ( i = 1 k A i , B ) = i = 1 k E I ( A i , B ) .
Example 2.
This example shows the functions and roles of OSFMM operators. Figure 3 (left) depicts a gray-scale image A, where the pixel values of the whole foreground (duck) and noise are 120. Figure 3 (left) was processed by fuzzy erosion and fuzzy dilation of OSFMM operators (using 1-section inflation overlap function O1 in Example 1, fuzzy implication I1, and structuring element B as defined below). The results are shown in Figure 3 (right) and (center), respectively, where the pixel values of the foreground and noise of DO(A) are 175. In the fuzzy dilation of OSFMM operators, the 1-section inflation overlap functions can make the pixel value of fuzzy dilation larger than the original image, while the 1-section deflation overlap functions can make the pixel value of fuzzy dilation smaller than the original image. If the FMM operators based on t-norm are used, the pixel values of fuzzy dilation DT(A) of gray-scale image A in the image are less than or equal to 120.
I 1 = { 1 , i f   x y , y 2 x ,   o t h e r s . B = [ 1 1 1 1 1 1 1 1 1 ] .
Theorem 3.
Let B be a gray-scale structuring element, A1, A2 be two gray-scale images, I be a fuzzy implication, O be an overlap function, and DO(A, B), EI(A, B) be fuzzy dilation and fuzzy erosion of OSFMM operators, respectively. Then: ∀y ∈ R 2,
  • (1) DO(A, B)(y) = 0 ⇔ (∀x ∈ d(B), A(y + x) = 0);
  • (2) (∃x ∈ d(B), B(x) = 1 and A(y + x) = 1)⇒ DO(A, B)(y) = 1;
  • (3) (∃x ∈ d(B), B(x) = 1 and A(y + x) = 0) ⇒ EI(A, B)(y) = 0.
Proof. 
(1) Assume ∀xd(B) satisfies A(y + x) = 0. By the condition (O2) in the definition of overlap function, we obtain ∀a ∈ [0, 1], O(0, a) = O(a, 0) = 0, hence:
sup x d ( B ) O ( B ( x ) , A ( y + x ) ) = 0 ,
i.e., DO(A, B)(y) = 0.
Assume DO(A, B)(y) = 0. By the definition of DO(A, B)(y), we have the following expression:
D O ( A , B ) ( y ) = sup x d ( B ) O ( B ( x ) , A ( y + x ) ) = 0 .
This shows that ∀xd(B), O(B(x), A(y + x)) = 0. By condition (O2), we have B(xA(y + x) = 0. ∀xd(B), B(x) ≠ 0, hence A(y + x) = 0.
(2) Assume A(y + x) = 1and ∃xd(B), B(x) = 1. By the condition (O2),
O(B(x), A(y + x)) = 1.
Hence, DO(A, B)(y) = sup x d ( B ) O ( B ( x ) , A ( y + x ) ) = 1 .
(3) Straightforward from the definition of fuzzy implication and fuzzy erosion.
Sufficient conditions for obtaining the maximum value in the definition of fuzzy dilation are given below. □
Theorem 4.
Let gray-scale image A and gray-scale structuring element B be two closed mappings, d(B) be a closed set, O be an overlap function, and DO(A, B) be the fuzzy dilation in OSFMM operators. Then, ∀y R2,
D O ( A , B ) ( y ) = max x d ( B ) O ( B ( x ) , A ( y + x ) ) .
Proof. 
Since O is continuous and the domain of definition of O is closed set [0, 1]2, O is uniformly continuous. Since d(B) is a closed set and B(x) and A(x) are closed mappings, we have Q = {t|t = B(x), ∀xd(B)} is a closed set, and
z 2 , P = { t | t = A ( z + x ) , x d ( B ) }
is closed set. Therefore, {(q, p)|qQ, pP} is a bounded closed set. Hence, by the uniform continuity of O, we have the following expression:
z 2 , a z d ( B ) , sup x d ( B ) ( O ( B ( x ) , A ( z + x ) ) ) = O ( B ( a z ) , A ( z + a z ) ) .
Thus, y 2 , D O ( A , B ) ( y ) = max x d ( B ) O ( B ( x ) , A ( y + x ) ) .
Theorem 5.
Let B be a gray-scale structuring element, A1, A2 be two gray-scale images, O be an overlap function, and DO(A, B) be the fuzzy dilation in OSFMM operators. Then ∀ε > 0, ∃δ, if | A 1 ( z ) A 2 ( z ) | δ   ( z 2 ) , we have the following expression:
| D O ( A 1 , B ) ( y ) D O ( A 2 , B ) ( y ) | ε   ( y 2 ) .
Proof. 
Since O is continuous and the domain of definition of O [0, 1]2 is a closed set, O is uniformly continuous. ε > 0 , for 1 2 ε , by the uniform continuity of O, we have the following expression: δ ,   if   ρ ( ( s 1 , t 1 ) , ( s 2 , t 2 ) ) δ , then | O ( s 1 , t 1 ) O ( s 2 , t 2 ) | < 1 2 ε .
Therefore, ∀ε > 0, select above δ, if | A 1 ( z ) A 2 ( z ) | δ   ( z 2 ) , we have
y 2 , x d ( B ) ,   y + x 2 , | A 1 ( y + x ) A 2 ( y + x ) | δ ,
ρ ( ( B ( x ) , A 1 ( y + x ) ) , ( B ( x ) , A 2 ( y + x ) ) ) = | A 1 ( y + x ) A 2 ( y + x ) | δ ,
| O ( ( B ( x ) , A 1 ( y + x ) ) O ( B ( x ) , A 2 ( y + x ) ) | 1 2 ε .
Then,
| sup x d ( B ) ( O ( B ( x ) , A 1 ( y + x ) ) ) sup x d ( B ) ( O ( B ( x ) , A 2 ( y + x ) ) ) | | sup x d ( B ) ( O ( B ( x ) , A 1 ( y + x ) ) O ( B ( x ) , A 2 ( y + x ) ) ) | sup x d ( B ) | O ( B ( x ) , A 1 ( y + x ) ) O ( B ( x ) , A 2 ( y + x ) ) | 1 2 ε < ε
i.e., | D O ( A 1 , B ) ( y ) D O ( A 2 , B ) ( y ) | < ε   ( y 2 ) .□
According to Theorem 5, the fuzzy dilation operator has such continuity: if the gray-scale image changes from A1 to A2 where the difference of every pixel is small (∀zR2), then the difference of every pixel of DO(A1, B) and DO(A2, B) is small. This can be used for video processing. If the image of each frame in a video is continuously changing, then the video processed by the dilation operator is also continuous.
By considering Example 2 and Theorem 3, the OSFMM operators can extend the value range of the FMM operators to a certain extent, and the boundary conditions of the OSFMM operators are more suitable for image processing. However, Algorithm 1 cannot avoid introducing a large number of noises in the background when extracting the edges of foreground objects (details) whose brightness are close to the noise in the background. In order to solve this problem, the first new algorithm for image edge extraction will be proposed using the FCM algorithm and OSFMM operators in the next section.

3.2. OS-FCM Algorithm

In this section, the OS-FCM algorithm (Algorithm 3) for image edge extraction was provided. This algorithm can extract more edges of foreground objects on the one hand and avoid introducing a lot of noise in the background on the other hand. The main idea is as follows: First, the position information of the foreground object and background of the image was obtained according to the FCM algorithm. Second, using structuring elements B1 and B2, edge1, the edge image with details’ edge and many noises, was calculated, and edge2, the edge image without details’ edge or noise, was calculated, respectively. Finally, the edge of the original image was extracted according to edge1 and edge2, so that the result contains the edges of all foreground objects as much as possible without noise.
Algorithm 3. OS-FCM algorithm
Input: gray-scale image A, gray-scale structuring elements B1, B2;
Output: binary edge image;
Step 1: Fuzzify the gray-scale image A;
Step 2: Cluster A with FCM algorithm, let Object and BG (background) be the sets of all foreground points and background points;
Step 3: Calculate DO(A, B1), EI(A, B1), DO (A, B2), EI (A, B2);
Step 4: Calculate DO(A, B1) − EI(A, B1), DO(A, B1) − EI(A, B1);
Step 5: Defuzzy and binarize the two fuzzy edge images in Step 4 to get the binary edge edge(A, B1) and edge(A, B2);
Step 6: Calculate the final binary edge image: e d g e ( A ) ( y ) = { e d g e ( A , B 1 ) ( y ) ,   i f   y O b j e c t , e d g e ( A , B 2 ) ( y ) ,   i f   y B G .
In this section, OSFMM operators were discussed and a new image edge extraction algorithm (OS-FCM algorithm) was proposed. After research, it was found that OSFMM operators have almost all the properties of other fuzzy morphological operators, and they have continuity which is not found in other fuzzy morphology operators.

4. ORFMM Operators and OR-FCM Algorithm

At present, MM based on fuzzy relations has been established in some literature. Although in these works fuzzy relations were used to define fuzzy dilation and erosion operators, fuzzy relations were equated with structuring elements. Moreover, the characteristics of fuzzy relations were not fully explored, and the role of fuzzy relations was not underlined. The relevant works in the literature either have no experimental cases or the experiment is not convincing: the experimental results of the FMM operators defined by the fuzzy relations are also not different from those of FMM operators based on the structuring elements.
From this perspective, in this work a group of new FMM operators, namely the ORFMM, were proposed by using overlap functions and fuzzy relations. In this section, the ORFMM operators are first introduced, and an example is provided to show that the FMM operators based on fuzzy relations are more flexible than the FMM operators based on structuring elements. Then, the ORFMM operators and the FCM algorithm are applied to give a new algorithm for the image edge extraction OR-FCM algorithm.
Definition 9.
Let A be a fuzzy set in R2, R be a fuzzy binary relation on R2, I be a fuzzy implication, and O be an overlap function. The fuzzy sets DR(A), ER(A) defined below are the fuzzy dilation operator and fuzzy erosion operator, respectively:∀y    R2,
D R ( A ) ( y ) = sup x R 2 O ( R ( x , y ) , A ( y ) ) , E R ( A ) ( y ) = inf x R 2 I ( R ( x , y ) , A ( y ) ) .
The fuzzy sets Open(A, B) and Close(A, B) defined below are the fuzzy opening operator and fuzzy closing operator, respectively:
O p e n ( A , B ) = D R ( E R ( A , B ) , B ) , C l o s e ( A , B ) = E R ( D R ( A , B ) , B ) .
Note: In the FMM operators based on the structuring elements, structuring elements are defined in  R2, which means that every point y in gray-scale image A corresponds to one structuring element with the same expression. In the FMM operators based on fuzzy relations, fuzzy relations R: R2 × R2→[0, 1] are defined as  R2 × R2, where it can be considered that each point y in gray-scale image A corresponds to a group of structuring elements B(x) = R(x, y). Hence, the ORFMM operators have stronger expression ability and greater flexibility.
Example 3.
This example illustrates the functions and roles of the OSFMM operators. First, Figure 3 (left) is divided into three sets. A1 represents the set of all points in the duck’s body, A2 denotes the set of all points in the duck’s mouth and paws, and A3 stands for the set of all background points (including noises). Second, the following fuzzy binary relationship R was defined (where B1, B2, and B3 are three different structuring elements):∀x, y R2,
B 1 = [ 1 1 1 1 1 1 1 1 1 ] ,   B 2 = [ 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 ] ,   B 3 = [ 0.01 0.01 0.01 0.01 0.01 0.01 0.01 0.01 0.01 ] ,   R ( x , y ) = { B 1 ( x ) ,   i f   y A 1 , B 2 ( x ) ,   i f   y A 2 , B 3 ( x ) ,   i f   y A 3 .
Figure 3 (left) was processed by the fuzzy dilation (using the overlap function O1) and fuzzy erosion (using the fuzzy implication I1 in Example 2) of ORFMM operators, and the results are illustrated in Figure 4. After being processed by the ORFMM operators, different results can be obtained for the parts with the same pixel value. More specifically, the pixel value of the duck’s body is larger than the duck’s mouth and paws, and the pixel value of noises is almost zero. Compared with Figure 3 (center, right) and Figure 4, it can be seen that the introduction of fuzzy relations in FMM operators substantially increased the flexibility of the FMM operators.

OR-FCM Algorithm

In this section, ORFMM operators based on overlap functions were applied to give the OR-FCM algorithm for image edge extraction. The basic idea of the OR-FCM algorithm (Algorithm 4) is as follows: First, the FCM clustering algorithm was used to obtain the location information of foreground points and background points of a gray-scale image. Second, according to the results (knowledge) of the gray-scale image clustering analysis that was obtained from the previous step, the fuzzy relation R was designed (where the design principle of R is to make the ORFMM operators highlight the foreground points and annihilate the background points as much as possible), and the fuzzy dilation and erosion were calculated. Then, the fuzzy edge image was obtained by calculating the difference between the fuzzy dilation and fuzzy erosion, and the fuzzy edge image was defuzzed and binarized to get the binary edge image.
Algorithm 4. OR-FCM algorithm.
Input: gray-scale image A, fuzzy binary R;
Output: binary edge image;
Step 1: Fuzzify the gray-scale image A;
Step 2: Cluster fuzzy image A with FCM algorithm, let Object and BG (background) be the sets of all foreground points and background points;
Step 3: According to the clustering results of A (as existing knowledge), design the fuzzy relation R, setting the values corresponding to the points in Object and BG are different;
Step 4: Calculate the fuzzy edge image DR(A) − ER(A);
Step 5: Defuzzy and binarize fuzzy edge image in Step 4 to get final binary edge image.
In this section, we described the shortcomings of existing mathematical morphology based on fuzzy relations and proposed ORFMM operators to solve these problems. Then, another image edge extraction algorithm (OR-FCM algorithm) was proposed by ORFMM operators and FCM algorithm.

5. Edge Extraction Experiment

In this section, first the OS-FCM (Algorithm 3) algorithm and OR-FCM (Algorithm 4) algorithm are used to extract the edge of three standard images, and two fuzzy relations are used to implement the OR-FCM algorithm. Then, the existing relevant typical algorithm and operators are implemented (Algorithm 1, Prewitt operator, Laplacian operator, Canny operator, Roberts operator, Sobel operator [42]) to extract the edge of the same image. Finally, the experimental results of the three algorithms proposed by us and the existing classical algorithms are compared and analyzed.

5.1. Experimental Framework

The experimental processes in this section are shown in Figure 5, and the following will introduce each experimental step in detail.
Step 1. Select the data sets.
Three standard images, Cameraman, Lena, and Barbara, were chosen. The three gray-scale images are depicted in Figure 6 (left), (center), and (right), respectively.
The Cameraman’s image was used as an example to illustrate the processes of the three edge extraction algorithms.
Step 2. The FCM algorithm was used to cluster the Cameraman’s image.
Step 2.1: Every point xj in the data set {x1, x2, …, xM×N } was represented as a three-dimensional vector.
xj = (m/M, n/N, A(m, n)/255), j = 1, 2, …, M × N.
where m, n indicate that point xi is located in the m-th row and n-th column of the gray-scale image. M, N are the maximum of rows and columns of gray-scale image A, respectively, and A(m, n) represents the pixel value of gray-scale image A at point (m, n). In this step, each component of the vector xj was mapped to [0, 1]. Hence, the weights of the three components were the same when calculating the vector distance.
Note: If only one component (pixel value) is used for clustering, the points with similar brightness will be classified into one class. However, this method has the following problems: if the brightness of noises in the image is similar to that of the foreground objects, then the noises and foreground objects cannot be distinguished, and different objects with similar brightness will be divided into one class. When the above three-dimensional vector is utilized for clustering, both the distance and brightness between each point are considered. The result is that points with similar brightness within a certain range are classified into one class, which is more consistent with the definition of the object in the image. This is an improvement of the FCM algorithm for clustering gray-scale images.
Step 2.2: Set the number of clustering categories to 20 and maximum iterations to 10;
Step 2.3: Randomly initialize clustering centers (v1, v2,…, v20), where vi ∈ [0, 1]3;
Step 2.4: Update the membership degrees according to Formula (3);
Step 2.5: Update the clustering centers according to Formula (4);
Step 2.6: Judge whether the maximum iterations are met. Return to Step 2.4, if the stop condition is not met;
Step 2.7: Point xj is divided into class i, i satisfies uij = max{u1j, u2j,…, ucj}.
Step 3. The OS-FCM algorithm calculates the image edge.
First, by using the structuring elements B1_D and B1_E, the fuzzy dilation DO(A, B1_D) and fuzzy erosion EI(A, B1_E) of the gray-scale image were calculated, respectively, to extract the edge of the buildings. In addition, by using the structuring element B2, DO(A, B2) and EI(A, B2) were calculated to extract the edges of people and camera frames. The values of structuring elements are as follows:
B 1 _ D = [ 0.9 0.9 0.9 0.9 1.0 0.9 0.9 0.9 0.9 ] B 1 _ E = [ 0.7 0.7 0.7 0.7 0.8 0.7 0.7 0.7 0.7 ] B 2 = [ 0.6 0.6 0.6 0.6 0.7 0.6 0.6 0.6 0.6 ]
Then, according to the fuzzy erosion and fuzzy dilation results calculated by two groups of the structuring elements, two kinds of the fuzzy edge images were calculated. The fuzzy edge images were defuzzed and binarized to get the binary edge images. Finally, according to the results of the FCM algorithm, the final binary edge image of the gray-scale image (Cameraman) was calculated.
Step 4. The OR-FCM algorithm calculates the image edge.
The edge extraction results of the gray-scale image (Cameraman) were calculated according to its compactness and existing gray-scale edge image (based on two fuzzy relations).
Step 4.1. The OR-FCM algorithm extracts the image edge according to compactness.
The fuzzy binary relation R1(x, y) was defined as follows:
R 1 ( x , y ) = { ( r ( y ) ρ ( x , y ) ) r ( y ) ,   if   0 < ρ ( x , y ) < r 0 ,   others
where R1(x, y) denotes the compactness of points x and y in radius r(y). When x = y, R1(x, y) = 1 is derived, while when ρ(x, y) ≥ r(y), R1(x, y) = 0 is obtained. In the experiment, r(y) = 4 when point y belongs to the foreground objects, and r(y) = 1.5 when point y belongs to the background.
First, the fuzzy erosion ER(A) and fuzzy dilation DR(A) were calculated by using the above-mentioned fuzzy relation R1. Then, the fuzzy edge image was calculated according to DR(A) and ER(A), and the fuzzy edge images were defuzzed and binarized to obtain the final binary edge image.
Step 4.2. The OR-FCM algorithm extracts the image edge according to the existing gray edge image.
The fuzzy binary relation R2(x, y) was defined as follows:
R 2 ( x , y ) = { 1 ,                   i f   ρ ( x , y ) = 0 max ( e d g e ( x ) , e d g e ( y ) , 0.75 ) ,     i f   0 < ρ ( x , y ) 1   a n d   y O b j e c t min ( e d g e ( x ) , e d g e ( y ) , 0.3 ) ,         i f   0 < ρ ( x , y ) 1   a n d   y B G 0 ,             i f   ρ ( x , y ) > 1
where the set Object and BG are the set of foreground points and background points of gray-scale image A classified by the FCM algorithm, respectively. As shown in Figure 7 (left), edge is the gray-scale edge image obtained by the existing algorithm. If one binarizes Figure 7 (left), the result is depicted in Figure 7 (right).
First, the fuzzy erosion ER(A) and fuzzy dilation DR(A) of gray-scale image A were calculated by using the above-mentioned fuzzy relation R2. Then, the fuzzy edge image was calculated according to DR(A) and ER(A), and the fuzzy edge images were defuzzed and binarized to obtain the final binary edge image.

5.2. Experiment Result

The FCM algorithm was used to cluster gray-scale image A, and the result is shown in Figure 8 after defuzzying. As can be seen from Figure 8, the FCM algorithm can distinguish well the foreground points and the background spots of the gray-scale image. Among them, the points in classes 2, 3, and 18 belong to the set Object, and the points in classes 1, 19, and 20 belong to the set BG.
The results of the OS-FCM algorithm extracting gray-scale image edges in data sets are shown in Figure 9. The OR-FCM algorithm used the fuzzy relations R1 and R2 to extract the gray-scale image edges in the data sets, and the results are displayed in Figure 10 and Figure 11, respectively. Additionally, the results of Algorithm 1 extracting gray-scale image edges in data sets are displayed in Figure 12. The Canny, Laplacian, Prewitt, Roberts, and Sobel operators were used to extract gray-scale image edges in the data sets, and the results are shown in Figure 13, Figure 14, Figure 15, Figure 16 and Figure 17, respectively.

5.3. Algorithm Evaluation

The most difficult problem in image edge extraction algorithms is to extract the edges of the foreground objects with similar brightness to noises without introducing noises. Therefore, the image edge extraction algorithms were comprehensively evaluated in relation to the following two aspects: whether more edges of the foreground objects can be extracted and the number of noises introduced while extracting the edges of the foreground objects.
By comparing the results of the OS-FCM algorithm, OR-FCM algorithm, and the other existing algorithms, it can be inferred that the results of the two proposed algorithms have complete edge information, such as the edges of the buildings in the Cameraman image and the edges of the scarf, pants, and tie stripes in the Barbara image. Although the Sobel operator can also extract complete edges of the image, it introduces a lot of noise. In the following, the concept of the noise introduction rate will be introduced to quantify the number of noises introduced by each algorithm when extracting image edges.
The black parts of the images shown in Figure 18 are set as the background of the images Cameraman, Lena, and Barbara. The intersection of the black areas in Figure 18 and the edge extraction results are called noise, and the ratio α defined below is called the noise introduction rate of the edge extraction:
α = S n S
where Sn is total area of noises and S denotes total area of the image.
The overlap functions O6 and O7 and fuzzy implications I1 and I2 used in the OS-FCM and OR-FCM algorithms are defined as follows:
O 6 = 2 x y 1 + x y ,   O 7 = min ( x , y ) , I 1 = { 1 ,   if   x y , y 2 x ,   o t h e r s , I 2 = { min ( 1 , 2 y 1 2 ( 2 x 1 ) + 1 2 ) ,   if   x ( 0.5 , 1 ] , y [ 0.5 , 1 ] , y ,   if   y [ 0 ,   0.5 ) ,   x > y , 1 ,   if   x [ 0 ,   0.5 ] ,   x y .
In the OS-FCM algorithm, the (I, O) pairs used to extract the background objects of the Cameraman, Lena, and Barbara images are (I1, O1,), (I1, O2), and (I1, O2), respectively. In the OS-FCM algorithm, different (I, O) pairs were used to extract the foreground edge of the gray-scale images. The noise introduction rates of each (I, O) pair to extract the edge of Cameraman, Lena, and Barbara images are presented in Table 1.
When the OR-FCM algorithm uses fuzzy relations R1 and R2, the noise introduction rate of each (I, O) pair to extract the edge of the Cameraman, Lena, and Barbara images are presented in Table 2 and Table 3.
When Algorithm 1, the Canny operator, the Laplacian operator, the Prewitt operator, the Roberts operator, and the Sobel operator are used to extract the edges of Cameraman, Lena, and Barbara, the noise introduction rates of each operator (algorithm) are presented in Table 4. There are some fluctuations in the noise introduction rate in Table 1, Table 2, Table 3 and Table 4. The reason is that the operators used in different algorithms are composed of different knowledge of grayscale images. By comparison, the average noise introduction rates of the OS-FCM and OR-FCM are lower than that of all other operators (algorithms). In addition, the OS-FCM and OR-FCM have a total of 45 groups of experiments, of which 44 groups of experimental results have lower noise introduction rates than the other six existing operators (algorithm). The experimental results demonstrate that the image edge extraction algorithms proposed in this work can extract more complete edges of the foreground objects and introduce less noise than classical algorithms and operators.
First, we introduced overlap functions, which are more suitable for image processing, into mathematical morphology operators, and proposed two groups of fuzzy mathematical morphology operators based on overlap functions (OSFMM and ORFMM). Secondly, the FCM algorithm was used to preprocess the gray image to obtain the position information of foreground objects and background objects. Different structure elements or binary relations were used for background points and foreground points, which further sharply expands the advantages of fuzzy morphological operators in edge extraction of gray images. The acquired results demonstrated that the image edge extraction algorithms proposed in this work can extract the complete edge of the foreground objects on the basis of introducing the least noise.
The operators used in the latest edge extraction algorithm [43] are very similar to the FMM operators. The addition and subtraction in these operators correspond to overlap functions and fuzzy implications, respectively. Overlap functions and fuzzy implications have the following advantages compared to addition and subtraction: better boundary conditions, nonlinearity, and most importantly, overlap functions can express the correlation between image and structure elements.

6. Conclusions and Future Work

In this paper, the FMM operators based on overlap functions and their application in image processing were systematically studied. First, the OSFMM operators were proposed based on the overlap functions and structuring elements. Compared with the FMM operators based on t-norm, the OSFMM operators have a wider value range and more suitable boundary conditions for image processing. On top of that, the continuity of the OSFMM operators is proved under certain conditions (this property can be applied to video image processing). By combining the OSFMM operators and the FCM algorithm, an OS-FCM algorithm for image edge extraction was proposed. Second, the ORFMM operators were proposed based on fuzzy relations and overlap functions. The shortcomings of the experiment, which use the existing FMM operators based on fuzzy relations, were pointed out. The flexibility of the ORFMM operator was fully exploited. The OR-FCM algorithm was proposed by combining the ORFMM operators and the FCM algorithm. Finally, by performing edge segmentation experiments of several standard images, it was found that OS-FCM and OR-FCM can not only extract the complete edge of the foreground objects, but also introduce the least noise compared with the existing relevant typical algorithms. It indicated that the two groups of FMM operators based on the overlap functions proposed in this work have obvious advantages in image edge extraction.
In future work, the mathematical characteristics and extensions of the two groups of fuzzy mathematical morphology operators proposed in this work will be discussed in depth (such as new morphological operators based on pseudo overlap functions and semi-overlap functions, related deep morphological networks, etc.). Moreover, some new results obtained from other papers (see [44,45,46,47]) will be applied to fuzzy mathematical morphology and medical images processing.

Author Contributions

Conceptualization, methodology, designing computer programs, X.Z.; writing—original draft preparation, designing computer programs, M.L.; writing—reviewing and editing, validation, H.L. All authors have read and agreed to the published version of the manuscript.

Funding

This study was funded by the National Natural Science Foundation of China (No. 12271319).

Data Availability Statement

All the data we used has been presented in the paper Figure 6.

Conflicts of Interest

No conflict of interest exist in the submission of this manuscript, and the manuscript is approved by all authors for publication. The work was original research that has not been published previously and is not under consideration for publication elsewhere, in whole or in part. All the authors listed have approved the manuscript that is enclosed.

References

  1. Bustince, H.; Fernandez, J.; Mesiar, R.; Montero, J.; Orduna, R. Overlap functions. Nonlinear Anal. Theory Methods Appl. 2010, 72, 1488–1499. [Google Scholar] [CrossRef]
  2. Dimuro, G.P.; Bedregal, B.; Bustince, H.; Asiáin, M.J.; Mesiar, R. On additive generators of overlap functions. Fuzzy Sets Syst. 2016, 287, 76–96. [Google Scholar] [CrossRef] [Green Version]
  3. Liu, H.; Zhao, B. New results on the distributive laws of uninorms over overlap functions. IEEE Trans. Fuzzy Syst. 2021, 29, 1927–1941. [Google Scholar] [CrossRef]
  4. Bustince, H.; Pagola, M.; Mesiar, R.; Hullermeier, E.; Herrera, F. Grouping overlap and generalized bientropic functions for fuzzy modeling of pairwise comparisons. IEEE Trans. Fuzzy Syst. 2012, 20, 405–415. [Google Scholar] [CrossRef]
  5. Jurio, A.; Bustince, H.; Pagola, M.; Pradera, A.; Yager, R. Some properties of overlap and grouping functions and their application to image thresholding. Fuzzy Sets Syst. 2013, 229, 69–90. [Google Scholar] [CrossRef]
  6. Qiao, J.; Hu, B.Q. On interval additive generators of interval overlap functions and interval grouping functions. Fuzzy Sets Syst. 2017, 323, 19–55. [Google Scholar] [CrossRef]
  7. Elkano, M.; Galar, M.; Sanz, J.; Bustince, H. Fuzzy rule-based classification systems for multi-class problems using binary decomposition strategies: On the influence of n-dimensional overlap functions in the fuzzy reasoning method. Inf. Sci. 2016, 332, 94–114. [Google Scholar] [CrossRef] [Green Version]
  8. Eslamipoor, R. A fuzzy multi-objective model for supplier selection to mitigate the impact of vehicle transportation gases and delivery time. J. Data Inf. Manag. 2022, 4, 231–241. [Google Scholar] [CrossRef]
  9. De Miguel, L.; Gómez, D.; Rodríguez, J.T.; Montero, J.; Bustince, H.; Dimuro, G.P.; Sanz, J.A. General overlap functions. Fuzzy Sets Syst. 2019, 372, 81–96. [Google Scholar] [CrossRef]
  10. Paiva, R.; Santiago, R.; Bedregal, B.; Palmeira, E. Lattice-valued overlap and quasi-overlap functions. Inf. Sci. 2021, 562, 180–199. [Google Scholar] [CrossRef]
  11. Zhang, X.; Wang, M.; Bedregal, B.; Li, M.; Liang, R. Semi-overlap functions and novel fuzzy reasoning algorithms with applications. Inf. Sci. 2022, 614, 104–122. [Google Scholar] [CrossRef]
  12. Zhang, X.; Liang, R.; Bustince, H.; Bedregal, B.; Fernandez, J.; Li, M.; Ou, Q. Pseudo overlap functions, fuzzy implications and pseudo grouping functions with applications. Axioms 2022, 11, 593. [Google Scholar] [CrossRef]
  13. Ripley, B.D.; Matheron, G. Random Sets and Integral Geometry; J. Wiley & Sons: New York, NY, USA, 1975. [Google Scholar]
  14. Serra, J. Image Analysis and Mathematical Morphology; Academic Press: London, UK, 1982. [Google Scholar]
  15. Bloch, I.; Heijmans, H.; Ronse, C. Mathematical Morphology. In Handbook of Spatial Logics; Aiello, M., Pratt-Hartmann, I., Van Benthem, J., Eds.; Springer: Dordrecht, The Netherlands, 2007. [Google Scholar]
  16. Franchi, G.; Fehri, A.; Yao, A. Deep morphological networks. Pattern Recognit. 2020, 102, 107246. [Google Scholar] [CrossRef]
  17. Wei, D.; Zhang, L.; Wu, Z.; Cao, X.; Li, G.; Shen, D.; Wang, Q. Deep morphological simplification network (MS-Net) for guided registration of brain magnetic resonance images. Pattern Recognit. 2020, 100, 107171. [Google Scholar] [CrossRef] [Green Version]
  18. Islam, M.A.; Murray, B.; Buck, A.; Anderson, D.T.; Scott, G.J.; Popescu, M.; Keller, J. Extending the morphological hit-or-miss transform to deep neural networks. IEEE Trans. Neural Netw. Learn. Syst. 2021, 32, 4826–4838. [Google Scholar] [CrossRef]
  19. Sussner, P.; Contreras, D.E. Generalized morphological components based on interval descriptors and n-ary aggregation functions. Inf. Sci. 2022, 583, 14–32. [Google Scholar] [CrossRef]
  20. Hu, Y.; Belkhir, N.; Angulo, J.; Yao, A.; Franchi, G. Learning deep morphological networks with neural architecture search. Pattern Recognit. 2022, 131, 108893. [Google Scholar] [CrossRef]
  21. Sinha, D.; Dougherty, E.R. Fuzzy mathematical morphology. J. Vis. Commun. Image Represent. 1992, 3, 286–302. [Google Scholar] [CrossRef]
  22. Bloch, I.; Maître, H. Fuzzy mathematical morphology. Ann. Math. Artif. 1994, 10, 55–84. [Google Scholar] [CrossRef]
  23. DE Baets, B.; Kerre, E.; Gupta, M. The fundamentals of fuzzy mathematical morphology part 1, basic concepts. Int. J. Gen. Syst. 1995, 23, 155–171. [Google Scholar] [CrossRef]
  24. DE Baets, B.; Kerre, E.; Gupta, M. The fundamentals of fuzzy mathematical morphology part 2, idempotence, convexity and decomposition. Int. J. Gen. Syst. 1995, 23, 307–322. [Google Scholar] [CrossRef]
  25. Bloch, I.; Maitre, H. Fuzzy mathematical morphologies: A comparative study. Pattern Recognit. 1995, 28, 1341–1387. [Google Scholar] [CrossRef]
  26. Deng, T.; Heijmans, H.J. Grey-scale morphology based on fuzzy logic. J. Math. Imaging Vis. 2002, 16, 155–171. [Google Scholar] [CrossRef]
  27. Bloch, I. Lattices of fuzzy sets and bipolar fuzzy sets, and mathematical morphology. Inf. Sci. 2011, 181, 2002–2015. [Google Scholar] [CrossRef]
  28. Sussner, P.; Nachtegael, M.; Mélange, T.; Deschrijver, G.; Esmi, E.; Kerre, E. Interval-valued and intuitionistic fuzzy mathematical morphologies as special cases of L-fuzzy mathematical morphology. J. Math. Imaging Vis. 2012, 43, 50–71. [Google Scholar] [CrossRef] [Green Version]
  29. Nachtegael, M.; Kerre, E.E. Classical and fuzzy approaches towards mathematical morphology. In Fuzzy Techniques in Image Processing; Studies in Fuzziness and Soft Computing, Physica; Kerre, E.E., Nachtegael, M., Eds.; Springer: Berlin/Heidelberg, Germany, 2000; Volume 52, pp. 3–57. [Google Scholar]
  30. González-Hidalgo, M.; Massanet, S. A fuzzy mathematical morphology based on discrete t-norms: Fundamentals and applications to image processing. Soft Comput. 2014, 18, 2297–2311. [Google Scholar] [CrossRef]
  31. González-Hidalgo, M.; Torres, A.M.; Ruiz-Aguilera, D.; Sastre, J.T. Edge-images using a uninorm-based fuzzy mathematical morphology: Opening and closing. In Advances in Computational Vision and Medical Image Processing. Computational Methods in Applied Sciences; Tavares, J.M.R.S., Jorge, R.M.N., Eds.; Springer: Dordrecht, The Netherlands, 2009; Volume 13, pp. 137–157. [Google Scholar]
  32. Gonzalez-Hidalgo, M.; Massanet, S.; Mir, A.; Ruiz-Aguilera, D. On the choice of the pair conjunction–implication into the fuzzy morphological edge detector. IEEE Trans. Fuzzy Syst. 2015, 23, 872–884. [Google Scholar] [CrossRef]
  33. Chaira, T. Fuzzy mathematical morphology using triangular operators and its application to images. J. Intell. Fuzzy Syst. 2015, 28, 2269–2277. [Google Scholar] [CrossRef]
  34. Bouchet, A.; Alonso, P.; Pastore, J.I.; Montes, S.; Díaz, I. Fuzzy mathematical morphology for color images defined by fuzzy preference relations. Pattern Recognit. 2016, 60, 720–733. [Google Scholar] [CrossRef]
  35. Madrid, N.; Ojeda-Aciego, M.; Medina, J.; Perfilieva, I. L-fuzzy relational mathematical morphology based on adjoint triples. Inf. Sci. 2019, 474, 75–89. [Google Scholar] [CrossRef]
  36. Nachtegael, M.; Sussner, P.; Mélange, T.; Kerre, E.E. On the role of complete lattices in mathematical morphology: From tool to uncertainty model. Inf. Sci. 2011, 181, 1971–1988. [Google Scholar] [CrossRef]
  37. Baczyński, M.; Beliakov, G.; Sola, H.B.; Pradera, A. Advances in Fuzzy Implication Functions; Springer: Berlin/Heidelberg, Germany, 2013. [Google Scholar]
  38. Dunn, J.C. A fuzzy relative of the ISODATA process and its use in detecting compact well-separated clusters. J. Cybern. 1973, 3, 32–57. [Google Scholar] [CrossRef]
  39. Bezdek, J.C. Pattern Recognition with Fuzzy Objective Function Algorithms; Plenum Press: New York, NY, USA, 1981. [Google Scholar]
  40. Zhang, L.; Luo, M.; Liu, J.; Li, Z.; Zheng, Q. Diverse fuzzy C-means for image clustering. Pattern Recognit. Lett. 2020, 130, 275–283. [Google Scholar] [CrossRef]
  41. Salah, M. Extraction of road centrelines and edge lines from high-resolution satellite imagery using density-oriented fuzzy C-means and nathematical norphology. J. Indian Soc. Remote Sens. 2022, 50, 1243–1255. [Google Scholar]
  42. Prasath, V.B.S.; Thanh, D.N.H.; Hung, N.Q.; Hieu, L.M. Multiscale gradient maps augmented fisher information-based image edge detection. IEEE Access 2020, 8, 141104–141110. [Google Scholar] [CrossRef]
  43. Wei, Y.; Zhang, G.; Zhou, C. Real-valued hemimetric-based fuzzy rough sets and an application to contour extraction of digital surfaces. Fuzzy Sets Syst. 2023, 459, 201–219. [Google Scholar]
  44. Zhang, X.; Liang, R.; Bedregal, B. Weak Inflationary BL-algebras and filters of inflationary (pseudo) general residuated lattices. Mathematics 2022, 10, 3394. [Google Scholar] [CrossRef]
  45. Zhang, X.; Sheng, N.; Borzooei, R.A. Partial residuated implications induced by partial triangular norms and partial residuated lattices. Axioms 2023, 12, 63. [Google Scholar] [CrossRef]
  46. Wang, J.; Zhang, X. A novel multi-criteria fecision-making method based on rough sets and fuzzy measures. Axioms 2022, 11, 275. [Google Scholar] [CrossRef]
  47. Liang, R.; Zhang, X. Interval-valued pseudo overlap functions and application. Axioms 2022, 11, 216. [Google Scholar] [CrossRef]
Figure 1. Method and model.
Figure 1. Method and model.
Fractalfract 07 00465 g001
Figure 2. Image of the overlap function O5 (two different angles).
Figure 2. Image of the overlap function O5 (two different angles).
Fractalfract 07 00465 g002
Figure 3. Application example of the OSFMM operators. (Left): Original image A; (Center): fuzzy dilation DO(A); (Right): fuzzy erosion EI(A). Note: For an overlap function O, y ≠ 0, x ≠ 0, there must be O(y, x) ≠ 0. However, for t-norm T, when x ≠ 0 and y ≠ 0, it is possible that T(y, x) = 0. For example, Lukasiewicz t-norm: T(y, x) = max(0, y + x − 1), where T(0.5, 0.5) = 0. If the morphology operators derived from this t-norm are applied to image processing, neither the membership degree of the structuring element nor the pixel value of the gray-scale image is 0. However, the result of fuzzy dilation is 0, which is not suitable for image processing.
Figure 3. Application example of the OSFMM operators. (Left): Original image A; (Center): fuzzy dilation DO(A); (Right): fuzzy erosion EI(A). Note: For an overlap function O, y ≠ 0, x ≠ 0, there must be O(y, x) ≠ 0. However, for t-norm T, when x ≠ 0 and y ≠ 0, it is possible that T(y, x) = 0. For example, Lukasiewicz t-norm: T(y, x) = max(0, y + x − 1), where T(0.5, 0.5) = 0. If the morphology operators derived from this t-norm are applied to image processing, neither the membership degree of the structuring element nor the pixel value of the gray-scale image is 0. However, the result of fuzzy dilation is 0, which is not suitable for image processing.
Fractalfract 07 00465 g003
Figure 4. Application example of the ORFMM operators. (Left): fuzzy dilation; (Right): fuzzy erosion.
Figure 4. Application example of the ORFMM operators. (Left): fuzzy dilation; (Right): fuzzy erosion.
Fractalfract 07 00465 g004
Figure 5. Experimental flowchart.
Figure 5. Experimental flowchart.
Fractalfract 07 00465 g005
Figure 6. Data sets. (Left): Cameraman; (Center): Lena; (Right): Barbara.
Figure 6. Data sets. (Left): Cameraman; (Center): Lena; (Right): Barbara.
Fractalfract 07 00465 g006
Figure 7. Gray-scale edge and binary edge of existing edge extraction algorithm.
Figure 7. Gray-scale edge and binary edge of existing edge extraction algorithm.
Fractalfract 07 00465 g007
Figure 8. Diagram of the FCM algorithm clustering results.
Figure 8. Diagram of the FCM algorithm clustering results.
Fractalfract 07 00465 g008
Figure 9. Edge extraction results of the OS-FCM algorithm.
Figure 9. Edge extraction results of the OS-FCM algorithm.
Fractalfract 07 00465 g009
Figure 10. Edge extraction results of the OS-FCM algorithm (using R1).
Figure 10. Edge extraction results of the OS-FCM algorithm (using R1).
Fractalfract 07 00465 g010
Figure 11. Edge extraction results of the OS-FCM algorithm (using R2).
Figure 11. Edge extraction results of the OS-FCM algorithm (using R2).
Fractalfract 07 00465 g011
Figure 12. Edge extraction results of the Algorithm 1.
Figure 12. Edge extraction results of the Algorithm 1.
Fractalfract 07 00465 g012
Figure 13. Edge extraction results of the Canny operator.
Figure 13. Edge extraction results of the Canny operator.
Fractalfract 07 00465 g013
Figure 14. Edge extraction results of the Laplacian operator.
Figure 14. Edge extraction results of the Laplacian operator.
Fractalfract 07 00465 g014
Figure 15. Edge extraction results of the Prewitt operator.
Figure 15. Edge extraction results of the Prewitt operator.
Fractalfract 07 00465 g015
Figure 16. Edge extraction results of the Roberts operator.
Figure 16. Edge extraction results of the Roberts operator.
Fractalfract 07 00465 g016
Figure 17. Edge extraction results of the Sobel operator.
Figure 17. Edge extraction results of the Sobel operator.
Fractalfract 07 00465 g017
Figure 18. Dataset foreground and background diagram.
Figure 18. Dataset foreground and background diagram.
Fractalfract 07 00465 g018
Table 1. Noise introduction rates of OS-FCM algorithm.
Table 1. Noise introduction rates of OS-FCM algorithm.
CameramanLenaBarbara
(I1, O2)0.74%3.02%1.00%
(I1, O1,)0.41%2.27%0.87%
(I1, O7)0.41%2.63%0.82%
(I1, O5)0.43%1.69%0.78%
(I1, O6)0.39%2.23%0.91%
average introduction rate0.48%2.37%0.88%
Table 2. Noise introduction rates of OR-FCM algorithm (R1).
Table 2. Noise introduction rates of OR-FCM algorithm (R1).
CameramanLenaBarbara
(I2, O2)0.56%4.84%0.05%
(I2, O1)0.65%3.08%1.02%
(I2, O7)1.05%3.20%1.03%
(I2, O5)0.55%2.97%0.58%
(I2, O6)0.49%2.34%0.42%
average introduction rate0.66%3.29%0.62%
Table 3. Noise introduction rates of OR-FCM algorithm (R2).
Table 3. Noise introduction rates of OR-FCM algorithm (R2).
CameramanLenaBarbara
(I1, O2)0.07%0.52%1.00%
(I1, O1)0.24%2.60%0.42%
(I1, O7)0.52%3.00%0.94%
(I1, O5)0.07%0.74%0.94%
(I1, O6)0.14%2.02%0.79%
average introduction rate0.21%1.78%0.82%
Table 4. Noise introduction rates of each algorithm (operator).
Table 4. Noise introduction rates of each algorithm (operator).
CameramanLenaBarbara
Algorithm 11.86%4.00%4.28%
Canny operator7.65%3.34%3.07%
Laplacian operator12.51%4.87%6.32%
Prewitt operator5.76%8.77%10.23%
Roberts operator3.11%6.95%6.15%
Sobel operator9.67%13.23%8.84%
Average of OS-FCM algorithm0.48%2.37%0.88%
Average of OR-FCM algorithm
(two fuzzy relations)
0.66%3.29%0.62%
0.21%1.78%0.82%
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Zhang, X.; Li, M.; Liu, H. Overlap Functions-Based Fuzzy Mathematical Morphological Operators and Their Applications in Image Edge Extraction. Fractal Fract. 2023, 7, 465. https://doi.org/10.3390/fractalfract7060465

AMA Style

Zhang X, Li M, Liu H. Overlap Functions-Based Fuzzy Mathematical Morphological Operators and Their Applications in Image Edge Extraction. Fractal and Fractional. 2023; 7(6):465. https://doi.org/10.3390/fractalfract7060465

Chicago/Turabian Style

Zhang, Xiaohong, Mengyuan Li, and Hui Liu. 2023. "Overlap Functions-Based Fuzzy Mathematical Morphological Operators and Their Applications in Image Edge Extraction" Fractal and Fractional 7, no. 6: 465. https://doi.org/10.3390/fractalfract7060465

Article Metrics

Back to TopTop