public class RawImageReader extends ImageReader
PNMImageReadParam.availableLocales, ignoreMetadata, input, locale, minIndex, originatingProvider, progressListeners, seekForwardOnly, updateListeners, warningListeners, warningLocales| Constructor and Description |
|---|
RawImageReader(ImageReaderSpi originator)
Constructs
RawImageReader from the provided
ImageReaderSpi. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canReadRaster() |
static void |
computeRegionsWrapper(ImageReadParam param,
int srcWidth,
int srcHeight,
BufferedImage image,
Rectangle srcRegion,
Rectangle destRegion)
Wrapper for the protected method
computeRegions. |
boolean |
getAbortRequest()
This method wraps the protected method
abortRequested
to allow the abortions be monitored by J2KReadState. |
ImageReadParam |
getDefaultReadParam() |
int |
getHeight(int imageIndex) |
IIOMetadata |
getImageMetadata(int imageIndex) |
Iterator |
getImageTypes(int imageIndex) |
int |
getNumImages(boolean allowSearch)
Overrides the method defined in the superclass.
|
IIOMetadata |
getStreamMetadata() |
int |
getTileHeight(int imageIndex) |
int |
getTileWidth(int imageIndex) |
int |
getWidth(int imageIndex) |
boolean |
isRandomAccessEasy(int imageIndex) |
void |
processImageProgressWrapper(float percentageDone)
Wrapper for the protected method
processImageProgress
So it can be access from the classes which are not in
ImageReader hierachy. |
void |
processImageUpdateWrapper(BufferedImage theImage,
int minX,
int minY,
int width,
int height,
int periodX,
int periodY,
int[] bands)
Wrapper for the protected method
processImageUpdate
So it can be access from the classes which are not in
ImageReader hierachy. |
BufferedImage |
read(int imageIndex,
ImageReadParam param) |
RenderedImage |
readAsRenderedImage(int imageIndex,
ImageReadParam param) |
Raster |
readRaster(int imageIndex,
ImageReadParam param) |
void |
reset() |
void |
setInput(Object input,
boolean seekForwardOnly,
boolean ignoreMetadata)
Overrides the method defined in the superclass.
|
abort, abortRequested, addIIOReadProgressListener, addIIOReadUpdateListener, addIIOReadWarningListener, checkReadParamBandSettings, clearAbortRequest, computeRegions, dispose, getAspectRatio, getAvailableLocales, getDestination, getFormatName, getImageMetadata, getInput, getLocale, getMinIndex, getNumThumbnails, getOriginatingProvider, getRawImageType, getSourceRegion, getStreamMetadata, getThumbnailHeight, getThumbnailWidth, getTileGridXOffset, getTileGridYOffset, hasThumbnails, isIgnoringMetadata, isImageTiled, isSeekForwardOnly, processImageComplete, processImageProgress, processImageStarted, processImageUpdate, processPassComplete, processPassStarted, processReadAborted, processSequenceComplete, processSequenceStarted, processThumbnailComplete, processThumbnailPassComplete, processThumbnailPassStarted, processThumbnailProgress, processThumbnailStarted, processThumbnailUpdate, processWarningOccurred, processWarningOccurred, read, readAll, readAll, readerSupportsThumbnails, readThumbnail, readTile, readTileRaster, removeAllIIOReadProgressListeners, removeAllIIOReadUpdateListeners, removeAllIIOReadWarningListeners, removeIIOReadProgressListener, removeIIOReadUpdateListener, removeIIOReadWarningListener, setInput, setInput, setLocalepublic RawImageReader(ImageReaderSpi originator)
RawImageReader from the provided
ImageReaderSpi.public static void computeRegionsWrapper(ImageReadParam param, int srcWidth, int srcHeight, BufferedImage image, Rectangle srcRegion, Rectangle destRegion)
computeRegions. So it
can be access from the classes which are not in ImageReader
hierachy.public void setInput(Object input, boolean seekForwardOnly, boolean ignoreMetadata)
setInput in class ImageReaderpublic int getNumImages(boolean allowSearch)
throws IOException
getNumImages in class ImageReaderIOExceptionpublic int getWidth(int imageIndex)
throws IOException
getWidth in class ImageReaderIOExceptionpublic int getHeight(int imageIndex)
throws IOException
getHeight in class ImageReaderIOExceptionpublic int getTileWidth(int imageIndex)
throws IOException
getTileWidth in class ImageReaderIOExceptionpublic int getTileHeight(int imageIndex)
throws IOException
getTileHeight in class ImageReaderIOExceptionpublic Iterator getImageTypes(int imageIndex) throws IOException
getImageTypes in class ImageReaderIOExceptionpublic ImageReadParam getDefaultReadParam()
getDefaultReadParam in class ImageReaderpublic IIOMetadata getImageMetadata(int imageIndex) throws IOException
getImageMetadata in class ImageReaderIOExceptionpublic IIOMetadata getStreamMetadata() throws IOException
getStreamMetadata in class ImageReaderIOExceptionpublic boolean isRandomAccessEasy(int imageIndex)
throws IOException
isRandomAccessEasy in class ImageReaderIOExceptionpublic BufferedImage read(int imageIndex, ImageReadParam param) throws IOException
read in class ImageReaderIOExceptionpublic RenderedImage readAsRenderedImage(int imageIndex, ImageReadParam param) throws IOException
readAsRenderedImage in class ImageReaderIOExceptionpublic Raster readRaster(int imageIndex, ImageReadParam param) throws IOException
readRaster in class ImageReaderIOExceptionpublic boolean canReadRaster()
canReadRaster in class ImageReaderpublic void reset()
reset in class ImageReaderpublic void processImageUpdateWrapper(BufferedImage theImage, int minX, int minY, int width, int height, int periodX, int periodY, int[] bands)
processImageUpdate
So it can be access from the classes which are not in
ImageReader hierachy.public void processImageProgressWrapper(float percentageDone)
processImageProgress
So it can be access from the classes which are not in
ImageReader hierachy.public boolean getAbortRequest()
abortRequested
to allow the abortions be monitored by J2KReadState.Copyright © 2014 Open Microscopy Environment