# Only one of 28  segments is showing in 3d

**URL:** <https://discourse.slicer.org/t/only-one-of-28-segments-is-showing-in-3d/28934>\
**Category:** Support\
**Tags:** segmentation\
**Created:** [April 15, 2023, 8:17pm UTC](https://discourse.slicer.org/t/only-one-of-28-segments-is-showing-in-3d/28934 "2023-04-15T20:17:18Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tobias](https://avatars.discourse-cdn.com/v4/letter/t/c67d28/32.png) [@Tobias](https://discourse.slicer.org/u/Tobias)\
**Post date:** [April 15, 2023, 8:17pm UTC](https://discourse.slicer.org/t/only-one-of-28-segments-is-showing-in-3d/28934/1 "2023-04-15T20:17:18Z")

</div>

I downloaded a dataset with maps of arterial regions in the brain. It usually works very well to load them as segments and that step worked well. However, when i try and show it in 3D only once of the segments show. I have checked everything I can think of and i can not see any difference between the segmentations in any setting.

Operating system: win 11  
Slicer version: 5.2.2 and slicer 4.11  
Expected behavior: All segments should show  
Actual behavior: only one show

 ![slicer problem](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/6/8/68687faba941ad3bf8510063fd025dd3ac19d7dc.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:** [April 15, 2023, 8:20pm UTC](https://discourse.slicer.org/t/only-one-of-28-segments-is-showing-in-3d/28934/2 "2023-04-15T20:20:19Z")

</div>

Check in Data module, maybe you have multiple segmentations and only one is shown in 3D. You can adjust visibility and opacity of each segment separately in Segmentations module, maybe something is set there.

If you cannot figure it out then please save the scene as .mrb and share it with us (upload it to dropbox/onedrive/google drive and post the link here) and we’ll have a look.

---

<div class="post-metadata">

**Author:** ![Tobias](https://avatars.discourse-cdn.com/v4/letter/t/c67d28/32.png) [@Tobias](https://discourse.slicer.org/u/Tobias)\
**Post date:** [April 15, 2023, 8:41pm UTC](https://discourse.slicer.org/t/only-one-of-28-segments-is-showing-in-3d/28934/3 "2023-04-15T20:41:15Z")

</div>

Hi Andras.  
I checked the data modul and all segments look the same and should be visible.

here is the file as a .mrb

> **[Segment probleme.mrb](https://drive.google.com/file/d/1n4WnSm4mNIZgPY1dLDaIVZdsCI5RSVs9/view?usp=sharing)**
>
> Google Drive file.

Thank you for the help

---

<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:** [April 16, 2023, 1:55pm UTC](https://discourse.slicer.org/t/only-one-of-28-segments-is-showing-in-3d/28934/4 "2023-04-16T13:55:10Z")

</div>

Thank you for sharing the file. The problem is that the file stores voxels as floating-point value (`float` type) instead of an integer type. Using floating-point values uses 4-8x more memory than necessary and there can be issues when computing equality between values, therefore Slicer never does this. However, it seems that Slicer does not prevent importing of images of this type as segmentation.

We’ll probably just disable loading of float volumes as segmentations into Slicer (see [Segmentation closed surface representation generation fails for float voxels · Issue #6941 · Slicer/Slicer · GitHub](https://github.com/Slicer/Slicer/issues/6941)).

To fix your problem, you need to set the voxel type to `unsigned char` (if you have more than 255 segments then `unsigned short`) when you create a segmentation file. How did you create this .seg.nrrd file?

---

<div class="post-metadata">

**Author:** ![Tobias](https://avatars.discourse-cdn.com/v4/letter/t/c67d28/32.png) [@Tobias](https://discourse.slicer.org/u/Tobias)\
**Post date:** [April 16, 2023, 8:20pm UTC](https://discourse.slicer.org/t/only-one-of-28-segments-is-showing-in-3d/28934/5 "2023-04-16T20:20:20Z")

</div>

Hi i downloaded this dataset  
[https://www.nitrc.org/doi/landing\_page.php?table=groups&id=1498&doi=](https://www.nitrc.org/doi/landing_page.php?table=groups&id=1498&doi=)  
and then loaded the atlas file as a segmentation.

Tried with a different version and then it worked.

Thank you for the help!
