# Segmentation issue

**URL:** https://discourse.slicer.org/t/segmentation-issue/14032
**Category:** Support
**Created:** [October 14, 2020, 12:14pm UTC](https://discourse.slicer.org/t/segmentation-issue/14032 "2020-10-14T12:14:43Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Carl\_Slicer](https://avatars.discourse-cdn.com/v4/letter/c/c6cbf5/32.png) [@Carl\_Slicer](https://discourse.slicer.org/u/Carl_Slicer)
#### Post date: [October 14, 2020, 12:14pm UTC](https://discourse.slicer.org/t/segmentation-issue/14032/1 "2020-10-14T12:14:43Z")

</div>

Operating system: Windows 10  
Slicer version: 4.1120200903  
Expected behavior: segmentation  
Actual behavior:

I have a CT scan with contrast. The scanning has been performed as a bolus tracking scan to maximize interaterial contrast. I want to segment bones, aterial vessels and kidneys in the abdominal region.  
I start with defining one segment R\_kidney. I then use segmentation = (threshold, smooting and keep largest part) to isolate the above organs. I the define a new box segment around the kidney using scissors. I the try to use logical operation intersect to select the kidney. But this operation just cuts out the kidney or actual the whole box area of the R\_kidney. My next approach was to use the scissors to cut out the R\_kidney. Then I define the L\_kidney segment and do the above segmentation again. But when I cut out the left kidney, the R\_kidney segment is also cleared.  
Next approach was to do each segment once at at time and the convert into volumes. I the succeded to create R\_kidney, L\_kidney and bone. I now want to subtract theese volumes from the last segment aterial vessels, to get the vessels only. But I cannot select the volumes in the logical operations?  
So my question is how can I do this? And I suspect there must be an easier way to do this than my somewhat cumbersome method above? I would love to hear suggestions.  
Best  
Carl\_Slicer

---

<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: [October 15, 2020, 5:10am UTC](https://discourse.slicer.org/t/segmentation-issue/14032/2 "2020-10-15T05:10:57Z")

</div>

If you want to reassign a part of an existing segment to a new segment, you can use Scissors effect with these settings:

- Operation -\> “Fill inside” (to not erase but paint instead)
- Masking / Editable area -\> Inside all segments (to not paint solid blocks but to keep the shape of already existing segments)

There are many other approaches, which may be even better. For example, using Grow from seeds effect and masking with editable intensity range, as described in this segmentation recipe: [https://lassoan.github.io/SlicerSegmentationRecipes/AortaMaskedGrowFromSeeds/](https://lassoan.github.io/SlicerSegmentationRecipes/AortaMaskedGrowFromSeeds/) (you can add more seeds, e.g., one for for each kidney).

---

<div class="post-metadata">

### Author: ![Carl\_Slicer](https://avatars.discourse-cdn.com/v4/letter/c/c6cbf5/32.png) [@Carl\_Slicer](https://discourse.slicer.org/u/Carl_Slicer)
#### Post date: [October 15, 2020, 4:31pm UTC](https://discourse.slicer.org/t/segmentation-issue/14032/3 "2020-10-15T16:31:18Z")

</div>

Thanks a lot for a very fast reply to my question. I have tried the suggested approach, which is much faster than my previous approach. You answer also deepened my understanding of how 3D slicer works.  
Thanks  
Jesper
