lungPulmonaryArterySegmentation: Pulmonary artery segmentation.

View source: R/lungSegmentation.R

lungPulmonaryArterySegmentationR Documentation

Pulmonary artery segmentation.

Description

Perform pulmonary artery segmentation. Training data taken from the PARSE2022 challenge (Luo, Gongning, et al. "Efficient automatic segmentation for multi-level pulmonary arteries: The PARSE challenge." https://arxiv.org/abs/2304.03708).

Usage

lungPulmonaryArterySegmentation(
  ct,
  lungMask = NULL,
  predictionBatchSize = 16,
  patchStrideLength = 32,
  antsxnetCacheDirectory = NULL,
  verbose = FALSE
)

Arguments

ct

input 3-D ct image.

lungMask

input binary lung mask which defines the patch extraction. If not supplied, one is estimated.

predictionBatchSize

Control memory usage for prediction. More consequential for GPU-usage.

patchStrideLength

3-D vector or int. Dictates the stride length for accumulating predicting patches.

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 inst/extdata/ subfolder of the ANTsRNet package.

verbose

print progress.

Value

Probability image.

Author(s)

Tustison NJ

Examples

## Not run: 
library( ANTsRNet )
library( keras )


## End(Not run)

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