[Insight-users] Memory limits of ITKImage object

Luis Ibanez luis.ibanez at kitware.com
Mon Oct 25 08:58:12 EDT 2010


Hi Ricardo,

The image object size is only limited by the amount of
RAM memory in your machine, and the size of the
"unsigned long" in your operating system+compilation
mode.

This translates to:

1) In a Windows 64 bits machine : Max = 2Gb
    (because unsigned long is smaller
     than size_t in Windows)

2) In a Linux 64 bits machine: Max = your RAM
    (given that it is likely smaller than 2^64 bytes)


The ITK streaming mechanism should help you
to process a very large image *as long as* you
are using filters that are streamable.

Examples of filters that are not streamable are

* FFT
* Region Growing
* Watersheds


You may want to look at:

* ITK/Examples/IO/VisibleHumanStreamReadWrite.cxx

and

ITK/Testing/Code/IO/
itkGDCMSeriesStreamReadImageWrite.cxx
itkImageFileReaderStreamingTest2.cxx
itkImageFileReaderStreamingTest.cxx
itkImageFileWriterStreamingPastingCompressingTest1.cxx
itkImageFileWriterStreamingTest1.cxx
itkImageFileWriterStreamingTest2.cxx
itkMetaImageStreamingIOTest.cxx
itkMetaImageStreamingWriterIOTest.cxx


   Please let us know if you have any questions,


        Thanks


             Luis


----------------------------------------------------------------
On Mon, Oct 25, 2010 at 8:21 AM, Ricardo Uribe Lobello <
ricardouribelobello at gmail.com> wrote:

>
> Good day everyone,
>
> Does anyone know about the memory limits of an ITKImage object? How big can
> be an ITK Image object?
> Can the Itk streaming mechanism help me to process a very big image? Could
> you point me to a web page with good documentation about it?
>
> Thanks in advance,
> Ricardo
>
> _____________________________________
> 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/20101025/bbe46708/attachment.htm>


More information about the Insight-users mailing list