Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2015 Apr 24:9:12.
doi: 10.3389/fninf.2015.00012. eCollection 2015.

Reproducibility of neuroimaging analyses across operating systems

Affiliations

Reproducibility of neuroimaging analyses across operating systems

Tristan Glatard et al. Front Neuroinform. .

Abstract

Neuroimaging pipelines are known to generate different results depending on the computing platform where they are compiled and executed. We quantify these differences for brain tissue classification, fMRI analysis, and cortical thickness (CT) extraction, using three of the main neuroimaging packages (FSL, Freesurfer and CIVET) and different versions of GNU/Linux. We also identify some causes of these differences using library and system call interception. We find that these packages use mathematical functions based on single-precision floating-point arithmetic whose implementations in operating systems continue to evolve. While these differences have little or no impact on simple analysis pipelines such as brain extraction and cortical tissue classification, their accumulation creates important differences in longer pipelines such as subcortical tissue classification, fMRI analysis, and cortical thickness extraction. With FSL, most Dice coefficients between subcortical classifications obtained on different operating systems remain above 0.9, but values as low as 0.59 are observed. Independent component analyses (ICA) of fMRI data differ between operating systems in one third of the tested subjects, due to differences in motion correction. With Freesurfer and CIVET, in some brain regions we find an effect of build or operating system on cortical thickness. A first step to correct these reproducibility issues would be to use more precise representations of floating-point numbers in the critical sections of the pipelines. The numerical stability of pipelines should also be reviewed.

Keywords: CIVET; FSL; Freesurfer; operating systems; reproducibility.

PubMed Disclaimer

Figures

Figure 1
Figure 1
Source code, compilation, libraries, kernel and hardware.
Figure 2
Figure 2
Sum of binarized differences between cortical tissue classifications obtained on cluster A and cluster B (FSL FAST, build 1, n = 150 subjects). All binarized differences were resampled to the default MNI152 volume template.
Figure 3
Figure 3
Cumulative inter-OS differences in FSL FAST.
Figure 4
Figure 4
Histograms of Dice coefficients between classifications obtained on cluster A vs. cluster B with FSL FIRST. All bins are of size 0.1. min, μ, and σ are the minimum, mean and standard deviation Dice coefficient, respectively.
Figure 5
Figure 5
Sample subcortical classifications with FSL FIRST: subject 260, Z = 114.
Figure 6
Figure 6
Cumulative inter-OS differences in FSL FIRST.
Figure 7
Figure 7
Histograms of Dice coefficients between matched ICA components. Variable random seed initialization (case b), automatic dimension detection (case d). Red histograms, positive components; Blue histograms, negative components; m, mode of the histogram.
Figure 8
Figure 8
Histograms of Dice coefficients between matched ICA components. Variable random seed initialization (case b), fixed dimension (case c). Red histograms, positive components; Blue histograms, negative components; m, mode of the histogram.
Figure 9
Figure 9
Histograms of Dice coefficients between matched ICA components on cluster A vs. cluster B (logarithmic scale). Fixed random seed initialization (case a). Red histograms, positive components; Blue histograms, negative components; m, mode of the histogram.
Figure 10
Figure 10
Mean absolute differences after successive steps of pre-processing, normalized by the mean absolute difference after all pre-processing steps (all 37 subjects).
Figure 11
Figure 11
Cumulative inter-OS differences in FSL mcflirt.
Figure 12
Figure 12
Surface maps of mean absolute difference, standard-deviation of absolute difference, t-statistics and RFT significance values showing regions where the cortical thickness extracted with Freesurfer differs for build 1 and build 2 (both executed on cluster B).
Figure 13
Figure 13
Surface maps of mean absolute difference, standard-deviation of absolute difference, t-statistics and RFT significance values showing regions where the cortical thickness extracted with Freesurfer differs for cluster A and cluster B (both executed with build 1).
Figure 14
Figure 14
Surface maps of mean absolute difference, standard-deviation of absolute difference, t-statistics and RFT significance values showing regions where the cortical thickness extracted with CIVET differs for cluster A and cluster B (both executed with build 1).

References

    1. Ad-Dabbagh Y., Einarson D., Lyttelton O., Muehlboeck J.-S., Mok K., Ivanov O., et al. (2006). The CIVET image-processing environment: a fully automated comprehensive pipeline for anatomical neuroimaging research, in Proceedings of the 12th Annual Meeting of the Organization for Human Brain Mapping. (Florence: ).
    1. Bailey D., Barrio R., Borwein J. (2012). High-precision computation: mathematical physics and dynamics. Appl. Math. Comput. 218, 10106–10121 10.1016/j.amc.2012.03.087 - DOI
    1. Beckmann C. F., Smith S. M. (2004). Probabilistic independent component analysis for functional magnetic resonance imaging. IEEE Trans. Med. Imaging 23, 137–152. 10.1109/TMI.2003.822821 - DOI - PubMed
    1. Dice L. (1945). Measures of the amount of ecologic association between species. Ecology 26, 297–302 10.2307/1932409 - DOI
    1. Fischl B. (2012). FreeSurfer. Neuroimage 62, 774–781. 10.1016/j.neuroimage.2012.01.021 - DOI - PMC - PubMed

LinkOut - more resources