[242173]: / man / ich_segment.Rd

Download this file

67 lines (54 with data), 1.5 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ich_segment.R
\name{ich_segment}
\alias{ich_segment}
\alias{ich_process_predictors}
\title{Predict ICH Segmentation}
\usage{
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{
\item{img}{CT image, object of class \code{nifti} or
character filename}
\item{...}{Additional options passsed to \code{\link{ich_preprocess}}}
\item{verbose}{Print diagnostic output}
\item{shiny}{Should shiny progress be called?}
\item{model}{model to use for prediction,
either the random forest (rf) or logistic}
\item{outfile}{filename for native-space, smoothed,
thresholded image.}
\item{mask}{binary brain mask, object of class \code{nifti} or
character filename}
\item{save_imgs}{Logical to save all images that are created as
predictors}
\item{outdir}{Output directory of saved images, needs to be set
if \code{save_imgs = TRUE}}
\item{stub}{Basename to write image names if \code{save_imgs = TRUE}}
\item{roi}{Filename of ROI, which will be transformed}
\item{erode_mask}{Should the brain mask be eroded?}
}
\value{
List of output prediction/probability images
}
\description{
Will preprocess and predict the ICH voxels
}