Learn R Programming

freesurferformats (version 0.1.18)

talairachras.to.ras: Compute MNI talairach coordinates from RAS coords.

Description

Compute MNI talairach coordinates from RAS coords.

Usage

talairachras.to.ras(tal_ras_coords, talairach)

Value

the Talairach RAS coordinates for the given RAS coordinates. They are based on a linear transform.

Arguments

tal_ras_coords

coordinate matrix in Talairach RAS space

talairach

the 4x4 numerical talairach matrix, or a character string which will be interpreted as the path to an xfm file containing the matrix (typically `$SUBJECTS_DIR/$subject/mri/transforms/talairach.xfm`).

References

see https://en.wikipedia.org/wiki/Talairach_coordinates