magnetic resonance imaging ( mri ) permits to assess tissue abnormalities in vivo and approximate histopathological changes of the multiple sclerosis ( ms ) disease ( ganiler et al . , 2014 ; kearney et al . , 2014
several studies have shown that the percentage of change in brain atrophy tends to correlate with the progression of the disease ( prez - miralles et al . , 2013 ; sormani et al . , 2014
moreover , changes in gray matter ( gm ) atrophy are observed independently from white matter ( wm ) , and hence atrophy measures based on segmentation - based methods are nowadays employed as they allow classifying brain tissues separately ( prez - miralles et al . , 2013 ) . the performance of different segmentation methods used to quantify brain atrophy or volume estimation has been evaluated deeply in the last 5  years ( klauschen et al . , 2009 ; derakhshan et al . ,
2010 ) . however , it is well known that the presence of wm lesions can induce errors on brain tissue volume measurements ( chard et al . , 2010 ; battaglini et al . , 2012 ; gelineau - morel et al . , 2012 ) and non - rigid registration ( sdika and pelletier , 2009 ; diez et al . , 2014
) , if lesions are processed within the images . for instance , if wm lesion voxels are classified as wm , lesion voxels with hypointense signal intensities are added into the wm tissue distribution , increasing the probability of gm voxels with similar intensity to be misclassified also as wm ( chard et al . , 2010 ) . in the last years
, some authors have proposed different techniques to overcome these issues in ms patients by filling wm lesions with intensities similar to those of wm before performing tissue segmentation and image registration .
these methods can be divided into two groups : methods which use local intensities from the surrounding neighboring voxels of lesions ( sdika and pelletier , 2009 ; battaglini et al .
2013 ) and methods which use global wm intensities from the whole brain ( chard et al . , 2010 ) .
in all cases , the performance of these methods is directly related with their ability to minimize the impact of refilled voxels on original tissue distribution , not only due to the addition of these voxels into the tissue distribution , but also due to the effect on the global tissue distributions of filled images . within local methods , sdika and pelletier ( 2009 )
have proposed to refill each wm lesion voxel with the mean of its three - dimensional neighboring normal appearance white matter ( nawm ) voxels .
( 2012 ) have suggested refilling each wm lesion voxel with intensities derived from a histogram of nawm voxels surrounding the two - dimensional lesions . in a recent study , magon et al .
( 2013 ) have proposed to refill each two - dimensional lesion with the intensity from the mean of the surrounding area of the lesion . regarding global methods ,
( 2010 ) have proposed a different approach by using intensities re - sampled from a global wm distribution to refill wm lesion voxels , based on the mean and standard deviation of the total nawm of the whole image . both chard et al .
fsl - l ( battaglini et al . , 2012 ) runs from a computer command - line and does not provide any graphical interface that aids the process .
this technique has been integrated into the latest fsl package , and therefore it depends on the whole fsl installation . in the case of leap ( chard et al . , 2010 )
, the method runs as a stand - alone script also from the command - line and requires the installation and configuration of several external dependencies , which may be difficult to install for non - computer experts . in this paper
we propose a new technique to refill wm lesions which is a compromise between global and local methods .
hence , for each slice composing the three - dimensional image , we compute the mean and standard deviation of the signal intensity of nawm tissue .
on the one hand , compared to local methods ( battaglini et al . , 2012 ; magon et al . ,
2013 ) which only make use of a limited range of voxel intensities , the fact of using global information from the whole image slice reduces the bias caused by refilled voxels on gm and wm tissue distributions , especially on images with high lesion load . on the other hand , compared to other global methods ( chard et al . , 2010 ) ,
which are based on the mean signal intensity of the nawm of the three - dimensional image , our method re - computes the mean signal intensity of the nawm at each two - dimensional slice with the aim of reproducing more precisely the signal variability between mri slices , especially in low resolution images . in order to easily integrate it into current platforms ,
the proposed method called slf is currently available as a stand - alone program and as spm1 extension at the salem group site ( http://atc.udg.edu/salem/slftoolbox ) . to evaluate the performance of our method
, we estimate the deviation in gm and wm tissue volume between a set of healthy images and the same images where artificial wm lesions have been refilled with the proposed technique .
to do so , we register wm lesion masks from diagnosed ms patients into two sets of 30 1.5 and 3  t t1-weighted ( t1-w ) images of healthy subjects , respectively . afterwards , we simulate realistic lesions on healthy images by replacing the signal intensities of registered lesion voxels with values similar to those of the mean gm / wm interface . brain tissue volume is computed using both fast ( zhang et al . ,
2001 ) and spm8 ( ashburner and friston , 2005 ) segmentation methods , in order to avoid possible correlations between the filling and segmentation processes .
furthermore , we compare our results with the same images where artificial wm lesions have been segmented as normal tissue , masked - out before tissue segmentation , and refilled using also the methods proposed by chard et al .
the first set of images is composed of 30 images of healthy subjects ( matrix size : 176    208    176 , voxel size : 1    1    1.25  mm ) , acquired on a 1.5  t vision scanner ( siemens , erlangen , germany ) and obtained from the open access series of imaging studies ( oasis ) repository2 ( marcus et al . , 2007 ) . only images from young and middle - aged subjects are selected ( age  <  50 ) as they have not been diagnosed with any related pathology .
image references included in the study are as follows : 2 , 4 , 5 , 6 , 7 , 9 , 11 , 12 , 14 , 17 , 18 , 20 , 25 , 26 , 27 , 29 , 34 , 37 , 38 , 40 , 43 , 44 , 45 , 47 , 49 , 50 , 51 , 54 , 55 , and 57 .
the second set of images is composed of 30 images of healthy subjects ( matrix size : 256    150    256 , voxel size : 0.92    0.92    1.20  mm ) acquired on a philips 3  t scanner ( philips healthcare , best , nl ) and obtained from the information extraction from images ( ixi ) repository maintained by the imperial college london in london , uk.3 we selected 30 images acquired from the hammersmith hospital .
image references included in the study are as follows : 12 , 13 , 14 , 15 , 33 , 34 , 39 , 48 , 49 , 51 , 52 , 57 , 59 , 72 , 80 , 83 , 92 , 95 , 96 , 97 , 104 , 105 , 126 , 127 , 128 , 131 , 136 , 137 , 146 , and 159 .
skull - stripping is performed using the brain extraction tool ( bet ) ( smith , 2002 ) , following the optimization workflow suggested by popescu et al .
( 2012 ) , with the exception that cerebrospinal fluid tissue has been refilled on skull - stripped images again .
this procedure is preferred over other alternatives as it provides the best performance on some lesion - filling methods such as chard et al .
( 2010 ) , being also the choice in other recent studies ( popescu et al . , 2014 ) .
ixi images are corrected from possible intensity non - uniformities and acquisition artifacts using n4 , the itk ( ibez et al . , 2003 ) implementation of the n3 package ( sled et al . , 1997 ) .
we use a set of 37 patients with clinically confirmed ms , provided with initial and follow - up studies ( diez et al . , 2014 ) . in these patients , lesions have been annotated semi - automatically on proton density - weighted ( pd - w ) images by a trained technician using jim software4 and afterwards co - registered with t1-w images . in order to maintain the independence between the 1.5 and 3  t sets of images , we match randomly 30 patients from the initial study into the oasis images , and we repeat the same procedure with the follow - up study and the ixi image set .
ms lesion masks are registered into healthy images by a non - rigid transformation ( rueckert et al . , 1999 ) . to ensure that resulting lesion masks are placed on wm , we remove registered lesion voxels that have not been segmented as wm by both fast and spm8 on the healthy image .
we computed a wilcoxon rank sum test to analyze the difference in lesion volumes generated between oasis and ixi datasets , obtaining that differences were not statistically significant ( p  =  0.162 ) .
the obtained mean lesion volume on oasis images was 21.1   20.8  ml ( range from 0.5 to 65  ml ) , while 15.4   16.2  ml ( range from 0.8 to 62  ml ) on ixi 3  t images .
note that due to the existing anatomical differences between 1.5 and 3  t image subjects and the enforced wm tissue constraint , the effect of registering the same ms lesion mask into a 1.5 and 3  t image results in two different lesion masks .
for instance , the effect of registering lesions from the initial study into the 3  t dataset provided different lesion volumes ( 10.30    12.10  ml ) and reported statistically significantly differences ( p  =  0.007 ) on the wilcoxon rank sum tests .
artificial lesions are simulated by replacing registered lesion voxel intensities with ones between the gm and wm interface , following the same strategy shown in battaglini et al .
for each original image , gm and wm tissue distributions are computed using only voxels in agreement between fast and spm8 .
wm lesion voxels are filled with random intensities coming from a newly generated normal distribution , with mean equal to the average of the gm and wm mean values and standard deviation equal to the difference between mean wm and gm , divided by 4 ( battaglini et al . , 2012 ) .
artificial lesions are refilled with the aim of simulating a profile which clearly separates their signal intensity with healthy tissue .
this intensity profile chosen does not reflect the entire scope of possible real lesions , but allows us to visualize the magnitude of the differences in tissue volume between images with artificial lesions and the same images where lesion have been filled with the proposed method .
the intensity profile chosen would not affect any of the methods studied since they do not take into account the artificial lesion intensities .
( 2010 ) with the similarity between refilled voxel intensities and their surrounding voxels of local methods such as battaglini et al .
basically , for each slice composing the three - dimensional image , lesion voxel intensities are replaced by random intensities of a normal distribution generated from the mean nawm intensity of the current slice .
the proposed algorithm requires two input images : a preprocessed t1-w image ( skull - stripped and intensity inhomogeneity corrected ) and its corresponding binary wm lesion mask . after testing the performance of the method with different skull - stripping approaches ( smith , 2002 ; shattuck et al . , 2001 )
, we observed that including this step inside the filling process is not necessary , because the skull - stripping method employed seems to not interfere significantly in the results obtained ( wilcoxon significant rank - sum tests between differences in tissue volume between lesion - filled and original images of both datasets for gm and wm tissue , p  >  0.13 ) .
wm lesions are masked out from the t1-w image using the provided lesion mask , in order to avoid the influence of artificial lesions on tissue distributions .
the resulting image is used to estimate the probability of each voxel to be classified as csf , gm , and nawm , by segmenting tissue with a fuzzy - c - means approach ( pham , 2001 ) .
the fuzzy - c - means implementation used here follows the algorithm described in pham ( 2001 ) , with clusters initialized according to bezdek et al .
moreover , input signal intensities are constrained to the mean plus three standard deviations of the signal intensity of the image , in order to avoid outlier signal intensities , such as residual parts of the eyes or neck . from the obtained tissue segmentation output ,
we compute the three - dimensional nawm mask from the image voxels with the highest probability to pertain to the wm cluster .
finally , the lesion - filling process is achieved as follows : for each axial slice composing the three - dimensional image , we compute the mean and standard deviation of the signal intensity of nawm tissue .
axial sampling is motivated because after testing the sampling procedure on the coronal , axial and sagittal planes , we found that the best results were obtained when we sampled the axial plane .
this was due to the fact that using the axial plane reduced the variability of possible existing wm intensities , when compared to coronal and sagittal sampling .
the fuzzy - c - means approach used to estimate the tissue probabilities is a simple method which in fact does not take into account neither spatial nor neighboring information , and hyper - intense signal intensities such as residual parts of the eyes or the neck produced in the skull - stripping process can bias significantly the clusters .
the risk of adding these parts into the wm distribution is minimized in the axial plane because we are reducing it to a certain slice where lesion volume is usually lower than that in central slices .
the computed mean and standard deviation values are used to generate a normal distribution with mean equal to the computed nawm mean intensity and standard deviation equal to half of the computed nawm standard deviation .
standard deviation is always fixed to half of the wm mean independently of the dataset used .
this value was chosen empirically with the aim of balancing the accuracy of the method with both 1.5 and 3  t images .
although a specific tuning of this parameter could provide a better performance on certain cases , we decided to fix it avoiding therefore the number of parameters to tune .
lesion voxel intensities from the current image slice are replaced by random values of the generated distribution .
we compute the absolute percentage % difference in normalized gray matter volume ( ngmv ) and normalized white matter volume ( nwmv ) between each original and its correspondent lesion - filled images .
normalized volumes are obtained as the ratio of voxels outside lesion regions segmented as gm or wm and the total number of segmented voxels , respectively .
for instance , the % difference in ngmv is computed as:%=ngmvfilledngmvorigngmvorig100 where ngmvfilled and ngmvorig values refer to the computed volumes for the lesion - filled and original images , respectively .
the higher the performance of the lesion - filling method , the lower the percentage difference between lesion - filled and original images . in order to analyze possible correlations between the filling process and the segmentation method employed , brain tissue volume
is calculated independently on the same subjects using fast ( zhang et al . , 2001 )
( v.5.0.5 ) and spm8 ( ashburner and friston , 2005 ) ( v.4667 ) approaches .
we compare the performance of our method with respect to other existing techniques such as the ones proposed by chard et al .
we also add two more sets of images into the comparison : images segmented with artificial lesions and images where wm lesions have been masked out before tissue segmentation .
given the small differences in ngmv and nwmv between original and lesion - filled images , the use of a standard analysis of the variance ( anova ) or a classic t - test is impractical here .
instead , we perform a series of permutation tests to determine significant differences in tissue volume between pairs of methods ( menke and martnez , 2004 ; valverde et al . , 2014 ) .
the permutation tests return the mean  and standard deviation  of the fraction of times that the difference in ngmv and nwmv for a current lesion - filling method is smaller than the rest of methods with p - value    0.05 .
afterwards , methods are presented in 3 ranks determined by the mean and standard deviation of the best method and the distance with respect to the mean of the rest of methods ( valverde et al . , 2014 ) .
in our experiments , we set the number of comparisons between each pair of methods to n  =  1000 .
2 depicts the absolute mean % difference in ngmv and nwmv between the 30 original 1.5  t images and the same images with artificial lesions ( none ) , masked - out lesions before segmentation ( masked ) , and lesion - filled using magon et al .
( 2010 ) ( leap ) , and finally our proposed algorithm slf . when fast is used , slf reports the lowest absolute mean difference in ngmv ( 0.16    0.14 ) , followed by leap ( 0.40    0.30 ) and fsl - l ( 0.43    0.58 ) methods .
our proposal also provides the lowest difference in nwmv ( 0.29    0.36 ) , followed by fsl - l ( 0.81    1.28 ) .
maximum values in ngmv are found in none images , with differences up to 2.30    2.62 in ngmv and 3.85    4.81 in nwmv .
when spm8 is used , slf also reports the lowest differences in ngmv ( 0.09    0.14 ) , followed by leap method ( 0.12    0.13 ) .
our proposed method also performs better than the rest of the methods on nwmv ( 0.20    0.24 ) , followed by the leap method ( 0.36    0.40 ) .
again , the highest differences in ngmv ( 1.84    1.97 ) and nwmv ( 4.82    4.58 ) are found in none images .
table 1 shows the absolute mean difference in wm volume for all methods where lesion volume has been ranged by size intervals .
table 2 presents the performance of each filling - method after running all possible pair - wise permutation tests . with a significant p - value of 0.05 ,
all tests run on images segmented with fast show the superiority of slf over the other methods presented . on images segmented with spm8 ,
all tests show a clear superiority of slf over the other methods on nwmv , while a similar performance of slf and leap over the other methods on ngmv .
we also test the performance of our algorithm using 3  t data . as before , fig .
3 shows the absolute mean % difference in ngmv and nwmv between the 30 original 3  t images and the same images with added lesions ( none ) , masked - out lesions before segmentation ( masked ) , and lesion - filled methods magon , fsl - l , and leap , and our proposed approach slf . when fast is used , slf reports the lowest absolute mean % difference in ngmv ( 0.06    0.06 ) , followed by leap ( 0.09    0.10 ) .
our method slf also performs the lowest difference in nwmv ( 0.09    0.09 ) , followed again by leap ( 0.12    0.08 ) .
maximum values in ngmv are found in none images , with differences up to 1.40    1.56 in ngmv and 1.00    1.32 in nwmv . when spm8 is used , both leap ( 0.04    0.06 ) and slf ( 0.05    0.05 ) yield the lowest absolute % mean difference in ngmv .
on nwmv , also leap ( 0.09    0.12 ) and slf ( 0.08    0.09 ) report the lowest absolute mean % difference in volume between original and lesion - filled images . again
, highest differences in ngmv ( 1.84    1.97 ) and nwmv ( 4.82    4.58 ) are found in none images .
table 3 shows the absolute mean difference in wm volume for all methods on ixi images , where lesion volume has been ranged by size intervals .
table 4 shows the performance of each filling - method after running the permutation tests .
tests run on images segmented with fast show a significant superiority of slf over the rest of the methods on nwmv , and a slightly better performance of slf with respect to leap on ngmv , although both methods are clearly superior to the rest of methods presented .
when spm8 is used , tests show a similar performance of slf and leap over the rest of the methods on both nwmv and ngmv .
several studies have proposed to use different filling techniques in order to reduce the effects of wm lesions on brain tissue measurements of t1-w images . up to date , only leap ( chard et al . , 2010)5 and fsl - l ( battaglini et al .
, 2012)6 are publicly available methods that permit to refill t1-w images given a wm lesion mask . the lesion segmentation toolbox ( lst ) proposed by schmidt et al .
( 2012 ) also provides a lesion - filling approach based on the work of chard et al .
( 2010 ) , but it is dependent of a flair image and an internal lesion - probability map obtained during the lesion segmentation step .
in general , deviation in tissue volume between original and lesion - filled images tends to be higher on 1.5  t oasis images than on 3  t ixi images .
the observed deviation is caused by differences in intensity , slice thickness and dimensionality between datasets .
on ixi images , the distance between gm and wm signal intensity distributions is narrower than that of 1.5  t data . applying the lesion generation algorithm ( battaglini et al . , 2012 ) with identical parameters of those used with 1.5  t images
creates simulated lesions whose intensity are noticeably similar to the mean wm , because the standard deviation of the generated lesion distribution is the mean between the gm and wm tissue divided by 4 .
however , this fact only explains the difference found on images segmented with artificial lesions . in the rest of the methods ,
the signal intensity of the generated lesions is not interfering with the obtained results since in all cases lesion voxels are replaced before tissue segmentation . on images where lesions have been masked before segmentation ( masked ) , the lower deviation in tissue volume of 3  t images can be explained by the increase in the resolution of the images when compared to 1.5  t data , which reduces the effect of masked voxels in tissue distributions .
the same reason can be behind the lower deviation found on all four lesion filling methods . by increasing the number of slices , differences produced by the methods on certain slices can be smoothed by tissue segmentation methods .
moreover , the use of a reduced sampling space or a better tuning of the parameters involved in the wm tissue distribution generated to refill lesion voxels could increase the performance of the presented method .
nevertheless , in all our experiments we decided to fix the standard deviation to 2 for simplicity . analyzing the results by dataset , on 1.5  t images from the oasis dataset , our results show that compared to the available methods , the proposed algorithm slf reduces significantly the differences in nwmv between original and filled images , independently of the brain tissue segmentation method used to measure the tissue volume . with the same data ,
although our method reports the lowest mean % difference in ngmv when spm8 method is used , the permutation test clearly shows that differences between slf and leap are not relevant . on 3  t images from the ixi dataset , slf also yields the lowest mean % differences in ngmv and nwmv , when fast is used to measure tissue volume .
these results are clearly significant in nwmv , but not in ngmv , although our method reports also the lowest difference among all methods .
when spm8 is used , slf presents a similar performance of that of leap , and both methods tie on the results of the significance tests .
compared with local methods , our algorithm performs quantitatively better than local methods on images with high lesion load ( >  36  ml ) .
the magon method incorporates all neighbor voxels surrounding a wm lesion region to compute a mean intensity which is used to refill all lesion voxels . on images with high lesion load touching gm tissue , including gm voxels can decrease refilled intensities and modify the tissue distribution of filled images .
fsl - l overpasses this limitation by building an intensity distribution based only on wm voxels surrounding lesions .
however , on large lesion regions , all lesion voxels will be filled with a narrow range of intensities coming from the neighboring voxels that can have a direct incidence on gm and wm tissue distributions . by contrast
, lesion volume appears to affect less global methods . in our case , the intensity distribution generated to refill lesion voxels will be independent of both the size and the position of lesion .
furthermore , the effect of filled voxels on the global wm tissue distribution is smoothed by the addition of intensities which try to reassemble the global nawm of the current slice .
compared with global methods , there are some interesting differences between our method and leap .
contrary to local methods , global methods have to deal with the skull - stripping process before processing images .
leap incorporates the skull - stripping process as part of the processing pipeline . in addition
by contrast , our method does not deal with skull - stripping internally , and the method requires an already skull - stripped image or a brain mask . as noted previously , the skull - stripping method employed seems to not interfere significantly in the results obtained by our method .
while setting up each of the different processes involved in the proposed pipeline , we found that , at least with our data , the performance of leap decreased or failed in 1.5  t scans when the skull - stripping methods bse ( shattuck et al . , 2001 ) and bet ( smith , 2002 ) were used with default options . by contrast
, leap provided the best results when the optimized method proposed by popescu et al .
( 2012 ) was used . this fact motivated the selection of this skull - stripping method for all the experiments of the study .
furthermore , on both datasets , we have also compared the differences between our method and leap estimating the mean nawm intensity used as a basis to fill lesion voxels . in most of the images ,
the global mean nawm intensity does not differ significantly between fityk7 on leap and our fuzzy - c - means approach .
hence , we can reject the hypothesis that observed differences in 1.5  t images can be caused by the approach employed to compute the nawm tissue distribution before filling lesion voxels .
however , on both lesion - filling approaches , tissue segmentation methods tended to increase the apparent mean wm tissue distribution on 1.5  t images with high lesion load ( > 40  ml ) due to the increase of voxels refilled with intensities higher than the actual mean wm signal intensity .
this effect is clearly more visible on leap than in our method , especially when fast is used .
the resolution of the oasis 1.5  t images ( 176    208    176 slices ) is lower than that of ixi 3  t images ( 256    150    256 slices ) . on images with low number of slices ,
after comparing the a priori wm tissue distribution values estimated by both the leap and slf methods with the already computed wm tissue distributions obtained from healthy images , we found that as lesion size increases , global methods such as leap and slf tend to increase the differences in tissue volume with respect to original images . in both methods
, we have observed that the a priori estimated mean intensity of the wm distribution tends to be higher than the actual tissue distribution as computed by fast and spm8 on healthy images . as lesion volume increases , the addition of more filled voxels with intensity higher than the actual mean tissue intensity is more prominent , causing a displacement of the mean intensity of the wm distribution returned by the segmentation methods on filled images .
consequently , more voxels bordering gm / wm are segmented as gm and wm tissue volume decreases . in this scenario ,
the strategy followed by slf , where wm is sampled independently at each slice , is more robust to the increase of lesions size than a global estimation of the wm tissue ( leap ) because possible errors introduced by a particular slice are not propagated into the rest of the slices .
contrary to spm8 , which estimates the tissue distributions based on a gaussian mixture model approach of the whole image , fast builds a network of neighboring relations based on a markov random field approach , more sensible to changes between slices .
the same reason can also be behind the better performance of our method on 3  t when fast is used .
compared with 1.5  t images , the probability of intensity change between slices is less prominent on 3  t images due to a higher resolution between slices . analyzing the possible deviations in tissue volume caused by each tissue segmentation process
, we obtained results which suggest that the chosen tissue segmentation method does not affect significantly the performance of our filling - method .
results between the same filled images segmented with fast and spm8 differ ( < 0.1% ) in the worst case on both datasets and tissues .
by contrast , magon , fsl - l and leap switch their rank on 1.5  t images , depending on the segmentation method used . on 3  t images , only magon and fsl - l appear to switch between ranks when fast or spm8 is used , respectively .
the most important one is the lack of images of ms patients with brain tissue expert annotations .
( 2014 ) have been only provided with lesion annotations delineated by a trained expert , but not brain tissue annotations . to overpass this limitation ,
we have registered wm lesions from ms patients into healthy images as performed in battaglini et al .
( 2012 ) and double - checked that registered lesions have replaced voxels segmented as wm by fast and spm8 .
this strategy has a negligible impact on the performance of the filling - methods analyzed in this study , because we assure a priori that generated lesions are on wm , and moreover none of the methods use information from the artificial lesions generated .
furthermore , although we tested the performance of the proposed method with two datasets with different magnetic field strengths , our results are limited to these two different scanners with particular configurations , and hence it is difficult to generalize the results to all 1.5 and 3  t scanners . in conclusion ,
the results of this study show that regardless of the lesion size , the slf method performs consistently well compared to other existing methods such as leap , especially on 1.5  t images .
furthermore , the results obtained show that the proposed method can be an effective method for low resolution images .
the skull - stripping process does not especially affect the accuracy of the method , which allows integrating it with different preprocessing pipelines .
additionally , volume estimations of lesion filled images processed by our algorithm appear to be not affected by the segmentation method employed .
in contrast to other approaches , slf may be installed by non - computer experts who can easily use it without any parameter tuning .
slf is currently available to researchers as a stand - alone script and as an spm library extension which facilitates to incorporate the lesion filling process into the expert workflow for tissue volume segmentation .
 multiple sclerosis white matter ( wm ) lesions can affect brain tissue volume measurements of voxel - wise segmentation methods if these lesions are included in the segmentation process . 
 several authors have presented different techniques to improve brain tissue volume estimations by filling wm lesions before segmentation with intensities similar to those of wm . here , we propose a new method to refill wm lesions , where contrary to similar approaches , lesion voxel intensities are replaced by random values of a normal distribution generated from the mean wm signal intensity of each two - dimensional slice . 
 we test the performance of our method by estimating the deviation in tissue volume between a set of 30 t1-w 1.5  t and 30 t1-w 3  t images of healthy subjects and the same images where : wm lesions have been previously registered and afterwards replaced their voxel intensities to those between gray matter ( gm ) and wm tissue . 
 tissue volume is computed independently using fast and spm8 . when compared with the state - of - the - art methods , on 1.5  t data our method yields the lowest deviation in wm between original and filled images , independently of the segmentation method used . 
 it also performs the lowest differences in gm when fast is used and equals to the best method when spm8 is employed . on 3  t data , our method also outperforms the state - of - the - art methods when fast is used while performs similar to the best method when spm8 is used . 
 the proposed technique is currently available to researchers as a stand - alone program and as an spm extension . 
Introduction
Materials and methods
Results
Discussion