|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjp2codec.ModuleSpec
jp2codec.quantization.QuantTypeSpec
public class QuantTypeSpec
This class extends ModuleSpec class in order to hold specifications about
the quantization type to use in each tile-component. Supported quantization
type are:
ModuleSpec
Field Summary |
---|
Fields inherited from class jp2codec.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, specType, specValType, tileCompVal, tileDef |
Constructor Summary | |
---|---|
QuantTypeSpec(int nt,
int nc,
byte type)
Constructs an empty 'QuantTypeSpec' with specified number of tile and components. |
Method Summary | |
---|---|
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. |
Methods inherited from class jp2codec.ModuleSpec |
---|
getCompDef, getCompDefRep, getDefault, getDefRep, getSpec, getSpecValType, getTileCompVal, getTileDef, getTileDefRep, isCompSpecified, isTileCompSpecified, isTileSpecified, parseIdx, setCompDef, setDefault, setTileCompVal, setTileDef |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
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.Method Detail |
---|
public boolean isDerived(int t, int c)
t
- Tile indexc
- Component index
public boolean isReversible(int t, int c)
t
- The index of the tilec
- The index of the component
public boolean isFullyReversible()
public boolean isFullyNonReversible()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |