lesionSegmentation: wholeHeadInpainting

View source: R/lesionSegmentation.R

lesionSegmentationR Documentation

wholeHeadInpainting

Description

Perform in-painting for whole-head MRI

Usage

lesionSegmentation(
  t1,
  doPreprocessing = TRUE,
  antsxnetCacheDirectory = NULL,
  verbose = FALSE
)

Arguments

t1

input 3-D T1 brain image (not skull-stripped).

doPreprocessing

Perform n4 bias correction, intensity truncation, brain extraction.

antsxnetCacheDirectory

destination directory for storing the downloaded template and model weights. Since these can be resused, if is.null(antsxnetCacheDirectory), these data will be downloaded to the subdirectory ~/.keras/ANTsXNet/.

verbose

print progress.

Value

inpainted image

Author(s)

Tustison NJ


ANTsX/ANTsRNet documentation built on April 28, 2024, 12:16 p.m.