C# Class CSJ2K.j2k.IntegerSpec

This class extends ModuleSpec and is responsible of Integer specifications for each tile-component.
Inheritance: ModuleSpec
Afficher le fichier Open project: cureos/csj2k Class Usage Examples

Protected Properties

Свойство Type Description
MAX_INT int

Méthodes publiques

Méthode Description
IntegerSpec ( int nt, int nc, byte type ) : System

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.

IntegerSpec ( int nt, int nc, byte type, CSJ2K.j2k.util.ParameterList pl, System optName ) : System

Constructs a new 'IntegerSpec' for the specified number of tiles and components, the allowed specifications type and the ParameterList instance. This constructor is normally called at encoder side and parse arguments of specified option.

getMaxInComp ( int c ) : int

Gets the maximum value of each tile for specified component

getMaxInTile ( int t ) : int

Gets the maximum value of all components in the specified tile.

getMinInComp ( int c ) : int

Gets the minimum value of all tiles for the specified component.

getMinInTile ( int t ) : int

Gets the minimum value of each component in specified tile

Method Details

IntegerSpec() public méthode

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.
public IntegerSpec ( int nt, int nc, byte type ) : System
nt int The number of tiles /// ///
nc int The number of components /// ///
type byte The type of allowed specifications /// ///
Résultat System

IntegerSpec() public méthode

Constructs a new 'IntegerSpec' for the specified number of tiles and components, the allowed specifications type and the ParameterList instance. This constructor is normally called at encoder side and parse arguments of specified option.
public IntegerSpec ( int nt, int nc, byte type, CSJ2K.j2k.util.ParameterList pl, System optName ) : System
nt int The number of tiles /// ///
nc int The number of components /// ///
type byte The allowed specifications type /// ///
pl CSJ2K.j2k.util.ParameterList The ParameterList instance /// ///
optName System The name of the option to process /// ///
Résultat System

getMaxInComp() public méthode

Gets the maximum value of each tile for specified component
public getMaxInComp ( int c ) : int
c int The component index /// ///
Résultat int

getMaxInTile() public méthode

Gets the maximum value of all components in the specified tile.
public getMaxInTile ( int t ) : int
t int The tile index /// ///
Résultat int

getMinInComp() public méthode

Gets the minimum value of all tiles for the specified component.
public getMinInComp ( int c ) : int
c int The component index /// ///
Résultat int

getMinInTile() public méthode

Gets the minimum value of each component in specified tile
public getMinInTile ( int t ) : int
t int The tile index /// ///
Résultat int

Property Details

MAX_INT protected_oe static_oe property

The largest value of type int
protected static int MAX_INT
Résultat int