Package jj2000.j2k.quantization
Class QuantStepSizeSpec
java.lang.Object
jj2000.j2k.ModuleSpec
jj2000.j2k.quantization.QuantStepSizeSpec
- All Implemented Interfaces:
Cloneable
This class extends ModuleSpec class in order to hold specifications about
the quantization base normalized step size to use in each tile-component.
- See Also:
-
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 -
Constructor Summary
ConstructorsConstructorDescriptionQuantStepSizeSpec(int nt, int nc, byte type) Constructs an empty 'QuantStepSizeSpec' with specified number of tile and components.QuantStepSizeSpec(int nt, int nc, byte type, J2KImageWriteParamJava wp, String values) Constructs a new 'QuantStepSizeSpec' for the specified number of components and tiles and the arguments of "-Qstep" option. -
Method Summary
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 Details
-
QuantStepSizeSpec
public QuantStepSizeSpec(int nt, int nc, byte type) Constructs an empty 'QuantStepSizeSpec' with specified number of tile and components. This constructor is called by the decoder.- Parameters:
nt- Number of tilesnc- Number of componentstype- the type of the specification module i.e. tile specific, component specific or both.
-
QuantStepSizeSpec
Constructs a new 'QuantStepSizeSpec' for the specified number of components and tiles and the arguments of "-Qstep" option.- Parameters:
nt- The number of tilesnc- The number of componentstype- the type of the specification module i.e. tile specific, component specific or both.
-