# Segment Editor - Liver segmentation issue

**URL:** <https://discourse.slicer.org/t/segment-editor-liver-segmentation-issue/24290>\
**Category:** Support\
**Tags:** segmentation\
**Created:** [July 12, 2022, 6:07pm UTC](https://discourse.slicer.org/t/segment-editor-liver-segmentation-issue/24290 "2022-07-12T18:07:11Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![suranga](https://avatars.discourse-cdn.com/v4/letter/s/8491ac/32.png) [@suranga](https://discourse.slicer.org/u/suranga)\
**Post date:** [July 12, 2022, 6:07pm UTC](https://discourse.slicer.org/t/segment-editor-liver-segmentation-issue/24290/1 "2022-07-12T18:07:11Z")

</div>

Hi,

To segment the liver, I simply utilised the Segment Editor tool. However, after using the grow from seed effect, I observed that there are extra boundaries and regions that do not belong to the liver region. How do I get rid of them so that I can get a clean liver segmentation in 3D slicer? Should I go through each slice or frame manually by moving the views?

I here attached a screen shot for your further reference

Please help me in resolving this matter.

---

<div class="post-metadata">

**Author:** ![muratmaga](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/muratmaga/32/3622_2.png) [@muratmaga](https://discourse.slicer.org/u/muratmaga)\
**Post date:** [July 12, 2022, 6:30pm UTC](https://discourse.slicer.org/t/segment-editor-liver-segmentation-issue/24290/2 "2022-07-12T18:30:13Z")

</div>

From your screenshot it is hard to tell, what you shared might be the preview of the current seeds. Did you actually hit the apply button, which finalizes the segmentation.

After that you might also consider running a smoothing filter (e.g., median filter) to take care of any remaining jagged edges.

---

<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:** [July 12, 2022, 8:46pm UTC](https://discourse.slicer.org/t/segment-editor-liver-segmentation-issue/24290/4 "2022-07-12T20:46:37Z")

</div>

You can undo the “Grow from seeds” (so that you see the seeds instead of the grown regions), initialize the region growing (so that you see the preview results), adjust the seeds until everything looks good.

Liver segmentation is quite tedious job, even using semi-automatic segmentation tools. Fortunately, there are freely available fully automatic liver segmentation tools in Slicer. The easiest to use is [NVIDIA-AI-assisted annotation](https://github.com/NVIDIA/ai-assisted-annotation-client/blob/master/slicer-plugin/README.md#nvidia-ai-assisted-annotation-aiaa-for-3d-slicer).

---

<div class="post-metadata">

**Author:** ![diazandr3s](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/diazandr3s/32/9973_2.png) [@diazandr3s](https://discourse.slicer.org/u/diazandr3s)\
**Post date:** [July 14, 2022, 12:03am UTC](https://discourse.slicer.org/t/segment-editor-liver-segmentation-issue/24290/5 "2022-07-14T00:03:07Z")

</div>

@suranga you may be interested in using MONAI Label [GitHub - Project-MONAI/MONAILabel: MONAI Label is an intelligent open source image labeling and learning tool.](https://github.com/Project-MONAI/MONAILabel)

By default, the Deepedit model automatically segments the liver and other abdominal organs.

I’d suggest you give it a try and let us know how that goes on your PC.

Here is a video showing how to install MONAI Label [MONAI Label Deep Dive Series - YouTube](https://youtube.com/playlist?list=PLtoSVSQ2XzyD4lc-lAacFBzOdv5Ou-9IA)

More videos are coming later this week.

Stay tuned. 🙂

---

<div class="post-metadata">

**Author:** ![diazandr3s](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/diazandr3s/32/9973_2.png) [@diazandr3s](https://discourse.slicer.org/u/diazandr3s)\
**Post date:** [July 14, 2022, 9:58am UTC](https://discourse.slicer.org/t/segment-editor-liver-segmentation-issue/24290/7 "2022-07-14T09:58:59Z")

</div>

Hi @suranga,

We’ve previously had this issue with this Slicer version: [Segmentation\_[anatomy] model does not show up under Auto Segmentation header. · Issue #852 · Project-MONAI/MONAILabel · GitHub](https://github.com/Project-MONAI/MONAILabel/issues/852)

Please try again with the latest Preview Slicer version and let us know if this is still the case.

Solution: [Segmentation\_[anatomy] model does not show up under Auto Segmentation header. · Issue #852 · Project-MONAI/MONAILabel · GitHub](https://github.com/Project-MONAI/MONAILabel/issues/852#issuecomment-1172436198)

Hope this helps,

Andres

---

<div class="post-metadata">

**Author:** ![kopachini](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/kopachini/32/65543_2.png) [@kopachini](https://discourse.slicer.org/u/kopachini)\
**Post date:** [July 18, 2022, 5:07pm UTC](https://discourse.slicer.org/t/segment-editor-liver-segmentation-issue/24290/8 "2022-07-18T17:07:52Z")

</div>

You have seed locality and higher numbers reduce spilling over the seeding.  
 ![1](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/1/a/1af971cd63eceb0dd4a79f6f5ba274019cf4c60c.jpeg)
