make_trans_mat: Make the subcortical transformation matrix

View source: R/make_xifti_components.R

make_trans_matR Documentation

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)).


mandymejia/ciftiTools documentation built on Feb. 28, 2024, 11:20 a.m.