# VTK PolyData To ImageData

**URL:** https://discourse.vtk.org/t/vtk-polydata-to-imagedata/863
**Category:** Support
**Created:** [April 29, 2019, 7:12am UTC](https://discourse.vtk.org/t/vtk-polydata-to-imagedata/863 "2019-04-29T07:12:07Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![lassoan](https://discourse.vtk.org/user_avatar/discourse.vtk.org/lassoan/32/50_2.png) [@lassoan](https://discourse.vtk.org/u/lassoan)
#### Post date: [April 29, 2019, 1:34pm UTC](https://discourse.vtk.org/t/vtk-polydata-to-imagedata/863/2 "2019-04-29T13:34:26Z")

</div>

You need to use a volumetric mesh generator, such as [Cleaver](https://sciinstitute.github.io/cleaver.pages/manual.html) or TetGen.

If you want to experiment with them without writing code, you can try them in 3D Slicer: install [3D Slicer](https://download.slicer.org/), install [Segment Mesher extension](https://github.com/lassoan/SlicerSegmentMesher), load your STL files into Slicer as segmentation, use Segment mesher module to generate volumetric meshes, save volumetric mesh as .vtu file. You may need to tune mesh generation parameters (e.g., increase scale parameter for Cleaver to get higher-resolution mesh) and regenerate mesh until you are satisfied with mesh quality.

---

_[View the full topic](https://discourse.vtk.org/t/vtk-polydata-to-imagedata/863)._
