# Creating Output Master Volume

**URL:** <https://discourse.slicer.org/t/creating-output-master-volume/12690>\
**Category:** Development\
**Created:** [July 22, 2020, 2:23pm UTC](https://discourse.slicer.org/t/creating-output-master-volume/12690 "2020-07-22T14:23:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![vertebrae](https://avatars.discourse-cdn.com/v4/letter/v/dec6dc/32.png) [@vertebrae](https://discourse.slicer.org/u/vertebrae)\
**Post date:** [July 22, 2020, 2:23pm UTC](https://discourse.slicer.org/t/creating-output-master-volume/12690/1 "2020-07-22T14:23:06Z")

</div>

Hello,

When I run my local threshold segmentation code, 3D Slicer automatically creates an output master volume for my code. Instead, I would like to create a new master volume that could be my output volume after the segmentation. How would I do this?

---

<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:** [July 22, 2020, 2:30pm UTC](https://discourse.slicer.org/t/creating-output-master-volume/12690/2 "2020-07-22T14:30:43Z")

</div>

You can find the examples in script repository for creating empty volume. However, master volume is an input for thresholding, so an empty input volume will not work as input.

---

<div class="post-metadata">

**Author:** ![vertebrae](https://avatars.discourse-cdn.com/v4/letter/v/dec6dc/32.png) [@vertebrae](https://discourse.slicer.org/u/vertebrae)\
**Post date:** [July 22, 2020, 2:34pm UTC](https://discourse.slicer.org/t/creating-output-master-volume/12690/3 "2020-07-22T14:34:41Z")

</div>

Thank you for the help @lassoan
