it.geosolutions.imageio.matfile5.sas
Class SASTileImageReader

Object
  extended by ImageReader
      extended by MatFileImageReader
          extended by SASTileImageReader

public class SASTileImageReader
extends MatFileImageReader

Author:
Daniele Romagnoli, GeoSolutions SAS

Field Summary
 
Fields inherited from class MatFileImageReader
dataArrays, matReader
 
Fields inherited from class ImageReader
availableLocales, ignoreMetadata, input, locale, minIndex, originatingProvider, progressListeners, seekForwardOnly, updateListeners, warningListeners, warningLocales
 
Constructor Summary
SASTileImageReader(SASTileImageReaderSpi originatingProvider)
           
 
Method Summary
 int getHeight(int imageIndex)
          Returns the height of the raster.
 IIOMetadata getImageMetadata(int imageIndex)
           
 Iterator<ImageTypeSpecifier> getImageTypes(int imageIndex)
           
protected  AffineTransform getPreTransform(ImageReadParam param)
          The Standard implementation returns a simple Identity.
 int getWidth(int imageIndex)
          Returns the width of the raster.
protected  void initialize()
           
 BufferedImage read(int imageIndex, ImageReadParam param)
           
 
Methods inherited from class MatFileImageReader
dispose, getAffineTransform, getDatasetSource, getNumImages, getStreamMetadata, initFilter, reset, setInput, setInput
 
Methods inherited from class ImageReader
abort, abortRequested, addIIOReadProgressListener, addIIOReadUpdateListener, addIIOReadWarningListener, canReadRaster, checkReadParamBandSettings, clearAbortRequest, computeRegions, 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, readRaster, readThumbnail, readTile, readTileRaster, removeAllIIOReadProgressListeners, removeAllIIOReadUpdateListeners, removeAllIIOReadWarningListeners, removeIIOReadProgressListener, removeIIOReadUpdateListener, removeIIOReadWarningListener, setInput, setLocale
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SASTileImageReader

public SASTileImageReader(SASTileImageReaderSpi originatingProvider)
Method Detail

initialize

protected void initialize()
Specified by:
initialize in class MatFileImageReader

getHeight

public int getHeight(int imageIndex)
              throws IOException
Returns the height of the raster.

Specified by:
getHeight in class ImageReader
Parameters:
imageIndex - the index of the specified raster
Returns:
raster height
Throws:
IOException

getWidth

public int getWidth(int imageIndex)
             throws IOException
Returns the width of the raster.

Specified by:
getWidth in class ImageReader
Parameters:
imageIndex - the index of the specified raster
Returns:
raster width
Throws:
IOException

getImageMetadata

public IIOMetadata getImageMetadata(int imageIndex)
                             throws IOException
Specified by:
getImageMetadata in class ImageReader
Throws:
IOException

read

public BufferedImage read(int imageIndex,
                          ImageReadParam param)
                   throws IOException
Specified by:
read in class ImageReader
Throws:
IOException

getPreTransform

protected AffineTransform getPreTransform(ImageReadParam param)
                                   throws IOException
Description copied from class: MatFileImageReader
The Standard implementation returns a simple Identity. Special Implementations may add additional transformation to be preconcatenated

Overrides:
getPreTransform in class MatFileImageReader
Returns:
Throws:
IOException

getImageTypes

public Iterator<ImageTypeSpecifier> getImageTypes(int imageIndex)
                                           throws IOException
Specified by:
getImageTypes in class ImageReader
Throws:
IOException


Copyright © 2006-2010 GeoSolutions. All Rights Reserved.