public class QuantTypeSpec extends ModuleSpec
ModuleSpec
compDef, def, nComp, nTiles, SPEC_COMP_DEF, SPEC_DEF, SPEC_TILE_COMP, SPEC_TILE_DEF, SPEC_TYPE_COMP, SPEC_TYPE_TILE, SPEC_TYPE_TILE_COMP, specified, specType, specValType, tileCompVal, tileDef
Constructor and Description |
---|
QuantTypeSpec(int nt,
int nc,
byte type)
Constructs an empty 'QuantTypeSpec' with specified number of tile and
components.
|
QuantTypeSpec(int nt,
int nc,
byte type,
J2KImageWriteParamJava wp,
String values)
Constructs a new 'QuantTypeSpec' for the specified number of components
and tiles and the arguments of "-Qtype" option.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isDerived(int t,
int c)
Returns true if given tile-component uses derived quantization step
size.
|
boolean |
isFullyNonReversible()
Check the irreversibility of the whole image.
|
boolean |
isFullyReversible()
Check the reversibility of the whole image.
|
boolean |
isReversible(int t,
int c)
Check the reversibility of the given tile-component.
|
clone, getCompDef, getCopy, getDefault, getSpec, getSpecValType, getTileCompVal, getTileDef, isCompSpecified, isTileCompSpecified, isTileSpecified, parseIdx, rotate90, setCompDef, setDefault, setTileCompVal, setTileDef
public QuantTypeSpec(int nt, int nc, byte type)
nt
- Number of tilesnc
- Number of componentstype
- the type of the specification module i.e. tile specific,
component specific or both.public QuantTypeSpec(int nt, int nc, byte type, J2KImageWriteParamJava wp, String values)
nt
- The number of tilesnc
- The number of componentstype
- the type of the specification module i.e. tile specific,
component specific or both.public boolean isDerived(int t, int c)
t
- Tile indexc
- Component indexpublic boolean isReversible(int t, int c)
t
- The index of the tilec
- The index of the componentpublic boolean isFullyReversible()
public boolean isFullyNonReversible()
Copyright © 2016 Open Microscopy Environment