This function calls nu_correct to correct for non-uniformity

nu_correct(file, mask = NULL, opts = "", verbose = TRUE, ...)

Arguments

file

(character) input filename

mask

(character or nifti) Mask to use for correction.

opts

(character) additional options to mri_segment

verbose

print diagnostic messages

...

additional arguments passed to fs_cmd.

Value

Object of class nifti depending on retimg

Examples

if (FALSE) {
if (have_fs()){
    nu_correct("/path/to/T1.nii.gz")
} 
}