Will preprocess and predict the ICH voxels
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, ... )
img | CT image, object of class |
---|---|
... | Additional options passsed to |
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 |
save_imgs | Logical to save all images that are created as predictors |
outdir | Output directory of saved images, needs to be set
if |
stub | Basename to write image names if |
roi | Filename of ROI, which will be transformed |
erode_mask | Should the brain mask be eroded? |
List of output prediction/probability images