Abstract
Medical image segmentation is an essential and challenging aspect in computer-aided diagnosis and also in pattern recognition research. This paper proposes a hybrid method for magnetic resonance (MR) image segmentation. We first remove impulsive noise inherent in MR images by utilizing a vector median filter. Subsequently, Otsu thresholding is used as an initial coarse segmentation method that finds the homogeneous regions of the input image. Finally, an enhanced suppressed fuzzy c-means is used to partition brain MR images into multiple segments, which employs an optimal suppression factor for the perfect clustering in the given data set. To evaluate the robustness of the proposed approach in noisy environment, we add different types of noise and different amount of noise to T1-weighted brain MR images. Experimental results show that the proposed algorithm outperforms other FCM based algorithms in terms of segmentation accuracy for both noise-free and noise-inserted MR images.
1. Introduction
Image segmentation plays a pivotal role in computer-aided diagnosis and therapy. The objective of image segmentation is to partition an image into nonoverlapping, constituent regions that are homogeneous with respect to some attributes such as intensity and texture [1]. The representative image segmentation methods are generally based on the following techniques: thresholding, clustering, and edge detection and region extraction [2]. In this study, a combination of both thresholding and fuzzy clustering techniques will be considered because thresholding finds out the uniform regions for fuzzy clustering that makes the clustering performance better.
For thresholding methods, it is necessary to convert an image to a binary image depending on threshold values that extract the objects from the background [3]. The most convenient and widely used technique is histogram thresholding that is based on the shape properties of the histogram. The image histogram has distinct peaks, with each peak corresponding to one distinct region, and the valleys as the threshold values for separating these regions [4, 5]. Thresholding-based segmentation algorithms are then generally efficient in terms of computational complexity when compared to other segmentation methods, and Otsu's clustering-based thresholding [6] is being one of the most representative methods for image segmentation.
In addition, fuzzy clustering has been widely studied and successfully applied in image clustering and segmentation [7]. Fuzzy c-means (FCM) clustering [8, 9], which is one of the basic methods of fuzzy clustering, is a soft segmentation method that has been used extensively to improve the compactness of the regions with its cluster validity and simple implementation. FCM depends on the Euclidean distance between pixels based on the assumption that each feature is of equal importance. However, in most real-world applications, features are not considered equally important. Thus, this assumption may seriously affect clustering performance. To improve the performance of FCM, many techniques have been proposed, such as rival checked FCM and suppressed FCM (SFCM), which integrates the hard c-means (HCM) and FCM in order to improve the convergence speed and clustering performance [10, 11]. Based on the advantages of thresholding and fuzzy clustering algorithms for image segmentation, some authors have proposed hybrid techniques combining various FCM-based methods with thresholding. Histogram thresholding using fuzzy theory was proposed by Tobias and Seara [12] in which thresholding was done according to the similarity between grey levels, and this similarity was accessed through a fuzzy measure. However, the application of this algorithm is limited based on the assumption that objects and background must occupy nonoverlapping regions. Chaabane Ben et al. proposed a hybrid method that combines automatic thresholding with FCM [13]. However, this technique yielded good results such that significant peaks and valleys are identified properly. Another hybrid approach was introduced by Tan and Isa, and it provided a good solution to overcome the FCM's sensitiveness to the initialization condition of cluster centroids and selection of the number of clusters by using the histogram thresholding [14]. This algorithm, however, has one drawback such that some flat portions of the histogram curves had been recognized as dominating peaks. To improve the performance of medical image segmentation, we propose a hybrid technique using Otsu thresholding and enhanced SFCM (EnSFCM). Furthermore, we reduce impulsive noise that is widely presented in magnetic resonance (MR) images by employing vector median filtering.
The rest of this paper is organized as follows. Section 2 introduces the proposed image segmentation approach and Section 3 presents experimental results of the proposed approach and well-known image segmentation algorithms. Finally, Section 4 concludes this paper.
2. Proposed Image Segmentation Framework
The proposed image segmentation approach consists of vector median filtering, Otsu thresholding, and EnSFCM, as shown in Figure 1.
In the first step, vector median filtering is utilized to reduce impulsive noise in medical images. Otsu thresholding is then employed for rough segmentation of brain MR images, and finally EnSFCM is applied to have well-segmented images. More details about the proposed approach are described in the following sections.
2.1. Vector Median Filter
It is easily to see impulsive noise in medical images which is independent and uncorrelated to the image pixels and is also randomly distributed over the image. In the case of magnetic resonance (MR) images, uncertainty is widely presented because of impulsive noise in the partial volume effects originating from the low resolution of sensors [11, 15]. With these reasons, impulsive noise inherent in brain MR images can result in low segmentation performance. Thus this paper utilizes a vector median filter (VMF) to remove impulsive noise in images. VMF is a vector processing operator that has been introduced as an extension of scalar median filter and preserves the image without getting blurred and no shifting of boundary [16]. It approaches the problem of noise reduction by searching the most robust vector in the processing window. The process to find the most robust vector is as follows.
Denote by I an image to be processed, and let W be the processing window centered on the pixel under processing of size N × N, N = 3, 5,7,…, and so forth. Let us consider that each input vector xi is associated with the distance measure,
(1) |
where γ represents the selected norm. The distance between two samples can be defined by
(2) |
where m is the distance of the vectors and xik is the kth element of xi. Thus distance Li serves as an ordering criterion of Lo ≤ L1 ≤ ⋯≤LN−1 which implies the same ordering of the input vectors. The VMF output of the set {x0, x1,…, xN} is defined as the sample xVMF ∈ {x0, x1,…, xN} that satisfies the following condition:
(3) |
2.2. Otsu Thresholding
The Otsu's algorithm is one of the most referenced thresholding methods to partition images by automatically selecting threshold values from the histogram of the image. To find threshold values, the Otsu's algorithm utilizes the variance property of the image because variance is the measure of uniformity; the greater value of variance represents the greater difference between the background and the object [4, 6]. Initially, two regions are separated by the intensity threshold, and then the optimal threshold is determined by minimizing the within-class variance or maximizing the between-class variance.
Assume that {Pi}i=0L−1 are the probabilities of the gray-level image histogram of an image, where L is the range of intensity levels. We can calculate the probabilities of background (PB) and the probabilities of object (PO) of the image with a threshold t as follows:
(4) |
The mean associated with the background and the object can be further calculated using the following equations:
(5) |
By using values of mean, we can compute variance as follows:
(6) |
The between-class variance (σbetween-class(t)) which is the weighted variance of the cluster means around the overall mean is defined as follows:
(7) |
where μ = ∑i=0L−1i · Pi is the global mean of the image. Furthermore, the within-class variance (σwithin-class(t)) can be expressed as follows:
(8) |
Finally, the optimal threshold value, topt, can be determined by maximizing the between-class variance or equivalently minimizing the with-class variance as follows:
(9) |
2.3. Enhanced Suppressed Fuzzy C-Means
Fuzzy c-means (FCM) is a data clustering algorithm in which data can belong to several groups based on the membership value, and it is one of the most prominent clustering techniques for image segmentation, feature extraction, and pattern recognition [9, 17]. However, the conventional FCM sometimes leads to accuracy degradation in segmentation. To solve this problem, suppressed FCM (SFCM) was proposed to improve the clustering performance as well as convergence speed, which introduces the suppression factor for establishing a relationship between hard c-means (HCM) and FCM clustering algorithms [10]. However, there is no general consensus that the suppression factor for SFCM is optimal in any sense or suitable for any given purpose. Thus, we propose an enhanced suppressed FCM (EnSFCM) to automatically select the suppression factor for SFCM. The selection procedure of the suppression factor, α, is based on the separation strength between clusters that is a time variant suppression rate. More details about EhSFCM are as follows.
Let X = {x1, x2, x3,…, xn} where n is the number of image pixels. The conventional FCM algorithm sorts the data set X into c clusters. The standard FCM objective function is defined as follows:
(10) |
where d2(xk, vi) is the Euclidian distance between the data point xk and the centroid vi of the ith cluster and μik is the degree of membership of the data xk to the kth cluster. The parameter m which is called the fuzzy factor controls the fuzziness of the resulting partition, (m ≥ 1), and c is the total number of clusters. FCM clustering is an iteration-based clustering technique that produces an optimal number of c classes by minimizing the objective function Jm(U, V) with updated values of μik and vi according to the following equations:
(11) |
SFCM modifies the membership function in FCM by utilizing the suppression factor as follows:
(12) |
where μpk refers to data point, xk belongs to the largest cluster p, and α is the suppression factor which ranges in the interval [0, 1]. SFCM then updates the value of vi with the new membership function. The pixel clustering iterations are terminated when the termination measurement max1≤i≤c||vit − vit−1|| < ε is satisfied, where vit are the current centroids for 1 ≤ i ≤ c, vit−1 are the previous centroids for 1 ≤ i ≤ c, and ε is a predefined termination threshold. To match the perfect clustering of the given data set, it is necessary to select an optimal suppression factor for SFCM. We define a new exponential function to select the optimal suppression factor, and it is automatically updated at each iteration:
(13) |
where vi is the centroid of the ith cluster, vj is the centroid of the jth cluster, and m is the degree of fuzzification. As mentioned before, selection of the suppression factor, α, is very essential for SFCM since higher values of α indicate that FCM is superior to HCM whereas lower values represent vice versa. It is evident that good clustering performance exhibits compact clusters by giving more distance between centroids. Likewise, both the fuzzification parameter and the suppression rate α influence the learning rate of the algorithms. Thus we intuitively selected mini≠j||vi−vj||2/m, illustrating the separation strength between the clusters and the fuzzy factor that signifies the fuzziness of the membership values for the clustered data points.
3. Experimental Results
This section evaluates the performance of the proposed approach. To evaluate the performance of the proposed approach, we set some empirical parameters. Bezdek et al. experimentally determined the optimal intervals for the degree of fuzzification (m) and the termination threshold (ε), which ranged from 1.1 to 5 and 0.01 to 0.0001, respectively [17]. In this paper, we selected m = 2 and the termination threshold to be 0.0001.
3.1. Segmentation Results for Gray Matter and White Matter
We evaluate the correctness of the segmentation using real brain scans with ground truth by expert segmentations obtained from the Internet Brain Segmentation Repository (IBSR) [18]. Figures 2(a)-2(b) and Figures 3(a)-3(b) show examples of two slices and the manual labeling provided by the IBSR, whereas the rest of the images illustrates the results of clustering by using FCM [9], MSFCM [11], FCMT [13], SFCM [19], and the proposed approach.
As indicated in the figures by a red mark, other FCM-based segmentation approaches miss considerable pixels in the red-marked region. On the other hand, the proposed approach successfully avoids this classification error. In addition to qualitative results, we quantitatively evaluate and calculate the segmentation accuracy of the proposed approach, which is described below.
3.2. Segmentation Accuracy
The performances of the proposed and other FCM-based approaches are compared with respect to the optimal segmentation accuracy [20], which is defined as the sum of the correctly classified pixels divided by the sum of the total number of pixels:
(14) |
where c is the number of clusters, Ai represents the set of pixels belonging to the ith cluster by the segmentation algorithm, and Ci represents the set of pixels belonging to the ith cluster in the reference segmented image. To evaluate the robustness of the proposed segmentation approach in noisy environment, we add different types of noise and different amount of noise to a T1-weighted brain MR image, shown in Figure 2(a). All test images are corrupted by 8% and 10% Gaussian noise, speckle noise, and 10% and 12% salt and pepper noise as shown in Figure 4. Figure 4 also shows segmentation results of the proposed and other FCM-based approaches.
Figure 5 presents the quantitative results of these segmentation approaches for noise-free and noise-inserted brain MR images. The proposed algorithm increases 3.92% (GM) and 3.87% (WM) of the segmentation accuracy for a noise-free brain MR image compared to the baseline performance, where we used the average value of the segmentation accuracy as a baseline. For noise-inserted images, the proposed algorithm achieves 6.79%–14.73% (GM) and 6.42%–17.03% (WM) improvements in the segmentation accuracy, which is significant in the field of image segmentation for diagnosis purpose.
4. Conclusions
This paper presented a hybrid medical image segmentation technique. In the preprocessing step, we utilized vector median filtering to reduce the influence of noise. We then produced rough-segmented images using the Otsu thresholding method. To obtain well-segmented images, we finally used the enhanced suppressed FCM algorithm of the proposed approach. To match the perfect clustering of the given data set, we defined a new exponential function to automatically select the suppression factor for the suppressed FCM. To evaluate the robustness of the proposed segmentation approach in noisy environment, we added different types of noise and different amount of noise to the T1-weighted brain MR image and calculated the segmentation accuracy. Experimental results showed that the proposed method outperforms other FCM-based algorithms in terms of segmentation accuracy for both noise-free and noise-inserted images.
Acknowledgments
This work was supported by the National Research Foundation of Korea (NRF) grant funded by the Korean government (MEST) (no. 2012-000496, 2012-0001727).
References
- 1.Gonzalez R, Woods R. Digital Image Processing. 2nd edition. Upper Saddle River, NJ, USA: Prentice-Hall; 2002. [Google Scholar]
- 2.Fu KS, Mui JK. A survey on image segmentation. Pattern Recognition. 1981;13(1):3–16. [Google Scholar]
- 3.Jayadevappa D, Srinivas Kumar S, Murthy DS. A Hybrid segmentation model based on watershed and gradient vector flow for the detection of Brain tumor. International Journal of Signal Processing, Image Processing and Pattern Recognition. 2009;2(3):29–42. [Google Scholar]
- 4.Prasantha HS, Shashidhara HL, Murthy KNB, Madhavi LG. Medical image segmentation. International Journal on Computer Science and Engineering. 2010;2(4):1209–1218. [Google Scholar]
- 5.Huang ZK, Xie YM, Liu DH, Hou LY. Using fuzzy c-means cluster for histogram-based color image segmentation. Proceedings of the International Conference on Information Technology and Computer Science (ITCS '09); July 2009; pp. 597–600. [Google Scholar]
- 6.Otsu N. A Threshold selecting method from gray-level histograms. IEEE Transactions on Systems, Man, and Cybernetics. 1979;9(1):62–66. [Google Scholar]
- 7.Tabakov M. A fuzzy clustering technique for medical image segmentation. Proceedings of the International Symposium on Evolving Fuzzy Systems (EFS '06); September 2006; pp. 118–122. [Google Scholar]
- 8.Dunn JC. A fuzzy relative of the ISODATA process and its use in detecting compact well-separated clusters. Journal of Cybernetics. 1973;3(3):32–57. [Google Scholar]
- 9.Bezdek JC. Pattern Recognition With Fuzzy Objective Function Algorithms. Berlin, Germany: Springer; 1981. (Advanced Applications in Pattern Recognition). [Google Scholar]
- 10.Fan JL, Zhen WZ, Xie WX. Suppressed fuzzy c-means clustering algorithm. Pattern Recognition Letters. 2003;24(9-10):1607–1612. [Google Scholar]
- 11.Hung WL, Yang MS, Chen DH. Parameter selection for suppressed fuzzy c-means with an application to MRI segmentation. Pattern Recognition Letters. 2006;27(5):424–438. [Google Scholar]
- 12.Tobias OJ, Seara R. Image segmentation by histogram thresholding using fuzzy sets. IEEE Transactions on Image Processing. 2002;11(12):1457–1465. doi: 10.1109/TIP.2002.806231. [DOI] [PubMed] [Google Scholar]
- 13.Chaabane Ben S, Sayadi M, Fnaiech F, Brassart E. Color image segmentation using automatic thresholding and the fuzzy c-means techniques. Proceedings of the IEEE Mediterranean Electrotechnical Conference (MELECON '08); May 2008; pp. 857–861. [Google Scholar]
- 14.Tan KS, Isa NAM. Color image segmentation using histogram thresholding Fuzzy C-means hybrid approach. Pattern Recognition. 2011;44(1):1–15. [Google Scholar]
- 15.Hadi MHA, Mortexza K, Hadi SY. Least mean square algorithm tuned by fuzzy C-means for impulsive noise suppression of gray-level images. International Journal of Signal Processing, Image Processing and Pattern Recognition. 2010;3(4):55–66. [Google Scholar]
- 16.Astola J, Haavisto P, Neuvo Y. Vector median filters. Proceedings of the IEEE. 1990;78(4):678–689. [Google Scholar]
- 17.Bezdek JC, Keller J, Krisnapuram R, Pal N. Fuzzy Models and Algorithms For Pattern Recognition and Image Processing. Berlin, Germany: Springer; 2005. [Google Scholar]
- 18.Internet Brain Segmentation Repository (IBSR)
- 19.Ali MA, Karmakar GC, Dooley LS. Image segmentation using fuzzy clustering incorporating spatial information. Proceedings of the International Conference on Computer and Information Technology; February 2004; pp. 878–881. [Google Scholar]
- 20.Chen L, Chen CLP, Lu M. A multiple-Kernel Fuzzy C-means algorithm for image segmentation. IEEE Transactions on Systems, Man, and Cybernetics, Part B. 2011;41(5):1263–1274. doi: 10.1109/TSMCB.2011.2124455. [DOI] [PubMed] [Google Scholar]