A Space & astronomy forum. SpaceBanter.com

Go Back   Home » SpaceBanter.com forum » Astronomy and Astrophysics » FITS
Site Map Home Authors List Search Today's Posts Mark Forums Read Web Partners

[fitsbits] BZIP2 FITS image compression feasibility study



 
 
Thread Tools Display Modes
  #1  
Old June 3rd 09, 09:20 PM posted to sci.astro.fits
William Pence[_2_]
external usenet poster
 
Posts: 44
Default [fitsbits] BZIP2 FITS image compression feasibility study

The FITS tiled-image compression convention (see
http://fits.gsfc.nasa.gov/registry/tilecompression.html) currently
supports 3 general-purpose image compression algorithms: Rice,
Hcompress, and GZIP. Recently, I did some comparison tests using the
BZIP2 compression algorithm to see if it offers any unique advantages
that would justify adding it as one of the supported algorithms.

A link to the complete feasibility report is available from the fpack
web page at http://heasarc.gsfc.nasa.gov/fitsio/fpack/ and the main
results are as follows:

- The Rice algorithm generally provides better compression than BZIP2
when the image is compressed using the default row-by-row tiling
pattern. BZIP2 only produces (slightly) better compression than Rice or
Hcompress when using much larger sized tiles (e.g., compressing the
whole image as a single tile), but this can seriously degrade the I/O
performance for software applications that read the compressed image on
a row by row basis.

- Compressing an image using BZIP2 typically takes 15 to 30 times more
CPU time than the Rice algorithm, depending on how much noise is in the
image.

- Similarly, BZIP2 takes 4 to 6 times more CPU time than Rice to
uncompress the image.

Thus, based on these tests, there appears to be little justification for
adding support for BZIP2 within the FITS tiled-image compression
convention.

-Bill Pence
--
__________________________________________________ __________________
Dr. William Pence
NASA/GSFC Code 662 HEASARC +1-301-286-4599 (voice)
Greenbelt MD 20771 +1-301-286-1684 (fax)


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[fitsbits] FITS Image Compression Paper and Software William Pence[_2_] FITS 0 March 17th 09 08:07 PM
[fitsbits] Close of "Tiled Image Compression" Public Comment Period William Pence FITS 0 February 16th 07 09:42 PM
[fitsbits] Start of "Tiled Image Compression" Public Comment Period William Pence FITS 0 November 15th 06 07:08 PM
FITS Image compression, is it portable? Carsten A. Arnholm Amateur Astronomy 4 May 31st 06 09:59 PM
FITS long integer support (was [fitsbits] ADASS FITS BoFon Sunday) William Pence FITS 6 October 22nd 04 08:23 PM


All times are GMT +1. The time now is 10:28 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 SpaceBanter.com.
The comments are property of their posters.