public class J2KReadState
extends java.lang.Object
Constructor and Description |
---|
J2KReadState(javax.imageio.stream.ImageInputStream iis,
J2KImageReadParamJava param,
J2KImageReader reader)
Constructs
J2KReadState . |
J2KReadState(javax.imageio.stream.ImageInputStream iis,
J2KImageReadParamJava param,
J2KMetadata metadata,
J2KImageReader reader)
Constructs
J2KReadState . |
Modifier and Type | Method and Description |
---|---|
java.awt.image.ColorModel |
getColorModel() |
java.awt.Rectangle |
getDestinationRegion() |
HeaderDecoder |
getHeader() |
int |
getHeight() |
javax.imageio.ImageTypeSpecifier |
getImageType() |
java.awt.image.SampleModel |
getSampleModel() |
java.awt.image.Raster |
getTile(int tileX,
int tileY,
java.awt.image.WritableRaster raster) |
int |
getWidth() |
java.awt.image.Raster |
readAsRaster() |
java.awt.image.BufferedImage |
readBufferedImage() |
public J2KReadState(javax.imageio.stream.ImageInputStream iis, J2KImageReadParamJava param, J2KMetadata metadata, J2KImageReader reader)
J2KReadState
.iis
- The input stream.param
- The reading parameters.metadata
- The J2KMetadata
to cache the metadata read
from the input stream.reader
- The J2KImageReader
which holds this state.
It is necessary for processing abortion.public J2KReadState(javax.imageio.stream.ImageInputStream iis, J2KImageReadParamJava param, J2KImageReader reader)
J2KReadState
.iis
- The input stream.param
- The reading parameters.reader
- The J2KImageReader
which holds this state.
It is necessary for processing abortion.public int getWidth() throws java.io.IOException
java.io.IOException
public int getHeight() throws java.io.IOException
java.io.IOException
public HeaderDecoder getHeader()
public java.awt.image.Raster getTile(int tileX, int tileY, java.awt.image.WritableRaster raster) throws java.io.IOException
java.io.IOException
public java.awt.Rectangle getDestinationRegion()
public java.awt.image.BufferedImage readBufferedImage() throws java.io.IOException
java.io.IOException
public java.awt.image.Raster readAsRaster() throws java.io.IOException
java.io.IOException
public javax.imageio.ImageTypeSpecifier getImageType() throws java.io.IOException
java.io.IOException
public java.awt.image.SampleModel getSampleModel()
public java.awt.image.ColorModel getColorModel()
Copyright © 2014 Open Microscopy Environment