Segment Lungs from a non-contrast CT scan
segment_lung( img, remove_background = FALSE, mask = TRUE, lthresh = -300, verbose = TRUE )
| img | Filename or |
|---|---|
| remove_background | should background be removed first? |
| mask | Should the image be masked |
| lthresh | lower threshold for the image |
| verbose | Print diagnostic messages |
List of image, lung, lung mask