[Insight-users] ITK Image Memory Layout (now as text)

Matt McCormick matt.mccormick at kitware.com
Fri Jun 29 08:33:57 EDT 2012


Hi Jakob,

Yes, your assumption is correct. Although, many the filters in ITK are
capable of streaming, in which case not all of the image buffer is
allocated.

HTH,
Matt
On Jun 29, 2012 7:19 AM, "Jakob Schluttig" <jakob.schluttig at gmail.com>
wrote:

> Dear all,
>
> First I have to apologize my first post this morning which was sent as
> html by accident :( . Sorry!
>
> I am very new to ITK and have a probably very simple question I could
> not find a clear answer for using google and the standard
> documentation (I also skipped through the Doxygen documentation, but I
> was not able to dive into the code as deep as the answer to my
> question would require :( ).
>
> 3D data typically requires large amounts of memory - in the orders of
> 100MB - 1000MB . It is typically not a good idea to allocate data
> ranges that large as a single big chunk of memory. So I wonder: If I
> set up a large 3D image with ITK - is the memory split up internally
> (like volume slices or whatever)? Or does ITK try to do something like
> (probably a bit oversimplified, but it should make clear what I mean)
> :
>
> float *p = new p [1024*1024*1024];
>
> ?
>
> Many thanks for clarification and best regards,
> Jakob
> _____________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20120629/08cc0db3/attachment.htm>


More information about the Insight-users mailing list