[Insight-developers] itkLargeImageWriteReadTest and large file

Stephen Aylward stephen.aylward at kitware.com
Sat Aug 15 11:49:45 EDT 2009


Hi,

Sorry - just catching up on this thread.

Has this been fixed in MetaImage?

Thanks,
Stephen

On Fri, Jul 24, 2009 at 9:16 AM, Bradley Lowekamp<blowekamp at mail.nih.gov> wrote:
> Hello,
> The itkLargeImageWriteReadTests were added to test to see if itk::Image can
> deal with image greater then 2GB or 4GB. However, they fail on Mac OSX
> despite it being 64-bits with a 8-byte long. The apple OS is limited to only
> being able to read or write a maximum of 2GB at a time (regardless of 32 or
> 64-bit build). I don't know if this is the only OS with this limitation. The
> MetaIO library writes the files in one large block and therefore runs into
> this limitation. However the NRRD file format
> appears to read and write in smaller blocks, so by modifying the test to
>  use NRRD it passes on my system. An alternative is to use streamed reading
> and writing (actually I am not sure if that would work to get around this
> for writing, as I think the ImageFileWriter writes the whole image if it is
> available even if it was requested to stream).
> The VisibleHumamStreamReadWriteTest is a very interesting test with regards
> to large images. Currently this is running only on my mini's, some are
> 64-bit, others are 32-bit. I did not realize it at the time, but this means
> that were are processing a 16GB image on a 32-bit machine. I am not saying
> that there are not issues related to this out of core processing, just that
> it is very cool we are already doing this :)
> Currently I am running an experimental on "victoria", which should show up
> on the dashboard shortly.
> Brad
>
> ========================================================
>
> Bradley Lowekamp
>
> Lockheed Martin Contractor for
>
> Office of High Performance Computing and Communications
>
> National Library of Medicine
>
> blowekamp at mail.nih.gov
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.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-developers
>
>



-- 
Stephen R. Aylward, Ph.D.
Director of Medical Imaging
Kitware, Inc. - North Carolina Office
http://www.kitware.com
stephen.aylward (Skype)
(919) 969-6990 x300


More information about the Insight-developers mailing list