[Insight-users] fast assign ITK image to an array?

Neil Panjwani paniwani at gmail.com
Sat Apr 16 20:57:05 EDT 2011


You can access the image in 1D C++ array form using the GetBuferPointer()
function.

- Neil


On Sat, Apr 16, 2011 at 8:53 PM, Dongfeng Han <handongfeng at gmail.com> wrote:

> Hello everyone,
> Anyone know how to fast assign ITK image data to an c++ array?
> The common approach is to use the iterator of  the ITK image and assign the
> c++ array.
> Any other fast way?
> Best
> df
>
>
> _____________________________________
> 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.html
>
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20110416/4b1024c5/attachment.htm>


More information about the Insight-users mailing list