Свойство | Тип | Описание | |
---|---|---|---|
anbytes | int | ||
arate | float | ||
ax | int | ||
ay | int | ||
ctX | int | ||
ctY | int | ||
culx | int[] | ||
culy | int[] | ||
decSpec | |||
derived | bool[] | ||
gb | int[] | ||
hd | |||
imgH | int | ||
imgW | int | ||
mdl | int[] | ||
nc | int | ||
nt | int | ||
ntH | int | ||
ntW | int | ||
ntX | int | ||
ntY | int | ||
offX | int[] | ||
offY | int[] | ||
params_Renamed | CSJ2K.j2k.quantization.dequantizer.StdDequantizerParams[] | ||
px | int | ||
py | int | ||
subbTrees | CSJ2K.j2k.wavelet.synthesis.SubbandSyn[] | ||
targetRes | int | ||
tnbytes | int | ||
trate | float |
Метод | Описание | |
---|---|---|
createInstance ( RandomAccessIO in_Renamed, |
Creates a bit stream reader of the correct type that works on the provided RandomAccessIO, with the special parameters from the parameter list.
|
|
getCodeBlock ( int param1, int param2, int param3, CSJ2K param4, int param5, int param6, CSJ2K param7 ) : CSJ2K.j2k.entropy.decoder.DecLyrdCBlk | ||
getCompImgHeight ( int c, int rl ) : int |
Returns the height in pixels of the specified component in the overall image, for the given (component) resolution level. Note: Component resolution level indexes may differ from tile-component resolution index. They are indeed indexed starting from the lowest number of decomposition levels of same component of each tile. Example: For an image (2 tiles) with 1 component (tile 0 having 2 decomposition levels and tile 1 having 3 decomposition levels), the first tile(-component) has 3 resolution levels and the second one has 4 resolution levels, whereas the component has only 3 resolution levels available.
|
|
getCompImgWidth ( int c, int rl ) : int |
Returns the width in pixels of the specified component in the overall image, for the given (component) resolution level. Note: Component resolution level indexes may differ from tile-component resolution index. They are indeed indexed starting from the lowest number of decomposition levels of same component of each tile. Example: For an image (2 tiles) with 1 component (tile 0 having 2 decomposition levels and tile 1 having 3 decomposition levels), the first tile(-component) has 3 resolution levels and the second one has 4 resolution levels, whereas the component has only 3 resolution levels available.
|
|
getCompSubsX ( int c ) : int |
Returns the component subsampling factor in the horizontal direction, for the specified component. This is, approximately, the ratio of dimensions between the reference grid and the component itself, see the 'ImgData' interface desription for details.
|
|
getCompSubsY ( int c ) : int |
Returns the component subsampling factor in the vertical direction, for the specified component. This is, approximately, the ratio of dimensions between the reference grid and the component itself, see the 'ImgData' interface desription for details.
|
|
getImgHeight ( int rl ) : int |
Returns the overall height of the image in pixels, for the given resolution level. This is the image's height without accounting for any component subsampling or tiling. Note: Image resolution level indexes may differ from tile-component resolution index. They are indeed indexed starting from the lowest number of decomposition levels of each component of each tile. Example: For an image (1 tile) with 2 components (component 0 having 2 decomposition levels and component 1 having 3 decomposition levels), the first (tile-) component has 3 resolution levels and the second one has 4 resolution levels, whereas the image has only 3 resolution levels available.
|
|
getImgULX ( int rl ) : int |
Returns the horizontal coordinate of the image origin, the top-left corner, in the canvas system, on the reference grid at the specified resolution level. Note: Image resolution level indexes may differ from tile-component resolution index. They are indeed indexed starting from the lowest number of decomposition levels of each component of each tile. Example: For an image (1 tile) with 2 components (component 0 having 2 decomposition levels and component 1 having 3 decomposition levels), the first (tile-) component has 3 resolution levels and the second one has 4 resolution levels, whereas the image has only 3 resolution levels available.
|
|
getImgULY ( int rl ) : int |
Returns the vertical coordinate of the image origin, the top-left corner, in the canvas system, on the reference grid at the specified resolution level. Note: Image resolution level indexes may differ from tile-component resolution index. They are indeed indexed starting from the lowest number of decomposition levels of each component of each tile. Example: For an image (1 tile) with 2 components (component 0 having 2 decomposition levels and component 1 having 3 decomposition levels), the first (tile-) component has 3 resolution levels and the second one has 4 resolution levels, whereas the image has only 3 resolution levels available.
|
|
getImgWidth ( int rl ) : int |
Returns the overall width of the image in pixels, for the given (image) resolution level. This is the image's width without accounting for any component subsampling or tiling. Note: Image resolution level indexes may differ from tile-component resolution index. They are indeed indexed starting from the lowest number of decomposition levels of each component of each tile. Example: For an image (1 tile) with 2 components (component 0 having 2 decomposition levels and component 1 having 3 decomposition levels), the first (tile-) component has 3 resolution levels and the second one has 4 resolution levels, whereas the image has only 3 resolution levels available.
|
|
getNumTiles ( Coord co ) : Coord |
Returns the number of tiles in the horizontal and vertical directions.
|
|
getNumTiles ( ) : int |
Returns the total number of tiles in the image.
|
|
getPPX ( int t, int c, int rl ) : int |
Returns the precinct partition width for the specified tile-component and (tile-component) resolution level.
|
|
getPPY ( int t, int c, int rl ) : int |
Returns the precinct partition height for the specified tile-component and (tile-component) resolution level.
|
|
getResULX ( int c, int rl ) : int |
Returns the horizontal coordinate of the upper-left corner of the specified resolution in the given component of the current tile.
|
|
getResULY ( int c, int rl ) : int |
Returns the vertical coordinate of the upper-left corner of the specified component in the given component of the current tile.
|
|
getSynSubbandTree ( int t, int c ) : CSJ2K.j2k.wavelet.synthesis.SubbandSyn |
Returns the subband tree, for the specified tile-component. This method returns the root element of the subband tree structure, see Subband and SubbandSyn. The tree comprises all the available resolution levels. Note: this method is not able to return subband tree for a tile different than the current one. The number of magnitude bits ('magBits' member variable) for each subband is not initialized.
|
|
getTile ( Coord co ) : Coord |
Returns the indexes of the current tile. These are the horizontal and vertical indexes of the current tile.
|
|
getTileCompHeight ( int t, int c, int rl ) : int |
Returns the height in pixels of the specified tile-component for the given (tile-component) resolution level.
|
|
getTileCompWidth ( int t, int c, int rl ) : int |
Returns the width in pixels of the specified tile-component for the given (tile-component) resolution level.
|
|
getTileHeight ( int rl ) : int |
Returns the overall height of the current tile in pixels, for the given resolution level. This is the tile's height without accounting for any component subsampling. Note: Tile resolution level indexes may be different from tile-component resolution index. They are indeed indexed starting from the lowest number of decomposition levels of each component of the tile. For an image (1 tile) with 2 components (component 0 having 2 decomposition levels and component 1 having 3 decomposition levels), the first (tile-)component has 3 resolution levels and the second one has 4 resolution levels, whereas the tile has only 3 resolution levels available.
|
|
getTileWidth ( int rl ) : int |
Returns the overall width of the current tile in pixels for the given (tile) resolution level. This is the tile's width without accounting for any component subsampling. Note: Tile resolution level indexes may be different from tile-component resolution index. They are indeed indexed starting from the lowest number of decomposition levels of each component of the tile. For an image (1 tile) with 2 components (component 0 having 2 decomposition levels and component 1 having 3 decomposition levels), the first (tile-)component has 3 resolution levels and the second one has 4 resolution levels, whereas the tile has only 3 resolution levels available.
|
|
nextTile ( ) : void |
Advances to the next tile, in standard scan-line order (by rows then columns). An NoNextElementException is thrown if the current tile is the last one (i.e. there is no next tile).
|
|
setTile ( int x, int y ) : void |
Changes the current tile, given the new indexes. An IllegalArgumentException is thrown if the indexes do not correspond to a valid tile.
|
Метод | Описание | |
---|---|---|
BitstreamReaderAgent ( |
Initializes members of this class. This constructor takes a HeaderDecoder object. This object must be initialized by the constructor of the implementing class from the header of the bit stream.
|
|
initSubbandsFields ( int c, CSJ2K.j2k.wavelet.synthesis.SubbandSyn sb ) : void |
Initialises subbands fields, such as number of code-blocks, code-blocks dimension and number of magnitude bits, in the subband tree. The nominal code-block width/height depends on the precincts dimensions if used. The way the number of magnitude bits is computed depends on the quantization type (reversible, derived, expounded).
|
protected BitstreamReaderAgent ( |
||
hd | The decoded header of the bit stream from where to initialize /// the values. /// /// | |
decSpec | The decoder specifications /// /// | |
Результат | System |
public static createInstance ( RandomAccessIO in_Renamed, |
||
in_Renamed | RandomAccessIO | |
hd | Header of the codestream. /// /// | |
pl | CSJ2K.j2k.util.ParameterList | The parameter list containing parameters applicable to the /// bit stream read (other parameters may also be present). /// /// |
decSpec | The decoder specifications /// /// | |
cdstrInfo | bool | Whether or not to print information found in /// codestream. /// /// |
hi | Reference to the HeaderInfo instance. /// /// | |
Результат |
public abstract getCodeBlock ( int param1, int param2, int param3, CSJ2K param4, int param5, int param6, CSJ2K param7 ) : CSJ2K.j2k.entropy.decoder.DecLyrdCBlk | ||
param1 | int | |
param2 | int | |
param3 | int | |
param4 | CSJ2K | |
param5 | int | |
param6 | int | |
param7 | CSJ2K | |
Результат | CSJ2K.j2k.entropy.decoder.DecLyrdCBlk |
public getCompImgHeight ( int c, int rl ) : int | ||
c | int | The index of the component, from 0 to N-1. /// /// |
rl | int | The resolution level, from 0 to L. /// /// |
Результат | int |
public getCompImgWidth ( int c, int rl ) : int | ||
c | int | The index of the component, from 0 to N-1. /// /// |
rl | int | The resolution level, from 0 to L. /// /// |
Результат | int |
public getCompSubsX ( int c ) : int | ||
c | int | The index of the component (between 0 and N-1) /// /// |
Результат | int |
public getCompSubsY ( int c ) : int | ||
c | int | The index of the component (between 0 and C-1) /// /// |
Результат | int |
public getImgHeight ( int rl ) : int | ||
rl | int | The image resolution level, from 0 to L. /// /// |
Результат | int |
public getImgULX ( int rl ) : int | ||
rl | int | The resolution level, from 0 to L. /// /// |
Результат | int |
public getImgULY ( int rl ) : int | ||
rl | int | The resolution level, from 0 to L. /// /// |
Результат | int |
public getImgWidth ( int rl ) : int | ||
rl | int | The image resolution level. /// /// |
Результат | int |
public getNumTiles ( Coord co ) : Coord | ||
co | Coord | If not null this object is used to return the information. If /// null a new one is created and returned. /// /// |
Результат | Coord |
public getPPX ( int t, int c, int rl ) : int | ||
t | int | the tile index /// /// |
c | int | The index of the component (between 0 and N-1) /// /// |
rl | int | The resolution level, from 0 to L. /// /// |
Результат | int |
public getPPY ( int t, int c, int rl ) : int | ||
t | int | The tile index /// /// |
c | int | The index of the component (between 0 and N-1) /// /// |
rl | int | The resolution level, from 0 to L. /// /// |
Результат | int |
public getResULX ( int c, int rl ) : int | ||
c | int | The component index. /// /// |
rl | int | The resolution level index. /// /// |
Результат | int |
public getResULY ( int c, int rl ) : int | ||
c | int | The component index. /// /// |
rl | int | The resolution level index. /// /// |
Результат | int |
public getSynSubbandTree ( int t, int c ) : CSJ2K.j2k.wavelet.synthesis.SubbandSyn | ||
t | int | The tile index /// /// |
c | int | The index of the component, from 0 to C-1. /// /// |
Результат | CSJ2K.j2k.wavelet.synthesis.SubbandSyn |
public getTile ( Coord co ) : Coord | ||
co | Coord | If not null this object is used to return the information. If /// null a new one is created and returned. /// /// |
Результат | Coord |
public getTileCompHeight ( int t, int c, int rl ) : int | ||
t | int | The tile index. /// /// |
c | int | The index of the component, from 0 to N-1. /// /// |
rl | int | The resolution level, from 0 to L. /// /// |
Результат | int |
public getTileCompWidth ( int t, int c, int rl ) : int | ||
t | int | The tile index /// /// |
c | int | The index of the component, from 0 to N-1. /// /// |
rl | int | The resolution level, from 0 to L. /// /// |
Результат | int |
public getTileHeight ( int rl ) : int | ||
rl | int | The (tile) resolution level. /// /// |
Результат | int |
public getTileWidth ( int rl ) : int | ||
rl | int | The (tile) resolution level. /// /// |
Результат | int |
protected initSubbandsFields ( int c, CSJ2K.j2k.wavelet.synthesis.SubbandSyn sb ) : void | ||
c | int | The component index /// /// |
sb | CSJ2K.j2k.wavelet.synthesis.SubbandSyn | The subband tree to be initialised. /// /// |
Результат | void |
public abstract setTile ( int x, int y ) : void | ||
x | int | The horizontal indexes the tile. /// /// |
y | int | The vertical indexes of the new tile. /// /// |
Результат | void |
protected DecoderSpecs,CSJ2K.j2k.decoder decSpec | ||
Результат |
protected HeaderDecoder,CSJ2K.j2k.codestream.reader hd | ||
Результат |
protected StdDequantizerParams[],CSJ2K.j2k.quantization.dequantizer params_Renamed | ||
Результат | CSJ2K.j2k.quantization.dequantizer.StdDequantizerParams[] |
protected SubbandSyn[],CSJ2K.j2k.wavelet.synthesis subbTrees | ||
Результат | CSJ2K.j2k.wavelet.synthesis.SubbandSyn[] |