powered by
This function calls fslstats -R to get the range of an image or fslstats -r to get the robust range
fslstats -R
fslstats -r
fslrange(file, robust = FALSE, verbose = TRUE, ts = FALSE, ...)
numeric vector of length 2
(character) filename of image to be checked
(logical) Should the range be robust (-r)
-r
(logical) print out command before running
(logical) is the series a timeseries (4D), invoking -t option
-t
options passed to checkimg
checkimg
if (have.fsl()){ mnifile = file.path(fsldir(), "data", "standard", "MNI152_T1_2mm.nii.gz") fslrange(mnifile) }
Run the code above in your browser using DataLab