getForms: Get Q and S Forms of orientation matrix

View source: R/fslhd.R

getFormsR Documentation

Get Q and S Forms of orientation matrix

Description

This function obtains the s and q forms of an image transformation matrix

Usage

getForms(file, verbose = FALSE, ...)

Arguments

file

(character) filename of image to pass to header

verbose

(logical) passed to fslhd

...

options passed to checkimg

Value

list with elements of sform and qform and their respective codes

Examples

if (have.fsl()){
 mnifile = mni_fname("2")
 getForms(mnifile)
}   

muschellij2/fslr documentation built on May 10, 2024, 2:12 a.m.