Class HCompress


  • public class HCompress
    extends java.lang.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:
    http://www.stsci.edu/software/hcompress.html
    • Constructor Summary

      Constructors 
      Constructor Description
      HCompress()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void compress​(long[] aa, int ny, int nx, int scale, java.nio.ByteBuffer output)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • HCompress

        public HCompress()
    • Method Detail

      • compress

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