knitr::opts_chunk$set(
collapse = TRUE,
comment = "",
fig.path = "man/figures/README-"
)
The goal of ichseg
is to perform preprocessing on computed tomography (CT) scans, including skull stripping. Computes predictors of intracerebral hemorrhage (ICH) and uses these to predict a binary hemorrhage mask from the data.
To cite ichseg
, you can run:
citation("ichseg")
You can install ichseg
from github with:
# install.packages("devtools")
devtools::install_github("muschellij2/ichseg")
These functions require a working installation of FSL (https://fsl.fmrib.ox.ac.uk/fsl/fslwiki/FslInstallation), which can be installed via Neurodebian as well: http://neuro.debian.net/pkgs/fsl-complete.html.
In order to segment ICH from an image, use the ich_segment
function:
ichseg::ich_segment(img = "/path/to/ct/scan")