Class QuantizeOption

    • Constructor Detail

      • QuantizeOption

        public QuantizeOption()
    • Method Detail

      • copy

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

        public java.lang.Integer getBNull()
      • getBScale

        public double getBScale()
      • getBZero

        public double getBZero()
      • getCompressOption

        public <T> T getCompressOption​(java.lang.Class<T> clazz)
      • getIntMaxValue

        public int getIntMaxValue()
      • getIntMinValue

        public int getIntMinValue()
      • getMaxValue

        public double getMaxValue()
      • getMinValue

        public double getMinValue()
      • getNullValue

        public double getNullValue()
      • getNullValueIndicator

        public java.lang.Integer getNullValueIndicator()
      • getQLevel

        public double getQLevel()
      • getSeed

        public long getSeed()
      • getTileHeight

        public int getTileHeight()
      • getTileWidth

        public int getTileWidth()
      • isCenterOnZero

        public boolean isCenterOnZero()
      • isCheckNull

        public boolean isCheckNull()
      • isCheckZero

        public boolean isCheckZero()
      • isDither

        public boolean isDither()
      • isDither2

        public boolean isDither2()
      • 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.
      • setCenterOnZero

        public QuantizeOption setCenterOnZero​(boolean value)
      • setCheckNull

        public QuantizeOption setCheckNull​(boolean value)
      • setCheckZero

        public QuantizeOption setCheckZero​(boolean value)
      • setIntMaxValue

        public QuantizeOption setIntMaxValue​(int value)
      • setIntMinValue

        public QuantizeOption setIntMinValue​(int value)
      • 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.