java.lang.Object
nom.tam.fits.compression.algorithm.hcompress.HCompress

public class HCompress extends Object
The original compression code was written by Richard White at the STScI and included (ported to c and adapted) in cfitsio by William Pence, NASA/GSFC. That code was then ported to java by R. van Nieuwenhoven. Later it was massively refactored to harmonize the different compression algorithms and reduce the duplicate code pieces without obscuring the algorithm itself as far as possible. The original site for the algorithm is
Author:
Richard White, William Pence, Richard van Nieuwenhoven
See Also:
  • Field Details

  • Constructor Details

    • HCompress

      public HCompress()
  • Method Details

    • compress

      protected void compress(long[] aa, int ny, int nx, int scale, ByteBuffer output)