Medicine:Analysis of Functional NeuroImages
Sample AFNI session. | |
Original author(s) | Robert W. Cox |
---|---|
Developer(s) | NIMH Scientific and Statistical Computing Core[yes|permanent dead link|dead link}}] |
Operating system | Cross-platform (list) |
Type | Neuroimaging data analysis |
License | Some parts: GPL SVM-light: proprietary[1] |
Website | afni |
Analysis of Functional NeuroImages (AFNI) is an open-source environment for processing and displaying functional MRI data—a technique for mapping human brain activity.
AFNI is an agglomeration of programs that can be used interactively or flexibly assembled for batch processing using shell script. The term AFNI refers both to the entire suite and to a particular interactive program often used for visualization. AFNI is actively developed by the NIMH Scientific and Statistical Computing Core and its capabilities are continually expanding.
AFNI runs under many Unix-like operating systems that provide X11 and Motif libraries, including IRIX, Solaris, Linux, FreeBSD and OS X. Precompiled binaries are available for some platforms. AFNI is available for research use under the GNU General Public License, the included SVM-light component is non-commercial and non-distributable.[1] AFNI now comprises over 300,000 lines of C source code, and a skilled C programmer can add interactive and batch functions to AFNI with relative ease.
History and development
AFNI was originally developed at the Medical College of Wisconsin beginning in 1994, largely by Robert W. Cox. Cox brought development to the NIH in 2001 and development continues at the NIMH Scientific and Statistical Computing Core.[2] In a 1995 paper describing the rationale for development of the software, Cox wrote of fMRI data: "The volume of data gathered is very large, and it is essential that easy-to-use tools for visualization and analysis of 3D activation maps be available for neuroscience investigators."[3] Since then, AFNI has become one of the more commonly used analysis tools in fMRI research, alongside SPM and FSL.[4]
Although AFNI initially required extensive shell scripting to execute tasks, pre-made batch scripts and improvements to the graphical user interface (GUI) have since made it possible to generate analyses with less user scripting.[5]
Features
Visualization
One of AFNI's initial offerings improved the approach to transforming scans of individual brains onto a shared standardized space. Since each person's individual brain is unique in size and shape, comparing across a number of brains requires warping (rotating, scaling, etc.) individual brains into a standard shape. Unfortunately, functional MRI data at the time of AFNI's development was too low resolution for effective transformations. Instead, researchers use the higher resolution anatomical brain scans, often acquired at the beginning of an imaging session.
AFNI allows researchers to overlay a functional image to the anatomical, providing tools for aligning the two into the same space. Processes engaged to warp an individual anatomical scan to standard space are then applied also to the functional scan, improving the transformation process.[6]
Another feature available in AFNI is the SUMA tool, developed by Ziad Saad. This tool allows users to project the 2D data onto a 3D cortical surface map. In this way researchers can view activation patterns while more easily taking into account physical cortical features like gyri.[7]
Image Pre-processing
"afni_proc.py" is a pre-made script that will run fMRI data from a single subject through a series of pre-processing steps, starting with the raw data. The default settings will perform the following pre-processing steps and finish with a basic regression analysis:[8]
- Slice timing:[9] Each 3D brain image is composed of multiple 2D images, "slices". Although acquired at approximately the same time, up to several seconds could separate the first slice acquired from the last. Through interpolation, the slices are aligned to the same time point. Generally, any introduced noise from interpolation errors is thought to be outweighed by improvements in signal.[10]
- Motion correction: Head movements can create sources of error in the analysis. Each 3D acquisition in a scan is collected on a 3D grid, with each small cube of grid space, "voxel", representing a single image intensity value. Ideally, voxels will always represent the same part of the brain in each acquisition, rather than vary from one 3D image to the next. To correct small motion artifacts, AFNI's motion correction tool employs a linear least squares algorithm that attempts to align each 3D image acquired to the first image acquired in the scan.[11]
- Smoothing: To account for random noise in the image, a smoothing kernel is applied. While smoothing can increase the signal-to-noise ratio of the image, it reduces image resolution.[12][13]
- Mask: Removes any non-brain areas, such as skull, from the fMRI image.
- Scale: Scale each voxel so that changes in intensity represent percentage of signal change over the course of the scan. The default sets the mean of each voxel equal to 100.
See also
References
- ↑ 1.0 1.1 See license.h in the tarball
- ↑ "Magnetism" (in en). http://mriquestions.com/best-fmri-software.html.
- ↑ Cox, Robert W. (1996-06-01). "AFNI: Software for Analysis and Visualization of Functional Magnetic Resonance Neuroimages" (in en). Computers and Biomedical Research 29 (3): 162–173. doi:10.1006/cbmr.1996.0014. ISSN 0010-4809. PMID 8812068.
- ↑ Murnane, Kevin. "Tens Of Thousands Of FMRI Brain Studies May Be Flawed" (in en). Forbes. https://www.forbes.com/sites/kevinmurnane/2016/07/07/new-research-suggests-that-tens-of-thousands-of-fmri-brain-studies-may-be-flawed/#2a3e005c3ed4.
- ↑ Jahn, Andrew (2012-12-28). "Andy's Brain Blog: AFNI's uber_subject.py". http://andysbrainblog.blogspot.com/2012/12/afnis-ubersubjectpy.html.
- ↑ Cox, Robert W. (1996-06-01). "AFNI: Software for Analysis and Visualization of Functional Magnetic Resonance Neuroimages" (in en). Computers and Biomedical Research 29 (3): 162–173. doi:10.1006/cbmr.1996.0014. ISSN 0010-4809. PMID 8812068.
- ↑ Jahn, Andrew (2012-03-26). "Andy's Brain Blog: AFNI Bootcamp: Day 1". http://andysbrainblog.blogspot.com/2012/03/afni-bootcamp-day-1.html.
- ↑ "AFNI program: afni_proc.py". https://afni.nimh.nih.gov/pub/dist/doc/program_help/afni_proc.py.html.
- ↑ "AFNI program: 3dTshift". https://afni.nimh.nih.gov/pub/dist/doc/program_help/3dTshift.html.
- ↑ "Slice Timing FAQ | mindhive" (in en). http://mindhive.mit.edu/node/109.
- ↑ "AFNI program: 3dvolreg". https://afni.nimh.nih.gov/pub/dist/doc/program_help/3dvolreg.html.
- ↑ "Chapter 6 - The Analysis of fMRI Data". https://users.fmrib.ox.ac.uk/~stuart/thesis/chapter_6/section6_2.html.
- ↑ "AFNI program: 3dmerge". https://afni.nimh.nih.gov/pub/dist/doc/program_help/3dmerge.html.
External links