Skip to main content

Lin4Neuro: a customized Linux distribution ready for neuroimaging analysis

Abstract

Background

A variety of neuroimaging software packages have been released from various laboratories worldwide, and many researchers use these packages in combination. Though most of these software packages are freely available, some people find them difficult to install and configure because they are mostly based on UNIX-like operating systems. We developed a live USB-bootable Linux package named "Lin4Neuro." This system includes popular neuroimaging analysis tools. The user interface is customized so that even Windows users can use it intuitively.

Results

The boot time of this system was only around 40 seconds. We performed a benchmark test of inhomogeneity correction on 10 subjects of three-dimensional T1-weighted MRI scans. The processing speed of USB-booted Lin4Neuro was as fast as that of the package installed on the hard disk drive. We also installed Lin4Neuro on a virtualization software package that emulates the Linux environment on a Windows-based operation system. Although the processing speed was slower than that under other conditions, it remained comparable.

Conclusions

With Lin4Neuro in one's hand, one can access neuroimaging software packages easily, and immediately focus on analyzing data. Lin4Neuro can be a good primer for beginners of neuroimaging analysis or students who are interested in neuroimaging analysis. It also provides a practical means of sharing analysis environments across sites.

Peer Review reports

Background

The flourishing development of the neuroimaging research field has been in part supported by a wealth of open-source software packages released from various laboratories worldwide. Besides the obvious merit of being available for free, they are often equipped with cutting-edge analytical tools that are not included in commercial software packages, allowing researchers to perform state-of-the-art neuroimaging analyses.

These packages are usually developed for a specific purpose, but many researchers use them in combination. For example, Acosta-Cabronero et al. [1] demonstrated that the combination of skull stripping with BET2 [2] and intensity inhomogeneity correction with N3 [3] improved the accuracy of the gray matter segmentation of SPM5 [4].

Conventionally, UNIX or UNIX-like operating systems such as Linux have served as platforms for developing most of these software packages. However, not all researchers in the field of neuroimaging are familiar with those versatile yet recondite operating systems. This is especially so given the interdisciplinary development of neuroimaging research, which inevitably entails the influx of researchers without Linux experience. Though installing Linux has been getting much easier, many still find it difficult to set up and maintain an effective Linux environment for neuroimaging software packages. For example, if a Windows user tries to use a neuroimaging software package that works on Linux, he/she has to start by installing Linux, then install the neuroimaging analysis software packages, and still has to struggle with the configuration processes. As a result, many researchers spend vast amounts of time merely setting up a neuroimaging analysis environment before they can actually start analyzing.

LONI pipeline offers a solution to these problems, enabling one to access various software packages released from different laboratories in different environments from a unified user interface [5, 6]. However, LONI pipeline is a server-client solution, and, if one wants to use it on a stand-alone computer, one must install all of the software packages beforehand. Recently, a project named Nipype [7] has provided a uniform interface for existing neuroimaging software packages, and facilitates interaction between these packages within a single workflow. This is an excellent tool, which encourages interactive exploration of algorithms from different packages, but users still have to install different packages beforehand. In this respect, there have not been any simple solutions by which users can use Linux-based software packages immediately.

One alternative is to use "live Linux," which contains a bootable computer operating system. Live Linux is unique in that it has the ability to run a complete, modern operating system on a computer without using installed storage such as a hard disk drive. It is very useful for several reasons. First, many software packages can be installed beforehand in a CD, DVD, or USB flash drive so that one can use them immediately upon booting a computer from live Linux. Second, it does not have to be installed on the computer's hard disk, making it portable so that one can recreate one's environment on any computer. Third, live Linux can also be installed on a hard disk with only a few mouse clicks: this is the most time-effective way to set up a neuroimaging analysis system.

If we provide a live Linux system in which neuroimaging software packages have already been installed, it will not only save time for researchers, but also expand the horizons of the neuroimaging field by allowing the easy setup of neuroimaging processing environments. Therefore, we developed a live Linux package named "Lin4Neuro."

Implementation

Specifications of Lin4Neuro

We employed Ubuntu Linux 10.04 Desktop LTS (Long Term Support) 32/64bit version [8] as the base operating system. We chose Ubuntu mainly for the following four reasons: First, several neuroimaging analysis software packages have guidelines for installation on Ubuntu; additionally, a useful repository named NeuroDebian [9] is provided so that one can easily install and update neuroscience-related packages on Ubuntu. Second, a utility named Remastersys, available on Ubuntu, enables one to generate a live Linux environment. Third, Ubuntu is highly flexible, and can be optimized for a particular type of analysis. For example, many neuroimaging analysis software packages require a lot of memory. Ubuntu's versatile memory management tools can minimize the memory consumption of the operating system, and allow one to make the best use of memory for neuroimaging software packages. Finally, the Ubuntu installer is sophisticated, allowing the easy installation of Ubuntu on a hard disk.

As for neuroimaging analysis software to be incorporated into Lin4Neuro, we chose the following:

  1. 1.

    3D Slicer developed by the Brigham and Women's Hospital, Inc. U.S.A. [10]

  2. 2.

    AFNI developed by the Scientific and Statistical Computing Core of the NIMH Intramural Research Program, U.S.A. [11, 12]

  3. 3.

    AMIDE developed by Andy Loening, U.S.A. [13, 14]

  4. 4.

    Caret developed by The Van Essen Laboratory at the Washington University School of Medicine in Saint Louis, Missouri, USA. [15, 16]

  5. 5.

    FSL developed by FMRIB, Oxford, United Kingdom [17, 18]

  6. 6.

    ITK developed by the Insight Software Consortium, U.S.A. [19]

  7. 7.

    LIPSIA developed by the Max-Planck-Institute for Human Cognitive and Brain Sciences in Leipzig, Germany. [20, 21]

  8. 8.

    MINC software packages including MNI-N3 developed by the McConnell Brain Imaging Center of the Montreal Neurological Institute, McGill University, Canada [22]

  9. 9.

    MRIConvert developed by Jolinda Smith, the Lewis Center for Neuroimaging at the University of Oregon, U.S.A. [23]

  10. 10.

    MRIcron developed by Chris Roden, U.S.A [24, 25]

  11. 11.

    Virtual MRI by Thomas Hacklaender, Germany [26, 27]

  12. 12.

    (x)Medcon developed by Eric Nolf, Belgium. [28]

Table 1 describes the function of the each package listed above. They are distributed under the GNU GPL (General Public License), BSD (Berkeley Software Distribution) license, and under any license which states that the packaged software can be redistributed for research purposes provided there is no financial return. We did not include SPM (Statistical Parametric Mapping) developed by Wellcome Trust Centre for Neuroimaging because SPM requires Matlab, which is a commercial software package.

Table 1 Neuroimaging software packages included in Lin4Neuro

First we installed Ubuntu and the software packages listed above, and set up the configuration procedures necessary to run them stably. We also implemented a tutorial and sample dataset showing how to use the packages included in Lin4Neuro.

Then, we customized the desktop interface to have a Windows-like appearance so that typical Windows users could easily familiarize themselves with the Linux environment (Figure 1). Following the customization, we made a distributable copy using Remastersys [29]. Finally, live USB flash drives were made using the disk creator utility in Ubuntu.

Figure 1
figure 1

Screenshot of Lin4Neuro. User interface of Lin4Neuro was customized so that even Windows users can use this system intuitively. Shortcuts for tutorials and the manual are provided on the desktop, so users can reach the necessary resources easily with a few clicks.

Lin4Neuro will be distributed as an iso image; Windows users can create live USB flash drives with a software package called "Universal USB Installer" [30]. It takes only 40 seconds to boot on a mid-range personal computer with a Core2Quad Q6600 CPU running at 2.33 GHz with 4GB memory. Upon booting from the live USB flash drive, the software packages listed above are ready to use on most personal computers. In addition, one can install Lin4Neuro on a hard disk from the live USB flash drive. After being installed, Lin4Neuro can be customized, and even personalized, using the Remastersys program.

Application of Lin4Neuro

The easy installation and system portability featured in Lin4Neuro not only allow one to access various neuroimaging packages, but also make the neuroimaging-processing environment sharable. One example of where such merits would be extremely beneficial is in multicenter studies on structural MR images, in which imaging data among several different research groups must be integrated through a common protocol. Obviously, Lin4Neuro is beneficial in realizing a common platform that can be shared among different research groups. Moreover, it provides a series of preprocessing tools that are often required for cross-center data comparison. Since it is not feasible that all the groups possess the same imaging facility, neuroimaging data should be more or less corrected for inhomogeneity to the degree that they are comparable. Intensity inhomogeneity of MR images is known to affect the precision of the results of segmentation [1, 31, 32]. Thus, it is important that the same protocols for imaging data preprocessing are shared within and across each institute, and Lin4Neuro provides an ideal environment for this purpose. In the following example, we will demonstrate how the inhomogeneity correction is implemented in this system.

According to the method by Acosta-Cabronero et al., [1] we prepared a batch script, which processes the following in series: First, we stripped the skull and made a mask of the brain using BET2, included in FSL. Second, the processed images were converted to MINC format with the MINC-Tool included in the MINC software package. Third, we performed inhomogeneity correction using N3, included in the MINC software packages. The brain mask generated by BET2 was used to identify the region to which N3 was applied. Finally, the inhomogeneity-corrected images were converted back to NIFTI-1 format with the MINC-Tool, and made ready for segmentation with software packages such as SPM or FSL. A schematic of the processing is shown in Figure 2.

Figure 2
figure 2

Schematic of inhomogeneity correction procedure performed on Lin4Neuro. Input images in the DICOM format were sequentially processed by MRIConvert, BET2, MINC-Tool, N3, and MINC-Tool to generate inhomogeneity-corrected images in NIFTI-1 format. Procedures within the dashed box were automated with a short shell script in Lin4Neuro. Open circles indicate formats. Open squares indicate software used for the procedures.

Results

Using the batch script above, we performed a benchmark test of Lin4Neuro under several system conditions. We performed the batch analyses described above on 10 subjects of three-dimensional T1-weighted MRI scans from the freely available IXI dataset [33].

The results are summarized in Table 2. First of all, the processing time of the USB-boot Lin4Neuro was as fast as that of the HDD-boot. This proved that USB-booting of Lin4Neuro does not compromise on speed. The processing time of the 64bit Lin4Neuro was around 1.5 minutes (15%) faster than the 32bit time with the same hardware, proving that the system and software packages were well optimized for the 64bit architecture. We also installed Lin4Neuro on a VMware player [34], a virtualization software package that emulates the Linux environment on a Windows-based operation system. Although the processing speed was slower than that under other conditions, it remained comparable. It should be noted that memory and cores of CPU were limited for the virtual machine.

Table 2 Benchmark results of the inhomogeneity correction script

Discussion

Those who are involved in neuroimaging analysis have surely experienced spending an inordinate amount of time setting up a system environment before analyzing data. Still, they are lucky in the sense that they have managed to set it up: how many researchers struggle in vain, giving up before they are able to analyze their data? Setting up a system environment should not be a rite of passage into "neuroimaginghood." With Lin4Neuro in one's hand, one can access neuroimaging software packages easily and immediately focus on analyzing data. This approach will also benefit developers of software packages since the pre-installation of software will give many potential users opportunities to try them.

As an application of Lin4Neuro, we compared the processing time of intensity inhomogeneity correction under different system conditions. Surprisingly, the results showed that the USB-boot live Linux system is as capable as the hard-disk-installed Linux system. This means that one is able to achieve a versatile Linux environment for neuroimaging analyses by simply booting Lin4Neuro from a USB flash drive, omitting complicated procedures for installing and configuring Linux and Linux-based neuroimaging software packages. In addition, the current study also demonstrated the possibility of utilizing virtualization. Although full use of hardware power cannot be achieved, virtualization may provide a practical solution for realizing a neuroimaging Linux environment on a Windows PC. Thus, using live Linux or virtualization software, one does not have to prepare new hardware but can make the best use of one's current hardware.

It is noteworthy that many neuroimaging software packages have command-line utilities. This makes the combining of functions of different software packages easy, and the processing of images automatic. Providing a common analytical platform with Lin4Neuro facilitates such integrative protocols across packages. In the future, we plan to incorporate Nipype into this system, which will provide an environment that encourages interactive exploration of algorithms from different packages, eases the design of workflows within and between packages, and reduces the learning curve necessary to use different packages.

Recently, multi-center studies have become increasing common. Accordingly, quality control of imaging data is gaining much more importance. For example, Alzheimer's disease Neuroimaging Initiative (ADNI) standardized the MRI protocol, post-acquisition corrections, and phantom-based monitoring of all scanners across sites and platforms [35]. Lin4Neuro provides a practical means of sharing the analysis environment across sites. Once this system is installed on a hard disk, one can customize the environment and re-create distributable copies. By doing so, each center can share a neuroimaging analysis environment for specific research. Moreover, one can replicate the image processing protocols easily by sharing the scripts which describe how images are processed. From a different perspective, it should also be noted that Lin4Neuro on a USB flash drive can serve as an installer for a Linux operating system and Linux-based neuroimaging software packages. With a slight modification of the BIOS (Basic Input/Output System) settings to enable booting from the USB flash disk, one can easily realize an optimized Linux environment for neuroimaging analyses on a new personal computer.

With the interdisciplinary development of neuroimaging research, not only neuroscientists but also many researchers from different fields are participating in neuroimaging research. Thus, it is becoming more important to establish a platform in which one can easily access various neuroimaging analysis software packages. Lin4Neuro could be a good primer for beginners of neuroimaging analysis or students who are interested in neuroimaging analysis.

In the current release, we limited the software packages incorporated into the system to only those that are frequently used. However, there are many software packages which are redistributable on the internet. Recently, a website named NITRC (The Neuroimaging Informatics Tools and Resources Clearinghouse) has been established and is open to public, enabling us to find many useful neuroimaging software packages [36, 37]. In the future, it might be possible to include a wide variety of redistributable software packages based on information from NTIRC. Though we cannot include commercial software packages or software packages that require license keys, installing Lin4Neuro on a hard disk will enable the user to install any Linux-based software packages. Specifically, SPM, one of the most influential neuroimaging software packages, which is a freeware package itself but dependent on Matlab, is currently excluded from Lin4Neuro. However, since a standalone SPM which does not a require MATLAB license is under development [38], hopefully it may be included in Lin4Neuro in a future release.

As our system includes many well-known software packages, some may argue that the contributions of this study are not original. However, the genuine originality of our study lies in the creation of a unique and integrative neuroimaging environment. In this respect, Lin4Neuro plays a role as a portal for neuroimaging software packages and keeps researchers from getting lost in vast amounts of information. Lin4Neuro is available on the Internet [39]. Since this system has an interactive nature, we hope that, through interaction among users, Lin4Neuro will become more sophisticated and easier to use, and consequently contribute to the further development of the neuroimaging field.

Conclusion

With Lin4Neuro in one's hand, one can easily establish a neuroimaging analysis environment. Lin4Neuro is beneficial for beginners of neuroimaging analysis or students who are interested in neuroimaging analysis. It can also benefit experts in that it provides a practical means of sharing analysis environments across computers or even sites.

Availability and requirements

Project name: Lin4Neuro

Project home page: http://www.nemotos.net/lin4neuro/

Operating system: Linux (based on Ubuntu 10.04 LTS)

Program language: N/A

Other requirements: VMware or VirtualBox (Windows)

License: GNU General Public License (GPL) Restrictions to use by non-academic: Lin4Neuro is intended for research purpose only.

References

  1. Acosta-Cabronero J, Williams GB, Pereira JM, Pengas G, Nestor PJ: The impact of skull-stripping and radio-frequency bias correction on grey-matter segmentation for voxel-based morphometry. Neuroimage. 2008, 39: 1654-1665. 10.1016/j.neuroimage.2007.10.051.

    Article  PubMed  Google Scholar 

  2. Smith SM: Fast robust automated brain extraction. Hum Brain Mapp. 2002, 17: 143-155. 10.1002/hbm.10062.

    Article  PubMed  Google Scholar 

  3. Sled JG, Zijdenbos AP, Evans AC: A nonparametric method for automatic correction of intensity nonuniformity in MRI data. IEEE Trans Med Imaging. 1998, 17: 87-97. 10.1109/42.668698.

    Article  CAS  PubMed  Google Scholar 

  4. Ashburner J, Friston KJ: Unified segmentation. Neuroimage. 2005, 26: 839-851. 10.1016/j.neuroimage.2005.02.018.

    Article  PubMed  Google Scholar 

  5. Rex DE, Ma JQ, Toga AW: The LONI Pipeline Processing Environment. Neuroimage. 2003, 19: 1033-1048. 10.1016/S1053-8119(03)00185-X.

    Article  PubMed  Google Scholar 

  6. Dinov ID, Van Horn JD, Lozev KM, Magsipoc R, Petrosyan P, Liu Z, Mackenzie-Graham A, Eggert P, Parker DS, Toga AW: Efficient, Distributed and Interactive Neuroimaging Data Analysis Using the LONI Pipeline. Front Neuroinformatics. 2009, 3: 22-

    Article  PubMed Central  Google Scholar 

  7. Nipype: Neuroimaging in Python Pypelines and Interfaces. [http://nipy.sourceforge.net/nipype/]

  8. Ubuntu desktop edition. [http://www.ubuntu.com/desktop]

  9. NeuroDebian. [http://neuro.debian.net/]

  10. 3D slicer. [http://www.slicer.org/]

  11. Cox RW: AFNI: software for analysis and visualization of functional magnetic resonance neuroimages. Comput Biomed Res. 1996, 29: 162-173. 10.1006/cbmr.1996.0014.

    Article  CAS  PubMed  Google Scholar 

  12. AFNI main page. [http://afni.nimh.nih.gov/afni]

  13. Loening AM, Gambhir SS: AMIDE: a free software tool for multimodality medical image analysis. Mol Imaging. 2003, 2: 131-137. 10.1162/153535003322556877.

    Article  PubMed  Google Scholar 

  14. AMIDE. [http://amide.sourceforge.net/]

  15. Van Essen DC, Drury HA, Dickson J, Harwell J, Hanlon D, Anderson CH: An integrated software suite for surface-based analyses of cerebral cortex. J Am Med Inform Assoc. 2001, 8: 443-459.

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  16. Caret. [http://brainvis.wustl.edu/wiki/index.php/Caret:About]

  17. Smith SM, Jenkinson M, Woolrich MW, Beckmann CF, Behrens TE, Johansen-Berg H, Bannister PR, De Luca M, Drobnjak I, Flitney DE, Niazy RK, Saunders J, Vickers J, Zhang Y, De Stefano N, Brady JM, Matthews PM: Advances in functional and structural MR image analysis and implementation as FSL. Neuroimage 23 Suppl. 2004, 1: S208-S219. 10.1016/j.neuroimage.2004.07.051.

    Article  Google Scholar 

  18. FMRIB Software Library. [http://www.fmrib.ox.ac.uk/fsl/]

  19. ITK: ITK Insigt Tooklit. [http://www.itk.org/]

  20. Lohmann G, Muller K, Bosch V, Mentzel H, Hessler S, Chen L, Zysset S, von Cramon DY: LIPSIA--a new software system for the evaluation of functional magnetic resonance images of the human brain. Comput Med Imaging Graph. 2001, 25: 449-457. 10.1016/S0895-6111(01)00008-8.

    Article  CAS  PubMed  Google Scholar 

  21. LIPSIA. [http://www.cbs.mpg.de/institute/software/lipsia]

  22. BIC - The McConnell Brain Imaging Centre. [http://www.bic.mni.mcgill.ca/ServicesSoftware/HomePage]

  23. MRIConvert. [http://lcni.uoregon.edu/~jolinda/MRIConvert/]

  24. Rorden C, Karnath HO, Bonilha L: Improving lesion-symptom mapping. J Cogn Neurosci. 2007, 19: 1081-1088. 10.1162/jocn.2007.19.7.1081.

    Article  PubMed  Google Scholar 

  25. MRIcron: MRIcron. [http://www.cabiatl.com/mricro/mricron/index.html]

  26. Hacklander T, Mertens H: Virtual MRI: a PC-based simulation of a clinical MR scanner. Acad Radiol. 2005, 12: 85-96. 10.1016/j.acra.2004.09.011.

    Article  PubMed  Google Scholar 

  27. Virtual MRI. [http://www.iftm.de/elearning/vmri/idx_vmri.htm]

  28. (x)MedCon. [http://xmedcon.sourceforge.net/]

  29. Remastersys: A Unique Linux Backup Tool for Debian and Ubuntu. [http://www.geekconnection.org/remastersys/]

  30. USB installer: Universal USB Installer - Easy as 1 2 3. [http://www.pendrivelinux.com/universal-usb-installer-easy-as-1-2-3/]

  31. Lewis EB, Fox NC: Correction of differential intensity inhomogeneity in longitudinal MR images. Neuroimage. 2004, 23: 75-83. 10.1016/j.neuroimage.2004.04.030.

    Article  PubMed  Google Scholar 

  32. Boyes RG, Gunter JL, Frost C, Janke AL, Yeatman T, Hill DL, Bernstein MA, Thompson PM, Weiner MW, Schuff N, Alexander GE, Killiany RJ, DeCarli C, Jack CR, Fox NC: Intensity non-uniformity correction using N3 on 3-T scanners with multichannel phased array coils. Neuroimage. 2008, 39: 1752-1762. 10.1016/j.neuroimage.2007.10.026.

    Article  PubMed  Google Scholar 

  33. brain-development.org. [http://www.brain-development.org/]

  34. VMware. [http://www.vmware.com/]

  35. Jack CR, Bernstein MA, Fox NC, Thompson P, Alexander G, Harvey D, Borowski B, Britson PJ, Whitwell LJ, Ward C, Dale AM, Felmlee JP, Gunter JL, Hill DL, Killiany R, Schuff N, Fox-Bosetti S, Lin C, Studholme C, DeCarli CS, Krueger G, Ward HA, Metzger GJ, Scott KT, Mallozzi R, Blezek D, Levy J, Debbins JP, Fleisher AS, Albert M, Green R, Bartzokis G, Glover G, Mugler J, Weiner MW: The Alzheimer's Disease Neuroimaging Initiative (ADNI): MRI methods. J Magn Reson Imaging. 2008, 27: 685-691. 10.1002/jmri.21049.

    Article  PubMed  PubMed Central  Google Scholar 

  36. Buccigrossi R, Ellisman M, Grethe J, Haselgrove C, Kennedy DN, Martone M, Preuss N, Reynolds K, Sullivan M, Turner J, Wagner K: The Neuroimaging Informatics Tools and Resources Clearinghouse (NITRC). AMIA Annu Symp Proc. 2008 Nov. 2008, 6: 1000-

    Google Scholar 

  37. NITRC. [http://www.nitrc.org/]

  38. SPM8 update announcement posted to SPM Mailing List. [https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=SPM;7e8cc308.1007]

  39. Lin4Neuro. [http://www.nemotos.net/lin4neuro/]

Pre-publication history

Download references

Acknowledgements

This work was supported in part by Health and Labor Sciences Research Grants, Research on Psychiatric and Neurological Diseases and Mental Health (H20-kokoro-001). The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript. Lin4Neuro relies on the open source software packages and the useful repositories such as NeuroDebian. We appreciate their tremendous contributions to this field.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Kiyotaka Nemoto.

Additional information

Competing interests

The authors declare that they have no competing interests.

Authors' contributions

KN designed the system, carried out the benchmark test, and wrote the manuscript. ID played a subsidiary role in the study design and writing the manuscript. CR prepared the tutorial and sample dataset implemented in Lin4Neuro. DT and MO tested the system and helped to draft the manuscript. TO, FY, and TA participated in the study design and tested the system. All authors read and approved the final manuscript.

Authors’ original submitted files for images

Below are the links to the authors’ original submitted files for images.

Authors’ original file for figure 1

Authors’ original file for figure 2

Rights and permissions

This article is published under license to BioMed Central Ltd. This is an Open Access article distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/2.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

Reprints and permissions

About this article

Cite this article

Nemoto, K., Dan, I., Rorden, C. et al. Lin4Neuro: a customized Linux distribution ready for neuroimaging analysis. BMC Med Imaging 11, 3 (2011). https://doi.org/10.1186/1471-2342-11-3

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1186/1471-2342-11-3

Keywords