# Making 2D measurements of a segmentation on an individual slice

**URL:** <https://discourse.slicer.org/t/making-2d-measurements-of-a-segmentation-on-an-individual-slice/7886>\
**Category:** Support\
**Tags:** segmentation, python\
**Created:** [August 5, 2019, 7:28pm UTC](https://discourse.slicer.org/t/making-2d-measurements-of-a-segmentation-on-an-individual-slice/7886 "2019-08-05T19:28:27Z")\
**Posts on this page:** 1\
**Showing post:** 4

<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:** [August 6, 2019, 1:18am UTC](https://discourse.slicer.org/t/making-2d-measurements-of-a-segmentation-on-an-individual-slice/7886/4 "2019-08-06T01:18:26Z")

</div>

If you need number of voxels (cross-section area by slice) then you can find a readily usable solution here: [Using numpy reslice to get slices of segment](https://discourse.slicer.org/t/using-numpy-reslice-to-get-slices-of-segment/2257/3). With small modifications of the script, you can compute extents, diameters, etc. for each slice.

---

_[View the full topic](https://discourse.slicer.org/t/making-2d-measurements-of-a-segmentation-on-an-individual-slice/7886)._
