public class TLcdECRGTile extends Object implements ILcdSubtiledTile, ILcdDisposable
TLcdRaster
and contain additional frame-specific information.Modifier and Type | Method and Description |
---|---|
Image |
createImage()
Creates an image of the entire tile, using the tile's own color model.
|
Image |
createImage(ColorModel aColorModel)
Creates an image of the entire tile, using the given color model.
|
Image |
createImage(int aX,
int aY,
int aWidth,
int aHeight)
Creates an image of the specified rectangular area of the tile, using the
tile's own color model.
|
Image |
createImage(int aX,
int aY,
int aWidth,
int aHeight,
ColorModel aColorModel)
Creates an image of the specified rectangular area of the tile, using the
given color model.
|
void |
dispose()
Disposes of this object and allows it to release any system resources that it is
holding.
|
ColorModel |
getColorModel()
Returns the optional color model of the tile.
|
String |
getFrameDescription()
Get the frame description, as read from the NITF file
|
String |
getFrameRevisionHistory()
Get the frame revision history, as read from the NITF file
|
int |
getHeight()
Returns the height of the tile, expressed in pixels.
|
int |
getPixelSize()
Returns the pixel size of the tile values, expressed in bits.
|
int |
getSubTileHeight()
Returns the height of a subtile in pixels.
|
int |
getSubTileWidth()
Returns the width of a subtile in pixels.
|
int |
getType()
Returns the internal storage type of the tile values.
|
int |
getWidth()
Returns the width of the tile, expressed in pixels.
|
boolean |
isAllDefault()
Returns whether all values in the tile are equal to a default value.
|
int |
retrieveValue(int aX,
int aY)
Retrieves the tile value at the specified location.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close
public int getSubTileWidth()
ILcdSubtiledTile
getSubTileWidth
in interface ILcdSubtiledTile
public int getSubTileHeight()
getSubTileHeight
in interface ILcdSubtiledTile
public int getWidth()
public int getHeight()
public int getType()
public int getPixelSize()
getPixelSize
in interface ILcdTile
public ColorModel getColorModel()
getColorModel
in interface ILcdTile
null
if the raster doesn't have
an explicit color model.public boolean isAllDefault()
isAllDefault
in interface ILcdTile
public int retrieveValue(int aX, int aY)
retrieveValue
in interface ILcdTile
aX
- the x ordinate of the value, expressed in tile coordinates.aY
- the y ordinate of the value, expressed in tile coordinates.public Image createImage()
createImage
in interface ILcdTile
public Image createImage(ColorModel aColorModel)
createImage
in interface ILcdTile
aColorModel
- the color model to be used for the image. The color
model should be compatible with the pixel values of
the tile.public Image createImage(int aX, int aY, int aWidth, int aHeight)
createImage
in interface ILcdTile
aX
- the x ordinate of the area, expressed in tile coordinates.aY
- the y ordinate of the area, expressed in tile coordinates.aWidth
- the width of the area, expressed in tile coordinates.aHeight
- the height of the area, expressed in tile coordinates.public Image createImage(int aX, int aY, int aWidth, int aHeight, ColorModel aColorModel)
createImage
in interface ILcdTile
aX
- the x ordinate of the area, expressed in tile coordinates.aY
- the y ordinate of the area, expressed in tile coordinates.aWidth
- the width of the area, expressed in tile coordinates.aHeight
- the height of the area, expressed in tile coordinates.aColorModel
- the color model to be used for the image. The color
model should be compatible with the pixel values of
the tile.public void dispose()
Disposes of this object and allows it to release any system resources that it is holding.
The result of calling any other method (other than finalize
) on this object
subsequent to a call to
this method is undefined.
dispose
in interface ILcdDisposable
public String getFrameRevisionHistory()
public String getFrameDescription()