RAVEL intensity normalization.
normalizeRAVEL(input.files, output.files = NULL, brain.mask = NULL,
control.mask = NULL, WhiteStripe = TRUE, WhiteStripe_Type = c("T1",
"T2", "FLAIR"), k = 1, returnMatrix = TRUE, writeToDisk = FALSE,
verbose = TRUE, ...)| input.files | Vector of filenames for the input images. Must be NIfTI files. |
|---|---|
| output.files | Optional vector of filenames for the output images. By
default, will be the |
| brain.mask | Filename for the brain binary mask specifying the template space brain. Must be a NIfTI file. |
| control.mask | Filename for the control region binary mask to be used in RAVEL. Must be a NIfTI file. |
| WhiteStripe | Should White Stripe intensity normalization be performed prior to RAVEL?. |
| WhiteStripe_Type | What modality is used for WhiteStripe? Should be one of T1, T2 or FLAIR. |
| k | Number of unwanted factors to be included in the RAVEL model. |
| returnMatrix | Should the matrix of normalized intensities be returned? |
| writeToDisk | Should the normalized images be saved to disk? |
| verbose | Should messages be printed? |
| ... | additional arguments to pass to |
if returnMatrix is FALSE, no value returned, but
RAVEL-corrected images are saved. If returnMatrix is TRUE,
RAVEL-corrected images are saved and a matrix of normalized intensities is
returned.
Jean-Philippe Fortin