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

Dženan Zukić dzenanz at gmail.com
Mon Apr 10 09:24:50 EDT 2017


​Hi Sidharta,

you definitely should not resample twice. All you need is to compound the
two transforms (multiply their matrices)​. And apply a single resampling.
But for debugging purposes, you could also display the resampled output
after only the first transform.

Regards,
Dženan

On Mon, Apr 10, 2017 at 5:29 AM, sidharta <sidharta.gupta93 at gmail.com>
wrote:

> Dear Dženan,
>
> Thank you for your reply. Actually, I found a third point which gives me
> the
> exact (informative) slice I am looking for. Should I resample the image
> twice, first rotate the image to the direction of the trajectory and move
> the origin to the start of the trajectory and second rotate the image to
> the
> angle between the trajectory and the third point? I will try what you said
> and get back to you. I am asking because I don't think resampling twice
> makes sense.
>
> Thank you for your time.
> Sidharta
>
>
>
> --
> View this message in context: http://itk-users.7.n7.nabble.
> com/Extract-slice-from-ResampleFilter-tp38074p38084.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
> _______________________________________________
> Community mailing list
> Community at itk.org
> http://public.kitware.com/mailman/listinfo/community
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/insight-users/attachments/20170410/d43caaaa/attachment.html>


More information about the Insight-users mailing list