[Insight-developers] gzipped image IO

Stephen R. Aylward aylward@unc.edu
Fri, 09 May 2003 13:31:54 -0400


Great idea - I will look into this over the weekend....

S

Kent Williams wrote:
> It is certainly possible; the question is, how would this be integrated into 
> the ITK IO classes?  It looks from the source code as though it might be 
> sufficient to hook the gzlib routines into metaImage.cxx -- the gzread works 
> on either compressed or uncompressed files.
> 
> 
> More to the point, what sort of logic did older versions of SNAP use to 
> determine if a file was gzip compressed? 
> On Friday 09 May 2003 08:24 am, Paul Yushkevich wrote:
> 
>>Would it make sense and be possible to allow MetaImageIO and some other
>>IO classes to read gzipped images?  I noticed that the AnalyzeImageIO
>>class does have the ability to do so, so the necessary libraries are
>>already in ITK.
>>
>>It would be very useful for our SNAP tool, because the older version
>>could read gzip files, and its user base is used to having the images
>>zipped up.
>>
>>Paul
>>
>>_______________________________________________
>>Insight-developers mailing list
>>Insight-developers@public.kitware.com
>>http://public.kitware.com/mailman/listinfo/insight-developers
> 
> 
> _______________________________________________
> Insight-developers mailing list
> Insight-developers@public.kitware.com
> http://public.kitware.com/mailman/listinfo/insight-developers


-- 
===============================================
Dr. Stephen R. Aylward
Assistant Professor of Radiology
Adjunct Assistant Professor of Computer Science
http://caddlab.rad.unc.edu
aylward@unc.edu
(919) 966-9695