ciftiTools (version 0.1.6.0)

make_trans_mat: Make the subcortical transformation matrix

Description

Make the transformation matrix for the subcortical volume from the sform data in the header.

Usage

make_trans_mat(nii_fname)

Arguments

nii_fname

Path to NIFTI file

Value

4x4 matrix representing the transformation matrix. (This includes the last row, c(0,0,0,1)).