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

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