[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
>
More information about the Insight-users
mailing list