# Growing Region Segmentations

**URL:** https://discourse.slicer.org/t/growing-region-segmentations/28605
**Category:** Support
**Tags:** segmentation
**Created:** [March 27, 2023, 9:44pm UTC](https://discourse.slicer.org/t/growing-region-segmentations/28605 "2023-03-27T21:44:33Z")
**Posts on this page:** 18
**Page:** 1

<div class="post-metadata">

### Author: ![nysfour](https://avatars.discourse-cdn.com/v4/letter/n/c0e974/32.png) [@nysfour](https://discourse.slicer.org/u/nysfour)
#### Post date: [March 27, 2023, 9:44pm UTC](https://discourse.slicer.org/t/growing-region-segmentations/28605/1 "2023-03-27T21:44:33Z")

</div>

Is there a method for essentially ‘corralling’ a growing region segmentation? For example, if I want a dropped seed to expand throughout an anatomical region but I want to add a border so that the seed will not grow into the next region. Is there any way to do this? Thresholding has not always been sufficient, especially with nonuniform lighting.

---

<div class="post-metadata">

### Author: ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)
#### Post date: [March 27, 2023, 10:07pm UTC](https://discourse.slicer.org/t/growing-region-segmentations/28605/2 "2023-03-27T22:07:28Z")

</div>

You could try using the grow from seeds tool for this.

---

<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 28, 2023, 2:07am UTC](https://discourse.slicer.org/t/growing-region-segmentations/28605/3 "2023-03-28T02:07:41Z")

</div>

Yes, the grow from seeds supports this, as it respects masking settings. For example, you can choose “Editable area” → “Inside …” (where the chosen segment covers the entire region where growing is allowed).

---

<div class="post-metadata">

### Author: ![nysfour](https://avatars.discourse-cdn.com/v4/letter/n/c0e974/32.png) [@nysfour](https://discourse.slicer.org/u/nysfour)
#### Post date: [June 8, 2023, 7:40pm UTC](https://discourse.slicer.org/t/growing-region-segmentations/28605/4 "2023-06-08T19:40:49Z")

</div>

Where is the editable area module? Sorry for the late reply, I appreciate the help!

---

<div class="post-metadata">

### Author: ![jamesobutler](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jamesobutler/32/7511_2.png) [@jamesobutler](https://discourse.slicer.org/u/jamesobutler)
#### Post date: [June 8, 2023, 9:14pm UTC](https://discourse.slicer.org/t/growing-region-segmentations/28605/5 "2023-06-08T21:14:34Z")

</div>

Editable area is part of the masking options in the Segment Editor. See the link below to the documentation for more details:

[https://slicer.readthedocs.io/en/latest/user\_guide/modules/segmenteditor.html#masking-options](https://slicer.readthedocs.io/en/latest/user_guide/modules/segmenteditor.html#masking-options)

---

<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: [June 8, 2023, 9:17pm UTC](https://discourse.slicer.org/t/growing-region-segmentations/28605/6 "2023-06-08T21:17:24Z")

</div>

The editatble area can be selected here:

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

---

<div class="post-metadata">

### Author: ![nysfour](https://avatars.discourse-cdn.com/v4/letter/n/c0e974/32.png) [@nysfour](https://discourse.slicer.org/u/nysfour)
#### Post date: [June 9, 2023, 2:19pm UTC](https://discourse.slicer.org/t/growing-region-segmentations/28605/7 "2023-06-09T14:19:37Z")

</div>

How do I use this setting when inside the growing seeds module? I can only find that setting in the Segment Editor module, but I am trying to delimit the area the seeds can grow in to before I place them

---

<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: [June 9, 2023, 2:36pm UTC](https://discourse.slicer.org/t/growing-region-segmentations/28605/8 "2023-06-09T14:36:20Z")

</div>

You would need to create an additional segment that just contains the area of interest.  
Example: We create lung masks, combine them to “lungs” segment, then choose “inside lungs” in Grow from seeds or Local threshold in order to segment a tumor.

---

<div class="post-metadata">

### Author: ![nysfour](https://avatars.discourse-cdn.com/v4/letter/n/c0e974/32.png) [@nysfour](https://discourse.slicer.org/u/nysfour)
#### Post date: [June 9, 2023, 4:01pm UTC](https://discourse.slicer.org/t/growing-region-segmentations/28605/9 "2023-06-09T16:01:32Z")

</div>

I seem to be unable to open both modules at the same time

---

<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: [June 9, 2023, 4:42pm UTC](https://discourse.slicer.org/t/growing-region-segmentations/28605/10 "2023-06-09T16:42:39Z")

</div>

You must just create one more segment which defines “outside” or “outerborder” in Grow from seeds. This will automatically be blended out (unchecked) when you have pressed “Apply”.

![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/8/a/8a7c28ff6b2760eaceaa8ea6b638bcb0a9feb8e6.png)

[See a video example here](https://www.youtube.com/watch?v=9iiOBmaP8bA).

---

<div class="post-metadata">

### Author: ![nysfour](https://avatars.discourse-cdn.com/v4/letter/n/c0e974/32.png) [@nysfour](https://discourse.slicer.org/u/nysfour)
#### Post date: [June 9, 2023, 6:06pm UTC](https://discourse.slicer.org/t/growing-region-segmentations/28605/11 "2023-06-09T18:06:09Z")

</div>

Thank you! How do I open both modules in split screen like you have in your image sent a few messages earlier?

---

<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: [June 9, 2023, 6:30pm UTC](https://discourse.slicer.org/t/growing-region-segmentations/28605/12 "2023-06-09T18:30:07Z")

</div>

Please explain. What do you mean by split screen?

---

<div class="post-metadata">

### Author: ![nysfour](https://avatars.discourse-cdn.com/v4/letter/n/c0e974/32.png) [@nysfour](https://discourse.slicer.org/u/nysfour)
#### Post date: [June 9, 2023, 7:47pm UTC](https://discourse.slicer.org/t/growing-region-segmentations/28605/13 "2023-06-09T19:47:00Z")

</div>

![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/2/1/21a0876ac85dc640dea25e53771514823999cfa6.png)  
This is what my growing region module looks, even when I add seeds, it doesn’t show the segment editor

---

<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: [June 9, 2023, 8:18pm UTC](https://discourse.slicer.org/t/growing-region-segmentations/28605/14 "2023-06-09T20:18:35Z")

</div>

Please use 3D Slicer 5.22 stable and the module “Segment Editor”.  
Create your segments. Do not forget to add the “outer” to “outbound” segment, which will generate the ROI you were describing.

Click “Grow from Seeds” effect.

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

---

<div class="post-metadata">

### Author: ![nysfour](https://avatars.discourse-cdn.com/v4/letter/n/c0e974/32.png) [@nysfour](https://discourse.slicer.org/u/nysfour)
#### Post date: [June 12, 2023, 3:53pm UTC](https://discourse.slicer.org/t/growing-region-segmentations/28605/15 "2023-06-12T15:53:30Z")

</div>

When I use that functionality inside the segment editor module, it doesn’t seem to let me create a seed point list

---

<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: [June 12, 2023, 4:52pm UTC](https://discourse.slicer.org/t/growing-region-segmentations/28605/16 "2023-06-12T16:52:17Z")

</div>

Just place paint strokes or paint dots in the regions you want to segment.

---

<div class="post-metadata">

### Author: ![nysfour](https://avatars.discourse-cdn.com/v4/letter/n/c0e974/32.png) [@nysfour](https://discourse.slicer.org/u/nysfour)
#### Post date: [June 12, 2023, 6:09pm UTC](https://discourse.slicer.org/t/growing-region-segmentations/28605/17 "2023-06-12T18:09:59Z")

</div>

When I do that, even with ‘Allow Overlap’ selected, when I apply the growing segmenter it removes both layers (the initial segment that demarcates the region and then the second new layer)

Thank you again for the guidance, I greatly appreciate it

---

<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: [June 13, 2023, 5:13am UTC](https://discourse.slicer.org/t/growing-region-segmentations/28605/18 "2023-06-13T05:13:55Z")

</div>

There are tons of video tutorials available on Youtube, they should help.

[https://www.youtube.com/results?search\_query=grow+from+seeds+3d+slicer](https://www.youtube.com/results?search_query=grow+from+seeds+3d+slicer)
