Class RiceQuantizeCompressOption
java.lang.Object
nom.tam.fits.compression.algorithm.quant.QuantizeOption
nom.tam.fits.compression.algorithm.rice.RiceQuantizeCompressOption
- All Implemented Interfaces:
Cloneable, ICompressOption
-
Field Summary
FieldsFields inherited from class QuantizeOption
parameters -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()setTileHeight(int value) set the tile height in pixel.setTileWidth(int value) set the tile width.<T> Tun wrap a specific implementation detail.Methods inherited from class QuantizeOption
getBNull, getBScale, getBZero, getCompressionParameters, getCompressOption, getIntMaxValue, getIntMinValue, getMaxValue, getMinValue, getNullValue, getNullValueIndicator, getOriginal, getQLevel, getSeed, getTileHeight, getTileWidth, isCenterOnZero, isCheckNull, isCheckZero, isDither, isDither2, isLossyCompression, setBNull, setBScale, setBZero, setCenterOnZero, setCheckNull, setCheckZero, setDither, setDither2, setIntMaxValue, setIntMinValue, setMaxValue, setMinValue, setNullValue, setParameters, setQlevel, setSeed
-
Field Details
-
riceCompressOption
-
-
Constructor Details
-
RiceQuantizeCompressOption
public RiceQuantizeCompressOption()
-
-
Method Details
-
copy
- Specified by:
copyin interfaceICompressOption- Overrides:
copyin classQuantizeOption- Returns:
- copy the option (normally the option from with the copy happened is saved as original).
-
getRiceCompressOption
-
setTileHeight
Description copied from interface:ICompressOptionset the tile height in pixel.- Specified by:
setTileHeightin interfaceICompressOption- Overrides:
setTileHeightin classQuantizeOption- Parameters:
value- the number of pixel.- Returns:
- this (builder pattern)
-
setTileWidth
Description copied from interface:ICompressOptionset the tile width.- Specified by:
setTileWidthin interfaceICompressOption- Overrides:
setTileWidthin classQuantizeOption- Parameters:
value- the number of pixel.- Returns:
- this (builder pattern)
-
unwrap
Description copied from interface:ICompressOptionun wrap a specific implementation detail.- Specified by:
unwrapin interfaceICompressOption- Overrides:
unwrapin classQuantizeOption- 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.
-