# How to achieve the following segmentation effect:

**URL:** <https://discourse.itk.org/t/how-to-achieve-the-following-segmentation-effect/3733>\
**Category:** Uncategorized\
**Created:** [December 28, 2020, 5:59am UTC](https://discourse.itk.org/t/how-to-achieve-the-following-segmentation-effect/3733 "2020-12-28T05:59:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![wulicheng](https://discourse.itk.org/user_avatar/discourse.itk.org/wulicheng/32/1390_2.png) [@wulicheng](https://discourse.itk.org/u/wulicheng)\
**Post date:** [December 28, 2020, 5:59am UTC](https://discourse.itk.org/t/how-to-achieve-the-following-segmentation-effect/3733/1 "2020-12-28T05:59:16Z")

</div>

How to achieve the following segmentation effect:  
 ![98441102_8](https://discourse.itk.org/uploads/default/original/2X/c/c8e8264f5426d9a1beaae45668d99ecbfc347b7e.gif)

---

<div class="post-metadata">

**Author:** ![dzenanz](https://discourse.itk.org/user_avatar/discourse.itk.org/dzenanz/32/1093_2.png) [@dzenanz](https://discourse.itk.org/u/dzenanz)\
**Post date:** [December 28, 2020, 3:12pm UTC](https://discourse.itk.org/t/how-to-achieve-the-following-segmentation-effect/3733/2 "2020-12-28T15:12:23Z")

</div>

You can [look at](https://www.youtube.com/watch?v=R-lBsqAvSTA) a very similar “grow from seeds” effect. Its implementation is in [vtkImageGrowCutSegment.cxx](https://github.com/Slicer/Slicer/blob/08789e8f2224f89206b2d6a49d1d452d4e677994/Modules/Loadable/Segmentations/Logic/vtkImageGrowCutSegment.cxx).

---

<div class="post-metadata">

**Author:** ![pieper](https://discourse.itk.org/user_avatar/discourse.itk.org/pieper/32/22_2.png) [@pieper](https://discourse.itk.org/u/pieper)\
**Post date:** [December 28, 2020, 10:54pm UTC](https://discourse.itk.org/t/how-to-achieve-the-following-segmentation-effect/3733/3 "2020-12-28T22:54:10Z")

</div>

@lassoan gave a great answer to this question with a how-to video [on the VTK discourse](https://discourse.vtk.org/t/how-to-segment-3d-volume/4906/2).
