normalizeZScore: Whole-brain z-score intensity normalization

View source: R/normalizeZScore.R

normalizeZScoreR Documentation

Whole-brain z-score intensity normalization

Description

Whole-brain z-score intensity normalization.

Usage

normalizeZScore(
  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 "ZScore".

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? FALSE by default.

returnMatrix

Should the matrix of intensities be returned? FALSE by default.

verbose

Should messages be printed?

Value

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

Author(s)

Jean-Philippe Fortin


Jfortin1/RAVEL documentation built on Sept. 14, 2023, 10:33 a.m.