segment_lung2: Lung Segmentation

Description Usage Arguments Value

View source: R/segment_lung2.R

Description

This function segments the right and left lungs from a CT scan.

Usage

1
segment_lung2(img, lthresh = -300, verbose = TRUE)

Arguments

img

CT scan in ANTs or NIfTI file format

lthresh

Threshold used to find the lung and airways, from the CT. Default: -300 HU.

verbose

Print diagnostic messages.

Value

Lung mask in ANTs file format. Right lung = 1, left lung = 2, non-lung = 0


neuroconductor-devel-releases/lungct documentation built on Oct. 28, 2020, 3:53 a.m.