fslhd: Get NIfTI header using FSL

Description Usage Arguments Value Examples

Description

This function calls fslhd to obtain a nifti header

Usage

1
fslhd(file, opts = "", verbose = TRUE, ...)

Arguments

file

(character) image filename or character of class nifti

opts

(character) additional options to be passed to fslhd

verbose

(logical) print out command before running

...

options passed to checkimg

Value

Character of information from fslhd

Examples

1
2
3
4
5
if (have.fsl()){
 mnifile = file.path(fsldir(), "data", "standard", 
   "MNI152_T1_2mm.nii.gz")
 fslhd(mnifile)
}   


Search within the fslr package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.