Class QuantizeProcessor.NullFilter
java.lang.Object
nom.tam.fits.compression.algorithm.quant.QuantizeProcessor.PixelFilter
nom.tam.fits.compression.algorithm.quant.QuantizeProcessor.NullFilter
- Enclosing class:
QuantizeProcessor
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final boolean
private final double
private final int
-
Constructor Summary
ConstructorsConstructorDescriptionNullFilter
(double nullValue, int nullValueIndicator, QuantizeProcessor.PixelFilter next) -
Method Summary
Methods inherited from class nom.tam.fits.compression.algorithm.quant.QuantizeProcessor.PixelFilter
nextPixel
-
Field Details
-
nullValue
private final double nullValue -
isNaN
private final boolean isNaN -
nullValueIndicator
private final int nullValueIndicator
-
-
Constructor Details
-
NullFilter
NullFilter(double nullValue, int nullValueIndicator, QuantizeProcessor.PixelFilter next)
-
-
Method Details
-
isNull
public final boolean isNull(double pixel) -
toDouble
protected double toDouble(int pixel) - Overrides:
toDouble
in classQuantizeProcessor.PixelFilter
-
toInt
protected int toInt(double pixel) - Overrides:
toInt
in classQuantizeProcessor.PixelFilter
-