|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--jj2000.j2k.ModuleSpec | +--jj2000.j2k.IntegerSpec
This class extends ModuleSpec and is responsible of Integer specifications for each tile-component.
ModuleSpec
Field Summary | |
protected static int |
MAX_INT
The largest value of type int |
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, specType, specValType, tileCompVal, tileDef |
Constructor Summary | |
IntegerSpec(int nt,
int nc,
byte type)
Constructs a new 'IntegerSpec' for the specified number of tiles and components and with allowed type of specifications. |
|
IntegerSpec(int nt,
int nc,
byte type,
ParameterList pl,
java.lang.String optName)
Constructs a new 'IntegerSpec' for the specified number of tiles and components, the allowed specifications type and the ParameterList instance. |
Method Summary | |
int |
getMax()
Gets the maximum value of all tile-components. |
int |
getMaxInComp(int c)
Gets the maximum value of each tile for specified component |
int |
getMaxInTile(int t)
Gets the maximum value of all components in the specified tile. |
int |
getMin()
Get the minimum value of all tile-components. |
int |
getMinInComp(int c)
Gets the minimum value of all tiles for the specified component. |
int |
getMinInTile(int t)
Gets the minimum value of each component in specified tile |
Methods inherited from class 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 |
Field Detail |
protected static int MAX_INT
Constructor Detail |
public IntegerSpec(int nt, int nc, byte type)
nt
- The number of tilesnc
- The number of componentstype
- The type of allowed specificationspublic IntegerSpec(int nt, int nc, byte type, ParameterList pl, java.lang.String optName)
nt
- The number of tilesnc
- The number of componentstype
- The allowed specifications typepl
- The ParameterList instanceoptName
- The name of the option to processMethod Detail |
public int getMax()
public int getMin()
public int getMaxInComp(int c)
c
- The component index
public int getMinInComp(int c)
c
- The component index
public int getMaxInTile(int t)
t
- The tile index
public int getMinInTile(int t)
t
- The tile index
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |