Class QuantizeProcessor.DitherFilter

java.lang.Object
nom.tam.fits.compression.algorithm.quant.QuantizeProcessor.PixelFilter
nom.tam.fits.compression.algorithm.quant.QuantizeProcessor.DitherFilter
Enclosing class:
QuantizeProcessor

private class QuantizeProcessor.DitherFilter extends QuantizeProcessor.PixelFilter
  • Field Details

    • LAST_RANDOM_VALUE

      private static final int LAST_RANDOM_VALUE
      See Also:
    • MAX_INT_AS_DOUBLE

      private static final double MAX_INT_AS_DOUBLE
      See Also:
    • N_RANDOM

      private static final int N_RANDOM
      DO NOT CHANGE THIS; used when quantizing real numbers
      See Also:
    • RANDOM_MULTIPLICATOR

      private static final int RANDOM_MULTIPLICATOR
      See Also:
    • RANDOM_START_VALUE

      private static final double RANDOM_START_VALUE
      See Also:
    • iseed

      private int iseed
    • nextRandom

      private int nextRandom
    • randomValues

      private final double[] randomValues
  • Constructor Details

    • DitherFilter

      DitherFilter(long seed)
  • Method Details