# Lung Segmentation Algorithm

**URL:** https://discourse.slicer.org/t/lung-segmentation-algorithm/30415
**Category:** Support
**Created:** [July 5, 2023, 6:20pm UTC](https://discourse.slicer.org/t/lung-segmentation-algorithm/30415 "2023-07-05T18:20:46Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Nima\_Yousefi](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/nima_yousefi/32/66845_2.png) [@Nima\_Yousefi](https://discourse.slicer.org/u/Nima_Yousefi)
#### Post date: [July 5, 2023, 6:20pm UTC](https://discourse.slicer.org/t/lung-segmentation-algorithm/30415/1 "2023-07-05T18:20:46Z")

</div>

Hi,

I’m using 3D Slicer for Lung segmentation and I’ve done that using LungCtSegmenter.

Can you tell me what algorithm is used for this task in slicer?

@rbumm  
@lassoan

Best Regards.

---

<div class="post-metadata">

### Author: ![rbumm](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/rbumm/32/9404_2.png) [@rbumm](https://discourse.slicer.org/u/rbumm)
#### Post date: [July 6, 2023, 5:36am UTC](https://discourse.slicer.org/t/lung-segmentation-algorithm/30415/2 "2023-07-06T05:36:27Z")

</div>

We are placing 13 markups (3 right coronal, 3 left coronal, 3 right sagittal, 3 left sagittal, and one in the trachea.  
Then the grow-from-seeds effect of the segment editor is used with a special lung threshold.

Alternatively, you can create the segmentation touch-free with lungmask AI or TotalSegmenter AI, or even MONAILabel.

See [some more descriptions here](https://www.researchsquare.com/article/rs-3027617/v5).
