segment_lung_lr: Lung Segmentation

Description Usage Arguments Value

View source: R/segment_lung_lr.R

Description

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

Usage

1
segment_lung_lr(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/lungct documentation built on July 28, 2020, 9:51 a.m.