powered by
This function calls fslhd to obtain a nifti header
fslhd
fslhd(file, opts = "", verbose = TRUE, ...)
(character) image filename or character of class nifti
(character) additional options to be passed to fslhd
(logical) print out command before running
options passed to checkimg
checkimg
Character of information from fslhd
# NOT RUN { if (have.fsl()){ mnifile = file.path(fsldir(), "data", "standard", "MNI152_T1_2mm.nii.gz") fslhd(mnifile) } # }
Run the code above in your browser using DataLab