This function calls nu_correct
to correct for non-uniformity
nu_correct(file, mask = NULL, opts = "", verbose = TRUE, ...)
(character) input filename
(character or nifti) Mask to use for correction.
(character) additional options to mri_segment
print diagnostic messages
additional arguments passed to fs_cmd
.
Object of class nifti depending on retimg
# NOT RUN {
if (have_fs()){
nu_correct("/path/to/T1.nii.gz")
}
# }
Run the code above in your browser using DataLab