# can I calculate the volume of  of the tumor by shape features ?

**URL:** <https://discourse.slicer.org/t/can-i-calculate-the-volume-of-of-the-tumor-by-shape-features/20694>\
**Category:** Support\
**Tags:** segmentation\
**Created:** [November 19, 2021, 7:00am UTC](https://discourse.slicer.org/t/can-i-calculate-the-volume-of-of-the-tumor-by-shape-features/20694 "2021-11-19T07:00:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mina](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/mina/32/8447_2.png) [@mina](https://discourse.slicer.org/u/mina)\
**Post date:** [November 19, 2021, 7:00am UTC](https://discourse.slicer.org/t/can-i-calculate-the-volume-of-of-the-tumor-by-shape-features/20694/1 "2021-11-19T07:00:17Z")

</div>

Hello,  
I am doing a radiomics project in 3D Slicer and I am new to all the things.  
I have a problem.  
I need to have the volume of the tumor, but in the extracted features (Shape features), there is no Volume and no compactness.  
I read some articles and according to them, I can calculate volume by counting the number of pixels in the tumor region and multiplying this value by the voxel size.  
For shape features I have these features:

Elongation   
Flatness   
LeastAxisLength   
MajorAxisLength   
Maximum2DDiameterColumn   
Maximum2DDiameterRow   
Maximum2DDiameterSlice   
Maximum3DDiameter   
MeshVolume   
MinorAxisLength   
Sphericity   
SurfaceArea   
SurfaceVolumeRatio   
VoxelVolume

how can I calculate the volume of the tumor ?  
I’m sorry if my question seems very basic.It’s my 1st project and I am somehow confused.  
would you please help me .

---

<div class="post-metadata">

**Author:** ![mikebind](https://avatars.discourse-cdn.com/v4/letter/m/71e660/32.png) [@mikebind](https://discourse.slicer.org/u/mikebind)\
**Post date:** [November 19, 2021, 5:20pm UTC](https://discourse.slicer.org/t/can-i-calculate-the-volume-of-of-the-tumor-by-shape-features/20694/2 "2021-11-19T17:20:49Z")

</div>

I’m not sure what module you are using, so I can’t be 100% confident, but I expect the value you are looking for is in the VoxelVolume feature. This is almost certainly the volume of the region as calculated by counting the number of voxels included multiplie by the volume of a voxel. I suspect MeshVolume is also the region volume, calculated as the volume inside a surface mesh. These may differ slightly due to smoothing during the generation of the mesh or due to pixelization of the surface, but should be very similar for any large or compact shape.

---

<div class="post-metadata">

**Author:** ![mina](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/mina/32/8447_2.png) [@mina](https://discourse.slicer.org/u/mina)\
**Post date:** [November 19, 2021, 6:06pm UTC](https://discourse.slicer.org/t/can-i-calculate-the-volume-of-of-the-tumor-by-shape-features/20694/3 "2021-11-19T18:06:13Z")

</div>

Thank you very much.  
You helped me a lot.  
Thank you.

---

<div class="post-metadata">

**Author:** ![rbumm](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/rbumm/32/9404_2.png) [@rbumm](https://discourse.slicer.org/u/rbumm)\
**Post date:** [November 19, 2021, 8:51pm UTC](https://discourse.slicer.org/t/can-i-calculate-the-volume-of-of-the-tumor-by-shape-features/20694/4 "2021-11-19T20:51:18Z")

</div>

A different, maybe easier approach would be to segment the tumor in the segment editor and run “Segment Statistics” on the segmentation results. “Segment Statistics” can be found in “Quantification” submenu.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/b/a/ba25a58c07a6da39b1c0cbd8ba72daa8327b8059.jpeg)
