Learn R Programming

fslr (version 1.9.2.1)

getForms: 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, ...)

Arguments

file
(character) filename of image to pass to header
...
options passed to checkimg

Value

list with elements of sform and qform and their respective codes

Examples

Run this code
if (have.fsl()){
 mnifile = file.path(fsldir(), "data", "standard", 
   "MNI152_T1_2mm.nii.gz")
 getForms(mnifile)
}   

Run the code above in your browser using DataLab