ucar.jpeg.jj2000.j2k.image.forwcomptransf
Class ForwCompTransfSpec

java.lang.Object
  extended by ucar.jpeg.jj2000.j2k.ModuleSpec
      extended by ucar.jpeg.jj2000.j2k.image.CompTransfSpec
          extended by ucar.jpeg.jj2000.j2k.image.forwcomptransf.ForwCompTransfSpec
All Implemented Interfaces:
Cloneable, FilterTypes

public class ForwCompTransfSpec
extends CompTransfSpec
implements FilterTypes

This class extends CompTransfSpec class in order to hold encoder specific aspects of CompTransfSpec.

See Also:
CompTransfSpec

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
 
Fields inherited from interface ucar.jpeg.jj2000.j2k.wavelet.FilterTypes
CUSTOM, W5X3, W9X7
 
Constructor Summary
ForwCompTransfSpec(int nt, int nc, byte type, AnWTFilterSpec wfs, ParameterList pl)
          Constructs a new 'ForwCompTransfSpec' for the specified number of components and tiles, the wavelet filters type and the parameter of the option 'Mct'.
 
Method Summary
 
Methods inherited from class ucar.jpeg.jj2000.j2k.image.CompTransfSpec
isCompTransfUsed
 
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

ForwCompTransfSpec

public ForwCompTransfSpec(int nt,
                          int nc,
                          byte type,
                          AnWTFilterSpec wfs,
                          ParameterList pl)
Constructs a new 'ForwCompTransfSpec' for the specified number of components and tiles, the wavelet filters type and the parameter of the option 'Mct'. This constructor is called by the encoder. It also checks that the arguments belong to the recognized arguments list.

This constructor chose the component transformation type depending on the wavelet filters : RCT with w5x3 filter and ICT with w9x7 filter. Note: All filters must use the same data type.

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.
wfs - The wavelet filter specifications
pl - The ParameterList


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