# Why I cannot Per-Structure Volume

**URL:** <https://discourse.slicer.org/t/why-i-cannot-per-structure-volume/3124>\
**Category:** Support\
**Tags:** build, segmentation\
**Created:** [June 8, 2018, 11:53am UTC](https://discourse.slicer.org/t/why-i-cannot-per-structure-volume/3124 "2018-06-08T11:53:57Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fang](https://avatars.discourse-cdn.com/v4/letter/f/96bed5/32.png) [@Fang](https://discourse.slicer.org/u/Fang)\
**Post date:** [June 8, 2018, 11:53am UTC](https://discourse.slicer.org/t/why-i-cannot-per-structure-volume/3124/1 "2018-06-08T11:53:57Z")

</div>

Operating system: Windows10  
Slicer version: 4.9.0

Since I have an ‘STL’ file. I use segmentation module in order to get the labelmap.  
And using that labelmap as an input data.

However, I cannot use the Per-Structure Volume to separate each part of the tooth.

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

I would like to ask that how can I use the Per-Structure in this situation?  
Does 3DSlicer support for the tooth anatomy?

Thanks for your help,  
Best regards,

---

<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:** [June 8, 2018, 12:33pm UTC](https://discourse.slicer.org/t/why-i-cannot-per-structure-volume/3124/2 "2018-06-08T12:33:00Z")

</div>

Hi Fang,

Please try the newer Segment Editor module. It has more advanced “per-structure” handling, as inherently it stores the segmentations as per-structure labelmaps (segments). You can find tutorials [here](https://www.slicer.org/wiki/Documentation/Nightly/Training#Slicer4_Image_Segmentation).

Although I’m not sure I understand your question. An STL file can only contain one structure. How do you have multiple structures? Also if you use the segmentation module as you say, then how come you edit the labelmap and not the segmentation?

---

<div class="post-metadata">

**Author:** ![Fang](https://avatars.discourse-cdn.com/v4/letter/f/96bed5/32.png) [@Fang](https://discourse.slicer.org/u/Fang)\
**Post date:** [June 8, 2018, 12:59pm UTC](https://discourse.slicer.org/t/why-i-cannot-per-structure-volume/3124/3 "2018-06-08T12:59:09Z")

</div>

Hi Csaba,

Thank you for your helping.  
I got a problem as [this link](https://discourse.slicer.org/t/stl-file-uploaded-does-not-appear-as-a-volume/3114/2)

As you said, the STL file contains one structure so I follow the suggestion and then I got the labelmap.  
My aim is to segment the tooth from the STL. But I don’t sure for the process how can I do that.

---

<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:** [June 8, 2018, 1:16pm UTC](https://discourse.slicer.org/t/why-i-cannot-per-structure-volume/3124/4 "2018-06-08T13:16:28Z")

</div>

Hi Fang,

An STL file contains one surface mesh, which represents one segmentation. You don’t need to (and cannot) segment it. If you want to segment the different parts of the tooth, then you need to have the CT, in DICOM, or one of the research formats such as nrrd. As opposed to the STL, those contain a 3D image with different intensities in the voxels. Those are the images we have to segment.

---

<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:** [June 8, 2018, 2:13pm UTC](https://discourse.slicer.org/t/why-i-cannot-per-structure-volume/3124/5 "2018-06-08T14:13:54Z")

</div>

I created a simple slide explaining the typical data formats encountered when segmentation is involved:

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

I also uploaded the [pptx](https://www.slicer.org/wiki/File:SlicerDataFormats.pptx) and here is the png’s [wiki location](https://www.slicer.org/wiki/File:SlicerDataFormats.png). @pieper @lassoan where do you think I should put this on the wiki?

---

<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:** [June 8, 2018, 2:20pm UTC](https://discourse.slicer.org/t/why-i-cannot-per-structure-volume/3124/6 "2018-06-08T14:20:38Z")

</div>

Looks good! You could upload it here: [http://slicer.readthedocs.io/en/latest/user\_guide/data\_loading\_and\_saving.html](http://slicer.readthedocs.io/en/latest/user_guide/data_loading_and_saving.html)

---

<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:** [June 8, 2018, 2:43pm UTC](https://discourse.slicer.org/t/why-i-cannot-per-structure-volume/3124/7 "2018-06-08T14:43:47Z")

</div>

> [@Fang](#):
>
> My aim is to segment the tooth from the STL

If you mean that you would like to split the segment into multiple parts then you may follow this segmentation recipe for cutting segments into multiple pieces: [Overview | 3D Slicer segmentation recipes](https://lassoan.github.io/SlicerSegmentationRecipes/Craniotomy/)

---

<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:** [June 8, 2018, 2:59pm UTC](https://discourse.slicer.org/t/why-i-cannot-per-structure-volume/3124/8 "2018-06-08T14:59:31Z")

</div>

You will still need the original anatomical image though, otherwise you cannot know where to cut.

---

<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:** [June 8, 2018, 3:04pm UTC](https://discourse.slicer.org/t/why-i-cannot-per-structure-volume/3124/9 "2018-06-08T15:04:48Z")

</div>

I created a short page about Data Loadng and Saving in the documentation, including this diagram too:  
[http://slicer.readthedocs.io/en/latest/user\_guide/data\_loading\_and\_saving.html](http://slicer.readthedocs.io/en/latest/user_guide/data_loading_and_saving.html)

---

<div class="post-metadata">

**Author:** ![Fang](https://avatars.discourse-cdn.com/v4/letter/f/96bed5/32.png) [@Fang](https://discourse.slicer.org/u/Fang)\
**Post date:** [June 9, 2018, 4:31pm UTC](https://discourse.slicer.org/t/why-i-cannot-per-structure-volume/3124/10 "2018-06-09T16:31:26Z")

</div>

Thank you for your suggestion.  
I already follow your link and I feel wondering.

Could it be possible to make the image(blue arrow) to be transparent?

 ![Capture2](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/b/4/b4e974849e0d4e5165802bc61a297203e19de6fb.jpeg)

---

<div class="post-metadata">

**Author:** ![Fang](https://avatars.discourse-cdn.com/v4/letter/f/96bed5/32.png) [@Fang](https://discourse.slicer.org/u/Fang)\
**Post date:** [June 9, 2018, 4:36pm UTC](https://discourse.slicer.org/t/why-i-cannot-per-structure-volume/3124/11 "2018-06-09T16:36:41Z")

</div>

Thank you for helping me.

What do you mean for the original anatomical image?  
Actually, I don’t know where to cut and also which area represents the original anatomical image.

---

<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:** [June 9, 2018, 5:15pm UTC](https://discourse.slicer.org/t/why-i-cannot-per-structure-volume/3124/12 "2018-06-09T17:15:56Z")

</div>

You can adjust display settings, such as transparency, in the Segmentations module / Display section. You can make transparent all segments or just specific ones.

---

<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:** [June 11, 2018, 1:45pm UTC](https://discourse.slicer.org/t/why-i-cannot-per-structure-volume/3124/13 "2018-06-11T13:45:46Z")

</div>

Original anatomical image = The CT based on which the STL model was made. You cannot just “draw” a tooth model from nothing, you need the CT. Please see the diagram above.

---

<div class="post-metadata">

**Author:** ![Fang](https://avatars.discourse-cdn.com/v4/letter/f/96bed5/32.png) [@Fang](https://discourse.slicer.org/u/Fang)\
**Post date:** [June 13, 2018, 2:26pm UTC](https://discourse.slicer.org/t/why-i-cannot-per-structure-volume/3124/14 "2018-06-13T14:26:18Z")

</div>

Thank you for your all suggestion.  
It can help me a lot :))
