This function segments the right and left lungs from a CT scan.
segment_lung_lr(img, lthresh = -300, verbose = TRUE)
| 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. |
Lung mask in ANTs file format. Right lung = 1, left lung = 2, non-lung = 0