Create matrix of voxel intensities without normalization.

normalizeRaw(input.files, output.files = NULL, brain.mask = NULL,
  writeToDisk = FALSE, returnMatrix = TRUE, verbose = TRUE)

Arguments

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 input.files with suffix "WS".

brain.mask

Filename for the brain binary mask specifying the template space brain. Must be a NIfTI file.

writeToDisk

Should the scans be saved to the disk?

returnMatrix

Should the matrix of intensities be returned?

verbose

Should messages be printed?

Value

if returnMatrix is FALSE, no value returned, but images are saved. If returnMatrix is TRUE, images are saved and a matrix of intensities is returned.

Author

Jean-Philippe Fortin