cortex.mni.transform_to_mni¶
- cortex.mni.transform_to_mni(volumedata, func_to_mni, template='/usr/share/fsl/5.0/data/standard/MNI152_T1_1mm_brain.nii.gz')[source]¶
Transform data in volumedata to MNI space, resample at the resolution of the atlas image.
- Parameters:
- volumedataVolumeData
Data to be transformed to MNI space.
- func_to_mninumpy.ndarray
Transformation matrix from the space of volumedata to MNI space. Get this from compute_mni_transform.
- templatestr, optional
Path to MNI template volume, used as reference for flirt. Defaults to FSL’s MNI152_T1_1mm_brain.
- Returns:
- nibabel.nifti1.Nifti1Image
volumedata after transformation to MNI space.