normalizeHM: Histogram matching intensity normalization.

Description Usage Arguments Value Author(s)

View source: R/normalizeHM.R

Description

Histogram mathing intensity normalization.

Usage

1
2
3
normalizeHM(input.files, output.files = NULL, brain.mask = NULL,
  type = c("T1", "T2", "FLAIR", "PD"), 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.

type

What modality is used? Should be one of T1, T2, FLAIR or PD.

writeToDisk

Should the normalized scans be saved to the disk?

returnMatrix

Should the matrix of normalized intensities be returned?

verbose

Should messages be printed?

Value

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

Author(s)

Jean-Philippe Fortin


neuroconductor-releases/RAVEL documentation built on Jan. 1, 2021, 11:37 a.m.