lungExtraction: Lung extraction

View source: R/lungExtraction.R

lungExtractionR Documentation

Lung extraction

Description

Perform lung extraction.

Usage

lungExtraction(
  image,
  modality = c("proton", "protonLobes", "maskLobes", "ct", "ventilation", "xray"),
  verbose = FALSE
)

Arguments

image

input 3-D lung image.

modality

image type. Options include "proton", "ct", or "ventilation".

verbose

print progress.

Value

segmentation and probability images

Author(s)

Tustison NJ

Examples

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

image <- antsImageRead( "lung.nii.gz" )
output <- lungExtraction( image, modality = "proton" )

## End(Not run)

ANTsX/ANTsRNet documentation built on Nov. 21, 2024, 4:07 a.m.