# Segmentation of large nodule from CT

**URL:** https://discourse.slicer.org/t/segmentation-of-large-nodule-from-ct/32550
**Category:** Support
**Tags:** segmentation, lung
**Created:** [November 2, 2023, 8:02am UTC](https://discourse.slicer.org/t/segmentation-of-large-nodule-from-ct/32550 "2023-11-02T08:02:03Z")
**Posts on this page:** 18
**Page:** 2

<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: [November 9, 2023, 5:04pm UTC](https://discourse.slicer.org/t/segmentation-of-large-nodule-from-ct/32550/21 "2023-11-09T17:04:30Z")

</div>

It turns out that part of the tumor is hollow:

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

With a little adaptation Iof threshold I (lower : -406) I get

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

which is probably reasonable.

Your reference was probably done with a fill-between-slices effect of the segment editor which requires more work.

---

<div class="post-metadata">

### Author: ![Caterina](https://avatars.discourse-cdn.com/v4/letter/c/439d5e/32.png) [@Caterina](https://discourse.slicer.org/u/Caterina)
#### Post date: [November 10, 2023, 9:53am UTC](https://discourse.slicer.org/t/segmentation-of-large-nodule-from-ct/32550/22 "2023-11-10T09:53:04Z")

</div>

Dear @rbumm,  
thank you very much for your suggestion and updates.  
I will perform another segmentation with the lower threshold of -406.  
In your new case volume is around 13000 compared to 18000.  
Is this a tolerable difference?  
I will try to perform the same procedure for the other cases.  
Concerning your observation “Your reference was probably done with a fill-between-slices effect of the segment editor which requires more work.”, is fill-between-slices effect a default option?  
Thanks

---

<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: [November 10, 2023, 2:14pm UTC](https://discourse.slicer.org/t/segmentation-of-large-nodule-from-ct/32550/23 "2023-11-10T14:14:02Z")

</div>

Fill between slices is on option in which you paint every volume slice of the tumor with an intensity modified paint tool and later use the fill between slices effect to create the actual segmentation. It is much more work and looks often ugly, like a layered cake.

If you create a tumor segmentation with local threshold and maybe add some pixes here and there that are missin or remove some that are representing vessels 13000 is the reference value. (net volume with holes)

---

<div class="post-metadata">

### Author: ![Caterina](https://avatars.discourse-cdn.com/v4/letter/c/439d5e/32.png) [@Caterina](https://discourse.slicer.org/u/Caterina)
#### Post date: [November 11, 2023, 10:15am UTC](https://discourse.slicer.org/t/segmentation-of-large-nodule-from-ct/32550/24 "2023-11-11T10:15:58Z")

</div>

Dear @rbumm,  
thank you for support.  
I will proceed with another case in order to evaluate if the differences still remains in the other cases of the same database. One more question:  
-the results of segmentation in 3d seems to be in transparency. How to convert them as opaque models?

---

<div class="post-metadata">

### Author: ![Caterina](https://avatars.discourse-cdn.com/v4/letter/c/439d5e/32.png) [@Caterina](https://discourse.slicer.org/u/Caterina)
#### Post date: [November 18, 2023, 8:35am UTC](https://discourse.slicer.org/t/segmentation-of-large-nodule-from-ct/32550/25 "2023-11-18T08:35:00Z")

</div>

Good morning,  
I’m testing other cases of the same dataset.

I’m having trouble defining the local threshold on the nodule for them. More specifically, after imposing the threshold range, and command left click (Mac), not only the region of interest but also the other regions the other regions are also selected. Can I have suggestions about it?  
Thanks

Thanks

---

<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: [November 18, 2023, 9:49am UTC](https://discourse.slicer.org/t/segmentation-of-large-nodule-from-ct/32550/26 "2023-11-18T09:49:36Z")

</div>

Could you provide one or two case numbers?

---

<div class="post-metadata">

### Author: ![Caterina](https://avatars.discourse-cdn.com/v4/letter/c/439d5e/32.png) [@Caterina](https://discourse.slicer.org/u/Caterina)
#### Post date: [November 18, 2023, 10:24am UTC](https://discourse.slicer.org/t/segmentation-of-large-nodule-from-ct/32550/27 "2023-11-18T10:24:33Z")

</div>

The number of the same dataset are SL0078 SL0080 SL0081

---

<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: [November 18, 2023, 10:51am UTC](https://discourse.slicer.org/t/segmentation-of-large-nodule-from-ct/32550/29 "2023-11-18T10:51:39Z")

</div>

Where do I find these patients? Do you have a NBIA manifest for this series?

---

<div class="post-metadata">

### Author: ![Caterina](https://avatars.discourse-cdn.com/v4/letter/c/439d5e/32.png) [@Caterina](https://discourse.slicer.org/u/Caterina)
#### Post date: [November 18, 2023, 11:01am UTC](https://discourse.slicer.org/t/segmentation-of-large-nodule-from-ct/32550/30 "2023-11-18T11:01:29Z")

</div>

@rbumm I will share with you these cases soon. Thanks

---

<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: [November 18, 2023, 1:03pm UTC](https://discourse.slicer.org/t/segmentation-of-large-nodule-from-ct/32550/31 "2023-11-18T13:03:39Z")

</div>

(1) Create a ROI  
(2) Place this ROI around the tumor  
(3) use Local Threshold effect with Grow Cut enabled

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

(4) do some postprocessing (remove vessels)

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

---

<div class="post-metadata">

### Author: ![Caterina](https://avatars.discourse-cdn.com/v4/letter/c/439d5e/32.png) [@Caterina](https://discourse.slicer.org/u/Caterina)
#### Post date: [November 19, 2023, 5:31pm UTC](https://discourse.slicer.org/t/segmentation-of-large-nodule-from-ct/32550/32 "2023-11-19T17:31:30Z")

</div>

Thank you very much @rbumm.  
I will use your suggestions and update you.  
Thanks

---

<div class="post-metadata">

### Author: ![Caterina](https://avatars.discourse-cdn.com/v4/letter/c/439d5e/32.png) [@Caterina](https://discourse.slicer.org/u/Caterina)
#### Post date: [November 30, 2023, 2:23pm UTC](https://discourse.slicer.org/t/segmentation-of-large-nodule-from-ct/32550/33 "2023-11-30T14:23:43Z")

</div>

Dear @rbumm,  
sorry for delay to reply and thank for support.  
Creating a ROI and performing the local threshold approach, I performed the segmentation.  
The problem is that the ROI created disappeared after several slices. It means that the segmentation segmentation neglects the region from a certain slice onwards. Can you suggest how to fix it?  
In addition, is it possible to create a “not cubed” ROI (a ROI with possibility to create curved ROI?)  
Thanks

---

<div class="post-metadata">

### Author: ![Caterina](https://avatars.discourse-cdn.com/v4/letter/c/439d5e/32.png) [@Caterina](https://discourse.slicer.org/u/Caterina)
#### Post date: [December 5, 2023, 1:04pm UTC](https://discourse.slicer.org/t/segmentation-of-large-nodule-from-ct/32550/34 "2023-12-05T13:04:55Z")

</div>

@rbumm Can you please suggest me how to fix the last problems?  
Thanks

---

<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: [December 5, 2023, 2:38pm UTC](https://discourse.slicer.org/t/segmentation-of-large-nodule-from-ct/32550/35 "2023-12-05T14:38:38Z")

</div>

Unfortunately, there is no elliptical 3D ROI in Slicer.  
I would recommend segmenting the right lung with Lung CT Segmenter and using it as a mask → Editable area “Inside right lung” for the Growcut operation.

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

---

<div class="post-metadata">

### Author: ![Caterina](https://avatars.discourse-cdn.com/v4/letter/c/439d5e/32.png) [@Caterina](https://discourse.slicer.org/u/Caterina)
#### Post date: [December 5, 2023, 2:41pm UTC](https://discourse.slicer.org/t/segmentation-of-large-nodule-from-ct/32550/36 "2023-12-05T14:41:21Z")

</div>

Thanks a lot.  
I will try. Concerning this problem “the ROI created disappeared after several slices” for the previous approach, can you please suggest how to fix it?  
Thanks

---

<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: [December 5, 2023, 3:00pm UTC](https://discourse.slicer.org/t/segmentation-of-large-nodule-from-ct/32550/37 "2023-12-05T15:00:21Z")

</div>

I would recommend to resample the volume 1,1,1 for a test. Create a new volume as output. Try to use the ROI with the new volume.

---

<div class="post-metadata">

### Author: ![Caterina](https://avatars.discourse-cdn.com/v4/letter/c/439d5e/32.png) [@Caterina](https://discourse.slicer.org/u/Caterina)
#### Post date: [December 5, 2023, 3:11pm UTC](https://discourse.slicer.org/t/segmentation-of-large-nodule-from-ct/32550/38 "2023-12-05T15:11:42Z")

</div>

Thanks a lot.  
Just the last question.  
After performing Lung CT Segmenter, sometimes 3d models appear transparent and other times not.  
What is the function that makes them transparent so you can see the module inside? Thanks again

---

<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: [December 5, 2023, 3:53pm UTC](https://discourse.slicer.org/t/segmentation-of-large-nodule-from-ct/32550/39 "2023-12-05T15:53:29Z")

</div>

Go “Segmentations”, select the structure you want, go “Advanced” and move the 3D slider.

[Previous page](https://discourse.slicer.org/t/segmentation-of-large-nodule-from-ct/32550.md?page=1)
