segment_lung_lr: Lung Segmentation

View source: R/segment_lung_lr.R

segment_lung_lrR Documentation

Lung Segmentation

Description

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

Usage

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-devel/lungct documentation built on June 15, 2025, 3:30 a.m.