Next Article in Journal
A Perspective on Ethernet in Automotive Communications—Current Status and Future Trends
Previous Article in Journal
Closed-Loop Current Stimulation Feedback Control of a Neural Mass Model Using Reservoir Computing
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A New Smoke Segmentation Method Based on Improved Adaptive Density Peak Clustering

1
College of Information and Control Engineering, Xi’an University of Architecture and Technology, Xi’an 710055, China
2
Unmanned System Research Institute, Northwestern Polytechnical University, Xi’an 710072, China
*
Author to whom correspondence should be addressed.
Appl. Sci. 2023, 13(3), 1281; https://doi.org/10.3390/app13031281
Submission received: 27 October 2022 / Revised: 13 January 2023 / Accepted: 15 January 2023 / Published: 18 January 2023

Abstract

:
Smoke image segmentation plays a vital role in the accuracy of target extraction. In order to improve the performance of the traditional fire image segmentation algorithm, a new smoke segmentation method based on improved double truncation distance self-adaptive density peak clustering(TSDPC) is proposed. Firstly, the smoke image is over-segmented into multiple superpixels to reduce the time cost, and the local density of sample points corresponding to each superpixel is redefined by location information and color space information. Secondly, TSDPC combines the information entropy theory to find the optimal double truncation distance. Finally, TSDPC uses trigonometric functions to determine clustering centers in the decision diagram, which can solve the problem of over-segmentation. Then, it assigns labels to the remain sample points for obtaining the clustering result. Compared with other algorithms, the accuracy of TSDPC is increased by 5.68% on average, and the F 1 value is increased by 6.69% on average, which shows its high accuracy and effectiveness. In public dataset, TSDPC has also demonstrated its effectiveness.

1. Introduction

Image-based fire detection technology mainly includes key technologies such as fire image segmentation, feature extraction, fire judgment, and automatic fire extinguishing linkage. Fire image segmentation is the premise of fire feature extraction and recognition, and the segmentation result directly affects the accuracy of fire recognition. Therefore, the research of fire image segmentation technology is of great significance [1].
Popular fire segmentation algorithms include unsupervised fire smoke segmentation methods for infrared video [2,3], fire segmentation methods based on multi-feature fusion [4], and fire segmentation based on convolutional neural networks [5,6,7,8,9], among other methods. For example, literature [3] proposed an image-processing-based forest fire detection using infrared cameras; literature [4] proposed a mining fire warning model based on patrol robots and multi-sensor and image recognition; and literature [5] proposed a convolutional neural network (CNN)-based smoke detection and segmentation framework. These methods cover different data sources as well as different feature analysis approaches and have been widely used in smoke detection.
In the early stages of a fire outbreak, the smoke provides more timely potential information than flames [10]. Separating the target area from the background in the fire image is helpful for judging the location and hazard degree of the fire. Classical segmentation algorithms include threshold-based [11,12], region-based [13,14], and edge detection-based [15] segmentation algorithms. The threshold-based segmentation method usually only uses the pixel grayscale information of the image, does not consider the spatial correlation information between pixels, is easily affected by noise, and has poor anti-interference performance. Region-based segmentation methods tend to over-segment images. The segmentation method based on edge detection is simple and the detection speed is fast, but it is very sensitive to noise, so there will be problems such as edge blurring.
Compared with the traditional image segmentation algorithm, the high-efficiency cluster segmentation algorithm has the advantages of unsupervised learning and has achieved better results in image segmentation. Sipkens et al. [16] propose a new method for identifying soot aggregates in transmission electron microscopy images using k-means clustering. They employ background removal, denoising, and image texture measurement to preprocess the image, and then perform segmentation using rolling ball transform and K-means. However, this method has many processes and complicated technology. Zhao et al. [17] propose a novel neutrosophic image segmentation based on an improved fuzzy c-means algorithm (NIS-IFCM). They combine particle swarm optimization (PSO) and fuzzy c-means (FCM) to effectively remove image noise and make the boundaries of the segmented regions clearer. Abdullahhum et al. [18] propose CSFCM: an improved fuzzy c-means image segmentation algorithm using a collaborative approach. They use neural networks and Xie and Beni indices to determine the number of clustering centers, introduce a new meta-heuristic collaborative method to automatically determine the most suitable meta-heuristic parameters, and initialize the clustering centers. Armin Gorzary Osquie et al. [19] propose CGFFCM: clustering weights and group local feature-weight learning in a fuzzy c-means clustering algorithm for color image segmentation. They used an automatic cluster weighting scheme to reduce the sensitivity to initialization and adopted a group local feature weighting strategy to achieve better image segmentation. Yang et al. [20] propose an improved intuitionistic fuzzy c-means for ship segmentation in infrared images. They incorporate target probability information into intuitionistic FCM, using a regularized form of neighborhood information to preserve image details. This method can effectively segment infrared ship images, but it needs to manually determine the number of clusters, fuzzy factors, and other parameters. Sheng et al. [20] used a combination of SLIC and DBSCAN to achieve the segmentation of fire areas, combined with convolutional neural networks to identify fires. K-means and FCM are classic clustering algorithms, but they have many adjustment parameters and are prone to local optimal solutions. Liu et al. [21] propose an automatic segmentation of foveal avascular zone (FAZ) based on adaptive watershed algorithm in retinal optical coherence tomography angiography images. They analyze the relationship between the “dams” length and the maximum inscribed circle radius of FAZ, and propose an adaptive watershed algorithm to solve the problem of “over-segmentation”. Kang et al. [22] propose a lorenz curve-based entropy thresholding on circular histogram. They introduce the lorenz curve into circular histogram and use the entropy threshold of linearized circular histogram to select the best threshold.
Density Peak Clustering (DPC) [23] is a clustering algorithm that does not require iteration and it is widely used in image segmentation. Wang et al. [24] propose multi-center density peak clustering (McDPC). McDPC uses the assumption that the potential clustering centers are far apart to obtain representative data points and then combines the representative data points after classification. McDPC is used for image segmentation and facial recognition to obtain better experimental results. Liu et al. [25] propose a modified PageRank algorithm to compute the local density for each data point. In image segmentation, this algorithm achieves better experimental results than DPC. Zhou et al. [26] propose a linear fitting density peaks clustering algorithm for image segmentation (LDPC). They use a linear fitting method to choose clustering centers automatically; LDPC has better segmentation performance compared to DPC and K-means. Zhu et al. [27] propose medical image segmentation using fruit fly optimization and density peaks clustering. They combine DPC with the fruit fly optimization algorithm, which can automatically determine the clustering centers and truncation distance; in medical image segmentation, this algorithm has the advantages of fast convergence speed and good robustness. Guan et al. [28] propose peak-map-based fast density peak clustering for image segmentation (PGDPC). They use the KNN distance to calculate the local density and use a peak-map-based allocation strategy, which can quickly and accurately segment the image, but the number of DPC clustering centers needs to be manually selected. DPC has the advantages of fewer adjustment parameters, no need for an iterative solution, etc. However, the local density defined by the DPC algorithm does not consider the structural differences of high-dimensional data, and sometimes cannot truly reflect the local density of sample points; the truncation distance d c of DPC needs to be manually selected. If the truncation distance is too large or too small, the clustering effect will be worse; DPC needs to manually select the clustering center through the decision diagram. Many scholars have made improvements to the shortcomings of DPC [29,30,31,32,33].
In order to improve the segmentation accuracy of smoke images and find out the smoke regions accurately, a smoke segmentation method based on improved adaptive density peak clustering is proposed. TSDPC redefines the local density of the sample point through the density calculation equation and expands the density difference between the target area and the background. TSDPC obtains the optimal double truncation distance through information entropy theory. Then, TSDPC uses trigonometric functions to determine the number of clustering centers in the decision diagram.

2. Principle of Density Peak Clustering

The DPC algorithm is a density and distance-based clustering algorithm based on two assumptions: (1) The local density of sample points around the clustering center is low. (2) The distance between clustering centers is long [34]. After selecting the class center through the decision diagram, assign the non-clustering center samples to the category of the sample points with the larger density and the smallest distance until all the sample points are classified.
Suppose the dataset X = { x 1 , x 2 , x n } . For each data point, two parameters are calculated: local density ρ and distance δ from the higher density point.
(1)
Calculate the local density.
The calculation method of the local density   ρ i of the i t h   sample point is as follows:
ρ i = j = 1 n e x p ( ( d i j d c ) 2 )
where e x p ( · ) represents the Gaussian kernel function. d i j represents the Euclidean distance from the sample point x i to the sample point x j , d c is a truncation distance and needs to be defined by users. Usually, the truncation distance d c is the value around 2 % of the neighbors [23].
(2)
Calculate the relative distance.
δ i = { min ( d i j ) ,     ρ j > ρ i max ( d i j ) ,     ρ j ρ i
In Equation (2), δ i is the minimum distance from data point i to data point j with higher local density. When the local density of data point i is the largest, assign the maximum distance value to data point i .
(3)
Select clustering centers.
Draw a decision map based on the local density and distance of data points, and manually select data points with larger density and distance as clustering centers. On the decision diagram, the point with a higher local density ρ i   and larger distance δ i can be selected as the clustering center point, and the point with small ρ i and larger δ i can be regarded as an abnormal point. Then, the remaining data points are sequentially assigned to the cluster to which the data points with the higher local density and the closest distance belong.

3. Procedure of TSDPC

This paper proposes the TSDPC for smoke image segmentation. The overall flow of TSDPC is shown in Figure 1. The collected smoke images are used as the input of the algorithm, and the segmented smoke images are used as the output. Specific steps are as follows.
(1) Perform superpixel segmentation on the smoke image, grouping similar pixels into irregular blocks to simplify the representation of the image. The superpixel block is regarded as a sample point, and the local density ρ of the sample point is calculated. (2) Combined with information entropy theory, TSDPC obtains the optimal double truncation distance. (3) Using the knowledge of trigonometric functions, after TSDPC automatically selects the clustering centers, the segmentation of the smoke image is completed.

3.1. Redefinition of Sample Point Local Density

In order to simplify the representation of the image, the SLIC [35] is used to aggregate similar pixels in a small area to form irregular blocks, and image blocks are used instead of pixels as a basic unit in cluster analysis. SLIC is one of the most popular superpixel generation clustering algorithms used in many image segmentation tasks [36,37]. In this paper, the initial superpixel parameter n is 500.
When traditional DPC segment images, the commonly used feature space is the CIE-Lab color space [38]. The input is the n   superpixel blocks of the image, which are subsequently represented by n sample points, denoted by X = { x 1 , x 2 , , x m , x n }   .
When the traditional DPC algorithm divides the image, the calculated local density does not consider the structural difference of the image data, and only the color information of the image cannot truly reflect the density of the sample points. This paper redefines the density of the sample points by combining the CIE_Lab color space and position information. The local density equation of the sample points is as follows:
  d i j = D i j D m i n D m a x D m i n , d L a b _ i j = D L a b _ i j D L a b _ m i n   D L a b _ m a x   D L a b _ m i n
{ ρ i = j = 1 n e x p ( ( d i j d c ) 2 ) × χ ( d L a b _ i j )           χ ( d L a b _ i j ) = { 0 , d L a b _ i j > d i j 1 , d L a b _ i j   d i j
where D i j represents the distance in position between the i t h sample point and the j t h sample point. D L a b _ i j represents the distance in CIE_Lab color space between the i t h sample point and the j t h sample point. D m a x and   D m i n are the maximum and minimum values of D , and   D L a b _ m a x   and D L a b _ m i n are the maximum and minimum values of   D L a b . Normalize D i j   and D L a b _ i j to obtain d i j and d L a b _ i j . Where χ ( · ) indicates that the position information and CIE_Lab space distances together determine the density of sample points. As shown in Figure 2, C is the sample point to be calculated, the blue sample point E is its nearest neighbor, and the white sample point D is a non-neighbor and d c is its truncated distance. we suppose that the color and brightness information between adjacent sample points are quite different. In that case, even if the location difference between sample points is small, this point is not considered when calculating the local density.
In DPC [21], the density of sample point C is mainly determined by all sample points within the truncation distance d c . However, in Figure 2, the density of sample point C is mainly determined by the blue sample points within the truncation distance d c . Although sample point D is adjacent to sample point C, in the CIE_Lab space, the distance between the two is relatively large; thus, sample point D cannot determine the density of point C. Although sample point E is not adjacent to sample point C, its position and color space are within the truncation distance, so sample point E and other blue sample points jointly determine the density of sample point C.

3.2. Adaptation of Double Truncation Distance

Manual selection of truncation distance based on experience is one of the disadvantages of DPC. The local density redefinition in this paper is jointly determined by the location information and the CIE_Lab color space; thus, this paper will use the Hungarian mathematician Renyi in 1961 to propose an information entropy [39] that can measure the continuous random variable, and solve the optimal double truncation distance.
In information theory, information entropy is a systematic and orderly measurement method. The calculation equation of information entropy is as follows:
H = i = 1 n P i log P i
P i , in Equation (5), is the probability of the event I, and i = 1 n P i = 1 .
Before determining the density of sample points according to Equation (4), the truncation distance needs to be determined by information entropy.
TSDPC uses the information entropy theory to judge the clustering effect of the sample points. If the information entropy of the sample set is large, it means that the clustering effect of the sample set is poor; otherwise, it means that the clustering effect of the sample set is better. The information entropy of the sample set can be expressed as:
H = i = 1 n ρ i i = 1 n ρ i log ρ i i = 1 n ρ i
We respectively normalize the distances of all sample points in the CIE_Lab space and sort them in ascending order. Through Equations (4) and (6), the truncation distance gradually increases from 0 to 1 , and the interval is 0.05 , find the value of the minimum entropy corresponding to the abscissa, and use this value as the truncation distance of the sample point in the position and CIE_Lab space, respectively. The specific steps of the algorithm are shown in Algorithm 1.
Algorithm 1: Adaptation of double truncation distance
1: Input:  { x 1 , x 2 , , x m , x n } ;
2: For d c = 0 to 1 , interval is 0.05 , do
3:   Calculate the information entropy function and display the result in an entropy diagram;
4: end for
5: Find the double truncation distance corresponding to the minimum entropy value;
6: Output:   d c
The more similar the brightness and color of two superpixels in an image, the more similar the density between them. In this case, it is easier for two superpixels to be clustered into the same class. The location information and density of two superpixels in the image are similar, but the color and brightness information are quite different; thus, the two superpixels cannot be clustered into one class. We adopt Equation (7) to calculate the distance of the input sample points.
δ i = { min ( d L a b _ i j ) ,     ρ j > ρ i max ( d L a b _ i j ) ,     ρ j ρ i
where ρ i and ρ j are the local density of the i t h and j t h   sample points calculated by Equation (4). d L a b _ i j is calculated by Equation (3). Only when the local density ρ i   of the sample point is the maximum density, the distance δ i takes the maximum value of the distance of each sample point. If ρ i is not the maximum density, then the distance δ i is the sample point distance that is denser than it and has the smallest relative distance.

3.3. Automatic Selection of Clustering Centers

One of the disadvantages of the DPC algorithm is that it requires the manual selection of clustering centers. Before selecting the clustering center, it is necessary to calculate the decision value γ of each sample point, and then artificially select the sample point with a large value as the clustering center. The decision value γ is calculated by Equation (8).
γ = ρ δ
Usually, the decision value of the clustering center is much larger than the decision value of other sample points. According to this feature, this paper uses the sample point with the largest slope difference between the two straight lines as the number of clustering centers.
The decision values are normalized and processed in descending order. Figure 3 is a schematic diagram of the decision diagram, n   represents the total number of sample points, and γ represents the decision value of the sample point, in which there are 5 sample points; the decision value of sample point 1 is 1 , and the decision value of sample point 5 is 0 . The number of clustering centers is usually greater than one but less than the total number of sample points. We take these two points as fixed points and connect the intermediate sample points to obtain two straight lines. Then, we calculate the tangent value.
We calculate the absolute value of the tangent of the angle between the two straight lines and the horizontal line. In order to avoid the problem of too many clustering centers, it needs to be restricted, which is expressed as:
φ i = 1 ( i 1 ) 2 | | tan α | | tan β | | ( 1 < i < n )
where n is the total number of sample points, i is the number of sample points, and the number of sample points corresponding to the maximum value of φ is that of clustering centers. Algorithm 2 shows the adaptive selection of clustering centers. We normalize the decision values and process them in descending order, obtain a descending sequence { γ i } i = 1 n , presenting the decision values in a decision diagram with two auxiliary lines for each sample point in 2nd to n 1 st, respectively. Calculate the tangent value of the sample points and substitute it into Equation (9), then we obtain the sequence { φ i } i = 2 n 1 . Find the number of sample points corresponding to the largest value of φ in the sequence; { φ i } i = 2 n 1 is the number of adaptively selected clustering centers.
Algorithm 2: Automatic selection of clustering centers
1: Input: Decision value γ ;
2: Normalization: get a descending sequence { γ i } i = 1 n ;
3: Do the auxiliary line to get the tangent value;
4: For i = 2 to n 1 , do
5:  Calculate the φ   value and get the sequence { φ i } i = 2 n 1 ;
6: end for
7: Find the sequence number C corresponding to the maximum value in the sequence { φ i } i = 2 n 1 ;
8: Output: cluster center   C

4. Results

4.1. Experimental Design

The accuracy rate ( Acc ), precision rate ( P ), recall rate ( R ), and F-measure ( F 1 ) are used as the evaluation indicators.
Acc = ( N T P + N T N ) / ( N T P + N T N + N F P + N F N )
P = N T P / ( N T P + N F P )
R = N T P / ( N T P + N F N )
F 1 = ( 2 × P × R ) / ( P + R )
where the N T P   represents the number of pixels that are correctly segmented into the smoke area; the N F P is the number of pixels incorrectly segmented into the smoke area; the N F N is the number of pixels incorrectly segmented into the background area; the N T N is the number of pixels that are correctly segmented into the background.
In order to better verify the accuracy of TSDPC for fire smoke image segmentation, this paper also uses the mean intersection over union (mIoU) and volume overlap error (VOE) to evaluate the performance of the model. The larger the mIoU or the smaller the VOE, the better the segmentation effect. The mIoU is calculated by Equation (14).
mIoU = 1 k + 1 i = 0 k p i i j = 0 k p i j + j = 0 k p j i p i i
where, since each pixel in the image has a category label, we assume that the total number of categories is k + 1 , including k object categories and 1 background. p i j represents the number of pixels of category i predicted to be category j .
The VOE is calculated by Equation (15).
VOE = 1 V seg   V gt V seg   V gt
where V seg indicates the predicted smoke area; V gt indicates the real smoke area.

4.2. Results and Analysis

4.2.1. Parameter Analysis

The proposed TSDPC only needs one essential superpixel parameter, namely the initial number of superpixels. The results under the different number of superpixels are shown in Figure 4.
TSDPC can segment the smoke image to some extent by selecting different initial superpixels. Figure 4 are the smoke segmentation images for parameter analysis. As shown in Figure 5a,b, TSDPC do not perform well, due to the small superpixel parameter; the superpixel parameter is large, and the segmentation effect of TSDPC has little change. For image1 and image3, the effect increases first and then tends to stabilize. For image2, the effect fluctuates greatly, and it is best when the superpixel parameter is 500. For image4, the variation of Acc and F 1 are smooth. Therefore, we suggest that the initial superpixel parameter set in this paper is 500.

4.2.2. Self-Built Dataset

We collect 22 smoke images to evaluate them both subjectively and objectively, and six representative images are used to demonstrate the results of different methods in Figure 6. The objective evaluation is based on the manually marked smoke area.
A subjective evaluation can be observed from Figure 6 that TSDPC separates the smoke area from the background, which is more complete than the areas extracted by other algorithms. To verify the segmentation effect of TSDPC in smoke images, the TSDPC is compared with FCM, K-means, DPC, Watershed, and Mean Iteration Threshold (MIT), respectively. Both the TSDPC and the five comparison algorithms can segment the smoke area. In the first four smoke images in Figure 6, the DPC algorithm (Figure 6d) cannot completely segment the smoke region, and the edges of the segmented regions by other algorithms are not smooth enough compared with TSDPC (Figure 6g). In the last two smoke images in Figure 6, the segmentation results of the TSDPC and the DPC algorithm are better and closer. While other algorithms can segment most areas of smoke, they are severely affected by noise. In the 22 smoke images, the evaluation indicators data of five clustering algorithms such as TSDPC are shown in Table 1.
The P and R indicators are sometimes contradictory, so the indicator F 1   is needed to evaluate image segmentation accuracy. The results in Table 1 show that the TSDPC outperforms other segmentation algorithms proposed in this paper. Experimental data show that TSDPC has better segmentation quality. Compared with FCM, K-means, DPC, Watershed, and MIT, the accuracy of TSDPC is increased by 5.78%, 3.59%, 6.46%, 6.60%, and 5.95%, respectively; the F 1 value is increased by 6.02%, 3.67%, 9.32%, 7.72%, 6.70%, respectively.

4.2.3. Public Dataset

(1)
There are 143 smoke images and ground truth maps in the public dataset-1 (https://github.com/rekon/Smoke-semantic-segmentation accessed on 29 December 2022). To verify the segmentation effect of TSDPC in smoke images, the TSDPC is compared with PGDPC [28], PSO [40], respectively. The average results of each algorithm in the public dataset are shown in the following Table 2.
From Table 2, it is obvious that TSDPC is 19.17% and 12.13% higher than PGDPC in Acc and   F 1 , respectively. The difference between TSDPC and PSO on Acc is small, but TSDPC is 5.46% higher than PSO in   F 1 .
(2)
There are 400 smoke images and ground truth maps in the public dataset-2 (https://github.com/sonvbhp199/Unet-Smoke, accessed on 31 December 2022). The smoke images in this dataset have a more complex background environment than the previous smoke images. To further validate the segmentation effect of TSDPC in smoke images, TSDPC is compared with PGDPC [28] and PSO [40], respectively. The average results of each algorithm in the public dataset are shown in the following Table 3.
From Table 3, TSDPC has the smallest VOE, and it is obvious that TSDPC is 12.86%, 4.43%, and 10.02% higher than PGDPC in Acc ,   F 1 , and mIoU, respectively. TSDPC is 5.7%, 4.61%, and 4.28% higher than PSO in Acc ,   F 1 , and mIoU, respectively. In more complex public datasets, TSDPC achieves the best results compared to the other two methods.

4.2.4. Ablation Experiment

To fully illustrate the effect of the superpixel module in TSDPC on the segmentation effect of smoke images, ablation experiments are designed to verify the effectiveness of the superpixel module. Figure 7a shows the smoke images with 80 × 80   pixel.
Figure 7 shows that TSDPC with the superpixel module (Figure 7c) has more accurate segmentation results than Figure 7b. The Acc and   F 1 metrics of TSDPC are higher than those of TSDPC without the superpixel module. The computation time of TSDPC without the super pixel module is 2715 times longer than that of TSDPC with the super pixel module to obtain segmentation results within an acceptable time frame. Therefore, the super pixel module is valid for TSDPC.

4.3. Discussion

Usually, TSDPC divides the smoke image into two categories: foreground and background, but there are also cases where TSDPC divides the smoke image into three categories. As shown in Figure 8, the selection of the number of clustering centers affects the segmentation results. Figure 8b is the clustering result of TSDPC, which divides the smoke image into three categories. Figure 8c is the manual selection of two clustering centers, and the result does not separate the smoke area.

5. Conclusions

This paper proposes a novel smoke image segmentation method, named TSDPC. TSDPC redefines the local density of sample points by using position information and CIE_Lab spatial information, and obtains an adaptive double truncation distance based on the information entropy theory. After using the knowledge of trigonometric functions in mathematics to automatically select the clustering centers, the allocation of the remaining sample points is completed. Compared with DPC, the Acc and F 1 value of TSDPC are improved by 6.46% and 9.32%, indicating that TSDPC can overcome the problems of over-segmentation and low segmentation accuracy of smoke images. In the future, we will incorporate the unique information of smoke to improve the segmentation accuracy under complex scenes, such as small smoke areas.

Author Contributions

Conceptualization, Z.M. and L.S.; methodology, L.S.; software, Y.C.; validation, J.Z.; formal analysis, J.Z.; investigation, Y.C.; resources, Z.M.; data curation, F.H.; writing—original draft preparation, Y.C.; writing—review and editing, F.H. and L.S.; visualization, F.H.; supervision, Z.M. and L.S.; project administration, L.S.; funding acquisition, Z.M. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the Key Research and Development Project of Shaanxi Province (No.2020GY-186), and it was also funded by the National Natural Science Foundation of China (No.62276207).

Data Availability Statement

Data is unavailable due to privacy restrictions.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Ibragimov, A.; Pleteit, H.; Pille, C.; Lang, W. A Thermoelectric Energy Harvester Directly Embedded Into Casted Aluminum. Electron Device Lett. IEEE 2012, 33, 233–235. [Google Scholar] [CrossRef]
  2. Ajith, M.; Martínez-Ramón, M. Unsupervised Segmentation of Fire and Smoke from Infra-Red Videos. IEEE Access 2019, 7, 182381–182394. [Google Scholar] [CrossRef]
  3. Ya’Acob, N.; Najib, M.; Tajudin, N.; Kassim, M. Image Processing Based Forest Fire Detection using Infrared Camera. J. Phys. Conf. Ser. 2021, 1768, 012014. [Google Scholar] [CrossRef]
  4. Miao, K.; Ma, J.; Li, Z.; Zhao, Y.; Zhu, W. Research on multi feature fusion perception technology of mine fire based on inspection robot. J. Phys. Conf. Ser. 2021, 1955, 012064. [Google Scholar] [CrossRef]
  5. Khan, S.; Muhammad, K.; Hussain, T.; Del Ser, J.; Cuzzolin, F.; Bhattacharyya, S.; de Albuquerque, V.H.C. DeepSmoke: Deep Learning Model for Smoke Detection and Segmentation in Outdoor Environments. Expert Syst. Appl. 2021, 182, 115125. [Google Scholar] [CrossRef]
  6. Wang, Z.; Zheng, C.; Yin, J.; Tian, Y.; Cui, W. A Semantic Segmentation Method for Early Forest Fire Smoke Based on Concentration Weighting. Electronics 2021, 10, 2675. [Google Scholar] [CrossRef]
  7. Wen, J.L.; Burke, M. Wildfire Smoke Plume Segmentation Using Geostationary Satellite Imagery. arXiv 2021, arXiv:2109.01637. preprint. [Google Scholar]
  8. Cui, W. Semantic Segmentation and Analysis on Sensitive Parameters of Forest Fire Smoke Using Smoke-Unet and Landsat-8 Imagery. Remote Sens. 2021, 14, 45. [Google Scholar]
  9. Vieira, P. Real-Time Integration of Segmentation Techniques for Reduction of False Positive Rates in Fire Plume Detection Systems during Forest Fires. Remote Sens. 2022, 14, 2701. [Google Scholar]
  10. Sheng, D.; Deng, J.; Xiang, J. Automatic Smoke Detection Based on SLIC-DBSCAN Enhanced Convolutional Neural Network. IEEE Access 2021, 9, 63933–63942. [Google Scholar] [CrossRef]
  11. Gritzman, A.D.; Aharonson, V.; Rubin, D.M.; Pantanowitz, A. Automatic computation of histogram threshold for lip segmentation using feedback of shape information. Signal Image Video Process. 2016, 10, 869–876. [Google Scholar] [CrossRef]
  12. Siri, S.K.; Kumar, S.P.; Latte, M.V. Threshold-Based New Segmentation Model to Separate the Liver from CT Scan Images. IETE J. Res. 2020, 4, 4468–4475. [Google Scholar] [CrossRef]
  13. Cheng, Z.; Wang, J. Improved region growing method for image segmentation of three-phase materials. Powder Technol. 2020, 368, 80–89. [Google Scholar] [CrossRef]
  14. Borges, V.R.; de Oliveira, M.C.F.; Silva, T.G.; Vieira, A.A.H.; Hamann, B. Region Growing for Segmenting Green Microalgae Images. IEEE/ACM Trans. Comput. Biol. Bioinform. 2018, 15, 257–270. [Google Scholar] [CrossRef] [PubMed]
  15. Shang, R.; Lin, J.; Jiao, L.; Yang, X.; Li, Y. Superpixel Boundary-based Edge Description Algorithm for SAR Image Segmentation. IEEE J. Sel. Top. Appl. Earth Obs. Remote Sens. 2020, 13, 1972–1985. [Google Scholar] [CrossRef]
  16. Sipkens, T.A.; Rogak, S. Technical note: Using k-means to identify soot aggregates in transmission electron microscopy images. J. Aerosol Sci. 2021, 152, 105699. [Google Scholar] [CrossRef]
  17. Zhao, J.; Wang, X.; Li, M. A Novel Neutrosophic Image Segmentation Based on Improved Fuzzy C-Means Algorithm (NIS-IFCM). World Sci. Publ. Co. 2020, 34, 2055011. [Google Scholar] [CrossRef]
  18. Abdellahoum, H.; Mokhtari, N.; Brahimi, A.; Boukra, A. CSFCM: An improved fuzzy C-Means image segmentation algorithm using a cooperative approach. Expert Syst. Appl. 2021, 166, 114063. [Google Scholar] [CrossRef]
  19. Oskouei, A.G.; Hashemzadeh, M.; Asheghi, B.; Balafar, M.A. CGFFCM: Cluster-weight and Group-local Feature-weight learning in Fuzzy C-Means clustering algorithm for color image segmentationt. Appl. Soft Comput. 2021, 113, 108005. [Google Scholar] [CrossRef]
  20. Yang, F.; Liu, Z.; Bai, X.; Zhang, Y. An Improved Intuitionistic Fuzzy C-Means for Ship Segmentation in Infrared images. IEEE Trans. Fuzzy Syst. 2020, 30, 332–344. [Google Scholar] [CrossRef]
  21. Liu, J.; Yan, S.; Lu, N.; Yang, D.; Fan, C.; Lv, H.; Yu, Y. Automatic segmentation of foveal avascular zone based on adaptive watershed algorithm in retinal optical coherence tomography angiography images. J. Innov. Opt. Health Sci. 2022, 15, 2242001. [Google Scholar] [CrossRef]
  22. Kang, C.; Wu, C.; Fan, J. Lorenz Curve-Based Entropy Thresholding on Circular Histogram. IEEE Access 2020, 8, 17025–17038. [Google Scholar] [CrossRef]
  23. Rodriguez, A.; Laio, A. Clustering by fast search and find of density peaks. Science 2014, 344, 1492–1496. [Google Scholar] [CrossRef] [Green Version]
  24. Wang, Y.; Wang, D.; Zhang, X.; Pang, W.; Miao, C.; Tan, A.H.; Zhou, Y. McDPC: Multi-center density peak clustering. Neural Comput. Appl. 2020, 32, 13465–13478. [Google Scholar] [CrossRef]
  25. Liu, Q.; Zhang, R.; Liu, X.; Liu, Y.; Zhao, Z.; Hu, R. A novel clustering algorithm based on PageRank and minimax similarity. Neural Comput. Appl. 2019, 31, 7769–7780. [Google Scholar] [CrossRef]
  26. Zhou, Y.; Zhao, T.; Wang, Y.; Wu, J.; Zhou, X. A Linear Fitting Density Peaks Clustering Algorithm for Image Segmentation. Tehnicki Vjesnik 2018, 25, 808–812. [Google Scholar]
  27. Zhu, H.; He, H.; Xu, J.; Fang, Q.; Wang, W. Medical Image Segmentation Using Fruit Fly Optimization and Density Peaks Clustering. Comput. Math. Methods Med. 2018, 2018, 3052852. [Google Scholar] [CrossRef]
  28. Guan, J.; Li, S.; He, X.; Chen, J. Peak-graph-based fast density peak clustering for image segmentation. IEEE Signal Process. Lett. 2021, 28, 897–901. [Google Scholar] [CrossRef]
  29. Du, M.; Ding, S.; Xu, X.; Xue, Y. Density peaks clustering using geodesic distances. Int. J. Mach. Learn. Cybern. 2018, 9, 1335–1349. [Google Scholar] [CrossRef]
  30. Lv, Y.; Liu, M.; Xiang, Y. Fast Searching Density Peak Clustering Algorithm Based on Shared Nearest Neighbor and Adaptive Clustering Center. Symmetry 2020, 12, 2014. [Google Scholar] [CrossRef]
  31. Wang, S.; Li, Q.; Zhao, C.; Zhu, X.; Yuan, H.; Dai, T. Extreme Clustering—A Clustering Method via Density Extreme Points. Inf. Sci. 2021, 542, 24–39. [Google Scholar] [CrossRef]
  32. Sun, L.; Qin, X.; Ding, W.; Xu, J.; Zhang, S. Density peaks clustering based on k-nearest neighbors and self-recommendation. Int. J. Mach. Learn. Cybern. 2021, 12, 1913–1938. [Google Scholar] [CrossRef]
  33. Cai, J.; Wei, H.; Yang, H.; Zhao, X. A Novel Clustering Algorithm based on DPC & PSO. IEEE Access 2020, 8, 188200–188214. [Google Scholar]
  34. Bie, R.; Mehmood, R.; Ruan, S.; Sun, Y.; Dawood, H. Adaptive fuzzy clustering by fast search and find of density peaks. Pers. Ubiquitous Comput. 2016, 20, 785–793. [Google Scholar] [CrossRef]
  35. Achanta, R.; Shaji, A.; Smith, K.; Lucchi, A.; Fua, P.; Süsstrunk, S. SLIC Superpixels Compared to State-of-the-Art Superpixel Methods. IEEE Trans. Pattern Anal. Mach. Intell. 2012, 34, 2274–2282. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  36. Han, C. Improved SLIC imagine segmentation algorithm based on K-means. Clust. Comput. 2017, 20, 1017–1023. [Google Scholar] [CrossRef]
  37. Di, S.; Liao, M.; Zhao, Y.; Li, Y.; Zeng, Y. Image superpixel segmentation based on hierarchical multi-level LI-SLIC. Opt. Laser Technol. 2021, 135, 106703. [Google Scholar] [CrossRef]
  38. Sharma, G.; Wu, W.; Dalal, E.N. The CIEDE2000 color-difference equation: Implementation notes, supplementary test data, and mathematical observations. Color Res. Appl. 2005, 30, 21–30. [Google Scholar] [CrossRef]
  39. Renyi, A. On measures of entropy and information. In Proceedings of the 4th Berkeley Symposium on Mathematics, Statistics and Probability, Berkeley, CA, USA, 20 June–30 July 1960. [Google Scholar]
  40. Mousavi, S.M.H.; Victorovich, L.; Ilanloo, A.; Mirinezhad, S.Y. Fatty Liver Level Recognition Using Particle Swarm optimization (PSO) Image Segmentation and Analysis. In Proceedings of the 2022 12th International Conference on Computer and Knowledge Engineering (ICCKE), Virtual, 17–18 November 2022; pp. 237–245. [Google Scholar]
Figure 1. Flowchart of TSDPC.
Figure 1. Flowchart of TSDPC.
Applsci 13 01281 g001
Figure 2. Schematic diagram of sample point C density calculation.
Figure 2. Schematic diagram of sample point C density calculation.
Applsci 13 01281 g002
Figure 3. Automatic selection of clustering centers via tangent value calculation.
Figure 3. Automatic selection of clustering centers via tangent value calculation.
Applsci 13 01281 g003
Figure 4. Smoke images for parameter analysis.
Figure 4. Smoke images for parameter analysis.
Applsci 13 01281 g004
Figure 5. Relationship between the evaluation criteria ( Acc ,   F 1 ) and superpixel parameter on TSDPC.
Figure 5. Relationship between the evaluation criteria ( Acc ,   F 1 ) and superpixel parameter on TSDPC.
Applsci 13 01281 g005
Figure 6. Segmentation results of different algorithms. (a) Original image; (b) FCM; (c) K- means; (d) DPC; (e) Watershed; (f) MIT; (g) TSDPC; (h) Manually labeled image.
Figure 6. Segmentation results of different algorithms. (a) Original image; (b) FCM; (c) K- means; (d) DPC; (e) Watershed; (f) MIT; (g) TSDPC; (h) Manually labeled image.
Applsci 13 01281 g006
Figure 7. Segmentation results with and without superpixel module. (a) Smoke image; (b) no super -pixel module; (c) with superpixel module; (d) manually labeled image.
Figure 7. Segmentation results with and without superpixel module. (a) Smoke image; (b) no super -pixel module; (c) with superpixel module; (d) manually labeled image.
Applsci 13 01281 g007
Figure 8. TSDPC output image. (a) original smoke image; (b) TSDPC result map (the number of clustering centers is 3); (c) manually determine 2 clustering centers area.
Figure 8. TSDPC output image. (a) original smoke image; (b) TSDPC result map (the number of clustering centers is 3); (c) manually determine 2 clustering centers area.
Applsci 13 01281 g008
Table 1. Evaluation indicators of data statistics of six clustering algorithms (In %).
Table 1. Evaluation indicators of data statistics of six clustering algorithms (In %).
Method
Samples
FCM
{Acc, F 1 }
K-Means
{Acc, F 1 }
DPC
{ Acc , F 1 }
Watershed
{ Acc , F 1 }
MIT
{ Acc , F 1 }
TSDPC
{ Acc , F 1 }
1{95.36,89.07}{95.29,88.87}{90.09,72.74}{94.51,86.73}{95.41,89.19}{95.77,90.13}
2{95.06,90.86}{95.07,90.88}{87.50,72.95}{93.90,88.47}{95.06,90.86}{95.60,91.99}
3{96.61,96.63}{96.79,96.81}{80.25,76.40}{95.64,95.62}{96.23,96.23}{97.74,97.82}
4{93.51,93.61}{93.55,93.66}{76.78,72.70}{92.14,92.16}{93.11,93.19}{94.10,94.24}
5{96.02,96.24}{96.21,96.43}{78.07,74.95}{94.86,95.09}{95.04,95.27}{97.47,97.67}
6{93.13,92.87}{93.52,93.30}{89.52,88.69}{92.00,91.60}{92.97,92.70}{94.74,94.64}
7{97.89,90.12}{98.10,90.95}{97.96,90.32}{97.38,87.01}{97.88,90.01}{98.10,90.99}
8{93.33,84.76}{95.81,89.85}{95.73,90.03}{94.80,86.58}{94.92,87.58}{96.66,91.97}
9{43.67,42.86}{42.43,42.17}{94.07,84.61}{46.29,42.41}{32.62,29.37}{94.19,85.54}
10{97.70,89.07}{98.17,91.02}{97.77,88.53}{97.35,86.21}{97.70,89.07}{98.21,91.02}
11{95.87,95.86}{96.08,96.08}{78.15,73.18}{94.57,94.48}{93.72,93.54}{96.79,96.87}
12{93.53,93.18}{93.63,93.26}{93.02,92.81}{91.33,90.54}{93.18,92.69}{95.81,95.58}
13{93.53,92.73}{93.82,93.06}{74.69,62.90}{91.77,90.47}{93.29,92.40}{96.61,96.26}
14{95.87,94.32}{96.09,94.62}{93.79,91.06}{94.71,92.53}{95.65,93.95}{96.73,95.53}
15{96.01,94.16}{96.19,94.42}{91.89,88.32}{95.01,92.49}{95.83,93.82}{96.53,94.92}
16{95.96,92.53}{96.59,93.56}{96.93,93.92}{95.55,91.45}{96.17,92.81}{97.11,94.30}
17{52.30,43.08}{93.63,83.75}{92.87,82.25}{54.93,42.62}{64.09,49.39}{96.35,89.13}
18{93.20,88.33}{93.68,88.95}{93.91,89.41}{91.73,85.14}{91.93,87.00}{96.49,94.20}
19{98.06,98.34}{98.33,97.11}{96.51,97.13}{95.39,95.95}{98.06,98.34}{98.71,98.92}
20{96.42,97.11}{96.77,97.40}{96.27,97.12}{94.18,95.21}{96.42,97.11}{97.55,98.04}
21{94.91,95.37}{95.59,95.95}{97.34,97.65}{93.43,93.85}{94.97,91.66}{98.08,98.29}
22{92.97,92.36}{93.65,93.12}{92.83,93.17}{91.28,90.31}{92.97,92.36}{98.75,97.83}
Average{90.95,88.34}{93.14,90.69}{90.27,85.04}{90.13,86.64}{90.78,87.66}{96.73,94.36}
Table 2. Evaluation indicators data statistics of three clustering algorithms on the public dataset-1.
Table 2. Evaluation indicators data statistics of three clustering algorithms on the public dataset-1.
Methods A c c   F 1
PGDPC [28]45.57%39.14%
PSO [40]64.11%45.81%
TSDPC64.74%51.27%
Table 3. Evaluation indicators data statistics of three clustering algorithms on the public dataset-2.
Table 3. Evaluation indicators data statistics of three clustering algorithms on the public dataset-2.
Methods A c c   F 1 mIoUVOE
PGDPC [28]46.86%33.06%30.04%58.66%
PSO [40]54.02%32.88%35.78%52.98%
TSDPC59.72%37.49%40.06%49.15%
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

Ma, Z.; Cao, Y.; Song, L.; Hao, F.; Zhao, J. A New Smoke Segmentation Method Based on Improved Adaptive Density Peak Clustering. Appl. Sci. 2023, 13, 1281. https://doi.org/10.3390/app13031281

AMA Style

Ma Z, Cao Y, Song L, Hao F, Zhao J. A New Smoke Segmentation Method Based on Improved Adaptive Density Peak Clustering. Applied Sciences. 2023; 13(3):1281. https://doi.org/10.3390/app13031281

Chicago/Turabian Style

Ma, Zongfang, Yonggen Cao, Lin Song, Fan Hao, and Jiaxing Zhao. 2023. "A New Smoke Segmentation Method Based on Improved Adaptive Density Peak Clustering" Applied Sciences 13, no. 3: 1281. https://doi.org/10.3390/app13031281

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop