Class RiceCompressOption

  • All Implemented Interfaces:
    java.lang.Cloneable, ICompressOption

    public class RiceCompressOption
    extends java.lang.Object
    implements ICompressOption
    • Field Detail

      • DEFAULT_RICE_BYTEPIX

        public static final int DEFAULT_RICE_BYTEPIX
      • parameters

        private ICompressParameters parameters
        this is a circular dependency that still has to be cut.
      • blockSize

        private int blockSize
      • bytePix

        private java.lang.Integer bytePix
    • Constructor Detail

      • RiceCompressOption

        public RiceCompressOption()
    • Method Detail

      • copy

        public RiceCompressOption copy()
        Specified by:
        copy in interface ICompressOption
        Returns:
        copy the option (normally the option from with the copy happened is saved as original).
      • getBlockSize

        public int getBlockSize()
      • getBytePix

        public int getBytePix()
      • isLossyCompression

        public boolean isLossyCompression()
        Specified by:
        isLossyCompression in interface ICompressOption
        Returns:
        true if the compression done with this specified options uses approximations. That means if the reconstruction of the data is excact the return should be false.
      • setParameters

        public void setParameters​(ICompressParameters parameters)
        Description copied from interface: ICompressOption
        set the parameters that must be synchronized with the hdu meta data.
        Specified by:
        setParameters in interface ICompressOption
        Parameters:
        parameters - the parameters to synchronized
      • unwrap

        public <T> T unwrap​(java.lang.Class<T> clazz)
        Description copied from interface: ICompressOption
        un wrap a specific implementation detail.
        Specified by:
        unwrap in interface ICompressOption
        Type Parameters:
        T - the class to unrwap
        Parameters:
        clazz - the type to unwrap
        Returns:
        the implementation detail or null if no such detail is avalable.
      • setDefaultBytePix

        protected RiceCompressOption setDefaultBytePix​(int defaultBytePix)