public class ProgressionSpec extends ModuleSpec
It stores the progression type(s) used in the codestream. There can be only one progression type or several ones if progression order changes are used (POC markers).
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 |
---|
ProgressionSpec(int nt,
int nc,
byte type)
Creates a new ProgressionSpec object for the specified number of tiles
and components.
|
ProgressionSpec(int nt,
int nc,
int nl,
IntegerSpec dls,
byte type,
J2KImageWriteParamJava wp,
String values)
Creates a new ProgressionSpec object for the specified number of
tiles, components and the J2KImageWriteParamJava instance.
|
clone, getCompDef, getCopy, getDefault, getSpec, getSpecValType, getTileCompVal, getTileDef, isCompSpecified, isTileCompSpecified, isTileSpecified, parseIdx, rotate90, setCompDef, setDefault, setTileCompVal, setTileDef
public ProgressionSpec(int nt, int nc, byte type)
nt
- The number of tilesnc
- The number of componentstype
- the type of the specification module i.e. tile specific,
component specific or both. The ProgressionSpec class should only be
used only with the type ModuleSpec.SPEC_TYPE_TILE.public ProgressionSpec(int nt, int nc, int nl, IntegerSpec dls, byte type, J2KImageWriteParamJava wp, String values)
nt
- The number of tilesnc
- The number of componentsnl
- The number of layerdls
- The number of decomposition levels specificationstype
- the type of the specification module. The ProgressionSpec
class should only be used only with the type ModuleSpec.SPEC_TYPE_TILE.wp
- The J2KImageWriteParamJava instanceCopyright © 2015–2022 SCIFIO. All rights reserved.