public class NITFImage
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected int[] |
bandRequest |
protected com.atakmap.android.image.nitf.NITFImage.ColorTableInfo |
colorTable |
protected TileReader.Format |
format |
int |
height |
protected TileReader.Interleave |
interleave |
protected int |
internalPixelSize |
protected Dataset |
nitfDataset |
int |
width |
Constructor and Description |
---|
NITFImage(Dataset dataset) |
Modifier and Type | Method and Description |
---|---|
TileReader.Format |
getFormat() |
byte[] |
getImage(GdalTileReader.ReaderImpl reader) |
TileReader.Interleave |
getInterleave() |
static int |
getPixelSize(TileReader.Format format)
Returns the pixel size of the specified format, in bytes.
|
byte[] |
getTile(GdalTileReader.ReaderImpl reader,
int x,
int y,
int width,
int height) |
protected final Dataset nitfDataset
public final int width
public final int height
protected final TileReader.Format format
protected final TileReader.Interleave interleave
protected final int[] bandRequest
protected com.atakmap.android.image.nitf.NITFImage.ColorTableInfo colorTable
protected int internalPixelSize
public byte[] getImage(GdalTileReader.ReaderImpl reader)
public byte[] getTile(GdalTileReader.ReaderImpl reader, int x, int y, int width, int height)
public TileReader.Format getFormat()
public TileReader.Interleave getInterleave()
public static int getPixelSize(TileReader.Format format)
format
- The pixel format