Multi Level Approach for Segmentation of Interstitial Lung Disease (ILD) Patterns Classification Based on Superpixel Processing and Fusion of K-Means Clusters: SPFKMC

During the COVID-19 pandemic, huge interstitial lung disease (ILD) lung images have been captured. It is high time to develop the efficient segmentation techniques utilized to separate the anatomical structures and ILD patterns for disease and infection level identification. The effectiveness of disease classification directly depends on the accuracy of initial stages like preprocessing and segmentation. This paper proposed a hybrid segmentation algorithm designed for ILD images by taking advantage of superpixel and K-means clustering approaches. Segmented superpixel images adapt the better irregular local and spatial neighborhoods that are helpful to improving the performance of K-means clustering-based ILD image segmentation. To overcome the limitations of multiclass belongings, semiadaptive wavelet-based fusion is applied over selected K-means clusters. The performance of the proposed SPFKMC was compared with that of 3-class Fuzzy C-Means clustering (FCM) and K-Means clustering in terms of accuracy, Jaccard similarity index, and Dice similarity coefficient. The SPFKMC algorithm gives an accuracy of 99.28%, DSC 98.72%, and JSI 97.87%. The proposed Fused Clustering gives better results as compared to traditional K-means clustering segmentation with wavelet-based fused cluster results.


Introduction
Segmentation of the image is a critical step for detecting early lung anomalies, diagnosis, and planning of therapy. e purpose of image segmentation is to separate nonconnected clusters of the image regions based on feature homogeneity, viz. color intensity, shape, texture, etc. Early diagnosis of disease encourages early treatment, which improves the opportunity for patient endurance. But during the pandemic of COVID-19, resource limitation has significantly delayed the routine diagnosis of lung patients. e nature of lung infections also has a great deal of interest and is highly required to be analyzed. Lung segmentation analysis and classification [1] can significantly help in the early diagnosis of disease patterns. e increasing threat of lung diseases like COVID is the major motivation for designing an efficient segmentation algorithm for higher level analysis or classification. Another motivation behind interstitial lung disease (ILD) research is the low survival time of an average 5 years for ILD patients. is shows the seriousness of designing the early diagnosis algorithm for these images.
ILD is a collection of diseases that induce progressive scarring of lung tissue. It is extremely common in India and worldwide, and it has a higher risk of mortality if not detected at early stages [1][2][3]. ILD is a case of chronic obstructive pulmonary disease (COPD), and is usually an umbrella term encompassing both chronic bronchitis and emphysema. e diagnosis of ILD diseases is a challenging task at hand. Clustering-based segmentation algorithms [4,5] are frequently adopted to differentiate clusters belonging to the same classes. A huge number of segmentation methodologies have been designed in the recent past. But still, there are certain issues to be addressed, taking ILD images into consideration.
High-resolution CT (HRCT) [1] imaging is the standard way of observing the patterns of lung alterations specifically in ILD images.
ere are various ILD patterns observed typically in HRCT images viz. Emphysema, healthy, fibrosis, ground glass, consolidation, and micro-nodules. Examples of these tissue patterns are shown in Figure 1. Among all fibrosis and consolidation, the serious and frequently found ILD cases need early detection. e typical flow for the detection of ILD images consists of preprocessing, segmentation, feature extraction, and classification stages. e objectives of preprocessing methods are intensity improvement, noise removal, and enhancement of an image. Segmentation is used for the extraction of features from the desired ROI (Region of Interest). e segmented ROI determined by lung segmentation is utilized to find infectious objects and boundaries within ILD images. erefore, medical image segmentation assumes a huge job in clinical diagnosis. Many image segmentation approaches [6][7][8][9] have been proposed in the past.
ere are certain algorithms which use segmented features for ILD pattern classifications. e classification of ILD patterns is a tough and complicated process. Most existing classification methods are a bit time consuming due to the use of supervised learning models. It is an open challenge to design a simple and easy way of efficient pattern classification by adopting unsupervised techniques. erefore, first, this paper aims to design an efficient segmentation approach by eliminating identified issues. en the simple and efficient correlation matching and parametric-based classification are presented using the segmented results. e segmentation of medical images is mostly implemented as an unsupervised problem. Our major concern in the paper is to increase the performance of clustering-based segmentation algorithms. Clustering is the process of segmenting patterns of the objects such that members of the same cluster are more correlated to each other, compared to members belonging to other clusters. Fuzzy-based clustering is a common and popular approach in literature. Fuzzy C -Means Clustering (FCM) is the most popular algorithm among the fuzzy clustering methods. e method is used for segmenting the images since it offers robustness to ambiguities and thus retains better information than conventional algorithms work over noise-less imaging environments. e nomenclature used for the study is described in Table 1. e remaining paper is sequentially organized as follows: the next section gives a brief overview of several existing segmentation and classification systems an ILD brief summary of literature is provided relevant to current work. Section 3 addressed various design challenges for ILD image segmentation. e proposed design frameworks are sequentially discussed in the modified system developed step by step in section 4; the results and discussion of segmentation and classification are presented in section 5. Futhermore, a comprehensive parametric performance-based comparison is provided, followed by the conclusions in the next section.

Review of Supervised Segmentation.
ere are various lung segmentation methods designed in recent times using supervised machine learning [14,15] techniques using texture features and a deep learning approach for segmentation of lung images [1]. But the method is computationally complex and needs accurate training data. e efficiency of segmentation and classification in supervised learning methods depends on the degree of closeness between quarry and training images. Usually, machine learning and decision tree-based segmentation approaches come under the category of supervised segmentation methodologies. [2] has introduced a deep learning algorithm for COVID-19inspired lung image segmentation extended to [16,17]. ey employed SegNet and the U-Net network to demonstrate deep learning-based infected tissue segmentation in lung images. However, learning-based approaches have a key drawback in that they require the training of image segmentation characteristics. Self-supervised autonomous lung image segmentation over the COVID-19 database has been described in [3], notably for age-related illnesses. For a deep learning system to be effective, the data sample size must be large. As a result, learning without supervision may be preferred, but research into this area is still ongoing. e authors in [4] described the review of different clustering and learning-based image segmentation methods. Among the different segmentation techniques, the Convolution Neural Network (CNN) is used in [5] for lung image classification and segmentation. e method was specifically designed for the of lung images. As [7] have presented the statistical classification approach for lung images.

Decision Tree Based Segmentation.
Textural features were used to create decision trees, which were subsequently used in the previously suggested method, according to [7]. e use of decision trees to select new informative signs resulted in higher accuracy. In [8], they have given excellent research on decision tree-guided segmentation for use in land coverage classification. However, it appears that the procedure is a little difficult to compute. Another drawback of learning algorithms is that their structures are susceptible to minor changes in data properties. As a result, not ideal for lung segmentation. As a result, it is deep learning-based methods have recently been chosen over decision tree approaches.

Review of Un-Supervised Segmentation.
e simplest of segmentation algorithms is to use global or variable thresholding-based [10,11] methods [5,6] these methods present the global segmentation based on the threshold selection approach. Researchers in [24] have performed segmentation based on thresholding over infrared thermal images. eir thresholding algorithm reduces the computational cost by locating the optimal threshold values. An approach described by the improved region of interest (I-ROI) segmentation technique for satellite images also enhances the contrast of the region by [25]. Proposed a new segmentation method [26] based on the conditional region growing [12,13] approach for mammographic images, but the method is dependent on the order of the pixels processed thus results may vary for medical images. Introduce improved region growing (IRG) method [27] to segment lung tumor with less time and more accuracy. In the [28] proposed a method of segmenting medical images based on neural networks (NN) and fuzzy connectedness. But, the performance of the fuzzy method is expected to vary with Figure 1: Different ILD patterns such as (a) healthy (b) emphysema (c) ground glass (d) fibrosis (e) consolidation (f ) micro-nodules.

Clustering Based Approaches.
Accurate segmentation is nearly impossible in real life due to the presence of noise.
ere are two basic types of clustering hard clustering (HC) and soft clustering (SC) [43]. Some of the soft clustering techniques are FCM (fuzzy c-means) [44] which is based on grouping on an objective function, which is the most widely used and popular technique, FCS (fuzzy c-shells) [45] and FLAME [46] which is used for large dataset; hard clustering categories such as K-means, which is low time complexity. Soft clustering approaches [44] include FCM, which is a more natural type of grouping. As a corollary, soft clustering techniques are ideal for image segmentation where strict division is not required. K-means clustering, as proposed [47], is included in Hard Clustering (HC). e high-accuracy adaptive K-means segmentation technique is a simple clustering approach that divides an image into a collection of clusters, with every pixel belonging to just one cluster. e disadvantage is that this method takes longer to execute. In other words, each pixel can only be assigned to one cluster. Membership functions containing values of 1 or 0 are used in these approaches, meaning that a pixel may belong to a given cluster or not.
ere are many approaches being proposed using the FCM and the K-mean-based clustering techniques as in [48][49][50][51]. K-mean clustering is widely used for medical image segmentation purposes. However, both K-means and FCM are vulnerable to noise because picture segmentation ignores the local spatial information of pixels. Clustering segmentation approaches frequently overlook spatial information, resulting in poor image segmentation results. In addition, the desired clusters may belong to multiple classes as k increases. And adoption of suitable cluster numbers is an open challenge for k mean cases. Many times wrong selection of clusters may lead to an empty cluster problem, although this issue can be resolved by reexecuting the algorithm.

Fuzzy Super Pixel Approaches.
On the other hand, superpixel can reduce the myriad of separate pixels in an image by replacing every pixel in a segment with the superpixel region's mean value [52,53]. Recently, we demonstrated a random forest (RF) and deep convolutional network-based segmentation method and have used multiscale superpixels features for pathological lung CT image segmentation [54]. ey evaluated performance based on statistical similarity indexes as parameters. Various researchers, on the other hand, have attempted to develop a strategy for accurately detecting critical ILD. erefore, this session presented the different segmentation approaches utilized for ILD images. In this study, superpixel technology is used to capture adaptive local spatial information at early stages of an algorithm. e use of traditional imaging tools to detect ILD is limited due to the fuzzy boundary and tiny size of the infected zone. FCM-based hybrid segmentation using the region-growing approach [55], but this approach may have a dependency on pixel selection. e impact of the motion artefacts on the HRCT images of the lungs [56]. In the [57], researchers presented a good review of the various approaches to ILD image pattern classification.
For segmentation, thFCM method is utilized [58], which takes fewer iterations to reach the global best solution Computational Intelligence and Neuroscience however, failing to segment images damaged by noise, the approach was demonstrated in the underwater imagery case. e diseases can be easily segmented with improved precision using the registration approach [59]. However, the highest border placement error may occur, and the technology can only be applied to clinical practices after extensive testing with numerous scans. Because of its shorter execution time and better accuracy, the model-based method was found to operate effectively in the presence of a diseased lung. A form model termed active contours or snakes [60], which are self-adapting and autonomous in their search for the smallest amount of energy, and may be used to follow dynamic objects in both temporal and spatial dimensions. Snakes, on the other hand, are prone to becoming caught in local minimum states, which necessitates a longer computation time. e K-mean clustering technique is presented based on FCM [61,62], which uses segmentation of the lung cancer images. But it develops anomalies and has probabilistic performance in segmentation. e unsupervised Bayesian segmentation approach was proposed [63]. e supervised FCN [64] base classification and segmentation approach is good, but the method needs good trading data knowledge.
Although many better methods handle the problem by incorporating local geographic data into the objective function, this increases computational complexity. Fortunately, superpixel [65,66] can fix the problem. Superpixel is an image preprocessing program that oversegments images into several small pieces. As [67] demonstrated, an entropy rate maximization based random walk and a graph cutdependent superpixel segmentation technique were introduced.
In an image, a superpixel zone is often defined as perceptually uniform and homogeneous patches [67]. For two reasons,superpixel can improve the efficacy and efficiency of image segmentation. On the one hand, Superpixel can presegment images using local spatial information. e presegmentation enhances the spatial data accessible in the immediate vicinity. In [68] have presented the linear spectral clustering-based image segmentation using the superpixel based approach. Some other segmentation methods are recently given in [69][70][71]. e wavelet-based fusion strategy has been presented [72] for increasing the quality of medical images. eir fusion method is suitable enough to be used in the current paper for cluster fusion. e summary of different ILD image segmentation and classification methods are given in Table 2.

Challenges of ILD Image Segmentation and Classification
Identification of ILD diseases is primarily based on the extraction of features using the segmentation of images. In spite of existing methods, it is still an open challenge to improve ILD segmentation efficiency. Since during the COVID-19 there is lot of changes in lungs patterns and identification is must. ese challenging ILD segmentation issues have been sequentially described in this section: (a) Acquisition Artefacts: ere are many artefacts [6] present in the ILD image during the image capturing time. ese artrfacts may be due to the hardening of metallic beams, unintentional patient motions, or variably of ILD image acquisition methodologies. ese artifacts make it difficult to accurately segment and analyze ILD lung patters. Many times, due to human motion, the captured HRCT images suffer from artifacts and blurriness [6]. Examples of motion artifact impact over segmentation quality are represented in Figure 3. e motion artifacts impacts are respectively represented by red, green, and orange boxes. It can be seen that the presence of the artifacts can significantly change the segmented content. us, it is mandatory to avoid the artifacts at the time of acquisition only. (b) Preprocessing: e efficiency of preprocessing approaches can directly impact on ILD classification. e preprocessing inaccuracy may lead to inaccurate segmentation of desired ILD patterns and in turn reproduce the inaccurate classification. e preprocessing stages can also be used for improving the contrast or for separation of the background of the ILD images. Sometimes, excessive contrast enhancement can produce the doubling effects in ILD segmented images. (c) Aging Impacts: e heterogeneity varies due to different age groups or pulmonary structures. erefore, the efficiency of the segmentation methods varies with different lung imaging datasets. Since aging significantly varies the ILD image patterns. (d) Structural Heterogeneity: e segmentation of the lungs is a very challenging problem due to the homogeneities in the lung region, pulmonary structures of similar densities such as arteries, veins, bronchi, and bronchioles. (e) Speed and uncertainty of clustering.
ere were many FCM-based segmentation approaches designed for performance improvement. e major challenge of clustering-based segmentation is the longer execution time, and due to the breaking up of local spatial features, may lead to uncertain segmented results. It means that, with the different local features of a database, the performance of FCMbased segmentations is uncertain. (f ) Multi Cluster Belongings: e C-Mean and the K-Mean clustering are the most widely used methods for segmentation. It is observed that the selection of the number of clusters for K-mean clustering is an open field of discussion. Since there is a significant probability that desired objects will belong to two or more clusters. us, selecting an optimum cluster is a challenging task. Many times, the clustered output does not contain the complete desired region. An example of multi-cluster Computational Intelligence and Neuroscience 5 belonging is shown in Figure 4. e desired object of interest is shown by the rectangle boxes showing the multi-cluster case. Desired features are distributed over clusters.
In this paper, all these challenges except the acquisition part are considered, and a systematic algorithm is designed to overcome the problems. e hybrid segmentation methodology is presented for the feature extraction and then the 2D correlation-based image classification/matching is presented as a case study on ILD classification.

Proposed Hybrid Fusion Based Segmentation
Paper proposed to design the efficient hybrid K-mean clustering approach with wavelet-based cluster fusion for efficiency improvement; the proposed method is a threephase approach as preprocessing, segmentation and postanalysis and classification as shown in the three rows diagram in Figure 5. In the first pre-processing stage, the paper proposed using the existing superpixel segmentation concept for background separation to obtain better local spatial information use, improving the quality of the clusteringbased segmentation region. It is suggested to convert the RGB image to lab color space before segmentation. In the second phase, K-means clustering approach is presented over a superpixel segmented image. Since K-means clustering depends on the global feature, the combination of superpixel and K-means clustering is able to improve image segmentation results. e paper computes a modified clustering algorithm based on the obtained superpixel image. But it is observed that local desired features may belong to multiple clusters. us, to improve the efficiency in the third phase, desired clusters are fused to improve the segmentation quality. en morphological processing is used to reproduce the color segmentation of the desired image features.

Super Pixel Calculation.
In the preprocessing for background separation, the paper uses Watershed to offer superpixel images using multi-scale morphological-based restoration. To address the problem, computational calculations based on changing the gradient image of the original image have been presented. Multi-scale morphological basis gradients reconstruction (MMGR) is a simple and effective approach for overcoming oversegmentation because it is able to retain object contour information while reducing noise and unnecessary gradient features. e following is an explanation of what morphological reproduction details where M Ɛ and M δ respectively, stand for the morphological erosion and dilation for reconstruction, and f stands for an original input image; i.e. the mask-based image, g stands for the marker image, and is the dilation operation. Since morphological-based erosion and dilation are multiple operators, they usually appear in pairs, such as morphological basis opening-closing operators. Although these operators have a more robust capability for extracting features or, on the other extreme, noise elimination, morphological opening and closing are more well-known than erosion and dilation. As a result, the morphological opening and closing-based reconstructions, represented by M O and M C , are distinguished as where the marker image g is generally considered as.
B is a structuring element (SE). Both and are able to remove region minima in a gradient image to reduce over segmentation.
To adjust the quantity of districts in the superpixel image and contour precision, a reasonable SE is required; however, it is hard to pick an appropriate SE for various images. M MC that is characterized as follows where r 1 and r 2 represent minima and maxima of r, r 1 ≤ r ≤ r 2 . By registering the point-wise maximum of these remade gradient images, a superb gradient image that eliminates the greater part of futile neighborhood minima while safeguarding significant edge details is obtained. Since a superpixel image conveys the spatial data of the image and diminishes the quantity of various colors, the superpixel image is better than an image quantized by clustering algorithms. Figure 6, gives the framework of the superpixel image as below.

K-Means Clustering.
One of the most widely used clustering methods is K-means clustering. e number of clusters is represented by K. is method's goal was to find the K-centroid for every cluster. Centroids were intelligently placed since a distinct location might yield a different outcome. Each point's data was linked to the closest centroid. When every point or pixel in the image had been considered, the iteration was finished. In each cycle, clustering center by centers were produced by remeasuring the known centroids. After obtaining k-new centroids, the data set point and the nearest new centroid needed to be assigned Computational Intelligence and Neuroscience 7 to their respective groups. e loop had been derived. e objective function is where, [X (j) i � input data values. C j � Center of the j th cluster. Kmeans Algorithm e clustering algorithm for the proposed K-mean segmentation is represented Algorithm 1.
Here we have to work with clusters 3 and 5 both. But the object details are in cluster 3 are more as compared to cluster 5, therefore cluster 3 selected. Figure 7, shows the result with cluster 5 and cluster 3. And also Figure 8, shows the resultant cluster images with cluster 5 and cluster 3 along with the original images.

Wavelet Based Fusion.
A wavelet-based picture fusion is used here. First, the wavelet transform is applied to images. en, using a set of fusion rules, a fusion decision map is created. e fusion decision map can then be used to create a fused wavelet coefficient map to use the wavelet coefficients of the input images. Finally, the inverse wavelet transform is employed to create the fused image. Due to their multiresolution properties, (DWT) based approaches have become popular; in this case, second level DWT was used. Pixel Level Maxima is the fusion method employed in this case (PLM). It's an image fusion technique based on intensity.

Computational Intelligence and Neuroscience
We operate directly on the luminance of individual pixels in this method. Let A (x, y) and B (x, y) are images to be fused. e decomposed low frequency sub images of A (x, y) and B (x, y) are lAJ (x, y) and lBJ (x, y). A decomposed high frequency subimages of A (x, y) and B (x, y) are hAj, k(x, y) and hBj, k (x, y). (j and k are the parameters of resolution, where j � 1,2,3, . . ..J for every j, and k � 1,2,3, . . ., k for every k) ere are different pixel level fusions methods like as: here, all the four subbands of the fused image F is simply formed by taking the wavelet coefficients from the source images that have the maximum value where lA j (x, y) and lB j (x, y) are low frequency subimages of A (x,y) and B (x,y). e algorithm performed for cluster fusion using wavelet-based fusion is represented in Algorithm 2. Figure 9 shows the basic flow of wavelet-based image fusion.
Here, the results obtained by K-means clustering consist of clusters up to 3. e images are fused into either cluster 1, 2 or cluster 2, 3 or cluster 1, 3 depending on the resultant images. ese images are fused using wavelet-based fusion with the Daubechies4 (db4) wavelet, as in most cases this wavelet gives good results. As the objects in cluster 1 and cluster 2 are fused using wavelet-based fusion, the resultant fused images are as shown in Figure 10.

Morphological Image
Processing. Morphological operations are used to remove imperfections introduced during segmentation. Numerical morphology is an apparatus of extricating image segments that is valuable in the representation and characterization of shape, such as, for example, boundaries, skeletons, and so forth.
Dilation Dilation is a process where the structuring element B is placed on the image A and it slides across the image, similar to a convolution. Steps involved in dilation: (1) On the off chance that the white pixel in the image harmonizes with the beginning of the organizing component, at that point there is no compelling reason to change; check the following pixel. (2) If the black pixel in the image coincides with the origin of the structuring element, then all the pixels covered by the structuring element are made black.
Notation: A⊕ B. e structuring element can take any shape. Erosion e erosion process is identical to dilation, but pixels are converted to "white" not "black." Steps involved in erosion: (1) On the off chance that the "white" pixel in the image agrees with the cause of the organizing component, at that point there is no compelling reason to change; check the following pixel. (2) If a "black" pixel in an image coincides with the origin of a structuring element and at least one of the "black" pixels falls over a white pixel, then the "black" pixel, is converted to "white." Notation: A Θ B e flow chart of the proposed hybrid cluster fusion based segmentation approach is shown in Figure 11. It can be observed that a cross correlation-based template matching algorithm is used at the end for pattern classification and verification. Computational Intelligence and Neuroscience 11

Experimental Setup and Performance Analysis
e experimental results for segmentation and classification are separately presented in this paper. e test ILD images used for the quantitative evaluation of the segmentation results are shown in Figure 12.
e first stage of the proposed algorithm is the preprocessing based on the superpixel based fast image segmentation.
e qualitative results of the superpixel segmentation [39] approach are shown in Figure 13 for the ILD images. It can be observed that the main advantage of superpixel segmentation is that the backgrounds of the image are completely eliminated.
is may tend to reduce the number of classes for segregation. But a major limitation of the superpixel based segmentation method is [53] that the desired ILD patterns are not properly segmented. Some of the features are in the ILD segmented patterns. us, using the superpixel based method independently is not suitable for classification of the ILD patterns. erefore, in this paper, superpixel segmentation is used as the preprocessing stage to eliminate the background.
Sequential results are shown for proposed hybrid Super Pixel-based Fused K-Mean Clustering (SPFKMC) method using the Morphological masking and are shown in Figure 14.
e first row of the sequential result shows the proposed method; it can be observed that the first two rows (a-f ) represents the preprocessing stage results of superpixel segmentation; the Row 3 and 4 as (g-l) represent the K-mean clustering-based segmentation using wavelet fusion. e last row (m-o) represents the sequential results of the morphological masking for color segmentation. Figure 15, shows the ILD images with different patterns and the resultant images by K-means clustering and proposed method.
For the quantitative analysis and evaluation, the paper uses a publicly available ILD database for validation [73]. e library contains 128 patients influenced by one of the 13 histological completions of ILDs; 108 image plains with more than 41 clarified lung tissue designs as well as an extensive arrangement of 99 clinical parameters identified with ILDs. Out of these ILD images, as shown in Figure 16 in this paper, 21 images of fibrosis, 16 images of consolidation, 16 images emphysema, 17 images of ground-glass and 21 images of micronodules categories are considered for analysis. erefore, a total of 91 ILD images were considered in this dataset with five patters as healthy, consolidation, emphysema, fibrosis, ground glass, micronodules, pattern images were considered for performance evaluation. As the images are in DICOM format, we have converted the images to JPG format. e image is resized to 240 × 320. en the image is segmented with K-means clustering, and the clusters 1, cluster 2 and cluster 3 are obtained. e object is found in which clusters are fused using wavelet-based fusion, after that the boundary is extracted and the output image is obtained. In the proposed method, before the Kmeans clustering, the image is a superpixel image obtained by morphological multi-scale inclination remaking with Watershed as a preprocessing stage. For quantitative evaluation, the paper compares the segmented output with the healthy image, which is considered the ground truth image. e result obtained with the proposed method removes the accurate boundaries, which is helpful for integrating adaptive neighboring information and reducing the number of different pixels in an image. Here we compare the segmented output with the ground truth images considered as the original image.
In order to evaluate the performance of our proposed method, we use accuracy, Jaccard similarity index (JSI) and Dice Coefficient Index (DCI). e Jaccard similarity index (JSI), also known as the Tanimoto coefficient, measures the overlap of two sets. It is defined as the size of the intersection of the sets divided by the size of their union. In other words, where A (segmented output) and B (ground truth) are the two sets. Like the JSI, the dice similarity coefficient (DSC) also measures set agreement. In this case, the measure is given by the formula of a set of A and B as is e quantitative evaluation of Algorithm 3 is performed experimentally to show results for parameters such as accuracy, JSI, and DSC and may tend to have a 5 to 10% variation in values. e values of JSI and DSC will be in the range of [0, 1] and higher values indicate better results in terms of segmentation accuracy. Table 3 below shows the comparison of performance parameters in terms of accuracy, JSI, and DSC for different segmentation techniques.
It can be clearly noted from Figure 17 that the average accuracy of the segmentation for the FCM approach is averaging at 96.39%, while accuracy with K-means has improved to an average range of 96.76%, while the proposed cluster fusion approach leads to an improved accuracy of around 99.2825%, with around 2.9% improvement over all the FCM approach. is statistical analysis justifies the quality of the segmentation results as quantitative measures. It can be observed that the accuracy is almost content for the proposed fusion approach, and this justifies the need and use of the wavelet fusion of clusters.
Similarly, the quantitative measures are compared in the form of a calculated JSI index shown in Figure 18. It is clear from the figure, that the average JSI for four categories of infected IDL patters is around 90.06%, 91.50%, and 97.8% respectively, for the FCM, K-mean and proposed fused cluster approaches. It is concluded from Figure 18 that compared to healthy images, FCM and K-mean clustering methods JSI index legs by around 8% and is not sufficient enough for classification. While the JSI index for the proposed fusion of the hybrid cluster approach is just less than 2% error compared to healthy images. e best JSI index is achieved for the fibrosis while the lowest index is offered for the micronodule patterns.
Similarly, the quantitative measures are compared in the form of DSC coefficients shown in Figure 19. It is clear from the figure that the average DSC for four categories of infected IDL patters is around 94.212%, 94.8%, and 98.723%, respectively, for the FCM, K mean and proposed fused cluster approaches. It is concluded from Figure 19 that compared to healthy images, Computational Intelligence and Neuroscience 13 (a) Computational Intelligence and Neuroscience 15 FCM and K-mean clustering methods DSC coefficient are off by around 2-3% error, while the proposed hybrid fusion-based segmentation approach offers the lower error rate of less than 1% compared to the healthy images case. us, these quantitative evaluations clearly justify the efficiency of the proposed algorithm over the existing approaches.

Results with Fusion
As the output obtained in cluster images by K-means clustering, as cluster1, cluster2 and cluster3 objects are found either in cluster1, cluster 2 or cluster 3. erefore, it is necessary to fuse the cluster images that contain the desired output. Figure 20 shows the results without fusion and with fusion, and it can be observed that the parameters get improved by using the proposed wavelet-based fusion. Figure 20, K-means clustering results with and without fusion for different ILD patterns. It can be clearly observed that by using fusion, one may significantly improve the parametric and segmentation performance. In particular, the JSI index is significantly improved by using the fusion approach. JSI increased by more than 8% for fibrosis, ground glass, and micronodules. e accuracy is increased by around an average of 2.05% over all database images. Similarly, the DSC index average increased by around 4%.
is in turn signifies the effectiveness of our proposed segmentation approach.
It is clear from the quantitative comparison presented in Figure 21 that proposed wavelet-based cluster fusion approach significantly improves the results by around 3% for the accuracy, 7-8% for JSI, and 5% for DSC for the segmented results. (1) Choose the number of clusters you want to find, which is k. In this we have used 3 number of clusters.
(2) Randomly assign the data points to any of the k clusters.     (1) Initialize parameters number of decomposition levels.
(2) Identify clusters containing desired output for fusion.

Conclusion
Lung segmentation is a very crucial and important step in the detection and diagnosis of lung disease, including ILD in its prior stages. As number of research works have been given by various authors for ILD segmentation and shown their effectiveness in different cases. Proposed a hybrid approach using a superpixel-based K-means clustering algorithm with wavelet-based fusion and morphological operations for the segmentation. e algorithm was tested on nearly 91 images of consolidation, emphysema, fibrosis, ground glass, micronodules, pattern categories. e preprocessing stage is performed by the superpixel approach. e segmentation stage is performed by FCM, K-means clustering, and other proposed algorithms. As segmentation with K-means clustering need to identify the object present in either cluster and combine required cluster by waveletbased fusion.
e results with fusion and without fusion show the fusion results are better in terms of accuracy, JSI, and DSC parameters. After that, postprocessing and classification are performed. e proposed SPFKMC algorithm (superpixel fusion based K-mean clustering) gives accuracy of 99.28%, DSC 98.72%, and JSI 97.87%. e results with the proposed method SPFKMC improved compared to the state-of-the art of K-means clustering and FCM for ILD image segmentation. e results actually demonstrate the superiority of the proposed SPFKMC algorithm.

Future Scope and Limitations.
e proposed algorithm is semiatomic as it requires a user interface to identify the object present in which cluster and give the number of clusters to be fused with a wavelet-based fusion technique. In the future, the algorithm can be compared with other segmentation techniques and classification methods.

Data Availability
Building a reference multimedia database for interstitial lung diseases. Depeursinge