ImgData Interface Members
In This Topic
The following tables list the members exposed by ImgData.
Public Properties
| Name | Description |
| ImgHeight | Returns the overall height of the image in pixels. This is the image's height without accounting for any component subsampling or tiling. |
| ImgULX | Returns the horizontal coordinate of the image origin, the top-left corner, in the canvas system, on the reference grid. |
| ImgULY | Returns the vertical coordinate of the image origin, the top-left corner, in the canvas system, on the reference grid. |
| ImgWidth | Returns the overall width of the image in pixels. This is the image's width without accounting for any component subsampling or tiling. |
| NomTileHeight | Returns the nominal tiles height |
| NomTileWidth | Returns the nominal tiles width |
| NumComps | Returns the number of components in the image. |
| TileHeight | Returns the overall height of the current tile in pixels. This is the tile's height without accounting for any component subsampling. This is also referred as the reference grid height in the current tile. |
| TileIdx | Returns the index of the current tile, relative to a standard scan-line order. |
| TilePartULX | Returns the horizontal tile partition offset in the reference grid |
| TilePartULY | Returns the vertical tile partition offset in the reference grid |
| TileWidth | Returns the overall width of the current tile in pixels. This is the tile's width without accounting for any component subsampling. This is also referred as the reference grid width in the current tile. |
Top
Public Methods
| Name | Description |
| getCompImgHeight | Returns the height in pixels of the specified component in the overall image. |
| getCompImgWidth | Returns the width in pixels of the specified component in the overall image. |
| getCompSubsX | 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 | 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 | Returns the horizontal coordinate of the upper-left corner of the specified component in the current tile. |
| getCompULY | Returns the vertical coordinate of the upper-left corner of the specified component in the current tile. |
| getNomRangeBits | |
| getNumTiles | Overloaded. Returns the number of tiles in the horizontal and vertical directions. |
| getTile | Returns the indixes of the current tile. These are the horizontal and vertical indexes of the current tile. |
| getTileCompHeight | Returns the height in pixels of the specified tile-component. |
| getTileCompWidth | Returns the width in pixels of the specified tile-component |
| nextTile | 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 | Changes the current tile, given the new indices. An IllegalArgumentException is thrown if the coordinates do not correspond to a valid tile. |
Top
See Also