getForms: Get Q and S Forms of orientation matrix

Description Usage Arguments Value Examples

View source: R/fslhd.R

Description

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

Usage

1
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

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

neuroconductor-devel/fslr documentation built on May 6, 2021, 1:44 p.m.