segment_lung: Segment Lungs from CT scans

View source: R/segment_lung.R

segment_lungR Documentation

Segment Lungs from CT scans

Description

Segment Lungs from a non-contrast CT scan

Usage

segment_lung(
  img,
  remove_background = FALSE,
  mask = TRUE,
  lthresh = -300,
  verbose = TRUE
)

Arguments

img

Filename or antsImage

remove_background

should background be removed first?

mask

Should the image be masked

lthresh

lower threshold for the image

verbose

Print diagnostic messages

Value

List of image, lung, lung mask


muschellij2/lungct documentation built on July 4, 2025, 1:59 a.m.