elBicho: Functional lung segmentation.

View source: R/lungSegmentation.R

elBichoR Documentation

Functional lung segmentation.

Description

Perform functional lung segmentation using hyperpolarized gases.

Usage

elBicho(
  ventilationImage,
  mask,
  useCoarseSlicesOnly = TRUE,
  antsxnetCacheDirectory = NULL,
  verbose = FALSE
)

Arguments

ventilationImage

input ventilation image

mask

input mask image

useCoarseSlicesOnly

if TRUE, apply network only in the dimension of greatest slice thickness. If FALSE, apply to all dimensions and average the results.

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.

Details

https://pubmed.ncbi.nlm.nih.gov/30195415/

Value

ventilation segmentation and corresponding probability images

Author(s)

Tustison NJ

Examples

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

image <- antsImageRead( "flair.nii.gz" )
probabilityMask <-sysuMediaWmhSegmentation( image )

## End(Not run)

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