[ITK-users] [ITK] Extract slice from ResampleFilter

Dženan Zukić dzenanz at gmail.com
Tue Apr 11 14:03:19 EDT 2017


Hi Sidartha,

you can use extract filter
<https://itk.org/Doxygen/html/classitk_1_1ExtractImageFilter.html> to
extract a single slice from a 3D image. Take a look at the examples liked
from the documentation page.

Regards,
Dženan

On Tue, Apr 11, 2017 at 12:00 PM, sidharta <sidharta.gupta93 at gmail.com>
wrote:

> Hey Dženan,
>
> So, I kind of got the equation of the plane and the normal to the plane
> where all the three non-collinear points lie. Then, I got the angle between
> this normal and the z-axis of the image. I resample the image by rotating
> in
> 3D about the z-axis. How do I extract the exact slice from the resampled
> image? Is it actually required to resample the 3D Dicom, can I not resample
> a 2D image (just for optimization purposes)? I read the documentation
> (ITKSoftwareGuide) which shows one example for 3D resampling, however not
> how to save a particular slice. Kindly correct me if I am wrong.
>
>
> Thank you for your time.
> Best Regards,
> Sidharta
>
>
>
> --
> View this message in context: http://itk-users.7.n7.nabble.
> com/Extract-slice-from-ResampleFilter-tp38074p38091.html
> Sent from the ITK - Users mailing list archive at 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/insight-users/attachments/20170411/943d529f/attachment.html>


More information about the Insight-users mailing list