ucar.jpeg.jj2000.j2k.quantization
Class GuardBitsSpec

java.lang.Object
  extended by ucar.jpeg.jj2000.j2k.ModuleSpec
      extended by ucar.jpeg.jj2000.j2k.quantization.GuardBitsSpec
All Implemented Interfaces:
Cloneable

public class GuardBitsSpec
extends ModuleSpec

This class extends ModuleSpec class in order to hold specifications about number of guard bits in each tile-component.

See Also:
ModuleSpec

Field Summary
 
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
GuardBitsSpec(int nt, int nc, byte type)
          Constructs an empty 'GuardBitsSpec' with specified number of tile and components.
GuardBitsSpec(int nt, int nc, byte type, ParameterList pl)
          Constructs a new 'GuardBitsSpec' for the specified number of components and tiles and the arguments of "-Qguard_bits" option.
 
Method Summary
 
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
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GuardBitsSpec

public GuardBitsSpec(int nt,
                     int nc,
                     byte type)
Constructs an empty 'GuardBitsSpec' with specified number of tile and components. This constructor is called by the decoder.

Parameters:
nt - Number of tiles
nc - Number of components
type - the type of the specification module i.e. tile specific, component specific or both.

GuardBitsSpec

public GuardBitsSpec(int nt,
                     int nc,
                     byte type,
                     ParameterList pl)
Constructs a new 'GuardBitsSpec' for the specified number of components and tiles and the arguments of "-Qguard_bits" option.

Parameters:
nt - The number of tiles
nc - The number of components
type - the type of the specification module i.e. tile specific, component specific or both.
pl - The ParameterList


Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.