Class HCompressorQuantizeOption
java.lang.Object
nom.tam.fits.compression.algorithm.quant.QuantizeOption
nom.tam.fits.compression.algorithm.hcompress.HCompressorQuantizeOption
- All Implemented Interfaces:
Cloneable
,ICompressOption
-
Field Summary
FieldsFields inherited from class nom.tam.fits.compression.algorithm.quant.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> T
un wrap a specific implementation detail.Methods inherited from class nom.tam.fits.compression.algorithm.quant.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
-
hCompressorOption
-
-
Constructor Details
-
HCompressorQuantizeOption
public HCompressorQuantizeOption()
-
-
Method Details
-
copy
- Specified by:
copy
in interfaceICompressOption
- Overrides:
copy
in classQuantizeOption
- Returns:
- copy the option (normally the option from with the copy happened is saved as original).
-
getHCompressorOption
-
setTileHeight
Description copied from interface:ICompressOption
set the tile height in pixel.- Specified by:
setTileHeight
in interfaceICompressOption
- Overrides:
setTileHeight
in classQuantizeOption
- Parameters:
value
- the number of pixel.- Returns:
- this (builder pattern)
-
setTileWidth
Description copied from interface:ICompressOption
set the tile width.- Specified by:
setTileWidth
in interfaceICompressOption
- Overrides:
setTileWidth
in classQuantizeOption
- Parameters:
value
- the number of pixel.- Returns:
- this (builder pattern)
-
unwrap
Description copied from interface:ICompressOption
un wrap a specific implementation detail.- Specified by:
unwrap
in interfaceICompressOption
- Overrides:
unwrap
in 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.
-