# Number of pixels after segmentation

**URL:** <https://discourse.slicer.org/t/number-of-pixels-after-segmentation/12074>\
**Category:** Support\
**Tags:** segmentation\
**Created:** [June 17, 2020, 4:47pm UTC](https://discourse.slicer.org/t/number-of-pixels-after-segmentation/12074 "2020-06-17T16:47:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![cotozakot](https://avatars.discourse-cdn.com/v4/letter/c/848f3c/32.png) [@cotozakot](https://discourse.slicer.org/u/cotozakot)\
**Post date:** [June 17, 2020, 4:47pm UTC](https://discourse.slicer.org/t/number-of-pixels-after-segmentation/12074/1 "2020-06-17T16:47:06Z")

</div>

Can I read the number of pixels / voxels somewhere after segmentation? Not only their volume, I mean their quantity. So far, I have been able to obtain results from the Segment Statistic module.

---

<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 17, 2020, 5:18pm UTC](https://discourse.slicer.org/t/number-of-pixels-after-segmentation/12074/2 "2020-06-17T17:18:39Z")

</div>

What quantity would you be interested in? Number of voxels? Bounding box size in mm or voxels? Segment Statistics module should provide you all these.

---

<div class="post-metadata">

**Author:** ![cotozakot](https://avatars.discourse-cdn.com/v4/letter/c/848f3c/32.png) [@cotozakot](https://discourse.slicer.org/u/cotozakot)\
**Post date:** [June 17, 2020, 5:39pm UTC](https://discourse.slicer.org/t/number-of-pixels-after-segmentation/12074/3 "2020-06-17T17:39:11Z")

</div>

Thank you very much for your answer! I have one more question, where  
can I find information on the size of the voxels?

---

<div class="post-metadata">

**Author:** ![Andinet\_Enquobahrie](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/andinet_enquobahrie/32/75_2.png) [@Andinet\_Enquobahrie](https://discourse.slicer.org/u/Andinet_Enquobahrie)\
**Post date:** [June 18, 2020, 10:45am UTC](https://discourse.slicer.org/t/number-of-pixels-after-segmentation/12074/4 "2020-06-18T10:45:44Z")

</div>

size of the voxel = Image spacing in X \* Image spacing in Y \* Image spacing in Z direction

You can find image spacing information in the Volumes module

Or from the Segment Statistics module, you can calculate the size in mm^3 as follows

Volume [mm^3] / Number of voxels

-Andinet
