ucar.jpeg.jj2000.j2k.image
Class CompTransfSpec
java.lang.Object
ucar.jpeg.jj2000.j2k.ModuleSpec
ucar.jpeg.jj2000.j2k.image.CompTransfSpec
- All Implemented Interfaces:
- Cloneable
- Direct Known Subclasses:
- ForwCompTransfSpec
public class CompTransfSpec
- extends ModuleSpec
This class extends the ModuleSpec class in order to hold tile
specifications for multiple component transformation
- See Also:
ModuleSpec
Fields inherited from class ucar.jpeg.jj2000.j2k.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 |
CompTransfSpec(int nt,
int nc,
byte type)
Constructs an empty 'CompTransfSpec' with the specified number of tiles
and components. |
Method Summary |
boolean |
isCompTransfUsed()
Check if component transformation is used in any of the tiles. |
Methods inherited from class ucar.jpeg.jj2000.j2k.ModuleSpec |
clone, getCompDef, getCopy, getDefault, getSpec, getSpecValType, getTileCompVal, getTileDef, isCompSpecified, isTileCompSpecified, isTileSpecified, parseIdx, rotate90, setCompDef, setDefault, setTileCompVal, setTileDef |
CompTransfSpec
public CompTransfSpec(int nt,
int nc,
byte type)
- Constructs an empty 'CompTransfSpec' with the specified number of tiles
and components. This constructor is called by the decoder. Note: The
number of component is here for symmetry purpose. It is useless since
only tile specifications are meaningful.
- Parameters:
nt
- Number of tilesnc
- Number of componentstype
- the type of the specification module i.e. tile specific,
component specific or both.
isCompTransfUsed
public boolean isCompTransfUsed()
- Check if component transformation is used in any of the tiles. This
method must not be used by the encoder.
- Returns:
- True if a component transformation is used in at least on
tile.
Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.