Abstract
The detection of multiple sclerosis lesion is important for many neuroimaging studies. In this paper, a new automatic robust algorithm for lesion segmentation based on MR images is proposed. This method takes full advantage of the decomposition of MR images into the true image that characterizes a physical property of the tissues and the bias field that accounts for the intensity inhomogeneity. An energy function is defined in term of the property of true image and bias field. The energy minimization is proposed for seeking the optimal segmentation result of lesions and white matter. Then postprocessing operations is used to select the most plausible lesions in the obtained hyperintense signals. The experimental results show that our approach is effective and robust for the lesion segmentation.
Keywords: Multiple sclerosis lesion, MR, Bias field, True image, Energy minimization
1 Introduction
Multiple Sclerosis (MS) is a chronic and inflammatory disease, which causes morphological and structural changes to the brain. MS could cause various central nervous system dysfunctions such as numbness or weakness of a limb, in coordination, vertigo or visual dysfunction. Therefore, it is very important for radiologists to accurately detect MS lesions and follow-up the numbers, locations, and areas of MS lesions for diagnosis of each patient [1].
Automatization of MS lesion segmentation is highly desirable with regard to time and complexity and visually vague edges of anatomical borders. Their shapes are deformable, their location and area across patients may differ significantly [2–5]. There are many automatic and semiautomatic approaches for brain segmentation [6, 7], Similar to those methods, the MS lesions segmentation approaches include a variety of methods such as region partitioning, markov random field model, adaptive outlier detection and feature extraction [8–11]. Wu et al. [12] proposed an intensity-based statistical k-nearest neighbor (k-NN) classification which combined with template-driven segmentation and partial volume artifact correction (TDS+) for segmentation of MS lesions subtypes and brain tissue compartments. Geremia et al. [13] proposed a multi-channel MR intensities (T1, T2, FLAIR), knowledge on tissue classes and long-range spatial context to discriminate lesions from background. Abdullah [14] proposed a trained support vector machine (SVM) to discriminate between the blocks in regions of MS lesions and the blocks in non-MS lesion regions mainly based on the textural features with aid of the other features.
In this paper, we proposed a novel algorithm for automatic lesion segmentation from MR images in an energy minimization and intensity information framework. This method is an extension of Li et al.’s algorithm in [15], which only segments the normal tissues from T1 W images. There are three main steps in our proposed method shown in Fig. 1. Skull stripping methods remove non-brain voxels from the image to simplify the following lesion segmentation. The BET method [16] which employed from the FSL library is used for skull stripping first, and then an energy minimization approach is proposed to segment Gray matter(GM) class and estimate the bias field from original images, finally lesion segmentation can be compute automatically from the intensity information of the GM class.
Fig. 1.

The proposed approach for fully automatic segmentation of MS lesions.
2 Method
2.1 Image Model
Base on a generally accepted MR image model [17], the intensity inhomogeneity in an MR image can be modeled as a multiplicative component of an observed image described by
| (1) |
where I(x) is the intensity of the observed image at voxel x, J(x) is the true image, b(x) is the bias field that accounts for the intensity inhomogeneity in the observed image, and n(x) is additive noise with zero-mean.
In this model, the true image J(x) is approximately a constant ci for x in the i-th tissue. We denote by Ωi the region where the i-th tissue is located. Each region (tissue) Ωi can be represented by its membership function ui, which satisfy .Given the membership functions ui and constants ci, the true image J can be approximated by
| (2) |
More generally, MS lesions are considered as the fourth type of tissue, in addition to GM, WM, and CSF. Therefore, the N is set to 4 here. Due to the partial volume effect, the fuzzy membership functions with values between 0 and 1 represent a soft segmentation result. It should satisfy
| (3) |
We represent the coefficients w1; …; wM, by a column vector w = (w1; …; wM)T, where (·)T is the transpose operator. The basis functions g1(x); …gM(x) are represented by a column vector valued function G(x) = (g1(x); …gM(x))T. Thus, the bias field b(x) can be expressed in the following vector form
| (4) |
The above vector representation will be used in our proposed energy minimization method for bias field estimation, which allows us to use efficient vector and matrix computations to compute the optimal bias field derived from the energy minimization problem [15].
2.2 Energy Formulation
According to [15], the energy minimization formulation can be defined as follows:
| (5) |
From Eqs. (2) and (4), the energy function F(u, c, w) is rewritten as:
| (6) |
In many applications, it is preferable to have fuzzy (or soft) segmentation results. To achieve fuzzy segmentation, we modify the energy function F in (6) by introducing a fuzzifier q ≥ 1 to define the following energy:
| (7) |
2.3 Energy Minimization
The energy minimization can be achieved by alternately minimizing F(u, c, w, q) with respect to each of its variables given the other two fixed. The minimizer of F(u, c, w, q) in each variable is given below.
Optimization of c
For fixed w and u = (u1; …; uN)T, the energy F(u; c; w) is minimized with respect to the variable c. Therefore, the estimated intensity mean of j-th tissue can be expressed as
| (8) |
Optimization of w
For fixed c and u, we minimize the energy F(u, c, w) with respect to the variable w. This can be achieved by solving the equation . It is easy to show that
| (9) |
where r can be given by
| (10) |
where S is an M × M matrix,
| (11) |
Given the solution of this equation , the vector can be explicitly expressed as
| (12) |
With the optimal vector given by (11), the estimated bias field is computed by
| (13) |
Optimization of u
By fixing c and w, the energy F(u; c; w) is minimized with respect to the variable u.
It can be shown that
| (14) |
Each variable is updated with the other two updated in the previous iteration. The optimizations of c, w and u are performed in an iterative process for minimizing the energy F(u, c, w, q).
2.4 Lesion Extraction
Lesions are hyperintense signals on the FLAIR sequence, therefore the intensity information is used to give a preliminary segmentation of the lesions which can be compute automatically from the properties of the GM class. Let Ω1 ⊂ ℜ2 be the GM domain. I: Ω1 ⊂ ℜ2 be a given gray level image. Lesions can be obtained as follows
| (15) |
| (16) |
| (17) |
where μlesion is mean of the GM domain, and σlesion is standard deviation of the GM domain,Slesion is the lesion segmentation results, β is a constant coefficient.
3 Result and Discussions
The proposed method has been tested on the images from University of Pennsylvania, section of biomedical image analysis (SBICA). There are 33 training cases which were provided with manual segmentation from different experts. The manual segmentations can be viewed as ground truth (GT) to evaluate the automatic lesion segmentations method.
3.1 Experiment Results
Our method has been validated with FLAIR image. We have tested our method on 33 real data sets. All of test data used in our method are the typical MR image with high level of intensity inhomogeneity and strong noise.
Figure 2 shows the process of lesion segmentation, lesions and white matter can be obtained by energy minimization, then lesions can be extracted from the intensity information of them. The normal tissue segmentation obtained by our method is not sufficiently accurate, as the contrast between white matter and gray matter in FLAIR images is very low. However, the errors in the normal tissue segmentation do not affect the satisfactory segmentation for MS lesions.
Fig. 2.

Result of applying the proposed algorithm to the image of a patient with moderate lesion load:(a), (d), (g) input image, (b), (e), (h) result of energy minimization, (c), (f), (I) result of lesion extraction
As it is seen from Fig. 3, there is a good correlation between the input image and the resulted image, although the input images have the obvious intensity inhomogeneity and noise, our method carries out the desirable lesion segmentation result. Moreover, the results of our method does not rely on the type and volume of MS lesion.
Fig. 3.

Result of applying the proposed algorithm to the image of a patient with moderate lesion load: (a), (c), (e), (g), (i), (k), (m), (o) input image, (b), (d), (f), (h), (j), (l), (n), (p) result of our method.
3.2 Quantitative Evaluation
The specificity [18] indicates the ability of the segmentation to identify negative results. The fewer the number of false positives (FP), the greater value the specificity of the segmentation. It is defined as
| (18) |
| (19) |
| (20) |
where TN is true negative, which is the number of voxels marked as non-MS in both sets, and FP is the false positive, which is the number of voxels only appeared in automatic segmentation. MS is the manual segmentations, and Seg is the segmentation result by our method.
We tested specificity, false negative rate for the 33 sets of flair MR images. The results of these indexes are listed in Table 1. It can be seen that the specificity value of our method to the 33 cases approaches 1 for the manual segmentation. Therefore, the lesion segmentation results from our method are similar to the manual segmentations for most of cases.
Table 1.
The detail index of our method with the manual segmentation
| Data | Specificity | Data | Specificity | Data | Specificity |
|---|---|---|---|---|---|
| Case 01 | 0.9632 | Case 12 | 0.9231 | Case 23 | 0.9349 |
| Case 02 | 0.9561 | Case 13 | 0.9364 | Case 24 | 0.9773 |
| Case 03 | 0.9374 | Case 14 | 0.9644 | Case 25 | 0.9441 |
| Case 04 | 0.9585 | Case 15 | 0.9531 | Case 26 | 0.9642 |
| Case 05 | 0.9433 | Case 16 | 0.9534 | Case 27 | 0.9586 |
| Case 06 | 0.9571 | Case 17 | 0.9413 | Case 28 | 0.9533 |
| Case 07 | 0.9587 | Case 18 | 0.9448 | Case 29 | 0.9444 |
| Case 08 | 0.9531 | Case 19 | 0.9537 | Case 30 | 0.9322 |
| Case 09 | 0.9634 | Case 20 | 0.9461 | Case 31 | 0.9541 |
| Case 10 | 0.9161 | Case 21 | 0.9277 | Case 32 | 0.9201 |
| Case 11 | 0.9264 | Case 22 | 0.9338 | Case 33 | 0.9101 |
Dice’s coefficient (DC) is used to measure the similarity of automatic segmentation results and ground truth. For two regions S1 and S2, Dice’s coefficient is defined as twice the shared information (intersection) over the sum of cardinalities, and calculated based on the similarity of lesion regions [19]. Even though the manual segmentations cannot be considered to be the same as ground truth, they are still a good way of comparing the automatic lesion segmentation. A larger DC value suggests a better automatic segmentation result.
| (21) |
From Fig. 4 we can see that the DC values between different parameter beta. It can be seen from this figure that the DC value of our method is higher with beta = 1.5 than those of other values.
Fig. 4.

The comparison of DC value based on the manual segmentation from different parameter values.
4 Conclusion
In this paper, we have presented a robust energy minimization algorithm for MS-lesion segmentation. Except the skull stripping, our method does not require other pre-processing steps for the input images. Experimental results on the real MR images have demonstrated the superior performance of our method in terms of segmentation accuracy and efficiency. Our method does not depend on the type and volume of lesions. Finally, we wish to extend our approach and apply it to other tasks and modalities in medical imaging.
Acknowledgments
This research was partly supported by National Natural Science Foundation of China(NSFC) under Grant No. 61302012 and No. 61172002, the Fundamental Research Funds for the Central Universities under Grant N130418002 and N120518001, and Liaoning Natural Science Foundation under Grant No. 2013020021.
References
- 1.Sivagowri S, Jobin Christ MC. Automatic lesion segmentation of multiple sclerosis in MRI images using supervised classifier. Int J Adv Res Electr Electron Instrum Eng. 2013;2(12):6081–6089. [Google Scholar]
- 2.Wallace CJ, Seland TP, Fong TC. Multiple sclerosis: the impact of MR imaging. Am J Roentgenol. 1992;158(1):849–857. doi: 10.2214/ajr.158.4.1546605. [DOI] [PubMed] [Google Scholar]
- 3.Truyen L. Magnetic resonance imaging in multiple sclerosis: a review. Acta Neurol Belg. 1994;94(1):98–102. [PubMed] [Google Scholar]
- 4.Guizard N, Coupe P. Rotation-invariant multi-contrast non-local means for MS lesion segmentation. NeuroImage Clinical. 2015;8:376–389. doi: 10.1016/j.nicl.2015.05.001. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 5.Nyquist PA, Yanek LR. Effect of white matter lesions on manual dexterity in healthy middle-aged persons. Neurology. 2015;84(19):1920–1926. doi: 10.1212/WNL.0000000000001557. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 6.Yang J, Tan W. Automatic MRI brain tissue extraction algorithm based on three-dimensional gray-scale transformation model. J Med Imaging Health Inf. 2014;4(6):907–911. [Google Scholar]
- 7.Zhaoxuan G, Wenjun T. An automatic partitioning method of CTA head-neck image. Proceeding of the 11th World Congress on Intelligent Control and Automation. 2014:3283–3285. [Google Scholar]
- 8.Akselrod-Ballin A. Automatic segmentation and classification of multiple sclerosis in multichannel MRI. IEEE Trans Biomed Eng. 2009;56(10):2461–2469. doi: 10.1109/TBME.2008.926671. [DOI] [PubMed] [Google Scholar]
- 9.Khayati R, Vafadust M, Towhidkhah F. Fully automatic segmentation of multiple sclerosis lesions in brain MR FLAIR images using adaptive mixtures method and markov random field model. Comput Biol Med. 2008;38(3):379–390. doi: 10.1016/j.compbiomed.2007.12.005. [DOI] [PubMed] [Google Scholar]
- 10.Derraz F, Pinti A. Multiple Sclerosis lesion segmentation using Active Contours model and adaptive outlier detection method. International Work-Conference on Bioinformatics and Biomedical Engineering. 2014:878–889. [Google Scholar]
- 11.Prastawa M, Gerig G. Automatic MS lesion segmentation by outlier detection and information theoretic region partitioning. MICCAI 2008 Workshop. 2008 [Google Scholar]
- 12.Wu Y, Warfield Simon K. Automated segmentation of multiple sclerosis lesion subtypes with multichannel MRI. NeuroImage. 2006;32:1205–1215. doi: 10.1016/j.neuroimage.2006.04.211. [DOI] [PubMed] [Google Scholar]
- 13.Geremia E, Clatz O. Spatial decision forests for MS lesion segmentation in multi-channel magnetic resonance images. NeuroImage. 2011;57(2):378–390. doi: 10.1016/j.neuroimage.2011.03.080. [DOI] [PubMed] [Google Scholar]
- 14.Abdullah BA. Segmentation of Multiple Sclerosis Lesions in Brain MRI. University of Miami; 2012. [Google Scholar]
- 15.Li C, Gore JC, Davatzikos C. Multiplicative intrinsic component optimization for MRI bias field estimation and tissue segmentation. Magn Reson Imaging. 2014;32:913–923. doi: 10.1016/j.mri.2014.03.010. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 16.Smith SM. Fast robust automated brain extraction. Hum Brain Mapp. 2002;17(3):143–155. doi: 10.1002/hbm.10062. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 17.Pham DL, Prince JL. Adaptive fuzzy segmentation of magnetic resonance images. IEEE Trans Med Imaging. 1999;18(9):737–752. doi: 10.1109/42.802752. [DOI] [PubMed] [Google Scholar]
- 18.Richard Sims VG, Isambert A. A pre-clinical assessment of an atlas- based automatic segmentation tool for the head and neck. Radiother Oncol. 2009;93:474–478. doi: 10.1016/j.radonc.2009.08.013. [DOI] [PubMed] [Google Scholar]
- 19.Gao J, Li C. Non-locally regularized segmentation of multiple sclerosis lesion from multi-channel MRI data. Magn Reson Imaging. 2014;32:1058–1066. doi: 10.1016/j.mri.2014.03.006. [DOI] [PMC free article] [PubMed] [Google Scholar]
