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

Dženan Zukić dzenanz at gmail.com
Wed Apr 12 09:03:52 EDT 2017


Hi Sidharta,

to get the particular plane you want, set up the transform in such a way
that that slice gets transformed to some know spatial position (e.g. your
first point to coordinates [0,0,0] and your last point to coordinates
[1000,0,0]). Then you only need to resample your volume to a 3D image of
thickness 1 slice which passes through points [0,0,0] and [1000,0,0]. You
don't even need extract filter with this approach.

Regards,
Dženan Zukić, PhD, Senior R&D Engineer, Kitware (Carrboro, N.C.)

On Wed, Apr 12, 2017 at 7:44 AM, sidharta <sidharta.gupta93 at gmail.com>
wrote:

> Hi Dženan,
>
> Of course I would use that (sorry for not mentioning it that I know this
> already), but how do I get this particular plane (2D slice)? I don't want
> to
> hard code anything.
>
> Hope you understand
> Thank you for your time
> Sidharta
>
>
>
> --
> View this message in context: http://itk-users.7.n7.nabble.
> com/Extract-slice-from-ResampleFilter-tp38074p38097.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/20170412/6a9fac0b/attachment-0001.html>


More information about the Insight-users mailing list