Segment Lungs from a non-contrast CT scan

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