# Create an indipendent volumeNode for an organ obtained after segmentation

**URL:** <https://discourse.slicer.org/t/create-an-indipendent-volumenode-for-an-organ-obtained-after-segmentation/40018>\
**Category:** Support\
**Created:** [November 4, 2024, 3:32pm UTC](https://discourse.slicer.org/t/create-an-indipendent-volumenode-for-an-organ-obtained-after-segmentation/40018 "2024-11-04T15:32:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Filippo\_Parronchi](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/filippo_parronchi/32/77852_2.png) [@Filippo\_Parronchi](https://discourse.slicer.org/u/Filippo_Parronchi)\
**Post date:** [November 4, 2024, 3:32pm UTC](https://discourse.slicer.org/t/create-an-indipendent-volumenode-for-an-organ-obtained-after-segmentation/40018/1 "2024-11-04T15:32:39Z")

</div>

Good morning everyone, after applying the ‘totalSegmentator’ module, I obtained all my abdominal organs segmented.  
How can I now associate, for example, only my ‘liver’ object with a new volume node so that I can manage and work on it independently, without working with all the other segmented structures?  
How can i do this operation also with a python script?  
thanks a lot

---

<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 4, 2024, 4:25pm UTC](https://discourse.slicer.org/t/create-an-indipendent-volumenode-for-an-organ-obtained-after-segmentation/40018/2 "2024-11-04T16:25:45Z")

</div>

Take a look at the Mask Scalar Volume module, it should provide exactly the functionality you need. Also, here is a python script linked from the [script repository](https://slicer.readthedocs.io/en/latest/developer_guide/script_repository.html) which does something similar operating directly from a segmentation [MaskVolumeHistogramPlot.py](https://gist.github.com/lassoan/2f5071c562108dac8efe277c78f2620f)
