[]
        
(Showing Draft Content)

CSJ2K.j2k.entropy.PrecinctSizeSpec.-ctor

PrecinctSizeSpec Constructor

PrecinctSizeSpec(int, int, byte, IntegerSpec)

Creates a new PrecinctSizeSpec object for the specified number of tiles and components.

Declaration
public PrecinctSizeSpec(int nt, int nc, byte type, IntegerSpec dls)
Parameters
Type Name Description
int nt

The number of tiles

int nc

The number of components

byte type

the type of the specification module i.e. tile specific, component specific or both.

IntegerSpec dls

Reference to the number of decomposition levels specification

PrecinctSizeSpec(int, int, byte, BlkImgDataSrc, IntegerSpec, ParameterList)

Creates a new PrecinctSizeSpec object for the specified number of tiles and components and the ParameterList instance.

Declaration
public PrecinctSizeSpec(int nt, int nc, byte type, BlkImgDataSrc imgsrc, IntegerSpec dls, ParameterList pl)
Parameters
Type Name Description
int nt

The number of tiles

int nc

The number of components

byte type

the type of the specification module i.e. tile specific, component specific or both.

BlkImgDataSrc imgsrc

The image source (used to get the image size)

IntegerSpec dls
ParameterList pl

The ParameterList instance