ich_segment: Predict ICH Segmentation

Description Usage Arguments Value

View source: R/ich_segment.R

Description

Will preprocess and predict the ICH voxels

Usage

1
2
3
4
5
6
ich_segment(img, ..., verbose = TRUE, shiny = FALSE, model = c("rf",
  "logistic", "big_rf"), outfile = NULL)

ich_process_predictors(img, mask = NULL, save_imgs = FALSE,
  outdir = NULL, stub = NULL, verbose = TRUE, shiny = FALSE,
  roi = NULL, erode_mask = TRUE, ...)

Arguments

img

CT image, object of class nifti or character filename

...

Additional options passsed to ich_preprocess

verbose

Print diagnostic output

shiny

Should shiny progress be called?

model

model to use for prediction, either the random forest (rf) or logistic

outfile

filename for native-space, smoothed, thresholded image.

mask

binary brain mask, object of class nifti or character filename

save_imgs

Logical to save all images that are created as predictors

outdir

Output directory of saved images, needs to be set if save_imgs = TRUE

stub

Basename to write image names if save_imgs = TRUE

roi

Filename of ROI, which will be transformed

erode_mask

Should the brain mask be eroded?

Value

List of output prediction/probability images


neuroconductor-devel/ichseg documentation built on Sept. 5, 2019, 8:01 p.m.