get.slice.orientation: Compute MGH orientation string and direction

View source: R/read_fs_mgh.R

get.slice.orientationR Documentation

Compute MGH orientation string and direction

Description

Compute MGH orientation string and direction

Usage

get.slice.orientation(Mdc)

Arguments

Mdc

numeric 3x3 matrix, typically from the header$internal$Mdc field as returned by read.fs.mgh.

Value

named list with entries: ‘orientation_string': character string of length 3, one uppercase letter per axis. 'direction_name': slice direction, character string, one of ’sagittal', 'coronal', 'axial' or 'unknown'.


freesurferformats documentation built on May 29, 2024, 5:29 a.m.