ALVIN Masking

John Muschelli

2020-05-03

The ALVIN mask is a 2mm\(^{3}\) image in the same space as MNI. The information about the mask can be found at https://sites.google.com/site/mrilateralventricle/.

library(alvin)
library(neurobase)
## Loading required package: oro.nifti
## oro.nifti 0.10.2
mask_fname = alvin_mask()
mask_fname
## [1] "/private/var/folders/nz/vv4_9tw56nv9k3tkvyszvwg80000gn/T/RtmptvelXo/Rinsteb4966cc6405/alvin/ALVIN_mask_v1.nii.gz"
alvin = readnii(mask_fname)

We can read in the ALVIN mask and plot it:

library(MNITemplate)
mni_fname = MNITemplate::getMNIPath("Brain", res = "2mm")
mni = readnii(mni_fname)
ortho2(mni, alvin)