The inverse of MNI305_to_MNI152, for converting RAS coordinates
from MNI152 space back to MNI305 (fsaverage) space.
Details
This matrix is derived from FreeSurfer's mni152.register.dat file,
located at $FREESURFER_HOME/average/mni152.register.dat.
The transform accounts for the approximately 4mm difference between MNI305 and MNI152 coordinate systems. It includes small rotation, scaling, and translation components.
To apply: for a point p = c(R, A, S), compute
MNI305_to_MNI152 %*% c(p, 1) and take the first 3 elements.