mghheader.centervoxelRAS.from.firstvoxelRAS {freesurferformats} | R Documentation |
Compute RAS coords of center voxel.
Description
Compute RAS coords of center voxel.
Usage
mghheader.centervoxelRAS.from.firstvoxelRAS(header, first_voxel_RAS)
Arguments
header |
Header of the mgh datastructure, as returned by |
first_voxel_RAS |
numerical vector of length 3, the RAS coordinate of the first voxel in the volume. The first voxel is the voxel with 'CRS=1,1,1' in R, or 'CRS=0,0,0' in C/FreeSurfer. This value is also known as *P0 RAS*. |
Value
numerical vector of length 3, the RAS coordinate of the center voxel. Also known as *CRAS* or *center RAS*.
[Package freesurferformats version 0.1.18 Index]