[ITK] [ITK-users] Merge N slices

Arnaud Gelas arnaudgelas at gmail.com
Thu Dec 3 08:29:53 EST 2015


Hi Dominik,

I do not have access anymore to this code...

Anyway, In my case the orientation of all images were the same...

In your case, since it is really generic problem, I would recommend 
computing first the final image origin, orientation, spacing, and so on, 
allocating and fill the buffer.

On the ith image, you iterate compute the world location of the pixel, 
from that you compute the corresponding index location on the final 
image, then set the pixel...

HTH
Arnaud

On 03.12.2015 14:22, dominik.hofer at gmail.com wrote:
> Dear Arnaud Gelas,
>
> I'm working on merging some slice volumes together into one volume (they do not overlap, are not parallel and have spacing in between slices) and I came across your thread where you write that you have found a solution for this. My question is if you would be so kind to share it. :)
>
> Link to thread: http://itk-insight-users.2283740.n2.nabble.com/ITK-users-combining-N-images-tp7586088p7586104.html
>
> Cheers,
> Dominik
>
> _____________________________________
> Sent from http://itk-insight-users.2283740.n2.nabble.com
>

_____________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Kitware offers ITK Training Courses, for more information visit:
http://www.kitware.com/products/protraining.php

Please keep messages on-topic and check the ITK FAQ at:
http://www.itk.org/Wiki/ITK_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/insight-users


More information about the Community mailing list