# Help needed - Segmentation

**URL:** <https://discourse.slicer.org/t/help-needed-segmentation/31708>\
**Category:** Support\
**Tags:** segmentation\
**Created:** [September 14, 2023, 11:25am UTC](https://discourse.slicer.org/t/help-needed-segmentation/31708 "2023-09-14T11:25:43Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jakub](https://avatars.discourse-cdn.com/v4/letter/j/ecb155/32.png) [@Jakub](https://discourse.slicer.org/u/Jakub)\
**Post date:** [September 14, 2023, 11:25am UTC](https://discourse.slicer.org/t/help-needed-segmentation/31708/1 "2023-09-14T11:25:43Z")

</div>

Hi, I have a problem and hope someone could adivise. The problem is that the segmented teeth are moved outside the border of the CT image that is being worked on and are reduced in size so that they do not fit in the CT image as a whole. I don’t know how it could be fixed, please help! Many thanks in advance!

 ![Screen_of_issue](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/7/5/7558dc7c43a4e61ba167379c1e5b7fdb0e138a3e.png)

---

<div class="post-metadata">

**Author:** ![muratmaga](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/muratmaga/32/3622_2.png) [@muratmaga](https://discourse.slicer.org/u/muratmaga)\
**Post date:** [September 14, 2023, 3:07pm UTC](https://discourse.slicer.org/t/help-needed-segmentation/31708/2 "2023-09-14T15:07:22Z")

</div>

@Jakub it looks like segmentation geometry and the volume doesn’t match.

In your screenshot there is no source volume set. does setting it to the CBCT fix it? If not, please explain how you generated this segmentation so that we can understand better where the mismatch is coming from.

Normally the segmentation geometry is matched to the source volume it is generated from.

---

<div class="post-metadata">

**Author:** ![Jakub](https://avatars.discourse-cdn.com/v4/letter/j/ecb155/32.png) [@Jakub](https://discourse.slicer.org/u/Jakub)\
**Post date:** [September 14, 2023, 3:13pm UTC](https://discourse.slicer.org/t/help-needed-segmentation/31708/3 "2023-09-14T15:13:22Z")

</div>

@muratmaga We are not really sure how it happend, because during segmentation 3D Slicer freezed and than the output like this, before freezening it was in order. Do you think it could be fixed?

How about skipping that one shot? The height of the layer (image) will be very high  
small and it would be possible to interpolate the missing data into the overall 3D.

Or replace the missing picture with a picture from around  
(previous/next).

Is that possible or another way would be better?

---

<div class="post-metadata">

**Author:** ![muratmaga](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/muratmaga/32/3622_2.png) [@muratmaga](https://discourse.slicer.org/u/muratmaga)\
**Post date:** [September 14, 2023, 3:51pm UTC](https://discourse.slicer.org/t/help-needed-segmentation/31708/4 "2023-09-14T15:51:06Z")

</div>

If this is indeed the segmentation of the displayed volume, you can try this:

1. Right click on the segmentation and convert to labelmap
2. Obtain the Volume Information (under Volumes module, see the screenshot) of your CBCT
3. Edit the volume information of the labelmap to match the information from #2 exactly.
4. Right click on the labelmap and convert to segmentation.

If this doesn’t fix, you need to provide your data so that we can take a close look.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/2/0/204038f86e6c07c72f490affb22281807fc516a9.jpeg)

---

<div class="post-metadata">

**Author:** ![Jakub](https://avatars.discourse-cdn.com/v4/letter/j/ecb155/32.png) [@Jakub](https://discourse.slicer.org/u/Jakub)\
**Post date:** [September 15, 2023, 3:59am UTC](https://discourse.slicer.org/t/help-needed-segmentation/31708/5 "2023-09-15T03:59:02Z")

</div>

@muratmaga After more thorough inspection by me and my colleagues we discovered that indeed the segmentation doesn’t match the volume. I apologize for the confusion. Thank you for your time and quick replies.
