# Problem in module to label map

**URL:** <https://discourse.slicer.org/t/problem-in-module-to-label-map/35085>\
**Category:** Support\
**Created:** [March 26, 2024, 4:50am UTC](https://discourse.slicer.org/t/problem-in-module-to-label-map/35085 "2024-03-26T04:50:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pranali](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pranali/32/69263_2.png) [@Pranali](https://discourse.slicer.org/u/Pranali)\
**Post date:** [March 26, 2024, 4:50am UTC](https://discourse.slicer.org/t/problem-in-module-to-label-map/35085/1 "2024-03-26T04:50:34Z")

</div>

Hello, I have a fiber bundle saved as .vtk, I want it to convert to label volume. The model to label the map takes input as a model and an input volume (what is this? How do you give the volume that specifies the geometry of the model?). If someone knows, please help.

Thank You

---

<div class="post-metadata">

**Author:** ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)\
**Post date:** [March 26, 2024, 7:44pm UTC](https://discourse.slicer.org/t/problem-in-module-to-label-map/35085/2 "2024-03-26T19:44:27Z")

</div>

Usually you will have a reference MR scan that you want to use as the sampling grid and you use that as the input volume. The output labelmap volume is sampled in that space. You could start with any volume and then use the CropVolume module if you want to specify the exact geometry. There’s also an ImageMaker extension if you want to control it manually.

---

<div class="post-metadata">

**Author:** ![Pranali](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pranali/32/69263_2.png) [@Pranali](https://discourse.slicer.org/u/Pranali)\
**Post date:** [April 3, 2024, 4:37am UTC](https://discourse.slicer.org/t/problem-in-module-to-label-map/35085/3 "2024-04-03T04:37:06Z")

</div>

Hello, I tried using reference volume, but it gives an empty volume. I used dipy library to slove this! Thanks
