# Segmentation saving support

**URL:** https://discourse.slicer.org/t/segmentation-saving-support/21183
**Category:** Support
**Tags:** build, segmentation, vmtk
**Created:** [December 22, 2021, 3:28pm UTC](https://discourse.slicer.org/t/segmentation-saving-support/21183 "2021-12-22T15:28:42Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![19lollo95](https://avatars.discourse-cdn.com/v4/letter/1/82dd89/32.png) [@19lollo95](https://discourse.slicer.org/u/19lollo95)
#### Post date: [December 22, 2021, 3:28pm UTC](https://discourse.slicer.org/t/segmentation-saving-support/21183/1 "2021-12-22T15:28:43Z")

</div>

Hi everyone,  
I did a segmentation of a brain with a tumor (specifically the MRBrainTumor2 in BuiltIn). I’m having trouble with the save operation. How can I get 2 different mhd files for the two objects? In the save list there are only these objects (see photo). I have to use the two images to build a tetrahedral mesh with vmtk.  
Thanks in advance

 ![Schermata 2021-12-22 alle 16.25.48](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/0/8/0818f7122faa55c16819a8a766ec0ee574d4f983.jpeg)

---

<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: [December 23, 2021, 4:01pm UTC](https://discourse.slicer.org/t/segmentation-saving-support/21183/2 "2021-12-23T16:01:46Z")

</div>

> [@19lollo95](#):
>
> How can I get 2 different mhd files for the two objects?

When you export a segmentation to a labelmap then by default only the visible segments are exported. So, you can have two labelmap volumes, each containing one segment by showing one segment, export, showing the other segment, export.

For volumetric mesh generation I would recommend to use SegmentMesher extension, which can generate multimaterial tetrahedral mesh directly from segmentation.
