The goal of MNITemplate is to provide the MNI Template of T1-weighted MRI imaging from http://www.bic.mni.mcgill.ca/ServicesAtlases/ICBM152NLin2009. In addition to the standard template, the image has been segmented into gray matter, white matter, and cerebrospinal fluid (’CSF’) using the ‘FAST’ algorithm from ‘FSL’ https://fsl.fmrib.ox.ac.uk/fsl/fslwiki/FAST..
For a template with a full white-matter parcellation map, see our EveTemplate package.
Creator: Jean-Philippe Fortin, fortin946@gmail.com
Authors and Maintainers: Jean-Philippe Fortin, John Muschelli
| Resource: | Travis CI |
| ----------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- |
| Platform: | Linux |
| R CMD check | |
The MNI152 template that is included with FSL: https://fsl.fmrib.ox.ac.uk/fsl/fslwiki/Atlases
We first load the package into R:
library(MNITemplate)
Once the package is loaded into R, use the command readMNI()
to import the MNI template T1-w image as a nifti
object into R:
mni_t1 <- readMNI()
One can use the function orthographic
from the oro.nifti
package to visualize the template:
orthographic(mni_t1)
In many preprocessing pipelines, the path of the template file in the system must be specified. For this, use the following:
mni_path <- getMNIPath()
and to get brain mask:
mni_brain_mask_path <- getMNIPath("Brain_Mask")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.