mni152reg: Get fsaverage (MNI305) to MNI152 transformation matrix.

Description Usage Note Examples

View source: R/mghheader.R

Description

Get fsaverage (MNI305) to MNI152 transformation matrix.

Usage

1

Note

There are better ways to achieve this transformation than using this matrix, see Wu et al., 'Accurate nonlinear mapping between MNI volumetric and FreeSurfer surface coordinate system', Hum Brain Mapp. 2018 Sep; 39(9): 3793–3808. doi: 10.1002/hbm.24213. The mentioned method is available in R from the 'regfusionr' package (GitHub only atom, not on CRAN).

Examples

1
2
3
    coords_tf = doapply.transform.mtx(c(1.0, 1.0, 1.0), mni152reg());
    coords_tf;
    doapply.transform.mtx(coords_tf, solve(mni152reg()));

freesurferformats documentation built on May 25, 2021, 5:10 p.m.