C# 클래스 CSJ2K.j2k.IntegerSpec

This class extends ModuleSpec and is responsible of Integer specifications for each tile-component.
상속: ModuleSpec
파일 보기 프로젝트 열기: cureos/csj2k 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
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