oasisad_pre: OASISAD image preprocessing function

Description Usage Arguments Value

View source: R/oasisad_pre.R

Description

MRI image data preprocessing with multiple inputs

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
oasisad_pre(
  flair,
  t1,
  t2 = NULL,
  pd = NULL,
  img_space = NULL,
  brain_mask = NULL,
  segmentation = FALSE,
  dir = NULL,
  cores = 1,
  verbose = NULL
)

Arguments

flair

Input FLAIR image

t1

Input T1 image

t2

Input T2 image

pd

Input PD image

img_space

An image to register and use for creating brain mask if needed. If NULL, 'flair' image will be used in registration.

brain_mask

Input brain_mask, if null, a mask will be obtained by FSL

segmentation

A boolean indicates whether using bias_correct for segmentation

dir

A user defined output path for fslr segmentation

cores

A number indicates how many cores used mclapply

verbose

A boolean indicated whether output messages

Value

preprocessed image data


dty0606/oasisad documentation built on March 8, 2020, 11:18 p.m.