Package jj2000.j2k.image.forwcomptransf
Class ForwCompTransfSpec
- java.lang.Object
-
- jj2000.j2k.ModuleSpec
-
- jj2000.j2k.image.CompTransfSpec
-
- 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 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, specified, specType, specValType, tileCompVal, tileDef
-
Fields inherited from interface jj2000.j2k.wavelet.FilterTypes
CUSTOM, W5X3, W9X7
-
-
Constructor Summary
Constructors Constructor Description ForwCompTransfSpec(int nt, int nc, byte type, AnWTFilterSpec wfs, J2KImageWriteParamJava wp, String values)
Constructs a new 'ForwCompTransfSpec' for the specified number of components and tiles and the arguments of optName option.
-
Method Summary
-
Methods inherited from class jj2000.j2k.image.CompTransfSpec
isCompTransfUsed
-
Methods inherited from class jj2000.j2k.ModuleSpec
clone, getCompDef, getCopy, getDefault, getSpec, getSpecValType, getTileCompVal, getTileDef, isCompSpecified, isTileCompSpecified, isTileSpecified, parseIdx, rotate90, setCompDef, setDefault, setTileCompVal, setTileDef
-
-
-
-
Constructor Detail
-
ForwCompTransfSpec
public ForwCompTransfSpec(int nt, int nc, byte type, AnWTFilterSpec wfs, J2KImageWriteParamJava wp, String values)
Constructs a new 'ForwCompTransfSpec' for the specified number of components and tiles and the arguments of optName option. This constructor is called by the encoder. It also checks that the arguments belongs 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 tilesnc
- The number of componentstype
- the type of the specification module i.e. tile specific, component specific or both.wfs
- The wavelet filter specifications
-
-