[ITK Community] [Insight-users] Copy image from ITK to MKL
Matt McCormick
matt.mccormick at kitware.com
Mon Feb 3 23:11:27 EST 2014
Hi Mikael,
Access to the pixel buffer can be obtained with GetPixelContainer()
[1], then GetBufferPointer() [2].
HTH,
Matt
[1] http://www.itk.org/Doxygen/html/classitk_1_1Image.html#a1f4447d246d6a6a14b2d2257b62d24f4
[2] http://www.itk.org/Doxygen/html/classitk_1_1ImportImageContainer.html#afc6357f6772ca6c3c4410e7a6c4a3285
On Mon, Feb 3, 2014 at 8:36 PM, Mikael Brudfors <brudfors at gmail.com> wrote:
> Hello,
>
>
>
> I am new to ITK and need some advice just to make sure I will do this as
> efficient as possible. What I want to do is to read an image using ITK and
> then output it so that I can process it as a matrix using Intel MKL. How can
> I access the values contained in the ITK image, i.e., how can I export the
> image to a local buffer of another software system. I hope I wasn't too
> vague, thank you.
>
>
>
> Mikael
>
>
> _____________________________________
> 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://www.itk.org/mailman/listinfo/insight-users
>
> _______________________________________________
> Community mailing list
> Community at itk.org
> http://public.kitware.com/cgi-bin/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://www.itk.org/mailman/listinfo/insight-users
More information about the Community
mailing list