public class RiceCompressOption extends Object implements ICompressOption
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_RICE_BLOCKSIZE |
static int |
DEFAULT_RICE_BYTEPIX |
| Constructor and Description |
|---|
RiceCompressOption() |
| Modifier and Type | Method and Description |
|---|---|
RiceCompressOption |
copy() |
int |
getBlockSize() |
int |
getBytePix() |
ICompressParameters |
getCompressionParameters() |
boolean |
isLossyCompression() |
RiceCompressOption |
setBlockSize(int value) |
RiceCompressOption |
setBytePix(int value) |
protected RiceCompressOption |
setDefaultBytePix(int defaultBytePix) |
void |
setParameters(ICompressParameters parameters)
set the parameters that must be synchronized with the hdu meta data.
|
RiceCompressOption |
setTileHeight(int value)
set the tile height in pixel.
|
RiceCompressOption |
setTileWidth(int value)
set the tile width.
|
<T> T |
unwrap(Class<T> clazz)
un wrap a specific implementation detail.
|
public static final int DEFAULT_RICE_BLOCKSIZE
public static final int DEFAULT_RICE_BYTEPIX
public RiceCompressOption copy()
copy in interface ICompressOptionpublic int getBlockSize()
public int getBytePix()
public ICompressParameters getCompressionParameters()
getCompressionParameters in interface ICompressOptionpublic boolean isLossyCompression()
isLossyCompression in interface ICompressOptionpublic RiceCompressOption setBlockSize(int value)
public RiceCompressOption setBytePix(int value)
public void setParameters(ICompressParameters parameters)
ICompressOptionsetParameters in interface ICompressOptionparameters - the parameters to synchronizedpublic RiceCompressOption setTileHeight(int value)
ICompressOptionsetTileHeight in interface ICompressOptionvalue - the number of pixel.public RiceCompressOption setTileWidth(int value)
ICompressOptionsetTileWidth in interface ICompressOptionvalue - the number of pixel.public <T> T unwrap(Class<T> clazz)
ICompressOptionunwrap in interface ICompressOptionT - the class to unrwapclazz - the type to unwrapprotected RiceCompressOption setDefaultBytePix(int defaultBytePix)
Copyright © 1996–2018 nom-tam-fits. All rights reserved.