Abstract
Through fuzzy membership function, the fuzzy algorithm of image boundary detection based on power function can transform ordinary space into generalized fuzzy space. However, the algorithm has a large amount of operation and slow speed, and it will lose the boundary information of some low gray value in the image, thus the quality of the image boundary detection is poor. Therefore, a bilinear fast enhancement fuzzy algorithm for image boundary detection is proposed in this paper. Based on the defined generalized fuzzy set GFS and the generalized fuzzy operator LGFO, the linear left half trapezoid fuzzy distribution function is first used as the generalized membership transformation of the image.The general space of grayscale image is transformed into generalized fuzzy space, and then boundary detection algorithm based on bilinear fast image enhancement is used to transform color image into gray scale and transform to generalized fuzzy set. The generalized fuzzy operator LGFO is used to enhance the contrast of the generalized fuzzy sets. The generalized fuzzy set after the enhancement is transformed into an ordinary fuzzy subset. The boundary extraction is carried out for the ordinary fuzzy subset after processing, and the image boundary detection is realized. The experimental results show that the proposed algorithm greatly improves the speed and quality of image boundary detection.
Introduction
In 1965, L.A. Zadeh put forward fuzzy set theory. It is a software calculation tool to describe imprecise or uncertain problems, and it is used to study the problem of imperfections and inaccuracies in information system [1]. The generalized fuzzy set was proposed by Chen Wufan in 1995. Using the generalized fuzzy set theory, he proposed a new algorithm for image boundary detection, that is, the generalized fuzzy operator method (GFO).
In the field of image processing, boundary detection is a very important branch. It is often used in the fields of image segmentation and image analysis [2]. At present, there are many methods for image boundary detection, which are basically based on the theory of gray scale discontinuity.Usually a good image system should have a good match with the visual mechanism. So we want to use models and methods that can describe the visual characteristics of people. Generalized fuzzy set theory is an effective soft computing tool in artificial intelligence, pattern recognition and image processing and analysis. Generalized fuzzy set theory has been applied to image boundary detection successfully. The image boundary detection technology based on the generalized fuzzy set theory has also received more and more attentions [3]. A fuzzy algorithm for image boundary detection has been proposed by Pal et al.This method has achieved good results in X image’s boundary detection, but the algorithm uses fuzzy membership function in the form of power function to transform the ordinary space into generalized fuzzy space, with large amount of computation, slow speed [4], and the boundary information of part of the low gray value will be loss in image [5]. At the same time, when the algorithm is enhanced for image processing, the transform is also based on the nonlinear transformation of power function [6]. In this paper, the generalized fuzzy set (GFS) theory is used, to give a newlinear generalized fuzzy operator (LGFO) for image contrast in the fuzzy enhancement area, so that gives the image boundary detection based on bilinear fast fuzzy enhancement algorithm, greatly improving the speed and quality of boundary detection.
Methods
Generalized fuzzy set GFS and generalized fuzzy operator LGFO
r ∈ (0, 1) and t ∈ (0, r / 2) are adjustable parameters, and according to definition 4, LGFO is proved to have the following properties:
According to the property 1–4, we can see that the formula (1) can play a role of enhancing the contrast of the image region [11].
The following Fig. 1 is the curve of

The curve of
In order to make the image enhancement of the gray image
The linear generalized membership transformation LT (x
ij
) of the image is as follows:
Where, 0 < M ≤ (xmax - xmin)/ - 2 is the adjustable parameter, xmax and xmin are the maximum and the minimum of the pixel value respectively. It is not difficult to prove that the generalized fuzzy set P = (p ij ) after the P = (p ij ) transformation satisfies P = (p ij ).
To sum up, for image I, the latest algorithm of a bilinear fast fuzzy enhancement for image boundary detection is as follows:
The gray level of the color image.
If the image I is a color image, that is, I = (R
ij
, G
ij
, B
ij
), (R
ij
, G
ij
, B
ij
)∈ { 0, 1, ⋯, 255 }, i∈ { 1, 2, ⋯, m } and j∈ { 1, 2, ⋯, n }, the RGB bitmap is needed to be converted to a gray scale I = (x
ij
). The specific method is x
ij
= 0.29900 • R
ij
+ 0.58700 • G
ij
+ 0.11400 • B
ij
. Where, x
ij
∈ { 0, 1, ⋯, 255 }, i∈ { 1, 2, ⋯, m }, j∈ { 1, 2, ⋯, n } which represents the gray value of each pixel; R
ij
, G
ij
, and B
ij
represent the red, green and blue color components of each pixel, respectively.
Generalized fuzzification of grayscale images.
For the gray image The enhancement processing of the generalized fuzzy set.
For the generalized fuzzy set P = (p
ij
), the generalized fuzzy set P = (p
ij
) ∈ [- 1, 1] is transformed to the ordinary fuzzy set The gray level of the ordinary fuzzy set.
For the ordinary fuzzy set
The flow chart of the boundary detection algorithm based on bilinear fast image enhancement is shown in Fig. 2.

Flow chart of boundary detection algorithm based on bilinear fast image enhancement.
Result detection by the proposed algorithm
A pair of color image with 1024 pixel×768 pixel is selected for the experiment. Because the size of the original image is too large, it is not suitable for image processing, it is reduced to 128 pixels×96 pixels. Figure 3 shows the original color images, the grayimages and boundary contourimagesfor the experiment. Table 1 enumerates the influence of different parameters r and f of the linear generalized fuzzy enhancement operator LGFOin the proposed algorithm on the experimental results. Figures 4–17 gives corresponding experimental results.

Color image and its gray image and boundary contour image.

NO.1 experimental results.

NO.2 experimental results.

NO.3 experimental results.

NO.4 experimental results.

NO.5 experimental results.

NO.6 experimental results.

NO.7 experimental results.

NO.8 experimental results.

NO.9 experimental results.

NO.10 experimental results.

NO.11 experimental results.

NO.12 experimental results.

NO.13 experimental results.

NO.14 experimental results.
Experimental results using different paraments r and f in LGFO, respectively
Note: xmin = 0, xmax = 255, 0 < D ≤ 127.5.
As shown in Table 1, when the different values of parameter r and f of the linear generalized fuzzy enhancement operator LGFO are selected, the best D value D
best
, the maximum Q value Qmax, the image noise standard deviation σ value and the image detectable boundary degree R value will be obtained. As for the selection of r and f, which is more reasonable, it is illustrated by the experimental results in Figs. 4–17, including: enhanced images and its boundary contour images, The value near 0.3 is selected for r; The value near 0.1 is selected for f.
Another linear generalized membership transformation function is given, which is defined as:
In the formula,
The performance of the proposed algorithm is compared with the performance of other algorithms, as shown in Table 2. Among them, the test image is gray scale image with the pixel of 1024×768×256, and the computer is configured as PIV 1.6 GHz/256 M/32 M/60 G, and the software is IL6.0 (because the speed IDL6.0 of running program is 1–4 times faster than that of Mat-Lab6.5, IDL6.0 is selected). Analysis Table 2 can see that compared with the other three algorithms, the proposed algorithm has the highest speed and can extract the detail boundary of image, and there is no loss of grayscale information.
Comparison table of performance indicators of this algorithm and other algorithms
Comparison table of performance indicators of this algorithm and other algorithms
In order to solve the disadvantages of traditional image boundary detection algorithm based on power function, such as the large amount of computation and the poor quality, a bilinear fast enhancement fuzzy algorithm for image boundary detection is proposed in this paper. First, the ordinary space of the gray image is converted into a generalized fuzzy space, and then the boundary detection algorithm is enhanced by the bilinear fast image enhancement. By using the generalized fuzzy operator LGFO, the generalized fuzzy set GFS is carried out the regional contrast enhancement. The enhanced generalized fuzzy sets are transformed into ordinary fuzzy subsets, and the boundary extraction of the processed ordinary fuzzy subsets greatly enhances the efficiency and quality of image boundary detection, and has important application value.
Footnotes
Acknowledgments
This work was supported by the National Natural Science Foundation of China (No.51778050) and the Technology Research and Development project of China Railway (No.2017G002-H).
