C# Class CSJ2K.j2k.quantization.GuardBitsSpec

This class extends ModuleSpec class in order to hold specifications about number of guard bits in each tile-component.
Inheritance: CSJ2K.j2k.ModuleSpec
Show file Open project: cureos/csj2k Class Usage Examples

Public Methods

Method Description
GuardBitsSpec ( int nt, int nc, byte type ) : System

Constructs an empty 'GuardBitsSpec' with specified number of tile and components. This constructor is called by the decoder.

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

Constructs a new 'GuardBitsSpec' for the specified number of components and tiles and the arguments of "-Qguard_bits" option.

Method Details

GuardBitsSpec() public method

Constructs an empty 'GuardBitsSpec' with specified number of tile and components. This constructor is called by the decoder.
public GuardBitsSpec ( int nt, int nc, byte type ) : System
nt int Number of tiles /// ///
nc int Number of components /// ///
type byte the type of the specification module i.e. tile specific, /// component specific or both. /// ///
return System

GuardBitsSpec() public method

Constructs a new 'GuardBitsSpec' for the specified number of components and tiles and the arguments of "-Qguard_bits" option.
public GuardBitsSpec ( int nt, int nc, byte type, CSJ2K.j2k.util.ParameterList pl ) : System
nt int The number of tiles /// ///
nc int The number of components /// ///
type byte the type of the specification module i.e. tile specific, /// component specific or both. /// ///
pl CSJ2K.j2k.util.ParameterList The ParameterList /// ///
return System