[Insight-users] MetaImageIO problem

Luis Ibanez luis.ibanez at kitware.com
Mon Apr 7 12:32:26 EDT 2008


Hi Kevin,

Thanks for the report.

   You have set up the variable to 4GB.

However, the condition for the test is set up in

    Insight/Testing/Code/IO/CMakeLists.txt

In lines 214-224.

The test requires

    IF( ${ITK_COMPUTER_MEMORY_SIZE} GREATER 5 )

Because we create a > 2GB image, then saves it and then
reads it again.

In order to force the test to run you could fake the
number to 6GB.

Note that you could also reduce the test to just write a
file >2Gb, without attempting to read it again. In which
case, 3Gb of RAM will be more than enough.


That being said,...
Our observation is that, unfortunately, the MetaImage library
is not currently functional for writing files larger than 2Gb.

This has been entered as an issue in the Bug tracker:
http://public.kitware.com/Bug/view.php?id=6716

It is unlikely that we will manage to fix
this before cutting the release of ITK 3.6   :-/



    Regards,


       Luis


----------------------
Kevin H. Hobbs wrote:
> On Sat, 2008-04-05 at 23:30 -0400, Luis Ibanez wrote:
> 
>>Hi Kevin,
>>
>>That should do the trick.
> 
> 
> I have set this variable on gargon, but the test is not run.
> 
> http://www.itk.org/Testing/Sites/gargon.hooperlab/Linux-gcc-4.1.2-x86_64/20080407-0100-Nightly/Notes.html
> 
> Only redwall.kitware runs this test and it has some options that are new
> to me. That is almost everything after BUILD_EXAMPLES is new to me, but
> it doesn't sound like they should effect MetaImageIO.
> 
> 
>>Are you looking for enabling the tests of MetaImage files
>>for images larger than 2Gb ?
> 
> 
> Yes, I want to see that large images work. 
> 
> My friend with the confocal microscope can make some whoppers :-)


More information about the Insight-users mailing list