# Grow from seeds error - minimum 2 visible segments required

**URL:** <https://discourse.slicer.org/t/grow-from-seeds-error-minimum-2-visible-segments-required/33279>\
**Category:** Support\
**Tags:** segmentation\
**Created:** [December 7, 2023, 6:18am UTC](https://discourse.slicer.org/t/grow-from-seeds-error-minimum-2-visible-segments-required/33279 "2023-12-07T06:18:27Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![JamesM](https://avatars.discourse-cdn.com/v4/letter/j/9fc29f/32.png) [@JamesM](https://discourse.slicer.org/u/JamesM)\
**Post date:** [December 7, 2023, 6:18am UTC](https://discourse.slicer.org/t/grow-from-seeds-error-minimum-2-visible-segments-required/33279/1 "2023-12-07T06:18:27Z")

</div>

Hello! I am measuring tumor volume, segmenting the inside and background separately and using the “grow from seed” function. However, when I try to use “grow from seed” again after filling in the completed volume where there were gaps, I encounter the following error. I would appreciate advice on how to resolve this issue.

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

---

<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:** [December 7, 2023, 2:39pm UTC](https://discourse.slicer.org/t/grow-from-seeds-error-minimum-2-visible-segments-required/33279/2 "2023-12-07T14:39:38Z")

</div>

I cannot reproduce the issue. Please share a screen capture video or describe every click you make.

---

<div class="post-metadata">

**Author:** ![JamesM](https://avatars.discourse-cdn.com/v4/letter/j/9fc29f/32.png) [@JamesM](https://discourse.slicer.org/u/JamesM)\
**Post date:** [December 8, 2023, 7:51am UTC](https://discourse.slicer.org/t/grow-from-seeds-error-minimum-2-visible-segments-required/33279/3 "2023-12-08T07:51:38Z")

</div>

I uploaded my capture video.  
this video is little bit different situation.  
but still same error message with the grow from seed function.

---

<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:** [December 8, 2023, 12:57pm UTC](https://discourse.slicer.org/t/grow-from-seeds-error-minimum-2-visible-segments-required/33279/4 "2023-12-08T12:57:02Z")

</div>

Thanks for the video. It nicely shows how the error occurs in the end, but I still cannot reproduce this if I perform these steps starting from a segmentation that I create. You might have performed some extra steps that triggered this issue.

Could you please upload a video that shows all the steps, starting with launching Slicer, loading a sample data set, … ending with the error displayed?

---

<div class="post-metadata">

**Author:** ![JamesM](https://avatars.discourse-cdn.com/v4/letter/j/9fc29f/32.png) [@JamesM](https://discourse.slicer.org/u/JamesM)\
**Post date:** [December 10, 2023, 4:30am UTC](https://discourse.slicer.org/t/grow-from-seeds-error-minimum-2-visible-segments-required/33279/5 "2023-12-10T04:30:46Z")

</div>

When I started recording again from the beginning, the issue did not occur again.

Thanks…

---

<div class="post-metadata">

**Author:** ![D\_Dand](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/d_dand/32/69093_2.png) [@D\_Dand](https://discourse.slicer.org/u/D_Dand)\
**Post date:** [February 6, 2024, 4:15pm UTC](https://discourse.slicer.org/t/grow-from-seeds-error-minimum-2-visible-segments-required/33279/6 "2024-02-06T16:15:03Z")

</div>

I do have same issue with you. How did you fix it?

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/b/7/b7f516536ba2e70fa4be9218f71e8deffe7e2444.jpeg)

---

<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:** [February 6, 2024, 6:53pm UTC](https://discourse.slicer.org/t/grow-from-seeds-error-minimum-2-visible-segments-required/33279/7 "2024-02-06T18:53:23Z")

</div>

Please try to reproduce it with the latest Slicer Preview Release. If you can reproduce the problem then please provide step-by-step instructions that we can follow.

If we can reproduce the issue then we can immediately fix it, but without sufficiently detailed instructions we cannot even investigate the problem.

---

<div class="post-metadata">

**Author:** ![Redamancy\_Duan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/redamancy_duan/32/69641_2.png) [@Redamancy\_Duan](https://discourse.slicer.org/u/Redamancy_Duan)\
**Post date:** [March 26, 2024, 6:47am UTC](https://discourse.slicer.org/t/grow-from-seeds-error-minimum-2-visible-segments-required/33279/8 "2024-03-26T06:47:51Z")

</div>

根据提示，我找到一个解决方法是用Threshold工具规定一个灰度范围

---

<div class="post-metadata">

**Author:** ![jwal](https://avatars.discourse-cdn.com/v4/letter/j/ea666f/32.png) [@jwal](https://discourse.slicer.org/u/jwal)\
**Post date:** [September 23, 2024, 9:58pm UTC](https://discourse.slicer.org/t/grow-from-seeds-error-minimum-2-visible-segments-required/33279/9 "2024-09-23T21:58:46Z")

</div>

I believe I’m experiencing a similar error attempting to segment a CT. Please see attached video and image.  
Thank You.

  
 ![Seg Op Failed - slicer error](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/7/5/75020ae614d9c8cbf5000e2723dec798c800014c.jpeg)

---

<div class="post-metadata">

**Author:** ![cpinter](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/cpinter/32/7995_2.png) [@cpinter](https://discourse.slicer.org/u/cpinter)\
**Post date:** [September 24, 2024, 8:54am UTC](https://discourse.slicer.org/t/grow-from-seeds-error-minimum-2-visible-segments-required/33279/10 "2024-09-24T08:54:48Z")

</div>

This is really strange, as far as I see everything is in order. Can you reproduce it with a sample data, such as CT Chest in the Sample Data module?

---

<div class="post-metadata">

**Author:** ![jwal](https://avatars.discourse-cdn.com/v4/letter/j/ea666f/32.png) [@jwal](https://discourse.slicer.org/u/jwal)\
**Post date:** [September 24, 2024, 11:49am UTC](https://discourse.slicer.org/t/grow-from-seeds-error-minimum-2-visible-segments-required/33279/11 "2024-09-24T11:49:23Z")

</div>

Unfortunately, Yes. I did reproduce it in the CT Chest Sample Data. Hmmmm.

---

<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:** [September 24, 2024, 12:31pm UTC](https://discourse.slicer.org/t/grow-from-seeds-error-minimum-2-visible-segments-required/33279/12 "2024-09-24T12:31:46Z")

</div>

Is it fixed in the latest Slicer Preview Release?

---

<div class="post-metadata">

**Author:** ![cpinter](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/cpinter/32/7995_2.png) [@cpinter](https://discourse.slicer.org/u/cpinter)\
**Post date:** [September 24, 2024, 1:48pm UTC](https://discourse.slicer.org/t/grow-from-seeds-error-minimum-2-visible-segments-required/33279/13 "2024-09-24T13:48:46Z")

</div>

Grow from seeds works for me with 2 segments and little seeding on CT Chest in a nightly from July. Could this error be due to some peculiarity in how you add the seeds?

It would be very useful to try this in the latest preview as @lassoan suggests.

---

<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:** [September 24, 2024, 1:58pm UTC](https://discourse.slicer.org/t/grow-from-seeds-error-minimum-2-visible-segments-required/33279/14 "2024-09-24T13:58:17Z")

</div>

Please also try if you do this after a fresh restart of Slicer. It may be possible that a previously cancelled segment editing causes this (e.g., you started some segmentation, then closed the scene). So, please test again, with the latest Slicer Preview Release and after a Slicer restart.

I’ve also noticed that it took considerable time to locate the tumor on all 3 slices. You can do this automatically by holding down the Shift key while moving the mouse in a view (no need to click just move the mouse). This makes all slice views jump to the mouse pointer location.

---

<div class="post-metadata">

**Author:** ![jwal](https://avatars.discourse-cdn.com/v4/letter/j/ea666f/32.png) [@jwal](https://discourse.slicer.org/u/jwal)\
**Post date:** [September 25, 2024, 5:15pm UTC](https://discourse.slicer.org/t/grow-from-seeds-error-minimum-2-visible-segments-required/33279/15 "2024-09-25T17:15:28Z")

</div>

Ohhhh, I love that Shift key trick! I have a lot to learn here. So 5.7.0 version successfully segmented the tumor. Now Im stuck not being able to edit the segmented tumor in 3D as Id like. See video.  
Thanks for your help.  
Jim

---

<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:** [September 25, 2024, 8:01pm UTC](https://discourse.slicer.org/t/grow-from-seeds-error-minimum-2-visible-segments-required/33279/16 "2024-09-25T20:01:48Z")

</div>

While “Grow from seeds” effect is active, you are editing the seeds that are automatically grown. Therefore, once you like the previewed segmentation results, switch to “Grow from seeds” effect and click `Apply`.

---

<div class="post-metadata">

**Author:** ![Ninjaa](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/ninjaa/32/79397_2.png) [@Ninjaa](https://discourse.slicer.org/u/Ninjaa)\
**Post date:** [February 9, 2025, 1:55am UTC](https://discourse.slicer.org/t/grow-from-seeds-error-minimum-2-visible-segments-required/33279/17 "2025-02-09T01:55:11Z")

</div>

Running into same issue on Slicer 5.8.0.

 ![Screenshot from 2025-02-08 17-54-09](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/0/c/0c6476a869b7d8b6ef698d506d86859a847646bb.jpeg). Tried restarting 3D Slicer as recommended above but still encountering, is there anything obvious I am messing up? Thank you.

---

<div class="post-metadata">

**Author:** ![Ninjaa](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/ninjaa/32/79397_2.png) [@Ninjaa](https://discourse.slicer.org/u/Ninjaa)\
**Post date:** [February 9, 2025, 6:39pm UTC](https://discourse.slicer.org/t/grow-from-seeds-error-minimum-2-visible-segments-required/33279/18 "2025-02-09T18:39:59Z")

</div>

Tried flow in 5.9.0 preview build 2025-02-08 as well yielding the same error. Painting more of the segments doesn’t seem to make a difference. @lassoan any noticable setup issue from my screenshot above? Would appreciate any input.

---

<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:** [February 9, 2025, 11:10pm UTC](https://discourse.slicer.org/t/grow-from-seeds-error-minimum-2-visible-segments-required/33279/19 "2025-02-09T23:10:51Z")

</div>

I dont see any obvious issues. Can you share the scene (upload somewhere and post the link here)?

---

<div class="post-metadata">

**Author:** ![Ninjaa](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/ninjaa/32/79397_2.png) [@Ninjaa](https://discourse.slicer.org/u/Ninjaa)\
**Post date:** [February 13, 2025, 8:35am UTC](https://discourse.slicer.org/t/grow-from-seeds-error-minimum-2-visible-segments-required/33279/20 "2025-02-13T08:35:48Z")

</div>

Was not able to reproduce again (still on version 2025-02-08) even though had the occurrence on both stable and preview couple days ago across restarts, whatever I must have subtly done different in steps today led to initialization working great.

Will share scene + sequence of steps I did if I manage to trigger issue again.

[Next page](https://discourse.slicer.org/t/grow-from-seeds-error-minimum-2-visible-segments-required/33279.md?page=2)
