Perform functional lung segmentation using hyperpolarized gases.

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.

Value

ventilation segmentation and corresponding probability images

Details

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

Author

Tustison NJ

Examples

if (FALSE) { library( ANTsRNet ) library( keras ) image <- antsImageRead( "flair.nii.gz" ) probabilityMask <-sysuMediaWmhSegmentation( image ) }