# How to show the number of selected pixels in one single slice after apply the segmeation operation?

**URL:** <https://discourse.slicer.org/t/how-to-show-the-number-of-selected-pixels-in-one-single-slice-after-apply-the-segmeation-operation/25447>\
**Category:** Support\
**Tags:** segmentation, dicom, 3d-model\
**Created:** [September 27, 2022, 2:26pm UTC](https://discourse.slicer.org/t/how-to-show-the-number-of-selected-pixels-in-one-single-slice-after-apply-the-segmeation-operation/25447 "2022-09-27T14:26:51Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![yiliberkeley](https://avatars.discourse-cdn.com/v4/letter/y/b4bc9f/32.png) [@yiliberkeley](https://discourse.slicer.org/u/yiliberkeley)\
**Post date:** [September 27, 2022, 2:26pm UTC](https://discourse.slicer.org/t/how-to-show-the-number-of-selected-pixels-in-one-single-slice-after-apply-the-segmeation-operation/25447/1 "2022-09-27T14:26:51Z")

</div>

Operating system: Windwons 10  
Slicer version: 4.11.20210226  
Expected behavior: display the selected pixels in one single slice after segmentation operation  
Actual behavior: No data shows out.

Hi All,

I am a newbie in 3D slicer. I am currently learning how to process the sample DICOM data using the segmentation module. I wondered how I could get the number of selected pixels in each slice.

Thank you!

---

<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:** [September 28, 2022, 4:16am UTC](https://discourse.slicer.org/t/how-to-show-the-number-of-selected-pixels-in-one-single-slice-after-apply-the-segmeation-operation/25447/2 "2022-09-28T04:16:15Z")

</div>

You can get cross-section area of a segmentation for each slice using `Segment Cross-Section Area` in Sandbox extension, but I would recommend much more advanced modules for this, such as in [Segment Geometry](https://github.com/jmhuie/Slicer-SegmentGeometry) and [SlicerVMTK](https://github.com/vmtk/SlicerExtension-VMTK#the-vmtk-extension-for-3d-slicer) extensions.

---

<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:** [September 29, 2022, 4:03am UTC](https://discourse.slicer.org/t/how-to-show-the-number-of-selected-pixels-in-one-single-slice-after-apply-the-segmeation-operation/25447/3 "2022-09-29T04:03:00Z")

</div>

@yiliberkeley  
Since you are a new user, please go ahead and switch to the latest stable, v5.0.3. The version you are using is over 1.5 years old, and no longer maintained. There are ton of bug fixed and new features that you will benefit.

---

<div class="post-metadata">

**Author:** ![yiliberkeley](https://avatars.discourse-cdn.com/v4/letter/y/b4bc9f/32.png) [@yiliberkeley](https://discourse.slicer.org/u/yiliberkeley)\
**Post date:** [October 3, 2022, 1:34pm UTC](https://discourse.slicer.org/t/how-to-show-the-number-of-selected-pixels-in-one-single-slice-after-apply-the-segmeation-operation/25447/4 "2022-10-03T13:34:53Z")

</div>

@lassoan Great! Thank you so much for your reply. I will try these three modules for learning purposes.

---

<div class="post-metadata">

**Author:** ![yiliberkeley](https://avatars.discourse-cdn.com/v4/letter/y/b4bc9f/32.png) [@yiliberkeley](https://discourse.slicer.org/u/yiliberkeley)\
**Post date:** [October 3, 2022, 1:37pm UTC](https://discourse.slicer.org/t/how-to-show-the-number-of-selected-pixels-in-one-single-slice-after-apply-the-segmeation-operation/25447/5 "2022-10-03T13:37:11Z")

</div>

@muratmaga Thanks for your suggestion. I will deploy the latest stable version of 3d Slicer on the workstation.
