Learn R Programming

freesurfer (version 1.6.10)

mri_normalize: Use Freesurfers MRI Normalize Algorithm

Description

This function calls mri_normalize to normalize the values of the image, with white matter voxels around 110.

Usage

mri_normalize(file, outfile = NULL, retimg = TRUE, opts = "", ...)

Value

Character or nifti depending on retimg

Arguments

file

(character) input filename

outfile

(character) output filename

retimg

(logical) return image of class nifti

opts

(character) additional options to mri_normalize

...

additional arguments passed to fs_cmd.

Examples

Run this code
if (FALSE) {
if (have_fs()){
    mri_normalize("/path/to/T1.nii.gz")
} 
}

Run the code above in your browser using DataLab