[ITK] [ITK-users] Merge N slices
Andras Lasso
lasso at queensu.ca
Thu Dec 3 09:19:27 EST 2015
Volume reconstruction from arbitrarily oriented slices is not a trivial problem. It has a large literature but only a very few open-source implementations.
One implementation is in the Plus toolkit (www.plustoolkit.org). It is fairly fast and supports clipping, hole filling (there are almost always holes between the slices), automatic output volume extent computation, etc. You can download the installation package and run the VolumeReconstructor command-line tool to build a volume from slices. Detailed description and sample data are available here:
http://perk-software.cs.queensu.ca/plus/doc/nightly/user/ApplicationVolumeReconstructor.html
You can also link PlusLib into your own project and call volume reconstructor algorithm from there. See for example how the algorithm is used in the VolumeReconstructor:
https://www.assembla.com/spaces/plus/subversion/source/HEAD/trunk/PlusLib/src/VolumeReconstruction/Testing/VolumeReconstructor.cxx
Andras
-----Original Message-----
From: Community [mailto:community-bounces at itk.org] On Behalf Of Arnaud Gelas
Sent: December 3, 2015 8:30 AM
To: dominik.hofer at gmail.com
Cc: insight-users at itk.org
Subject: Re: [ITK] [ITK-users] Merge N slices
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-i
> mages-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
_______________________________________________
Community mailing list
Community at itk.org
http://public.kitware.com/mailman/listinfo/community
_____________________________________
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