# Registering several non-orthogonal slices into volume

**URL:** https://discourse.itk.org/t/registering-several-non-orthogonal-slices-into-volume/1976
**Category:** Uncategorized
**Created:** [June 18, 2019, 8:33am UTC](https://discourse.itk.org/t/registering-several-non-orthogonal-slices-into-volume/1976 "2019-06-18T08:33:00Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![SMT](https://discourse.itk.org/letter_avatar_proxy/v4/letter/s/dec6dc/32.png) [@SMT](https://discourse.itk.org/u/SMT)
#### Post date: [June 18, 2019, 8:33am UTC](https://discourse.itk.org/t/registering-several-non-orthogonal-slices-into-volume/1976/1 "2019-06-18T08:33:00Z")

</div>

Hello,

I am using ITK and SimpleITK in Python. I would like to register multiple slices with known relative orientation into a volume. I found this page with similar topic [https://itk.org/pipermail/community/2014-September/007124.html](https://itk.org/pipermail/community/2014-September/007124.html)  
However I don’t have orthogonal slices and I tried the method of pasting the slices into a volume anyway but the error is high and for the proposition to “modify a similarity metric to accept multiple images” I just didn’t find any ITK documentation or example from which to deduce how to do that…

Any help would be appreciated!

---

<div class="post-metadata">

### Author: ![dzenanz](https://discourse.itk.org/user_avatar/discourse.itk.org/dzenanz/32/1093_2.png) [@dzenanz](https://discourse.itk.org/u/dzenanz)
#### Post date: [June 18, 2019, 2:38pm UTC](https://discourse.itk.org/t/registering-several-non-orthogonal-slices-into-volume/1976/2 "2019-06-18T14:38:07Z")

</div>

Welcome to the community Sandra!

[Plus](https://plustoolkit.github.io/) has an [implementation](http://perk-software.cs.queensu.ca/plus/doc/nightly/user/AlgorithmVolumeReconstruction.html) of merging slices in arbitrary orientations into a volume. It is based on VTK, not ITK, but you could probably use it as a building block since it is open source too.

@lassoan answered the question you linked, and is the maintainer of Plus. He might have additional suggestions for you.

---

<div class="post-metadata">

### Author: ![lassoan](https://discourse.itk.org/user_avatar/discourse.itk.org/lassoan/32/27_2.png) [@lassoan](https://discourse.itk.org/u/lassoan)
#### Post date: [June 18, 2019, 3:11pm UTC](https://discourse.itk.org/t/registering-several-non-orthogonal-slices-into-volume/1976/3 "2019-06-18T15:11:59Z")

</div>

Yes, Plus toolkit’s VolumeReconstructor does exactly this. See some details in this [answer to a similar question](https://discourse.slicer.org/t/creating-mha-files/6557). If you have any specific question about Plus toolkit, [submit an issue to its issue tracker](https://github.com/PlusToolkit/PlusLib/issues/new).
