public class J2KReadState extends Object
| Constructor and Description |
|---|
J2KReadState(ImageInputStream iis,
J2KImageReadParamJava param,
J2KImageReader reader)
Constructs
J2KReadState. |
J2KReadState(ImageInputStream iis,
J2KImageReadParamJava param,
J2KMetadata metadata,
J2KImageReader reader)
Constructs
J2KReadState. |
| Modifier and Type | Method and Description |
|---|---|
ColorModel |
getColorModel() |
Rectangle |
getDestinationRegion() |
HeaderDecoder |
getHeader() |
int |
getHeight() |
ImageTypeSpecifier |
getImageType() |
SampleModel |
getSampleModel() |
Raster |
getTile(int tileX,
int tileY,
WritableRaster raster) |
int |
getWidth() |
Raster |
readAsRaster() |
BufferedImage |
readBufferedImage() |
public J2KReadState(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(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 IOException
IOExceptionpublic int getHeight()
throws IOException
IOExceptionpublic HeaderDecoder getHeader()
public Raster getTile(int tileX, int tileY, WritableRaster raster) throws IOException
IOExceptionpublic Rectangle getDestinationRegion()
public BufferedImage readBufferedImage() throws IOException
IOExceptionpublic Raster readAsRaster() throws IOException
IOExceptionpublic ImageTypeSpecifier getImageType() throws IOException
IOExceptionpublic SampleModel getSampleModel()
public ColorModel getColorModel()
Copyright © 2014 Open Microscopy Environment