[Paper Review] Tiled Image Convention for Storing Compressed Images in FITS Binary Tables
This paper introduces a tiled image compression convention for storing compressed n-dimensional images in FITS binary tables, dividing images into rectangular tiles that are independently compressed and stored in variable-length columns. The method enables efficient random access to image subsections and supports multiple compression algorithms (e.g., GZIP, RICE, HCOMPRESS), achieving high compression fidelity with minimal impact on astrometric and photometric accuracy, even at compression factors up to 10.
This document describes a convention for compressing n-dimensional images and storing the resulting byte stream in a variable-length column in a FITS binary table. The FITS file structure outlined here is independent of the specific data compression algorithm that is used. The implementation details for 4 widely used compression algorithms are described here, but any other compression technique could also be supported by this convention. The general principle used in this convention is to first divide the n-dimensional image into a rectangular grid of subimages or 'tiles'. Each tile is then compressed as a block of data, and the resulting compressed byte stream is stored in a row of a variable length column in a FITS binary table. By dividing the image into tiles it is generally possible to extract and uncompress subsections of the image without having to uncompress the whole image.
Motivation & Objective
- To address the challenge of distributing massive astronomical image datasets, such as digitized photographic plates, which are too large for practical distribution.
- To develop a standardized, flexible method for lossy and lossless compression of n-dimensional images within the FITS format.
- To enable efficient random access to compressed image tiles without decompressing the entire image.
- To preserve critical image metadata and world coordinate system information during compression.
- To evaluate the impact of compression on astrometric and photometric measurements in astronomical data.
Proposed method
- The image is divided into rectangular tiles along each dimension using ZTILEn keywords to define tile size, with tiles stored as separate rows in a FITS binary table.
- Each tile is compressed independently using a chosen algorithm (e.g., GZIP, RICE, HCOMPRESS), and the compressed data is stored in a variable-length column named COMPRESSED_DATA.
- The convention supports multiple compression algorithms via the ZCMPTYPE keyword, with standardized parameter handling via ZNAMEn and ZVALn keywords.
- Metadata from the original FITS image, including keywords like BSCALE, BZERO, and World Coordinate System parameters, are preserved verbatim in the compressed header.
- For lossy compression, the H-transform is applied to the image, followed by quadtree coding of bitplanes to achieve high compression with minimal perceptual loss.
- The tiling structure allows incremental decompression: only the required tiles need to be decompressed, enabling fast access to specific image regions.
Experimental results
Research questions
- RQ1Can a standardized, extensible convention be designed to store compressed n-dimensional images in FITS binary tables while preserving metadata and enabling random access?
- RQ2To what extent does image compression degrade astrometric and photometric accuracy in astronomical data?
- RQ3How effective is the tiled compression approach in reducing file size while maintaining image fidelity for scientific analysis?
- RQ4Can lossy compression techniques like the H-transform with quadtree coding preserve photometric accuracy for both point and extended sources?
- RQ5What is the performance trade-off between compression efficiency and computational cost for different coding methods (e.g., quadtree vs. arithmetic coding)?
Key findings
- The tiled compression convention enables efficient storage and random access to compressed images, allowing only required tiles to be decompressed without processing the entire dataset.
- Lossless compression factors of 3–30 were achieved on CCD images, with higher compression possible on images with low readout noise.
- Photometric accuracy for both point and extended sources remains very high even at compression factors up to 10, with potential for improvement due to adaptive filtering in the H-transform.
- Astrometric accuracy is minimally affected at compression factors up to 20, but begins to degrade at higher levels, especially in highly compressed images.
- Quadtree coding of bitplanes after H-transform compression reduces file size by about 10% with low computational cost, outperforming direct arithmetic coding in efficiency.
- The method enables distribution of large datasets—such as the Guide Star Catalog—on a manageable number of CD-ROMs (e.g., ~100 for 10× compression), making previously infeasible data distribution practical.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.