On-board Image Compression for the HST Advanced Camera for Surveys

Richard L. White (STScI) and Ira Becker (BATC)

The Wide Field Camera in the Advanced Camera for Surveys (ACS) produces very large 4096x4096 pixel images. We will have on-board image compression in order to reduce both the storage requirements at the telescope and the time to transmit the data to the ground. This is the first time on-board compression has been included in an HST instrument.

We have developed a new lossless image compression algorithm that is designed to compress the CCD data by factors of 2 to 3.5 with the minimum possible computational load on the ACS computer. The new algorithm takes differences of adjacent pixels and then compresses the difference in pairs, producing output codes of 1, 2, or 4 bytes for each pair. The pair-coding algorithm gives slightly inferior compression to the Rice algorithm (which was our method of choice) but is more than three times faster than Rice on our computer. The Rice algorithm was unfortunately too slow for us to use, but the pair-coding algorithm is fast enough to handle high data rates even on our 16-MHz 80386 computer.

This paper will describe the details of the compression algorithm and its implementation in the ACS flight software. Important implementation problems include the unpredictable data volume after compression and the need to compress four independent data streams during readout from the Wide Field Camera CCDs. We will also describe the compression performance of the new algorithm on various types of astronomical images.

Key Words: SM3, HST Advanced Camera, CCDs, image compression, pair-coding

Brief Biography, Principal Author:

Richard L. White, Associate Astronomer, Space Telescope Science Institute. HST Advanced Camera for Surveys team member. Research interests: radio, optical, X-ray and gamma-ray astronomy, radio and optical surveys, AGN, hot stars, image compression, image restoration, object classification, data analysis methods. Ph.D., Astronomy, University of Wisconsin, 1978.



Back to publication list

ACS home page