ImgReaderPGM Class Members
In This Topic
The following tables list the members exposed by ImgReaderPGM.
Public Constructors
Public Fields
| Name | Description |
![Public Field](template/packages/core-dotnet/images/publicField.png) ![static (Shared in Visual Basic)](template/packages/core-dotnet/images/static.png) | DC_OFFSET | DC offset value used when reading image |
Top
Public Properties
| Name | Description |
![Public Property](template/packages/core-dotnet/images/publicProperty.png) | ImgHeight | Returns the overall height of the image in pixels. This is the image's height without accounting for any component subsampling or tiling. The value of h is returned. (Inherited from CSJ2K.j2k.image.input.ImgReader) |
![Public Property](template/packages/core-dotnet/images/publicProperty.png) | ImgULX | Returns the horizontal coordinate of the image origin, the top-left corner, in the canvas system, on the reference grid. (Inherited from CSJ2K.j2k.image.input.ImgReader) |
![Public Property](template/packages/core-dotnet/images/publicProperty.png) | ImgULY | Returns the vertical coordinate of the image origin, the top-left corner, in the canvas system, on the reference grid. (Inherited from CSJ2K.j2k.image.input.ImgReader) |
![Public Property](template/packages/core-dotnet/images/publicProperty.png) | ImgWidth | Returns the overall width of the image in pixels. This is the image's width without accounting for any component subsampling or tiling. The value of w is returned. (Inherited from CSJ2K.j2k.image.input.ImgReader) |
![Public Property](template/packages/core-dotnet/images/publicProperty.png) | NomTileHeight | Returns the nominal tiles height (Inherited from CSJ2K.j2k.image.input.ImgReader) |
![Public Property](template/packages/core-dotnet/images/publicProperty.png) | NomTileWidth | Returns the nominal tiles width (Inherited from CSJ2K.j2k.image.input.ImgReader) |
![Public Property](template/packages/core-dotnet/images/publicProperty.png) | NumComps | Returns the number of components in the image. The value of nc is returned. (Inherited from CSJ2K.j2k.image.input.ImgReader) |
![Public Property](template/packages/core-dotnet/images/publicProperty.png) | TileHeight | Returns the overall height of the current tile in pixels, assuming there is no-tiling. Since no-tiling is assumed this is the same as the width of the image. The value of h is returned. (Inherited from CSJ2K.j2k.image.input.ImgReader) |
![Public Property](template/packages/core-dotnet/images/publicProperty.png) | TileIdx | Returns the index of the current tile, relative to a standard scan-line order. This default implementations assumes no tiling, so 0 is always returned. (Inherited from CSJ2K.j2k.image.input.ImgReader) |
![Public Property](template/packages/core-dotnet/images/publicProperty.png) | TilePartULX | Returns the horizontal tile partition offset in the reference grid (Inherited from CSJ2K.j2k.image.input.ImgReader) |
![Public Property](template/packages/core-dotnet/images/publicProperty.png) | TilePartULY | Returns the vertical tile partition offset in the reference grid (Inherited from CSJ2K.j2k.image.input.ImgReader) |
![Public Property](template/packages/core-dotnet/images/publicProperty.png) | TileWidth | Returns the width of the current tile in pixels, assuming there is no-tiling. Since no-tiling is assumed this is the same as the width of the image. The value of w is returned. (Inherited from CSJ2K.j2k.image.input.ImgReader) |
Top
Public Methods
| Name | Description |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) | close | Overridden. Closes the underlying RandomAccessFile from where the image data is being read. No operations are possible after a call to this method. |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) | getCompData | Overridden. |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) | getCompImgHeight | 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). (Inherited from CSJ2K.j2k.image.input.ImgReader) |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) | getCompImgWidth | 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). (Inherited from CSJ2K.j2k.image.input.ImgReader) |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) | 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. (Inherited from CSJ2K.j2k.image.input.ImgReader) |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) | 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. (Inherited from CSJ2K.j2k.image.input.ImgReader) |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) | getCompULX | Returns the horizontal coordinate of the upper-left corner of the specified component in the current tile. (Inherited from CSJ2K.j2k.image.input.ImgReader) |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) | getCompULY | Returns the vertical coordinate of the upper-left corner of the specified component in the current tile. (Inherited from CSJ2K.j2k.image.input.ImgReader) |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) | getFixedPoint | Overridden. Returns the position of the fixed point in the specified component (i.e. the number of fractional bits), which is always 0 for this ImgReader. |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) | getInternCompData | Overridden. |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) | getNomRangeBits | Overridden. |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) | getNumTiles | Overloaded. Returns the number of tiles in the horizontal and vertical directions. This default implementation assumes no tiling, so (1,1) is always returned. (Inherited from CSJ2K.j2k.image.input.ImgReader) |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) | getTile | Returns the coordinates of the current tile. This default implementation assumes no-tiling, so (0,0) is returned. (Inherited from CSJ2K.j2k.image.input.ImgReader) |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) | getTileCompHeight | 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). (Inherited from CSJ2K.j2k.image.input.ImgReader) |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) | getTileCompWidth | 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). (Inherited from CSJ2K.j2k.image.input.ImgReader) |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) | isOrigSigned | Overridden. Returns true if the data read was originally signed in the specified component, false if not. This method returns always false since PGM data is always unsigned. |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) | nextTile | 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. (Inherited from CSJ2K.j2k.image.input.ImgReader) |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) | setTile | 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. (Inherited from CSJ2K.j2k.image.input.ImgReader) |
Top
See Also