# Questions about importing labelmap directly to produce 3D model

**URL:** <https://discourse.slicer.org/t/questions-about-importing-labelmap-directly-to-produce-3d-model/12745>\
**Category:** Support\
**Created:** [July 27, 2020, 1:18pm UTC](https://discourse.slicer.org/t/questions-about-importing-labelmap-directly-to-produce-3d-model/12745 "2020-07-27T13:18:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![KKad](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/kkad/32/7610_2.png) [@KKad](https://discourse.slicer.org/u/KKad)\
**Post date:** [July 27, 2020, 1:18pm UTC](https://discourse.slicer.org/t/questions-about-importing-labelmap-directly-to-produce-3d-model/12745/1 "2020-07-27T13:18:18Z")

</div>

Hello Slicer Community! Very new user here,  
I have some annotated volumetric data (in the form of one 2D array per slice) where each pixel is labelled with a material and a volume index. The format is currently stored on matlab/python.

I want to use the model maker module to import this labelmap directly and create a 3D surface mesh of my model which I will use for biomechanical finite element analysis.

I’m having a bit of trouble understanding which file formats I need to provide, I understand that to normally get a label map i need to import images (DICOMS,pngs etc) and then segment the data. But in my case I already have the annotated data and I’m unsure of how to import it directly into slicer.

If anyone can guide me in the process that would be fantastic  
Thank you!

---

<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 27, 2020, 1:31pm UTC](https://discourse.slicer.org/t/questions-about-importing-labelmap-directly-to-produce-3d-model/12745/2 "2020-07-27T13:31:45Z")

</div>

You can save the labelmap file into nrrd format and then load it as segmentation by selecting “Segmentation” in Description column in “Add data” window.

You can then create a volumetric mesh using [SegmentMesher extension](https://github.com/lassoan/SlicerSegmentMesher#segment-mesher-extension).
