# Count volume and mean

**URL:** <https://discourse.slicer.org/t/count-volume-and-mean/36582>\
**Category:** Support\
**Created:** [June 4, 2024, 1:53am UTC](https://discourse.slicer.org/t/count-volume-and-mean/36582 "2024-06-04T01:53:02Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vikram](https://avatars.discourse-cdn.com/v4/letter/v/e47774/32.png) [@Vikram](https://discourse.slicer.org/u/Vikram)\
**Post date:** [June 4, 2024, 1:53am UTC](https://discourse.slicer.org/t/count-volume-and-mean/36582/1 "2024-06-04T01:53:02Z")

</div>

![tumor heterogenios](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/8/6/86f5d358968d88645d844b41fb725312ef432f83.png)  
Hi I have a i printed heterogeneous tumor and sent for CT scan and pet , after received data now i want to calculate volume of air and lattice in this CT dicom file, in this tumor there is 3 different types of lattice , that is why i want to calculate separate , lattice and volume in 3 different region , any one can please help me .

---

<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:** [June 4, 2024, 1:57am UTC](https://discourse.slicer.org/t/count-volume-and-mean/36582/2 "2024-06-04T01:57:36Z")

</div>

What you are asking is really simple.

We tried to explain to you a few times that you need to segment each individual structure separately (lattice, air, tumor) and then use the Segment Statistics to calculate mean/sd values within each region.

I think you really have to go through the segmentation tutorial to understand how you can accomplish this.

[https://slicer.readthedocs.io/en/latest/user\_guide/image\_segmentation.html](https://slicer.readthedocs.io/en/latest/user_guide/image_segmentation.html)

> **[Tutorials/Segmentation at main · SlicerMorph/Tutorials](https://github.com/SlicerMorph/Tutorials/tree/main/Segmentation)**
>
> SlicerMorph module tutorials. Contribute to SlicerMorph/Tutorials development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![Vikram](https://avatars.discourse-cdn.com/v4/letter/v/e47774/32.png) [@Vikram](https://discourse.slicer.org/u/Vikram)\
**Post date:** [June 4, 2024, 2:02am UTC](https://discourse.slicer.org/t/count-volume-and-mean/36582/3 "2024-06-04T02:02:09Z")

</div>

Yes , but this is heterogeneous tumor in this there is 3 different types area , ( three different thickness of lattice ) , I want to segment three different lattice segment area separately  
Thank you

---

<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:** [June 4, 2024, 2:11am UTC](https://discourse.slicer.org/t/count-volume-and-mean/36582/4 "2024-06-04T02:11:42Z")

</div>

From your screenshot I am not seeing any intensity difference in the lattice. That suggest me you will not be able to use intensity based segmentation tools (like threshold) to separate out the differences in different tumor regions.

If you know where your tumors are in the lattice, then you can use the manual segmentation tools (draw, paint, etc.) to outline them and then segment them into separate structures.

Alternatively you can try to place a few seeds in regions where you know the tumors are and then see if grow from the seeds helps to distinguish them.

But honestly, to my non-expert eye, that lattice seems fairly uniform to me.

---

<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 4, 2024, 4:08pm UTC](https://discourse.slicer.org/t/count-volume-and-mean/36582/5 "2024-06-04T16:08:32Z")

</div>

You can use the Scissors tool to divide a segment into subregions. See the [“Craniotomy” segmentation recipe](https://lassoan.github.io/SlicerSegmentationRecipes/Craniotomy/) for step-by-step instructions.
