Lin4Neuro: a customized Linux distribution ready for neuroimaging analysis
© Nemoto et al; licensee BioMed Central Ltd. 2011
Received: 16 October 2010
Accepted: 25 January 2011
Published: 25 January 2011
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.
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.
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.
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.  demonstrated that the combination of skull stripping with BET2  and intensity inhomogeneity correction with N3  improved the accuracy of the gray matter segmentation of SPM5 .
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  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."
Specifications of Lin4Neuro
We employed Ubuntu Linux 10.04 Desktop LTS (Long Term Support) 32/64bit version  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  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.
3D Slicer developed by the Brigham and Women's Hospital, Inc. U.S.A. 
ITK developed by the Insight Software Consortium, U.S.A. 
MINC software packages including MNI-N3 developed by the McConnell Brain Imaging Center of the Montreal Neurological Institute, McGill University, Canada 
MRIConvert developed by Jolinda Smith, the Lewis Center for Neuroimaging at the University of Oregon, U.S.A. 
(x)Medcon developed by Eric Nolf, Belgium. 
Neuroimaging software packages included in Lin4Neuro
Tools for the segmentation, registration, and three-dimensional visualization of multi-modal image data. The package includes image analysis algorithms for diffusion tensor imaging, functional magnetic resonance imaging, and image-guided therapy.
An environment for processing and displaying functional MRI data. It provides a complete analysis tool chain, including 3D cortical surface models and mapping of volumetric data (SUMA).
A tool for viewing and analyzing medical image data sets. It includes the simultaneous handling of multiple data sets imported from a variety of file formats, image fusion, 3D region of interest drawing and analysis, volume rendering, and rigid body alignments.
A tool which enables the user to create, view, and manipulate surface reconstructions of the cerebral and cerebellar cortex. It also displays experimental data on surfaces and volumes.
A comprehensive library of image analysis and statistical tools for fMRI, MRI, and DTI brain imaging data. Implementation of standard GLM analysis, white matter tractography, tissue segmentation, affine and non-linear co-registration, and independent component analysis.
Providing segmentation and registration algorithms in two, three, and more dimensions.
A tool for data processing and evaluation of functional magnetic resonance images.
Tools to manipulate MINC files.
A tool for unsupervised correction of radio frequency (RF) field inhomogeneities in MR volumes.
A medical image file conversion utility that converts DICOM files to NIfTI 1.1, Analyze 7.5, SPM99/Analyze, BrainVoyager, and MetaImage volume formats.
A GUI-based visualization and analysis tool for (functional) MRI. It can also draw anatomical regions-of-interest (ROI), or lesion mapping, as well as basic analysis of functional time series. In addition to 'mricron', the package also provides 'dcm2nii', which supports converting DICOM and PAR/REC images into the NIfTI format and 'npm' for non-parametric data analysis.
A realistic simulation of an MRI scanner. For the user it should be possible to change all the relevant settings of the virtual scanner and to adapt them to the expected pathology.
A tool to convert medical images. Supported formats are: Acr/Nema 2.0, Analyze (SPM), Concorde/μPET, DICOM 3.0, CTI ECAT 6/7, NIfTI-1, InterFile3.3, and PNG or Gif87a/89a.
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.
Lin4Neuro will be distributed as an iso image; Windows users can create live USB flash drives with a software package called "Universal USB Installer" . 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.
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 .
Benchmark results of the inhomogeneity correction script
of the intensity
Difference between USB-boot and HDD-boot
USB flash drive
Difference between 32bit and 64bit
USB flash drive
USB flash drive
Difference between 32bit and 64bit on Virtualization software*
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 . 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 , 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 . 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.
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.
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.
- 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.View ArticlePubMedGoogle Scholar
- Smith SM: Fast robust automated brain extraction. Hum Brain Mapp. 2002, 17: 143-155. 10.1002/hbm.10062.View ArticlePubMedGoogle Scholar
- 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.View ArticlePubMedGoogle Scholar
- Ashburner J, Friston KJ: Unified segmentation. Neuroimage. 2005, 26: 839-851. 10.1016/j.neuroimage.2005.02.018.View ArticlePubMedGoogle Scholar
- Rex DE, Ma JQ, Toga AW: The LONI Pipeline Processing Environment. Neuroimage. 2003, 19: 1033-1048. 10.1016/S1053-8119(03)00185-X.View ArticlePubMedGoogle Scholar
- 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-View ArticlePubMed CentralGoogle Scholar
- Nipype: Neuroimaging in Python Pypelines and Interfaces. [http://nipy.sourceforge.net/nipype/]
- Ubuntu desktop edition. [http://www.ubuntu.com/desktop]
- NeuroDebian. [http://neuro.debian.net/]
- 3D slicer. [http://www.slicer.org/]
- 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.View ArticlePubMedGoogle Scholar
- AFNI main page. [http://afni.nimh.nih.gov/afni]
- Loening AM, Gambhir SS: AMIDE: a free software tool for multimodality medical image analysis. Mol Imaging. 2003, 2: 131-137. 10.1162/153535003322556877.View ArticlePubMedGoogle Scholar
- AMIDE. [http://amide.sourceforge.net/]
- 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.View ArticlePubMedPubMed CentralGoogle Scholar
- Caret. [http://brainvis.wustl.edu/wiki/index.php/Caret:About]
- 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.View ArticleGoogle Scholar
- FMRIB Software Library. [http://www.fmrib.ox.ac.uk/fsl/]
- ITK: ITK Insigt Tooklit. [http://www.itk.org/]
- 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.View ArticlePubMedGoogle Scholar
- LIPSIA. [http://www.cbs.mpg.de/institute/software/lipsia]
- BIC - The McConnell Brain Imaging Centre. [http://www.bic.mni.mcgill.ca/ServicesSoftware/HomePage]
- MRIConvert. [http://lcni.uoregon.edu/~jolinda/MRIConvert/]
- Rorden C, Karnath HO, Bonilha L: Improving lesion-symptom mapping. J Cogn Neurosci. 2007, 19: 1081-1088. 10.1162/jocn.2007.19.7.1081.View ArticlePubMedGoogle Scholar
- MRIcron: MRIcron. [http://www.cabiatl.com/mricro/mricron/index.html]
- 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.View ArticlePubMedGoogle Scholar
- Virtual MRI. [http://www.iftm.de/elearning/vmri/idx_vmri.htm]
- (x)MedCon. [http://xmedcon.sourceforge.net/]
- Remastersys: A Unique Linux Backup Tool for Debian and Ubuntu. [http://www.geekconnection.org/remastersys/]
- USB installer: Universal USB Installer - Easy as 1 2 3. [http://www.pendrivelinux.com/universal-usb-installer-easy-as-1-2-3/]
- 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.View ArticlePubMedGoogle Scholar
- 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.View ArticlePubMedGoogle Scholar
- brain-development.org. [http://www.brain-development.org/]
- VMware. [http://www.vmware.com/]
- 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.View ArticlePubMedPubMed CentralGoogle Scholar
- 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
- NITRC. [http://www.nitrc.org/]
- SPM8 update announcement posted to SPM Mailing List. [https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=SPM;7e8cc308.1007]
- Lin4Neuro. [http://www.nemotos.net/lin4neuro/]
- The pre-publication history for this paper can be accessed here:http://www.biomedcentral.com/1471-2342/11/3/prepub
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.