public class RawImageReader
extends javax.imageio.ImageReader
PNMImageReadParam
.Constructor and Description |
---|
RawImageReader(javax.imageio.spi.ImageReaderSpi originator)
Constructs
RawImageReader from the provided
ImageReaderSpi . |
Modifier and Type | Method and Description |
---|---|
boolean |
canReadRaster() |
static void |
computeRegionsWrapper(javax.imageio.ImageReadParam param,
int srcWidth,
int srcHeight,
java.awt.image.BufferedImage image,
java.awt.Rectangle srcRegion,
java.awt.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 . |
javax.imageio.ImageReadParam |
getDefaultReadParam() |
int |
getHeight(int imageIndex) |
javax.imageio.metadata.IIOMetadata |
getImageMetadata(int imageIndex) |
java.util.Iterator |
getImageTypes(int imageIndex) |
int |
getNumImages(boolean allowSearch)
Overrides the method defined in the superclass.
|
javax.imageio.metadata.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(java.awt.image.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. |
java.awt.image.BufferedImage |
read(int imageIndex,
javax.imageio.ImageReadParam param) |
java.awt.image.RenderedImage |
readAsRenderedImage(int imageIndex,
javax.imageio.ImageReadParam param) |
java.awt.image.Raster |
readRaster(int imageIndex,
javax.imageio.ImageReadParam param) |
void |
reset() |
void |
setInput(java.lang.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, setLocale
public RawImageReader(javax.imageio.spi.ImageReaderSpi originator)
RawImageReader
from the provided
ImageReaderSpi
.public static void computeRegionsWrapper(javax.imageio.ImageReadParam param, int srcWidth, int srcHeight, java.awt.image.BufferedImage image, java.awt.Rectangle srcRegion, java.awt.Rectangle destRegion)
computeRegions
. So it
can be access from the classes which are not in ImageReader
hierachy.public void setInput(java.lang.Object input, boolean seekForwardOnly, boolean ignoreMetadata)
setInput
in class javax.imageio.ImageReader
public int getNumImages(boolean allowSearch) throws java.io.IOException
getNumImages
in class javax.imageio.ImageReader
java.io.IOException
public int getWidth(int imageIndex) throws java.io.IOException
getWidth
in class javax.imageio.ImageReader
java.io.IOException
public int getHeight(int imageIndex) throws java.io.IOException
getHeight
in class javax.imageio.ImageReader
java.io.IOException
public int getTileWidth(int imageIndex) throws java.io.IOException
getTileWidth
in class javax.imageio.ImageReader
java.io.IOException
public int getTileHeight(int imageIndex) throws java.io.IOException
getTileHeight
in class javax.imageio.ImageReader
java.io.IOException
public java.util.Iterator getImageTypes(int imageIndex) throws java.io.IOException
getImageTypes
in class javax.imageio.ImageReader
java.io.IOException
public javax.imageio.ImageReadParam getDefaultReadParam()
getDefaultReadParam
in class javax.imageio.ImageReader
public javax.imageio.metadata.IIOMetadata getImageMetadata(int imageIndex) throws java.io.IOException
getImageMetadata
in class javax.imageio.ImageReader
java.io.IOException
public javax.imageio.metadata.IIOMetadata getStreamMetadata() throws java.io.IOException
getStreamMetadata
in class javax.imageio.ImageReader
java.io.IOException
public boolean isRandomAccessEasy(int imageIndex) throws java.io.IOException
isRandomAccessEasy
in class javax.imageio.ImageReader
java.io.IOException
public java.awt.image.BufferedImage read(int imageIndex, javax.imageio.ImageReadParam param) throws java.io.IOException
read
in class javax.imageio.ImageReader
java.io.IOException
public java.awt.image.RenderedImage readAsRenderedImage(int imageIndex, javax.imageio.ImageReadParam param) throws java.io.IOException
readAsRenderedImage
in class javax.imageio.ImageReader
java.io.IOException
public java.awt.image.Raster readRaster(int imageIndex, javax.imageio.ImageReadParam param) throws java.io.IOException
readRaster
in class javax.imageio.ImageReader
java.io.IOException
public boolean canReadRaster()
canReadRaster
in class javax.imageio.ImageReader
public void reset()
reset
in class javax.imageio.ImageReader
public void processImageUpdateWrapper(java.awt.image.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