get_ijk2ras: Get 'voxel' to world matrix

View source: R/utils_generate_subcortical_surf.R

get_ijk2rasR Documentation

Get 'voxel' to world matrix

Description

Get 'voxel' to world matrix

Usage

get_ijk2ras(x, type = c("scanner", "tkr"))

Arguments

x

path to imaging files

type

world space type; choices are 'scanner' (same as 'sform' or 'qform' in) or 'NIfTI' file headers; or 'tkr' (used to shared surface nodes)

Value

A four by four matrix


threeBrain documentation built on April 4, 2025, 1:36 a.m.