Fully automated rodent brain MR image processing pipeline on a Midas server: from acquired images to region-based statistics
- 1Neuro Image Research and Analysis Laboratories, Department of Psychiatry, University of North Carolina, Chapel Hill, NC, USA
- 2Kitware, Inc., Carrboro, NC, USA
- 3Fetal Toxicology Laboratory, Department of Psychiatry, Bowles Center for Alcohol Studies, University of North Carolina, Chapel Hill, NC, USA
Magnetic resonance imaging (MRI) of rodent brains enables study of the development and the integrity of the brain under certain conditions (alcohol, drugs etc.). However, these images are difficult to analyze for biomedical researchers with limited image processing experience. In this paper we present an image processing pipeline running on a Midas server, a web-based data storage system. It is composed of the following steps: rigid registration, skull-stripping, average computation, average parcellation, parcellation propagation to individual subjects, and computation of region-based statistics on each image. The pipeline is easy to configure and requires very little image processing knowledge. We present results obtained by processing a data set using this pipeline and demonstrate how this pipeline can be used to find differences between populations.
Magnetic Resonance (MR) Imaging studies are among the increasingly popular methods of assessing neurodevelopment in rodents. MRI is a non-invasive method used to study the brain's anatomical structure and connectivity without any known biological effect on the tissues. It is a highly translational technique because it is used both in clinical settings as well as in pre-clinical animal research and data can be acquired using similar methods in both humans and animals. The use of rodent models for translational animal studies of clinical disorders has allowed researchers to study precise effects of drug treatments or exposure to specific substances in a defined environment for all subjects, while minimizing uncontrolled external factors. There is also an increasing interest in the scientific community for the use of MRI to enable large-scale genetic phenotyping studies.
A typical image analysis study consists of comparing the differences between an experimental group and a control sample. One common method is to perform a region-based analysis of the MR Images. The average and standard deviation of properties, such as the volume or the intensity of each region, is used to compare the different populations (Harms et al., 2006; Stone et al., 2008; Wang et al., 2008; Chan et al., 2009; Fatemi et al., 2009; Lodygensky et al., 2009; Zahr et al., 2009; Badea et al., 2010; Hui et al., 2010). Structural Magnetic Resonance Imaging (sMRI) and Diffusion Tensor MRI (DTI) can be used in such studies. While sMR images are relatively straightforward to analyze, DTI data require additional processing. The latter are estimated from Diffusion Weighted Imaging (DWI) scans, which map the diffusion process of the water molecules in biological tissues. Each voxel of the image contains a 3 × 3 symmetric definite positive matrix that can be visualized as an ellipsoid. A number of scalar measurements can be computed from the DTI data, including Fractional Anisotropy (FA), which represents how directionally restricted along one axis the diffusion is (between 0, no directionality, and 1, diffusion in only one direction), Mean Diffusivity (MD), which quantifies the total diffusion within a voxel, Radial Diffusivity (RD), a measure of the average diffusion along the 2nd and 3rd diffusion axis, and Axial Diffusivity (AD), diffusion along the main direction. It has been shown that these measurements are valuable clinical tools that can be used to diagnose tissue deficiencies or delineate biological differences (van Gelderen et al., 1994; Pierpaoli and Basser, 1996; Nair et al., 2005; Song et al., 2005; Sun et al., 2005; Zhang et al., 2006). In addition to the scalar measurements, images acquired without a diffusion gradient, i.e., the b = 0 images, and the average of all the images acquired with a non-zero gradient, i.e., the Isotropic Diffusion Weighted Image (iDWI), which are extracted from the DWI scans, can also be useful to detect brain lesions (Moon et al., 2007).
Analyzing data from this type of study typically necessitates a number of steps: a registration step to align all images in the same space, a skull-stripping step to eliminate all non-brain tissues that are not being studied and several other steps which may include segmentation of the brain into different Regions Of Interest (ROI), also called parcellation, so that their properties (e.g., average intensity and volume) can be analyzed. Although each of these steps can be performed manually for each image, this is labor intensive and subject to inter- and intra-rater variability, which can often confound potentially subtle group differences in the data set.
Due to the need for these sophisticated analyses, DTI processing is inaccessible to small animal researchers with limited image processing experience. For this reason, it is imperative to build user-friendly software that implements automated pipelines to process the data.
A number of automatic pipelines and set of tools to perform those aforementioned steps are available for human data, such as FSL1 (Smith et al., 2004), the LONI pipeline2 (Dinov et al., 2010) which integrates tools such as BrainSuite3 (Shattuck and Leahy, 2002) and which could be used to create a custom pipeline, and FreeSurfer4 (Fischl et al., 2002), but these produce very limited results when applied to rodent scans. Registration parameters in these tools are not appropriate due to image scale and ratio differences. Skull-stripping algorithms produce poor results due to non-appropriate assumptions regarding the data (shape of the skull, space between brain and skull, etc).
Numerous individual tools, such as AtlasWerks5, which creates an average image from a set of images using diffeomorphic registration, and ANTs6, a software package that performs image to image diffeomorphic registration, are also available but each of them performs only a small part of the whole analysis process. Moreover, most of the default parameters of those tools are set for the human brain, thus not useful for direct application for the rodent brain.
The image processing method we are presenting in the paper has been used by different groups conducting research on rodent images and has been described in previous publications (Chen et al., 2005; Kovacevic et al., 2005; Badea et al., 2007; Calabrese et al., 2013). Brain masks can be outlined manually (Lau et al., 2008) or computed automatically (Badea et al., 2007). The creation method for an average image has already been presented (Chen et al., 2005; Kovacevic et al., 2005; Badea et al., 2007; Lau et al., 2008; Lerch et al., 2008; Calabrese et al., 2013). This step is performed using existing tools such as ANTs or the mni_autoreg7 tools (Collins et al., 1994, 1995). The parcellation of the average population image, that is manually or automatically done, is then propagated back to each subject using the inverse transform that was computed to create the average image (Lerch et al., 2008; Calabrese et al., 2013). Each tool is often run individually which makes the process cumbersome. Pipelines automatically computing all the steps described above have also been created (Badea et al., 2012). Although the existing processing steps are well known, well described and reproducible, they are by no means accessible to the typical preclinical researcher. First, most, if not all, the tools require command line processing, which is hardly user-friendly. Additionally, and perhaps more importantly, each tool comes with numerous parameters, whose meanings and interpretations require expertise in image processing algorithms. Setting the values of all these dozens of parameters is a task that is inhibitive to the typical preclinical researcher.
Our approach addresses these problems in three critical ways. First, our entire pipeline is accessible through a web browser, which is a familiar environment to even the most computer-illiterate researcher. Second, we provide carefully fine-tuned default settings to all the parameters, allowing the inexperienced user to use the functionality offered out-of-the-box. However, it should be noted that all the advanced parameters are also accessible if desired, to allow the more experienced user flexibility. Third, the Midas environment inherently allows data and processing sharing: this can be crucial for those occasions when the out-of-the-box does not work, and the user can ask for help from an image processing expert for troubleshooting. All this person would then need is to have access to the Internet, and they can see the processing steps that were applied, the input and output, and help pinpoint the problem. Compare this to the more traditional scenario of having to transfer dozens of images to this expert, and the non-expert trying to remember the exact details and sequence of processing that was already tried, the expert working on this on his/her own computer, then transferring the results back to the user, perhaps only to discover that they don't have access to the same version of the software, and having to start over.
In this paper we present a processing pipeline targeted toward a relatively inexperienced preclinical researcher who, for example, doesn't wish to learn about the intricate details of image registration algorithms but just wants to compute the volume of the caudate nucleus in his data. We propose to make this possible via our Midas-based rodent brain image processing pipeline. The user does not have to go through complicated steps to find all the individual tools necessary for the processing as well as parameters giving correct results for rodent images. We illustrate the usage of the different steps of our method (rigid registration, skull-stripping, average computation, average parcellation, individual parcellation and computation of region-based statistics) by processing a very simple dataset and present the results as well as the possibilities and the limitations of the developed pipeline.
Overview of the Pipeline
The current pipeline was developed to perform a region-based analysis of 3D medical images and has been optimized for MR rodent brain imagery. It can process DWI, DTI and structural MRI data and is composed of a set of BatchMake8 scripts designed for a Midas9 server. Midas is a toolkit that enables web-enabled data storage and has been designed for large data such as medical images. It provides a mechanism to integrate plugins to perform actions such as processing and analyzing the images stored on the server. Such plugins can integrate BatchMake, a cross-platform scripting language and grid computing abstraction layer for processing data locally or on distributed system, thus providing computational power if installed on a computer grid. The Midas platform was chosen because it allows easy sharing of data among collaborators. The pipeline incorporates existing tools as well as some specific tools that were created to assemble all of the existing ones in a pipeline. To run it, the researcher uses the web interface to select the plugin to run, to choose the files to process, and to set the options (Figure 1). The final results are directly uploaded back onto the server.
Figure 1. Screenshots presenting the user interface of the pipeline when running the registration step. From top to bottom: selection of the images to register, selection of the fixed image for the registration, selection of the options including the type of the input image.
The pipeline is composed of six major steps (Figure 2): Rigid registration, skull-stripping, creation of a population average, parcellation of the population average, parcellation propagation to individual subjects and region based statistics. In some of those steps, existing software developed in other laboratories has been integrated to the pipeline we present here. Those steps are marked with an asterisk (*) in the figures and the software is cited in the description of the step. The order of these steps matters since each of them depends on the output of the previous one. For most of the steps, every input image will be processed individually and independently. This allows parallel processing when possible. The images acquired by the scanner are often in DICOM or in raw format. Once they are converted into a format readable by the Insight Toolkit Library10 (ITK), on which most tools used in the pipeline are based, one can start processing them using the presented pipeline. Each step is described in detail below.
Rigid Registration (Step 1)
The first step of the pipeline consists of aligning all the images with a template, such as the one available with the C57 Brookhaven atlas (Ma et al., 2005). Additional details about available templates and atlases are given in Parcellation of Population Average (Step 4). As shown in Figure 3, the necessary inputs to this step are a template image and a subject image, which can be either a DTI, a DWI or an sMRI scan. This step allows the researcher to easily compare the results of the different images in a common coordinate space as well as to perform the following steps. Only a rigid registration, which computes a transformation composed of a translation and a rotation, is performed to keep the size of the brain constant in order to compare brain and region volumes. Performing another type of registration such as an affine registration or other with higher order transformations would result in deforming the original brain, possibly scaling the image and therefore modifying the original volumes of the brain regions.
Figure 3. Rigid registration pipeline. Registration is performed using RegisterImages, a tool distributed with 3D Slicer.
Before the registration is computed, an intensity bias field correction is performed on the data using N4ITKBiasFieldCorrection (Tustison et al., 2010), a tool distributed with 3D Slicer11 (Gering et al., 1999; Pieper et al., 2004, 2006), a multi-platform software for visualization and medical image computing. The registration is performed using RegisterImages (“Registration” step in Figure 3), also part of 3D Slicer package. If the input image is a structural MRI scan (T1, T2, etc), it is simply registered to a given template. If no template is available to the user, one can use a reference image that has been manually oriented correctly. If the input image is a DWI scan, a DTI scan will be estimated from it. The DTI scan will be used to compute the MD image which is then registered to the chosen template. Once the transformation is computed, it is applied to the DTI scan which is then resampled using the log-Euclidean framework (Arsigny et al., 2010). The b = 0 and iDWI images, if present, are also transformed. Finally, all of the derived images (MD, FA, RD, AD) are computed from the registered DTI data. Any given additional images (i.e., T1, T2) are also resampled using the computed transformation. They are expected to be aligned with the input image. Therefore, one has all the input and related images aligned with the template.
Skull-Stripping (Step 2)
Next, the image is skull-stripped in order to remove the extraneous tissues that are not part of the brain (Figure 4). In the current pipeline, the method presented by Lee et al. (2009) and Oguz et al. (2011) was implemented. To perform this operation, we first perform an affine registration of a template to each image with specific parameters for rodent images. The template image is not provided as part as the pipeline, but several templates (as well as their parcellation map) are publicly available, such as the C57 Brookhaven atlas (Ma et al., 2005), the Mouse BIRN atlas (MacKenzie-Graham et al., 2006) and the Waxholm atlas (Jiang and Johnson, 2011). The direction of the transformation is chosen so that the output mask, obtained at the end of this step, is in the input image space (i.e., aligned with the input image, typically the output of step 1), and not in the template space (i.e., registered with the template). We then transform a probabilistic tissue segmentation atlas associated with the template image, that can be subsequently used for tissue segmentation, into the input image space using the computed transformation. Atlas Based Classification12 (Prastawa et al., 2005), also known as ABC, a tool that implements the Expectation-Maximization Segmentation (EMS) algorithm (Pohl et al., 2007), classifies the different tissues of the brain into white matter (WM), gray matter (GM), cerebrospinal fluid (CSF) and the rest of the image, using the transformed probabilistic tissue segmentation maps. GM, WM and CSF are then combined to generate a whole-brain mask. It is then filtered: the largest connected component of the obtained segmentation is selected to remove voxels outside the brain wrongly classified (i.e., false positives) and a binary closing operation is performed to smooth the boundaries and get rid of small regions erroneously classified as non-brain inside the brain (i.e., false negatives). The resulting mask will be used in the following steps of the pipeline. The step necessitates an input image (DWI, DTI or sMRI scan), a template image and corresponding probabilistic tissue segmentation as inputs. The output will be a brain mask.
Figure 4. Skull-stripping pipeline. Registrations are performed using RegisterImages and Expectation Maximization Segmentation (EMS) is computed with Atlas Based Classification (ABC). Both tools are available in 3D Slicer.
Population Average Creation (Step 3)
Once the images are skull-stripped, the computation of a population average image (Figure 5) is possible. For each case, the mask that was computed at the previous step is applied to the corresponding subject image used for this step. First, all the skull-stripped images are histogram-matched and affinely registered to the first case image. A first average image is computed. However this could create bias based on ordering of images. To limit this effect, we register affinely all the images a second time to the coarse average image just obtained. Once this is completed, we compute an unbiased atlas using a fluid-based registration algorithm performing voxel-by-voxel diffeomorphic mapping (Joshi et al., 2004) using AtlasWerks13. This generates an average image as well as deformation fields that transform each image to the average image. To limit smoothing due to multiple interpolations, we recompute the average image from the original images after merging, for each case, the rigid transform obtained in the first step with the deformation field just computed. This way only one interpolation is performed instead of two resulting in a sharper population average image. In the case where the input images are Diffusion Tensor (DT) or Diffusion Weighted (DW) images, an average DT image is computed.
Figure 5. Population average computation pipeline. Registration is performed using RegisterImages (distributed with 3D Slicer) and Average Computation is done with AtlasWerks.
The step additionally creates, for each input image, a deformation field that corresponds to the inverse diffeomorphic registration that was computed to create the average image. This inverse deformation field can be used in step 5 of the pipeline, depending on the selected options.
Parcellation of Population Average (Step 4)
To avoid having to manually segment the different regions of the brain in the population average that was computed previously (output of Step 3), we use a parcellation associated with an external template. As mentioned in Skull-Stripping (Step 2), several atlases are publicly available. A diffeomorphic registration between the chosen external template and the average image is performed using ANTs (Avants et al., 2008). The obtained transformation is applied to the external parcellation map. This creates the output label map corresponding to the population average parcellation.
Parcellation Propagation to Individual Subjects (Step 5)
The parcellation of each individual is useful to compare differences across subjects or across populations. One already has the transformations (inverse deformation fields obtained at Step 3) to propagate the population average parcellation to all the cases that were used in step 4. If all the cases in the study were used to compute that image, one just has to use those transformations to obtain the parcellation of each scan. Otherwise, the population average has to be registered to each image using a diffeomorphic algorithm. The obtained deformation fields are then used to warp the average image parcellation to the individual cases.
Region Based Statistics (Step 6)
Once each subject is segmented, computation of whole brain and regional statistics is possible on all the available images, using their brain mask and their individual parcellation respectively. This includes volumes, means and standard deviations of the intensity in the segmented regions or over the whole mask. For diffusion images, this gives the values for the diffusion properties of the image such as FA, MD, RD, and AD.
Data and Analysis
To illustrate our pipeline's functionality, we applied it to a small data set composed of two groups of mouse brain images. All animal treatment protocols were approved by the University of North Carolina at Chapel Hill Institutional Animal Care and Use Committee. The two groups were scanned with different head coils. We then conducted a short statistical analysis to measure the differences between the two sets of scans. The experimental part was used to present the functionalities of the pipeline, and it was not intended to present novel clinically oriented results. This pipeline has been used to process data for other studies with a clinical intent that have been published (O'Leary-Moore et al., 2012).
Two groups of 45 days old mice were scanned on a 9.4 T vertical bore Oxford magnet with shielded coils. For both groups, the image matrix was 512 × 256 × 256 over a 22 × 11 × 11 mm field of view giving 43 × 43 × 43 um isotropic voxels (Jiang and Johnson, 2011). The repetition time was 100 ms. The echo time was 11.828 ms. The bandwidth was 61.5 KHz. The diffusion pulses were two 1.3 ms sinusoid pulses separated by ~6.15 ms (start to start). The scans were acquired with six gradient directions and one b = 0 (gradient amplitude = 1500 mT/m). A total of fifteen mice were imaged. Each individual of the first group (A) was imaged with a solenoid radiofrequency coil that was built in-house, constructed from a single sheet of microwave substrate, twice to increase the signal-to-noise ratio (SNR). Eleven images were acquired. The second group (B) was imaged with a different custom radiofrequency coil which produced scans with higher SNR. Each individual mouse in the second group was therefore scanned only once, with the original imaging protocol. Four images were acquired for the second group.
We used the developed pipeline to compare the two groups of scans. Each input image was processed using the developed pipeline and we applied a simple t-test between the two groups to detect if there was any statistical difference between them (no multiple comparison correction was applied). Statistical significance was defined as p < 0.05. Though we understand our sample size is small, we present results in this paper to demonstrate how a t-test could be applied to a larger dataset processed with this processing pipeline.
Data distribution (Figures 12, 13) is shown with box and whisker diagrams including the median (bar band), the 25th and 75th percentile (left and right bar respectively) and the minimum and maximum (whiskers).
The visualizations presented in the following section (Figures 6–10) were obtained using 3D Slicer as well as ITK-SNAP14 (Yushkevich et al., 2006), a software application used to segment and visualize structures in 3D medical images.
Figure 6. Rigid registration pipeline. The DWI scan is registered to a template and derived images (MD, FA, b = 0, iDWI, color-coded FA) are computed.
Figure 7. Skull-stripping pipeline. From left to right: original FA image, computed mask, original FA image skull-stripped, 3D rendering of computed mask.
Figure 8. Population average computation pipeline output. From top to bottom: sagittal view, axial view, coronal view. From left to right: RD image, MD image, AD image, FA image, color-coded FA with ellipsoids representing the tensors superimposed.
Figure 9. Regional segmentation of the population average FA image. From left to right: Axial view, coronal view, sagittal view. The list of the different regions is: Hippocampus, Corpus Callosum and External capsule, Caudate and Putamen, Anterior commissure, Globus Pallidus, Internal capsule, Thalamus, Cerebellum, Superior Colliculi, Ventricle, Hypothalamus, Inferior colliculi, Central Gray, Neocortex, Amygdala, Olfactory Bulb, Brain Stem, Rest of Midbrain, Basal Fore Brain and Septum, Fimbria, Pituitary.
Figure 10. 3D rendering of the population average segmentation. Cerebellum, neocortex, corpus callosum and external capsule were made partially see-through to allow better visualization of the inside regions.
The first step of the pipeline rigidly registers each input image to a template (Figure 6). In this analysis, the input image was a DWI scan. A DT image was estimated from it, and its MD was computed to be registered to the given template (in this case, we used the C57 Brookhaven atlas). Once the transformation was computed, it was applied to the DTI data, the iDWI and the b = 0 images that were computed from the DWI scan. The FA, MD, and color-coded Fractional Anisotropy (cFA) were then computed from the transformed DTI data. The cFA is an image in which at each voxel the orientation of the tensor is coded with a color (green: anterior-posterior; blue: superior-inferior; red: left-right) that is modulated by the intensity of the FA.
A mask of the brain is computed using the rigidly registered image. In Figure 7, we present the result of this step for one case. The mask is applied to the FA image and is rendered in 3D.
Computation of the Population Average
The next step of the pipeline computes the population average of the input images. Figure 8 presents the scalar images (MD, FA, RD, AD) estimated from the obtained average DTI scan as well as the cFA overlaid with the tensors represented as ellipsoids.
Segmentation of Population Average
In the current study, we used the C57 Brookhaven atlas as the external template and atlas. This pipeline step diffeomorphically registered the external template to the population average and applied the obtained transform to the C57 Brookhaven atlas. Results are shown in Figures 9, 10.
Segmentation Propagation to Individual Subjects
To propagate the segmentation to the individual subjects, the inverse deformation fields were not used in this experiment. The registration between the population average image and each individual were recomputed for another study including cases not used to compute the population average. The new deformation fields were applied to the population average segmentation. Results are shown in Figure 11 for all subjects.
Figure 11. Subject segmentation. From left to right: axial view, coronal view and sagittal view of cases 1–6 (bottom–top).
Statistical Analysis of the Pipeline Output
We applied a t-test to compare the two populations that were scanned with different head coils (population A: cases 1–11; population B: cases 12–15). By comparing those two groups of scans we can assess whether there is a significant difference in the images due to the new head coil. The power of this specific statistical analysis is low due to the low number of samples in each group, especially for the t-test. This analysis is presented in this paper only to illustrate the possibilities opened by using this pipeline to analyze data.
Table 1 contains the whole brain statistics of the processed images. The volumes of the two groups seem to match well when comparing the whole brain. The AD, MD and RD are statistically different between the two groups (p < 0.05). The FA does not present any statistical differences either. This can possibly be explained by the fact that FA is a ratio of the diffusion along the different directions. Even though the absolute values of the measured diffusion amounts are changed, it is plausible that their relative magnitudes captured by FA remain stable.
Table 1. Whole brain volume (mm3); average MD (10−4 mm2/s), FA, RD (10−4 mm2/s) and AD (10−4 mm2/s) intensities; t-test to compare group A (subjects 1–11) to group B (subjects 12–15).
Among the individual regions of the brains that were segmented using the developed pipeline, no statistical differences in volume between the two groups were found (Table 2). Figure 12 illustrates the volume distribution of the segmented brain regions.
Figure 12. Distribution of the segmented brain region volumes (mm3). Neocortex volume is not presented for scale difference reason. Median: bar band; 25th and 75th percentile: left and right bar respectively; minimum and maximum: whiskers.
For all segmented brain regions but the ventricles, the significant statistical difference in the AD between the two groups (Table 1) over the whole brain is also present in individual regions (Table 2). Figure 13 shows the AD value distribution of the segmented brain regions. FA does only present statistical differences for certain regions such as the thalamus, the hypothalamus and a few others (Table 2). As explained above, this might be due to the fact that FA is a ratio of the diffusion along the different directions. Finally, RD and MD also present significant differences for most segmented regions (Table 2).
Figure 13. Axial diffusivity (mm2/s) of the segmented brain regions. Median: bar band; 25th and 75th percentile: left and right bar respectively; minimum and maximum: whiskers.
The results presented here are meant to serve only as a proof of concept to illustrate our Midas pipeline. A more thorough statistical analysis, including a larger sample size and correction for multiple comparison tests, is necessary before drawing any conclusions from this data set.
The pipeline presented herein allowed automated processing and comparison of two groups of mouse images scanned with different head coils. Visual inspection by a human expert confirmed that the results after each step of the pipeline were satisfactory. We were able to align the images, skull-strip them, compute a population average, segment the population average, propagate the segmentation to every individual and compute statistics over each individual image (MD, FA, AD, RD). The computation of these statistics was completed for the whole brain, using the brain mask, as well as for each segmented region, using the warped segmentation map from each case.
It is possible that in some circumstances, one want to skip some steps of the processing pipeline. For example, if one is only interested in skull-stripping the images (e.g., only measure the brain volume), registration of the images rigidly to an external template may not be necessary (step 1). Indeed, in step 2, the template is registered, rigidly and affinely, to the subject to transform the probability maps from the template space to the subject space, to apply the EM algorithm. However, there are three problems in skipping that step: (1) if the input images are DTI or DWI scans, one will still need to compute scalar images derived from those for the skull-stripping step to be achieved; (2) the skull-stripping results are usually more accurate after rigid registration; (3) the result of Step 3 (creation of a population average) is sharper if the rigid registration has been computed due to a better alignment.
The computation and segmentation of a population average are also optional. One may want to directly warp the external template segmentation to each individual image directly. This may be necessary in situations where the appearance of the individuals is too diverse for a stable population average to be computed. Additionally, computing only a single diffeomorphic registration directly to the external atlas may give, in some cases, a better result than having two warping steps (external template to population average followed by population average to individual). However, adding the population average creation and segmentation steps gives less biased results. If comparing two populations, one being close to the external atlas, and one being very different, the results obtained using direct registration of the external template to each individual will be biased. However, if one first computes an average using both populations and then registers this newly computed average to each subject, the result will be less biased, the average image including subjects from both populations.
Additionally, the population average image has a better SNR and therefore the registration of the external template to this image is usually more robust than the one to the individual images.
After each step, if one is not satisfied with the results obtained by the automatic processing, one can manually correct the images. For example, if the skull-stripping (step 2) is not accurate enough, one can edit masks that are not precise enough and use those corrected images in the rest of the pipeline. This also holds for the rigid registration (step 1) and the population average segmentation (step 4) steps as well. If one is not satisfied with the rigid registration results, one can directly provide a manual transformation to the pipeline and skip the computation of the automatic transformation. In such a case, the registration step will still compute the transformed image as well as the derived images if any (Fractional Anisoptropy, MD, etc.). This is useful when processing DWI and DTI.
It is possible to conduct additional processing of the data after the pipeline has been run. For example, a voxel-by-voxel analysis (Li et al., 2010) like those reported in previous studies (Tyszka et al., 2006; Van Camp et al., 2009) can be performed on the individual subjects transformed into the population average space using the deformation field transforms. Fiber tract-based analysis can also be used to detect white matter abnormalities (Sizonenko et al., 2007; Zhang et al., 2007) and to analyze DTI scans (Huang et al., 2004; Asanuma et al., 2008). These analyses can be performed in both the individual images, or in the population average space (Goodlett et al., 2009) which has a better SNR and propagated to individual images using the deformation field transforms computed with the pipeline. In addition to fiber tract analyses, assessment of cortical thickness (Tamnes et al., 2010; Lee et al., 2011) can be done in this type of analysis: the cortical thickness in the population average is computed and propagated the result to each subject again using the deformation field transforms obtained with the pipeline. Deformation field analysis (Walhovd et al., 2010), also called Tensor Morphometry, which allows detection of an increase or a decrease in the volume of a region by analyzing the amount of deformation, can also be performed by analyzing the deformation field computed by the pipeline.
Finally, the Midas platform allows easy collaboration by sharing data and tools. It is not necessary for data to be transferred back and forth between multiple laboratories and/or institutions. Any modified or newly computed data is directly available to each party sharing the platform and the data. Similarly, every institution sharing one Midas platform can share tools enabled by the plugin system without having the usual problems arising such as verifying that the correct versions are used and verifying that those tools are available for the different environments used in all collaborating institutions. An important side effect of this centralization is that input data and results can be better managed to ensure proper data provenance and experimental reproducibility. The web-based interface allows a user-friendly experience and the server-side processing reduces the need for powerful computers at each user's location. This is crucial for allowing biomedical scientists with limited image processing experience to use the DTI technology in their research.
We presented a pipeline that is freely available15 as a plugin for the Midas platform and that can be used to process rodent MR images. We showed preliminary results obtained with such analysis on a sample data set and demonstrated how useful and easy it is to use this pipeline to process images from beginning to end. The current scripts can also be easily adapted for future studies. Additional analysis such as voxel-by-voxel analysis, cortical thickness analysis, deformation field analysis or tractography can also be performed using the results of the pipeline or by adding a step to the current pipeline. Those additional steps will be included in the pipeline in later versions.
Conflict of Interest Statement
The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.
This study was supported by the Challenge grant RC1-AA019211, the NDRC grant P30-HD003110, the STTR grant R41-NS059095, the NADIA grant U01-AA020022 and the CAMID grant P01-DA022446. MR histology data was acquired at the Duke Center for In vivo Microscopy, an NIBIB Biomedical Technology Resource Center (NIBIB 8P41EB015897).
4. ^FreeSurfer is a set of automated tools for reconstruction of the brain's cortical surface from structural MRI data, and overlay of functional MRI onto the reconstructed surface: http://surfer/nmr.mgh.harvard.edu/
5. ^AtlasWerks is a set of high-performance tools for diffeomorphic 3D image registration and atlas building. Scientific Computing and Imaging Institute (SCI).
Asanuma, T., Doblas, S., Tesiram, Y. A., Saunders, D., Cranford, R., Yasui, H., et al. (2008). Visualization of the protective ability of a free radical trapping compound against rat c6 and f98 gliomas with diffusion tensor fiber tractography. J. Magn. Reson. Imaging 28, 574–587. doi: 10.1002/jmri.21474
Avants, B. B., Epstein, C. L., Grossman, M., and Gee, J. C. (2008). Symmetric diffeomorphic image registration with cross-correlation: evaluating automated labeling of elderly and neurodegenerative brain. Med. Image Anal. 12, 26–41. doi: 10.1016/j.media.2007.06.004
Badea, A., Johnson, G. A., and Jankowsky, J. L. (2010). Remote sites of structural atrophy predict later amyloid formation in a mouse model of Alzheimer's disease. Neuroimage 50, 416–427. doi: 10.1016/j.neuroimage.2009.12.070
Calabrese, E., Badea, A., Watson, C., and Johnson, G. A. (2013). A quantitative magnetic histology atlas of postnatal rat brain development with regional estimates of growth and variability. Neuroimage 71, 196–206. doi: 10.1016/j.neuroimage.2013.01.017
Chan, K. C., Khong, P., Lau, H., Cheung, P., and Wu, E. X. (2009). Late measures of microstructural alterations in severe neonatal hypoxic-ischemic encephalopathy by MR diffusion tensor imaging. Int. J. Dev. Neurosci. 27, 607–615. doi: 10.1016/j.ijdevneu.2009.05.012
Chen, X. J., Kovacevic, N., Lobaugh, N. J., Sled, J. G., Henkelman, R. M., and Henderson, J. T. (2005). Neuroanatomical differences between mouse strains as shown by high-resolution 3D MRI. Neuroimage 29, 99–105. doi: 10.1016/j.neuroimage.2005.07.008
Collins, D. L., Neelin, P., Peters, T. M., and Evans, A. C. (1994). Automatic 3D intersubject registration of MR volumetric data in standardized Talairach space. J. Comput. Assist. Tomogr. 18, 192–205. doi: 10.1097/00004728-199403000-00005
Dinov, I. D., Lozev, K., Petrosyan, P., Liu, Z., Eggert, P., Pierce, J., et al. (2010). Neuroimaging study designs, computational analyses and data provenance using the LONI pipeline. PLoS ONE 5:e13070. doi: 10.1371/journal.pone.0013070
Fatemi, S., Folsom, T., Reutiman, T., Abu-Odeh, D., Mori, S., Huang, H., et al. (2009). Abnormal expression of myelination genes and alterations in white matter fractional anisotropy following prenatal viral influenza infection at E16 in mice. Schizophr. Res. 112, 46–53. doi: 10.1016/j.schres.2009.04.014
Fischl, B., Salat, D. H., Busa, E., Albert, M., Dieterich, M., Haselgrove, C., et al. (2002). Whole brain segmentation: automated labeling of neuroanatomical structures in the human brain. Neuron 33, 341–355. doi: 10.1016/S0896-6273(02)00569-X
Gering, D., Nabavi, A., Kikinis, R., Grimson, W., Hata, N., Everett, P., et al. (1999). An integrated visualization system for surgical planning and guidance using image fusion and interventional imaging. Int. Conf. Med. Image Comput.Comput. Assist. Interv. 2, 809–819. doi: 10.1007/10704282_88
Goodlett, C., Fletcher, T., Gilmore, J., and Gerig, G. (2009). Group analysis of DTI fiber tract statistics with application to neurodevelopment. Neuroimage, 45, S133–S142. doi: 10.1016/j.neuroimage.2008.10.060
Harms, M. P., Kotyk, J. J., and Merchant, K. M. (2006). Evaluation of white matter integrity in ex vivo brains of amyloid plaque-bearing APPsw transgenic mice using magnetic resonance diffusion tensor imaging. Exp. Neurol. 199, 408–415. doi: 10.1016/j.expneurol.2006.01.002
Huang, H., Zhang, J., van Zijl, P., and Mori, S. (2004). Analysis of noise effects on DTI-based tractography using the brute-force and multi-roi approach. Magn. Reson. Med. 52, 559–565. doi: 10.1002/mrm.20147
Hui, E. S., Cheung, M. M., Chan, K. C., and Wu, E. X. (2010). B-value dependence of DTI quantitation and sensitivity in detecting neural tissue changes. Neuroimage 49, 2366–2374. doi: 10.1016/j.neuroimage.2009.10.022
Kovacevic, N., Henderson, J. T., Chan, E., Lifshitz, N., Bishop, J., Evans, A. C., et al. (2005). A three-dimensional MRI atlas of the mouse brain with estimates of the average and variability. Cereb. Cortex 15, 639–645. doi: 10.1093/cercor/bhh165
Lau, J. C., Lerch, J. P., Sled, J. G., Henkelman, R. M., Evans, A. C., and Bedell, B. J. (2008). Longitudinal neuroanatomical changes determined by deformation-based morphometry in a mouse model of Alzheimer's disease. Neuroimage 42, 19–27. doi: 10.1016/j.neuroimage.2008.04.252
Lee, J., Ehlers, C., Crews, F., Niethammer, M., Budin, F., Paniagua, B., et al. (2011). Automatic cortical thickness analysis on rodent brain. Proc. Soc. Photo Opt. Instrum. Eng. 7962, 7962481–79624811. doi: 10.1117/12.878305
Lee, J., Jomier, J., Aylward, S., Tyszka, M., Moy, S., Lauder, J., et al. (2009). Evaluation of atlas based mouse brain segmentation. Proc. Proc. Soc. Photo Opt. Instrum. Eng. 7259, 725943–725949. doi: 10.1117/12.812762
Lerch, J. P., Carroll, J. B., Spring, S., Bertram, L. N., Schwab, C., Hayden, M. R., et al. (2008). Automated deformation analysis in the YAC128 Huntington disease mouse model. Neuroimage 39, 32–39. doi: 10.1016/j.neuroimage.2007.08.033
Li, Q., Cheung, C., Wei, R., Cheung, V., Hui, E., You, Y., et al. (2010). Voxel-based analysis of postnatal white matter microstructure in mice exposed to immune challenge in early or late pregnancy. Neuroimage 52, 1–8. doi: 10.1016/j.neuroimage.2010.04.015
Lodygensky, G. A., West, T., Stump, M., Holtzman, D. M., Inder, T. E., and Neil, J. J. (2009). In vivo MRI analysis of an inflammatory injury in the developing brain. Brain Beha Immu. 24, 759–767. doi: 10.1016/j.bbi.2009.11.005
Ma, Y., Hof, P. R., Grant, S. C., Blackband, S. J., Bennett, R., Slatest, L., et al. (2005). A 3D digital atlas database of the adult C57Bl/6J mouse brain by magnetic resonance microscopy. Neuroscience 135, 1203–1215. doi: 10.1016/j.neuroscience.2005.07.014
MacKenzie-Graham, A., Tinsley, M., Shah, K., Aguilar, C., Strickland, L., Boline, J., et al. (2006). Cerebellar cortical atrophy in experimental autoimmune encephalomyelitis. Neuroimage 32(3), 1016–1023. doi: 10.1016/j.neuroimage.2006.05.006
Moon, W. J., Lee, M. H., and Chung, E. C. (2007). Diffusion-weighted imaging with sensitivity encoding (SENSE) for detecting cranial bone marrow metastases: comparison with T1-weighted images. Korean J. Radiol. 8, 185–191.
Nair, G., Tanahashi, Y., Low, H. P., Billings-Gagliardi, S., Schwartz, W. J., and Duong, T. Q. (2005). Myelination and long diffusion times alter diffusion tensor imaging contrast in myelin-deficient shiverer mice. Neuroimage 28, 165–174. doi: 10.1016/j.neuroimage.2005.05.049
O'Leary-Moore, S. K., Parnell, S. E., Godin, E. A., and Sulik, K. K. (2012). Diffusion Tensor Imaging (DTI)-based analysis of fiber tract abnormalities in a mouse model of prenatal alcohol exposure. Alcohol. Clin. Exp. Res. 36, 312A.
Oguz, I., Lee, J., Budin, F., Rumple, A., McMurray, M., Ehlers, C., et al. (2011). Automatic skull-stripping of rat MRI/DTI scans and atlas building. Proc. Soc. Photo Opt. Instrum. Eng. 7962, 796225–1–796225-7.
Pieper, S., Lorensen, B., Schroeder, W., and Kikinis, R. (2006). “The NA-MIC Kit: ITK, VTK, pipelines, grids and 3D slicer as an open platform for the medical image computing community,” in Proceedings of the 3rd IEEE International Symposium on Biomedical Imaging: From Nano to Macro, Vol. 1, (Arlington, VA), 698–701.
Pohl, K. M., Bouix, S., Nakamura, M., Rohlfing, T., McCarley, R. W., Kikinis, R., et al. (2007). A hierarchical algorithm for MR brain image parcellation. IEEE Trans. Med. Imaging 26, 1201–1212. doi: 10.1109/TMI.2007.901433
Sizonenko, S. V., Camm, E. J., Garbow, J. R., Maier, S. E., Inder, T. E., Williams, C. E., et al. (2007). Developmental changes and injury induced disruption of the radial organization of the cortex in the immature rat brain revealed by in vivo diffusion tensor MRI. Cereb. Cortex 17, 2609–2617. doi: 10.1093/cercor/bhl168
Smith, S. M., Jenkinson, M., Woolrich, M. W., Beckmann, C. F., Behrens, T. E. J., Johansen-Berg, H., et al. (2004). Advances in functional and structural MR image analysis and implementation as FSL. Neuroimage 23, 208–219. doi: 10.1016/j.neuroimage.2004.07.051
Song, S., Yoshino, J., Le, T. Q., Lin, S., Sun, S., Cross, A. H., et al. (2005). Demyelination increases radial diffusivity in corpus callosum of mouse brain. Neuroimage 26, 132–140. doi: 10.1016/j.neuroimage.2005.01.028
Stone, B. S., Zhang, J., Mack, D. W., Mori, S., Martin, L. J., and Northington, F. J. (2008). Delayed neural network degeneration after neonatal hypoxia-ischemia. Ann. Neurol. 64, 535–546. doi: 10.1002/ana.21517
Sun, S., Song, S., Harms, M. P., Lin, S., Holtzman, D. M., Merchant, K. M., et al. (2005). Detection of age-dependent brain injury in a mouse model of brain amyloidosis associated with Alzheimer's disease using magnetic resonance diffusion tensor imaging. Exp. Neurol. 191, 77–85. doi: 10.1016/j.expneurol.2004.09.006
Tamnes, C. K., Ostby, Y., Fjell, A. M., Westlye, L. T., Due-Tønnessen, P., and Walhovd, K. B. (2010). Brain maturation in adolescence and young adulthood: regional age-related changes in cortical thickness and white matter volume and microstructure. Cereb. Cortex 20, 534–548. doi: 10.1093/cercor/bhp118
Tustison, N. J., Avants, B. B., Cook, P. A., Zheng, Y., Egan, A., Yushkevich, P. A., et al. (2010). N4ITK: improved N3 bias correction. IEEE Trans. Med. Imaging 29, 1310–1320. doi: 10.1109/TMI.2010.2046908
Tyszka, J., Readhead, C., Bearer, E., Pautler, R., and Jacobs, R. (2006). Statistical DT histology reveals regional dysmyelination effects in the shiverer mouse mutant. Neuroimage 29, 1058–1065. doi: 10.1016/j.neuroimage.2005.08.037
Van Camp, N., Blockx, I., Verhoye, M., Casteels, C., Coun, F., Lee-mans, A., et al. (2009). Diffusion tensor imaging in a rat model of Parkinson's disease after lesioning of the nigrostriatal tract. NMR Biomed. 22, 697–706. doi: 10.1002/nbm.1381
Walhovd, K. B., Westlye, L. T., Moe, V., Slinning, K., Due-Tønnessen, P., Bjørnerud, A., et al. (2010). White matter characteristics and cognition in prenatally opiate-and polysubstance-exposed children: a diffusion tensor imaging study. Am. J Neuroradiol. 31, 894–900. doi: 10.3174/ajnr.A1957
Wang, S., Wu, E. X., Tam, C. N., Lau, H., Cheung, P., and Khong, P. (2008). Characterization of white matter injury in a hypoxic-ischemic neonatal rat model by diffusion tensor MRI. Stroke 39, 2348–2353. doi: 10.1161/STROKEAHA.107.509927
Yushkevich, P. A., Piven, J., Hazlett, H. C., Smith, R. G., Ho, S., Gee, J. C., et al. (2006). User-guided 3D active contour segmentation of anatomical structures: significantly improved efficiency and reliability. Neuroimage 31, 1116–1128. doi: 10.1016/j.neuroimage.2006.01.015
Zahr, N. M., Mayer, D., Rohlfing, T., Hasak, M. P., Hsu, O., Vinco, S., et al. (2009). Brain injury and recovery following binge ethanol: evidence from in vivo magnetic resonance spectroscopy. Biol. Psychiatry 67, 846–854. doi: 10.1016/j.biopsych.2009.10.028
Zhang, J., van Zijl, P., Laterra, J., Salhotra, A., Lal, B., Mori, S., et al. (2007). Unique patterns of diffusion directionality in rat brain tumors revealed by high-resolution diffusion tensor MRI. Magn. Reson. Med. 58, 454–462. doi: 10.1002/mrm.21371
Keywords: rodent, magnetic resonance imaging, automatic processing, server
Citation: Budin F, Hoogstoel M, Reynolds P, Grauer M, O'Leary-Moore SK and Oguz I (2013) Fully automated rodent brain MR image processing pipeline on a Midas server: from acquired images to region-based statistics. Front. Neuroinform. 7:15. doi: 10.3389/fninf.2013.00015
Received: 07 November 2012; Accepted: 23 July 2013;
Published online: 13 August 2013.
Edited by:Richard A. Baldock, MRC Human Genetics Unit, UK
Reviewed by:Torsten Rohlfing, SRI International, USA
Seth W. Rufffins, Broad CIRM Center at the University of Southern California, USA
Copyright © 2013 Budin, Hoogstoel, Reynolds, Grauer, O'Leary-Moore and Oguz. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) or licensor are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.
*Correspondence: Francois Budin, Neuro Image Research and Analysis Laboratories, Department of Psychiatry, University of North Carolina, 361 Medical School Wing C, Campus Box 7160, Chapel Hill, NC, 27599-7160, USA e-mail: firstname.lastname@example.org