Méthode | Description | |
---|---|---|
PrecinctSizeSpec ( int nt, int nc, byte type, BlkImgDataSrc imgsrc, |
Creates a new PrecinctSizeSpec object for the specified number of tiles and components and the ParameterList instance.
|
|
PrecinctSizeSpec ( int nt, int nc, byte type, |
Creates a new PrecinctSizeSpec object for the specified number of tiles and components.
|
|
getPPX ( int t, int c, int rl ) : int |
Returns the precinct partition width in component 'n' and tile 't' at resolution level 'rl'. If the tile index is equal to -1 or if the component index is equal to -1 it means that those should not be taken into account.
|
|
getPPY ( int t, int c, int rl ) : int |
Returns the precinct partition height in component 'n' and tile 't' at resolution level 'rl'. If the tile index is equal to -1 or if the component index is equal to -1 it means that those should not be taken into account.
|
public PrecinctSizeSpec ( int nt, int nc, byte type, BlkImgDataSrc imgsrc, |
||
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. /// /// |
imgsrc | BlkImgDataSrc | The image source (used to get the image size) /// /// |
dls | ||
pl | CSJ2K.j2k.util.ParameterList | The ParameterList instance /// /// |
Résultat | System |
public PrecinctSizeSpec ( int nt, int nc, byte type, |
||
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. /// /// |
dls | Reference to the number of decomposition levels /// specification /// /// | |
Résultat | System |
public getPPX ( int t, int c, int rl ) : int | ||
t | int | The tile index, in raster scan order. Specify -1 if it is not /// a specific tile. /// /// |
c | int | The component index. Specify -1 if it is not a specific /// component. /// /// |
rl | int | The resolution level /// /// |
Résultat | int |
public getPPY ( int t, int c, int rl ) : int | ||
t | int | The tile index, in raster scan order. Specify -1 if it is not /// a specific tile. /// /// |
c | int | The component index. Specify -1 if it is not a specific /// component. /// /// |
rl | int | The resolution level. /// /// |
Résultat | int |