# Using segment statistics outside of 3D Slicer

**URL:** <https://discourse.slicer.org/t/using-segment-statistics-outside-of-3d-slicer/28292>\
**Category:** Development\
**Tags:** python, segment-statistics\
**Created:** [March 10, 2023, 8:19pm UTC](https://discourse.slicer.org/t/using-segment-statistics-outside-of-3d-slicer/28292 "2023-03-10T20:19:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![LDulz](https://avatars.discourse-cdn.com/v4/letter/l/3ab097/32.png) [@LDulz](https://discourse.slicer.org/u/LDulz)\
**Post date:** [March 10, 2023, 8:19pm UTC](https://discourse.slicer.org/t/using-segment-statistics-outside-of-3d-slicer/28292/1 "2023-03-10T20:19:07Z")

</div>

Does anybody know if its possible to use SegmentStatistics as standalone feature outside of 3DSlicer?  
I’ve used TotalSegmentator e.g. bc it was available as an individual repo and with those segmentations id like to calculate Volumes with SegmentStatistics in bigger numbers without using the 3DSlicer GUI

---

<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:** [March 11, 2023, 5:55am UTC](https://discourse.slicer.org/t/using-segment-statistics-outside-of-3d-slicer/28292/2 "2023-03-11T05:55:34Z")

</div>

You might want to use Jypiter notebooks extension for this.

> **[GitHub - Slicer/SlicerJupyter: Extension for 3D Slicer that allows the...](https://github.com/Slicer/SlicerJupyter)**
>
> Extension for 3D Slicer that allows the application to be used from Jupyter notebook - GitHub - Slicer/SlicerJupyter: Extension for 3D Slicer that allows the application to be used from Jupyter not...

See the video:

[![](https://img.youtube.com/vi/oZ3_cRXX2QM/maxresdefault.jpg "Medical image processing in your web browser using Jupyter notebooks and 3D Slicer") ](https://www.youtube.com/watch?v=oZ3_cRXX2QM)
