[ITK] [ITK-users] Extract slice from ResampleFilter
Dženan Zukić
dzenanz at gmail.com
Thu May 11 11:40:56 EDT 2017
Hi Sidharta,
just changing the size of the output image should not affect its
orientation. Can you share the code with comments which line you added to
try changing the size?
Regards,
Dženan Zukić, PhD, Senior R&D Engineer, Kitware (Carrboro, N.C.)
On Thu, May 11, 2017 at 11:20 AM, sidharta <sidharta.gupta93 at gmail.com>
wrote:
> Dear Dženan,
>
> First of all, thank you for all your help.
>
> So, from the previous posts I was able to resample the CBCT image so that
> it
> lies in the direction of the Trajectory. So far so good. Now, I am trying
> to
> extract only a part of the volume in this resampled image. So, I figure
> that
> since I already calculated the direction, I could just set the size of the
> output image to be what I want in the "ResampleImageFilter" and it should
> work fine. However, when I do this, the extracted volume is in a different
> direction than I assumed it to be. For example,
>
> <http://itk-users.7.n7.nabble.com/file/n38228/Capture.png>
>
> In the above image, I assumed the part of the volume that I extract is
> actually in the direction shown in the "Green" line, however I instead get
> the volume along the "Red" line. Why is this so? The direction I calculate
> for the "ResampleImageFilter" was essentially along the "Green" line.
>
> Additionally, what I am trying to do, is this not possible with the
> "ResampleImageFilter"? Do I need to extract the volume using the
> "ExtractImageFilter" instead?
>
> Thank you for your time
> Sidharta
>
>
>
> --
> View this message in context: http://itk-users.7.n7.nabble.
> com/Extract-slice-from-ResampleFilter-tp38074p38228.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/community/attachments/20170511/d3e36738/attachment.html>
-------------- next part --------------
_____________________________________
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