| java.lang.Object jj2000.j2k.ModuleSpec jj2000.j2k.IntegerSpec
IntegerSpec | public class IntegerSpec extends ModuleSpec (Code) | | This class extends ModuleSpec and is responsible of Integer
specifications for each tile-component.
See Also: ModuleSpec |
Field Summary | |
protected static int | MAX_INT |
Constructor Summary | |
public | 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. | public | IntegerSpec(int nt, int nc, byte type, J2KImageWriteParamJava wp, String values, String defaultValue) Constructs a new 'IntegerSpec' for the specified number of
tiles and components, the allowed specifications type
instance. |
MAX_INT | protected static int MAX_INT(Code) | | The largest value of type int
|
IntegerSpec | public IntegerSpec(int nt, int nc, byte type)(Code) | | Constructs a new 'IntegerSpec' for the specified number of
tiles and components and with allowed type of
specifications. This constructor is normally called at decoder
side.
Parameters: nt - The number of tiles Parameters: nc - The number of components Parameters: type - The type of allowed specifications |
IntegerSpec | public IntegerSpec(int nt, int nc, byte type, J2KImageWriteParamJava wp, String values, String defaultValue)(Code) | | Constructs a new 'IntegerSpec' for the specified number of
tiles and components, the allowed specifications type
instance. This constructor is normally called at
encoder side and parse arguments of specified option.
Parameters: nt - The number of tiles Parameters: nc - The number of components Parameters: type - The allowed specifications type Parameters: optName - The name of the option to process |
getMax | public int getMax()(Code) | | Get the maximum value of each tile-component
The maximum value |
getMaxInComp | public int getMaxInComp(int c)(Code) | | Get the maximum value of each tile for specified component
Parameters: c - The component index The maximum value |
getMaxInTile | public int getMaxInTile(int t)(Code) | | Get the maximum value of each component in specified tile
Parameters: t - The tile index The maximum value |
getMin | public int getMin()(Code) | | Get the minimum value of each tile-component
The minimum value |
getMinInComp | public int getMinInComp(int c)(Code) | | Get the minimum value of each tile for specified component
Parameters: c - The component index The minimum value |
getMinInTile | public int getMinInTile(int t)(Code) | | Get the minimum value of each component in specified tile
Parameters: t - The tile index The minimum value |
|
|