public class TIFFRenderedImage extends Object implements RenderedImage
| Modifier and Type | Field and Description |
|---|---|
(package private) int |
height |
(package private) int |
imageIndex |
(package private) boolean |
isSubsampling |
(package private) ImageTypeSpecifier |
its |
(package private) TIFFImageReader |
reader |
(package private) int |
subsampleX |
(package private) int |
subsampleY |
(package private) int |
tileHeight |
(package private) ImageReadParam |
tileParam |
(package private) int |
tileWidth |
(package private) int |
width |
| Constructor and Description |
|---|
TIFFRenderedImage(TIFFImageReader reader,
int imageIndex,
ImageReadParam readParam,
int width,
int height) |
| Modifier and Type | Method and Description |
|---|---|
private ImageReadParam |
cloneImageReadParam(ImageReadParam param,
boolean copyTagSets)
Creates a copy of
param. |
WritableRaster |
copyData(WritableRaster raster) |
ColorModel |
getColorModel() |
Raster |
getData() |
Raster |
getData(Rectangle rect) |
int |
getHeight() |
int |
getMinTileX() |
int |
getMinTileY() |
int |
getMinX() |
int |
getMinY() |
int |
getNumXTiles() |
int |
getNumYTiles() |
Object |
getProperty(String name) |
String[] |
getPropertyNames() |
SampleModel |
getSampleModel() |
Vector |
getSources() |
Raster |
getTile(int tileX,
int tileY) |
int |
getTileGridXOffset() |
int |
getTileGridYOffset() |
int |
getTileHeight() |
int |
getTileWidth() |
int |
getWidth() |
WritableRaster |
read(Rectangle rect) |
TIFFImageReader reader
int imageIndex
ImageReadParam tileParam
int subsampleX
int subsampleY
boolean isSubsampling
int width
int height
int tileWidth
int tileHeight
ImageTypeSpecifier its
public TIFFRenderedImage(TIFFImageReader reader, int imageIndex, ImageReadParam readParam, int width, int height) throws IOException
IOExceptionprivate ImageReadParam cloneImageReadParam(ImageReadParam param, boolean copyTagSets)
param. The source subsampling and
and bands settings and the destination bands and offset settings
are copied. If param is a TIFFImageReadParam
then the TIFFDecompressor and
TIFFColorConverter settings are also copied; otherwise
they are explicitly set to null.param - the parameters to be copied.copyTagSets - whether the TIFFTagSet settings
should be copied if set.public Vector getSources()
getSources in interface RenderedImagepublic Object getProperty(String name)
getProperty in interface RenderedImagepublic String[] getPropertyNames()
getPropertyNames in interface RenderedImagepublic ColorModel getColorModel()
getColorModel in interface RenderedImagepublic SampleModel getSampleModel()
getSampleModel in interface RenderedImagepublic int getWidth()
getWidth in interface RenderedImagepublic int getHeight()
getHeight in interface RenderedImagepublic int getMinX()
getMinX in interface RenderedImagepublic int getMinY()
getMinY in interface RenderedImagepublic int getNumXTiles()
getNumXTiles in interface RenderedImagepublic int getNumYTiles()
getNumYTiles in interface RenderedImagepublic int getMinTileX()
getMinTileX in interface RenderedImagepublic int getMinTileY()
getMinTileY in interface RenderedImagepublic int getTileWidth()
getTileWidth in interface RenderedImagepublic int getTileHeight()
getTileHeight in interface RenderedImagepublic int getTileGridXOffset()
getTileGridXOffset in interface RenderedImagepublic int getTileGridYOffset()
getTileGridYOffset in interface RenderedImagepublic Raster getTile(int tileX, int tileY)
getTile in interface RenderedImagepublic Raster getData()
getData in interface RenderedImagepublic Raster getData(Rectangle rect)
getData in interface RenderedImagepublic WritableRaster read(Rectangle rect)
public WritableRaster copyData(WritableRaster raster)
copyData in interface RenderedImageCopyright © 2016 Open Microscopy Environment