Creating Output Master Volume

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?

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.

Thank you for the help @lassoan