Interface ICompressOption
- All Superinterfaces:
Cloneable
- All Known Implementing Classes:
HCompressorOption
,HCompressorQuantizeOption
,QuantizeOption
,RiceCompressOption
,RiceQuantizeCompressOption
Option for the compression algorithm, implementors are used to control the
compression algorithm.
-
Method Summary
Modifier and TypeMethodDescriptioncopy()
boolean
void
setParameters
(ICompressParameters parameters) set the parameters that must be synchronized with the hdu meta data.setTileHeight
(int value) set the tile height in pixel.setTileWidth
(int value) set the tile width.<T> T
un wrap a specific implementation detail.
-
Method Details
-
copy
ICompressOption copy()- Returns:
- copy the option (normally the option from with the copy happened is saved as original).
-
getCompressionParameters
ICompressParameters getCompressionParameters()- Returns:
- the parameters that must be synchronized with the hdu meta data.
-
isLossyCompression
boolean isLossyCompression()- 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.
-
setParameters
set the parameters that must be synchronized with the hdu meta data.- Parameters:
parameters
- the parameters to synchronized
-
setTileHeight
set the tile height in pixel.- Parameters:
value
- the number of pixel.- Returns:
- this (builder pattern)
-
setTileWidth
set the tile width.- Parameters:
value
- the number of pixel.- Returns:
- this (builder pattern)
-
unwrap
un wrap a specific implementation detail.- 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.
-