Свойство | Type | Description | |
---|---|---|---|
h | int | ||
nc | int | ||
w | int |
Méthode | Description | |
---|---|---|
close ( ) : void |
Closes the underlying file or network connection from where the image data is being read.
|
|
getCompData ( CSJ2K.j2k.image.DataBlk blk, int c ) : CSJ2K.j2k.image.DataBlk | ||
getCompImgHeight ( int c ) : int |
Returns the height in pixels of the specified component in the overall image. This default implementation assumes no component, or component, subsampling (i.e. all components have the same dimensions in pixels).
|
|
getCompImgWidth ( int c ) : int |
Returns the width in pixels of the specified component in the overall image. This default implementation assumes no component, or component, subsampling (i.e. all components have the same dimensions in pixels).
|
|
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.
|
|
getCompULX ( int c ) : int |
Returns the horizontal coordinate of the upper-left corner of the specified component in the current tile.
|
|
getCompULY ( int c ) : int |
Returns the vertical coordinate of the upper-left corner of the specified component in the current tile.
|
|
getFixedPoint ( int c ) : int | ||
getInternCompData ( CSJ2K.j2k.image.DataBlk blk, int c ) : CSJ2K.j2k.image.DataBlk | ||
getNomRangeBits ( int c ) : int | ||
getNumTiles ( Coord co ) : Coord |
Returns the number of tiles in the horizontal and vertical directions. This default implementation assumes no tiling, so (1,1) is always returned.
|
|
getNumTiles ( ) : int |
Returns the total number of tiles in the image. This default implementation assumes no tiling, so 1 is always returned.
|
|
getTile ( Coord co ) : Coord |
Returns the coordinates of the current tile. This default implementation assumes no-tiling, so (0,0) is returned.
|
|
getTileCompHeight ( int t, int c ) : int |
Returns the height in pixels of the specified tile-component. This default implementation assumes no tiling and no component subsampling (i.e., all components, or components, have the same dimensions in pixels).
|
|
getTileCompWidth ( int t, int c ) : int |
Returns the width in pixels of the specified tile-component. This default implementation assumes no tiling and no component subsampling (i.e., all components, or components, have the same dimensions in pixels).
|
|
isOrigSigned ( int c ) : bool |
Returns true if the data read was originally signed in the specified component, false if not.
|
|
nextTile ( ) : void |
Advances to the next tile, in standard scan-line order (by rows then columns). A NoNextElementException is thrown if the current tile is the last one (i.e. there is no next tile). This default implementation assumes no tiling, so NoNextElementException() is always thrown.
|
|
setTile ( int x, int y ) : void |
Changes the current tile, given the new coordinates. An IllegalArgumentException is thrown if the coordinates do not correspond to a valid tile. This default implementation assumes no tiling so the only valid arguments are x=0, y=0.
|
public abstract getCompData ( CSJ2K.j2k.image.DataBlk blk, int c ) : CSJ2K.j2k.image.DataBlk | ||
blk | CSJ2K.j2k.image.DataBlk | |
c | int | |
Résultat | CSJ2K.j2k.image.DataBlk |
public getCompImgHeight ( int c ) : int | ||
c | int | The index of the component, from 0 to C-1. /// /// |
Résultat | int |
public getCompImgWidth ( int c ) : int | ||
c | int | The index of the component, from 0 to C-1. /// /// |
Résultat | int |
public getCompSubsX ( int c ) : int | ||
c | int | The index of the component (between 0 and C-1) /// /// |
Résultat | int |
public getCompSubsY ( int c ) : int | ||
c | int | The index of the component (between 0 and C-1) /// /// |
Résultat | int |
public getCompULX ( int c ) : int | ||
c | int | The component index. /// /// |
Résultat | int |
public getCompULY ( int c ) : int | ||
c | int | The component index. /// /// |
Résultat | int |
public abstract getFixedPoint ( int c ) : int | ||
c | int | |
Résultat | int |
public abstract getInternCompData ( CSJ2K.j2k.image.DataBlk blk, int c ) : CSJ2K.j2k.image.DataBlk | ||
blk | CSJ2K.j2k.image.DataBlk | |
c | int | |
Résultat | CSJ2K.j2k.image.DataBlk |
public abstract getNomRangeBits ( int c ) : int | ||
c | int | |
Résultat | 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. /// /// |
Résultat | Coord |
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. /// /// |
Résultat | Coord |
public getTileCompHeight ( int t, int c ) : int | ||
t | int | The tile index /// /// |
c | int | The index of the component, from 0 to C-1. /// /// |
Résultat | int |
public getTileCompWidth ( int t, int c ) : int | ||
t | int | Tile index /// /// |
c | int | The index of the component, from 0 to C-1. /// /// |
Résultat | int |
public abstract isOrigSigned ( int c ) : bool | ||
c | int | The index of the component, from 0 to C-1. /// /// |
Résultat | bool |
public setTile ( int x, int y ) : void | ||
x | int | The horizontal coordinate of the tile. /// /// |
y | int | The vertical coordinate of the new tile. /// /// |
Résultat | void |