# 3d Reconstruction with spacial coordinates

**URL:** https://discourse.vtk.org/t/3d-reconstruction-with-spacial-coordinates/1122
**Category:** Development
**Created:** [June 13, 2019, 6:07am UTC](https://discourse.vtk.org/t/3d-reconstruction-with-spacial-coordinates/1122 "2019-06-13T06:07:07Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Onur\_GUZELDEMIRCI](https://discourse.vtk.org/user_avatar/discourse.vtk.org/onur_guzeldemirci/32/521_2.png) [@Onur\_GUZELDEMIRCI](https://discourse.vtk.org/u/Onur_GUZELDEMIRCI)
#### Post date: [June 13, 2019, 6:07am UTC](https://discourse.vtk.org/t/3d-reconstruction-with-spacial-coordinates/1122/1 "2019-06-13T06:07:07Z")

</div>

I am trying to reconstruct a 3d medical image from 2d images with spacial coordinates. Can I Do? How can I do in VTK?

---

<div class="post-metadata">

### Author: ![joe.maliszewski](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/j/278dde/32.png) [@joe.maliszewski](https://discourse.vtk.org/u/joe.maliszewski)
#### Post date: [June 13, 2019, 1:06pm UTC](https://discourse.vtk.org/t/3d-reconstruction-with-spacial-coordinates/1122/2 "2019-06-13T13:06:15Z")

</div>

DICOM IMGs??

---

<div class="post-metadata">

### Author: ![joe.maliszewski](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/j/278dde/32.png) [@joe.maliszewski](https://discourse.vtk.org/u/joe.maliszewski)
#### Post date: [June 13, 2019, 1:07pm UTC](https://discourse.vtk.org/t/3d-reconstruction-with-spacial-coordinates/1122/3 "2019-06-13T13:07:01Z")

</div>

you are trying to segment bone/tissue from DICOM images?

---

<div class="post-metadata">

### Author: ![joe.maliszewski](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/j/278dde/32.png) [@joe.maliszewski](https://discourse.vtk.org/u/joe.maliszewski)
#### Post date: [June 13, 2019, 1:11pm UTC](https://discourse.vtk.org/t/3d-reconstruction-with-spacial-coordinates/1122/4 "2019-06-13T13:11:44Z")

</div>

if this is what you mean, you need set your image folder path to a reader. such as vtkDICOMreader. From here you can pass this into a \<vtkContourFilter.h\> reader that can segment the put normals and gradients on. and set a value, then render the poly.

---

<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: [June 13, 2019, 1:24pm UTC](https://discourse.vtk.org/t/3d-reconstruction-with-spacial-coordinates/1122/5 "2019-06-13T13:24:36Z")

</div>

You can use the VTK-based [PLUS toolkit](https://www.plustoolkit.org) to reconstruct 3D volume from 2D slices. There are many reconstruction options, hole filling, automatic fan detection for ultrasound, etc. You can use the [command-line VolumeReconstructor tool](http://perk-software.cs.queensu.ca/plus/doc/nightly/user/ApplicationVolumeReconstructor.html), a [3D Slicer](https://www.slicer.org) module with GUI (Volume Reconstructor module, in [SlicerIGSIO extension](https://github.com/IGSIO/SlicerIGSIO)), or you can build from source and use the library in your application (everything is free, open-source, with BSD-type license).
