# Converting mesh data to volumetric data

**URL:** <https://discourse.slicer.org/t/converting-mesh-data-to-volumetric-data/24279>\
**Category:** Support\
**Tags:** volume, conversion\
**Created:** [July 11, 2022, 7:32pm UTC](https://discourse.slicer.org/t/converting-mesh-data-to-volumetric-data/24279 "2022-07-11T19:32:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andrey\_Titov](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/andrey_titov/32/15944_2.png) [@Andrey\_Titov](https://discourse.slicer.org/u/Andrey_Titov)\
**Post date:** [July 11, 2022, 7:32pm UTC](https://discourse.slicer.org/t/converting-mesh-data-to-volumetric-data/24279/1 "2022-07-11T19:32:10Z")

</div>

Hello everyone,

I was wondering if it is possible to use 3D Slicer to convert a triangular mesh (for example, one that has an .obj format) to a volumetric representation, and then save it to a medical volume format (for example, MINC)?

In other words, I want to create a voxel representation of the data from an isosurface representation, but I am not sure how to do it exactly.

Thank you for your help!

---

<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:** [July 12, 2022, 6:33pm UTC](https://discourse.slicer.org/t/converting-mesh-data-to-volumetric-data/24279/2 "2022-07-12T18:33:46Z")

</div>

That’s very easy.

1. Drag and drop your obj to the Slicer application window, and choose segmentation (instead of the default model).
2. After the OBJ is loaded into the scene, right click on the segmentation object and choose “Export Visible Segments as Binary Labelmaps”

Obviously it wouldn’t have any intensity information, but this should give you a volumetric data.

---

<div class="post-metadata">

**Author:** ![Andrey\_Titov](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/andrey_titov/32/15944_2.png) [@Andrey\_Titov](https://discourse.slicer.org/u/Andrey_Titov)\
**Post date:** [July 12, 2022, 9:55pm UTC](https://discourse.slicer.org/t/converting-mesh-data-to-volumetric-data/24279/3 "2022-07-12T21:55:39Z")

</div>

Ok, thank you very much! This is exactly what I need, I didn’t realize I could use segmentations for that!
