C# Класс CSJ2K.j2k.IntegerSpec

This class extends ModuleSpec and is responsible of Integer specifications for each tile-component.
Наследование: ModuleSpec
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
MAX_INT int

Открытые методы

Метод Описание
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

Описание методов

IntegerSpec() публичный Метод

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 /// ///
Результат System

IntegerSpec() публичный Метод

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 /// ///
Результат System

getMaxInComp() публичный Метод

Gets the maximum value of each tile for specified component
public getMaxInComp ( int c ) : int
c int The component index /// ///
Результат int

getMaxInTile() публичный Метод

Gets the maximum value of all components in the specified tile.
public getMaxInTile ( int t ) : int
t int The tile index /// ///
Результат int

getMinInComp() публичный Метод

Gets the minimum value of all tiles for the specified component.
public getMinInComp ( int c ) : int
c int The component index /// ///
Результат int

getMinInTile() публичный Метод

Gets the minimum value of each component in specified tile
public getMinInTile ( int t ) : int
t int The tile index /// ///
Результат int

Описание свойств

MAX_INT защищенное статическое свойство

The largest value of type int
protected static int MAX_INT
Результат int