public class NITFReader extends ImageReader
availableLocales, ignoreMetadata, input, locale, minIndex, originatingProvider, progressListeners, seekForwardOnly, updateListeners, warningListeners, warningLocales
Constructor and Description |
---|
NITFReader(ImageReaderSpi originatingProvider) |
Modifier and Type | Method and Description |
---|---|
boolean |
canReadRaster() |
int |
getHeight(int imageIndex) |
IIOMetadata |
getImageMetadata(int imageIndex) |
Iterator<ImageTypeSpecifier> |
getImageTypes(int imageIndex) |
int |
getNumImages(boolean allowSearch) |
nitf.Reader |
getReader() |
nitf.Record |
getRecord() |
IIOMetadata |
getStreamMetadata() |
int |
getWidth(int imageIndex) |
BufferedImage |
read(int imageIndex,
ImageReadParam param) |
protected void |
readFullImage(int imageIndex,
Rectangle destRegion,
int sourceXSubsampling,
int sourceYSubsampling,
int[] bandOffsets,
int pixelSize,
WritableRaster imRas)
Optimization to read the entire image in one fell swoop...
|
void |
readHeader() |
Raster |
readRaster(int imageIndex,
ImageReadParam param) |
protected void |
readRaster(int imageIndex,
Rectangle sourceRegion,
Rectangle destRegion,
int sourceXSubsampling,
int sourceYSubsampling,
int[] bandOffsets,
int pixelSize,
Point destinationOffset,
WritableRaster imRas)
Reads image data as bytes for the given region, and writes it to the given writable raster
|
void |
setInput(Object input) |
abort, abortRequested, addIIOReadProgressListener, addIIOReadUpdateListener, addIIOReadWarningListener, checkReadParamBandSettings, clearAbortRequest, computeRegions, dispose, getAspectRatio, getAvailableLocales, getDefaultReadParam, getDestination, getFormatName, getImageMetadata, getInput, getLocale, getMinIndex, getNumThumbnails, getOriginatingProvider, getRawImageType, getSourceRegion, getStreamMetadata, getThumbnailHeight, getThumbnailWidth, getTileGridXOffset, getTileGridYOffset, getTileHeight, getTileWidth, hasThumbnails, isIgnoringMetadata, isImageTiled, isRandomAccessEasy, isSeekForwardOnly, processImageComplete, processImageProgress, processImageStarted, processImageUpdate, processPassComplete, processPassStarted, processReadAborted, processSequenceComplete, processSequenceStarted, processThumbnailComplete, processThumbnailPassComplete, processThumbnailPassStarted, processThumbnailProgress, processThumbnailStarted, processThumbnailUpdate, processWarningOccurred, processWarningOccurred, read, readAll, readAll, readAsRenderedImage, readerSupportsThumbnails, readThumbnail, readTile, readTileRaster, removeAllIIOReadProgressListeners, removeAllIIOReadUpdateListeners, removeAllIIOReadWarningListeners, removeIIOReadProgressListener, removeIIOReadUpdateListener, removeIIOReadWarningListener, reset, setInput, setInput, setLocale
public NITFReader(ImageReaderSpi originatingProvider)
public nitf.Reader getReader()
public void setInput(Object input)
setInput
in class ImageReader
public void readHeader() throws IOException
IOException
public int getNumImages(boolean allowSearch) throws IOException
getNumImages
in class ImageReader
IOException
public int getWidth(int imageIndex) throws IOException
getWidth
in class ImageReader
IOException
public int getHeight(int imageIndex) throws IOException
getHeight
in class ImageReader
IOException
public Iterator<ImageTypeSpecifier> getImageTypes(int imageIndex) throws IOException
getImageTypes
in class ImageReader
IOException
public IIOMetadata getStreamMetadata() throws IOException
getStreamMetadata
in class ImageReader
IOException
public IIOMetadata getImageMetadata(int imageIndex) throws IOException
getImageMetadata
in class ImageReader
IOException
public Raster readRaster(int imageIndex, ImageReadParam param) throws IOException
readRaster
in class ImageReader
IOException
protected void readFullImage(int imageIndex, Rectangle destRegion, int sourceXSubsampling, int sourceYSubsampling, int[] bandOffsets, int pixelSize, WritableRaster imRas) throws IOException
imageIndex
- sourceXSubsampling
- sourceYSubsampling
- bandOffsets
- pixelSize
- imRas
- IOException
protected void readRaster(int imageIndex, Rectangle sourceRegion, Rectangle destRegion, int sourceXSubsampling, int sourceYSubsampling, int[] bandOffsets, int pixelSize, Point destinationOffset, WritableRaster imRas) throws IOException
sourceRegion
- sourceXSubsampling
- sourceYSubsampling
- bandOffsets
- destinationOffset
- imRas
- IOException
public BufferedImage read(int imageIndex, ImageReadParam param) throws IOException
read
in class ImageReader
IOException
public boolean canReadRaster()
canReadRaster
in class ImageReader
public nitf.Record getRecord() throws IOException
IOException
Copyright © 2006–2015 GeoSolutions. All rights reserved.