fslmin_max: Get min/max of an image

Description Usage Arguments Value Examples

Description

This function calls the range or robust range functions from FSL and then extracts the min/max

Usage

1
2
3

Arguments

file

(character) filename of image to be checked

...

options passed to fslrange

Value

Numeric vector of mins/maxs or just one depending if ts = TRUE

Examples

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

neuroconductor-devel/fslr documentation built on May 6, 2021, 1:44 p.m.