# How to implement lobe and vessel segmentation in Lung CT Segmenter?

**URL:** <https://discourse.slicer.org/t/how-to-implement-lobe-and-vessel-segmentation-in-lung-ct-segmenter/23609>\
**Category:** Support\
**Tags:** lungctanalyzer, lung\
**Created:** [May 27, 2022, 1:41pm UTC](https://discourse.slicer.org/t/how-to-implement-lobe-and-vessel-segmentation-in-lung-ct-segmenter/23609 "2022-05-27T13:41:42Z")\
**Posts on this page:** 6\
**Page:** 1

<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:** [May 27, 2022, 1:41pm UTC](https://discourse.slicer.org/t/how-to-implement-lobe-and-vessel-segmentation-in-lung-ct-segmenter/23609/1 "2022-05-27T13:41:42Z")

</div>

@Eserval and @rbumm, both thoracic surgeons, have been in a video call recently to address the above question.

@Eserval demonstrated his excellent segmentation recipe (100% 3D Slicer) which consists of:

- Lung mask and airway segmentation with Lung CT Segmenter
- Creating a vessel mask
- Creation of empty a PV and PA segment
- Manual placement of seeds in the pulmonary vein and pulmonary artery (complicated stuff)
- Grow from seeds vessel segmentation “inside vessel mask”
- Creation of upper, middle and lower lobe segments (left) and upper and lower lobe (right)
- Slice painting inside right or left lung mask in the lobe segments
- Fill between slices to complete the lobes
- Duplicate the lobes into lung segments
- Use the “Scissor” function to isolate each individual lung segment
- Use “Level tracing” to segment the tumor

The procedure usually takes @Eserval about 1-2 hours. @Eserval if possible please add some cooking stage images and a final result - or a link to a youtube video …

@Eserval and @rbumm agreed on closer cooperation, moving parts of this recipe into the lung CT segmenter, and establishing this thread to collect additional ideas from the community. The final goal will be a semiautomatic planning tool for lung surgery, maybe an additional module in the Chest Imaging Platform.

---

<div class="post-metadata">

**Author:** ![mau\_igna\_06](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/mau_igna_06/32/9056_2.png) [@mau\_igna\_06](https://discourse.slicer.org/u/mau_igna_06)\
**Post date:** [May 27, 2022, 3:51pm UTC](https://discourse.slicer.org/t/how-to-implement-lobe-and-vessel-segmentation-in-lung-ct-segmenter/23609/2 "2022-05-27T15:51:28Z")

</div>

Great. I’m eager to see some pictures

---

<div class="post-metadata">

**Author:** ![Eserval](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/eserval/32/14650_2.png) [@Eserval](https://discourse.slicer.org/u/Eserval)\
**Post date:** [May 27, 2022, 10:59pm UTC](https://discourse.slicer.org/t/how-to-implement-lobe-and-vessel-segmentation-in-lung-ct-segmenter/23609/3 "2022-05-27T22:59:04Z")

</div>

Hello everyone,

Thanks Rudolf for the post. I`ll post the materila ASAP.

best

---

<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:** [May 28, 2022, 8:01am UTC](https://discourse.slicer.org/t/how-to-implement-lobe-and-vessel-segmentation-in-lung-ct-segmenter/23609/4 "2022-05-28T08:01:59Z")

</div>

Great, it would probably best to get details included in 3D Slicer recipes:

> **[Segmentation recipes for 3D Slicer](https://lassoan.github.io/SlicerSegmentationRecipes/)**
>
> Recipes for common medical image segmentation tasks using 3D Slicer

and post one result image here in this thread.

---

<div class="post-metadata">

**Author:** ![Eserval](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/eserval/32/14650_2.png) [@Eserval](https://discourse.slicer.org/u/Eserval)\
**Post date:** [May 28, 2022, 3:35pm UTC](https://discourse.slicer.org/t/how-to-implement-lobe-and-vessel-segmentation-in-lung-ct-segmenter/23609/5 "2022-05-28T15:35:29Z")

</div>

Here is the final product of the segmentation. We use it in our institution to plan lung resections.  
That case was an S6 segmentectomy where the 3D reconstruction helped manage an anomalous vein for the S2 segment.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/1/2/1213548615a084f2d409a58b8aae600a4692b3b2.jpeg)

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/0/2/02f90d4c312f41ebad62a32290122f66335b4809.jpeg)

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/6/d/6ddb25c36659a5277f1eb3d21605122658039a25.jpeg)

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/6/0/60ea05da836be3e29b256bcd08573b1a93d8bc74.jpeg)

We have an almost done video publication that includes an explanation of the steps. I’ll post on the Segmentation Recipes ASAP.

Best

---

<div class="post-metadata">

**Author:** ![Tibor\_Krajc](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/tibor_krajc/32/10119_2.png) [@Tibor\_Krajc](https://discourse.slicer.org/u/Tibor_Krajc)\
**Post date:** [September 17, 2022, 9:49pm UTC](https://discourse.slicer.org/t/how-to-implement-lobe-and-vessel-segmentation-in-lung-ct-segmenter/23609/6 "2022-09-17T21:49:01Z")

</div>

1-2 hours sounds great! I usually need 4-8hrs but with loads of manual structure coloring with a digitizer pen. were you able to post your workflow to Recipes? could you point us to a link? thanks a lot!
