# Segment lungs, airways, pulmonary vessels

**URL:** <https://discourse.slicer.org/t/segment-lungs-airways-pulmonary-vessels/34570>\
**Category:** Support\
**Tags:** segmentation, lung\
**Created:** [February 27, 2024, 2:22pm UTC](https://discourse.slicer.org/t/segment-lungs-airways-pulmonary-vessels/34570 "2024-02-27T14:22:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Giulia\_Gamberini](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/giulia_gamberini/32/69510_2.png) [@Giulia\_Gamberini](https://discourse.slicer.org/u/Giulia_Gamberini)\
**Post date:** [February 27, 2024, 2:22pm UTC](https://discourse.slicer.org/t/segment-lungs-airways-pulmonary-vessels/34570/1 "2024-02-27T14:22:10Z")

</div>

Dear all, I am trying to segment lungs, airways and both pulmonary vein and artery. Could you please list the procedure you follow to obtain this results?  
Many thanks

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [March 16, 2024, 11:45am UTC](https://discourse.slicer.org/t/segment-lungs-airways-pulmonary-vessels/34570/2 "2024-03-16T11:45:02Z")

</div>

In short: Slicer now offers fully automated lung, lobes, airways, and vessel segmentation. There are several active discussions about it see for example here:

> [@Using MONAI label to fine tune the vessel segmentation](https://discourse.slicer.org/t/using-monai-label-to-fine-tune-the-vessel-segmentation/34869):
>
> Hi, I have acheived robust and satisfactory segmentation result when using lungCTsegmenter before. [image] However, if i use other samples(LIDC-IDRI dataset), most of the results have lung/vessel leaks. Should I use MONAI label to finetune the vessel segmentation part, or this is not a good use case? Since I watch this demo: [[MONAI Label Workshop - Project Week 37] ](https://www.youtube.com/watch?v=wtiEe_jiUzg&t=5531s) (1:35:27) and t…

---

<div class="post-metadata">

**Author:** ![Killmaro](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/killmaro/32/77864_2.png) [@Killmaro](https://discourse.slicer.org/u/Killmaro)\
**Post date:** [April 28, 2024, 1:47pm UTC](https://discourse.slicer.org/t/segment-lungs-airways-pulmonary-vessels/34570/3 "2024-04-28T13:47:26Z")

</div>

Hi All

I’ve tried successfully MONAI model for segmenting the arterial pulmonary tree on one of the CT models provided by Slicer. Here are the results (without filtering). Is there a way to clean this segmentation by removing all isolated pieces without using the manual scissor tool?

Thank you in advance for your help.

 ![Capture d’écran 2024-04-28 à 15.39.45](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/8/e/8e6714a8979c39eb978f7b1dd4d3dfe151bdabe1.jpeg)

---

<div class="post-metadata">

**Author:** ![soothsayer](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/soothsayer/32/78643_2.png) [@soothsayer](https://discourse.slicer.org/u/soothsayer)\
**Post date:** [November 24, 2024, 9:15pm UTC](https://discourse.slicer.org/t/segment-lungs-airways-pulmonary-vessels/34570/5 "2024-11-24T21:15:00Z")

</div>

I think you can use the “islands” tool. And choose “remove small islands” with a Minimum size of pixels for islands.
