WhiteStripe intensity normalization.
normalizeWS(
input.files,
output.files = NULL,
brain.mask = NULL,
stripped = TRUE,
WhiteStripe_Type = c("T1", "T2", "FLAIR"),
writeToDisk = FALSE,
returnMatrix = TRUE,
verbose = TRUE,
...
)Vector of filenames for the input images. Must be NIfTI files.
Optional vector of filenames for the output images. By
default, will be the input.files with suffix "WS".
Filename for the brain binary mask specifying the template space brain. Must be a NIfTI file.
Is the image skull stripped? TRUE by default.
What modality is used for WhiteStripe? Should be one of T1, T2 or FLAIR.
Should the scans be saved to the disk? FALSE by default.
Should the matrix of intensities be returned? FALSE by default.
Should messages be printed?
additional arguments to pass to whitestripe
if returnMatrix is FALSE, no value returned, but
WhiteStripe-normalized images are saved. If returnMatrix is
TRUE, WhiteStripe-normalized images are saved and a matrix of
normalized intensities is returned.