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
IOException
private 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 RenderedImage
public Object getProperty(String name)
getProperty
in interface RenderedImage
public String[] getPropertyNames()
getPropertyNames
in interface RenderedImage
public ColorModel getColorModel()
getColorModel
in interface RenderedImage
public SampleModel getSampleModel()
getSampleModel
in interface RenderedImage
public int getWidth()
getWidth
in interface RenderedImage
public int getHeight()
getHeight
in interface RenderedImage
public int getMinX()
getMinX
in interface RenderedImage
public int getMinY()
getMinY
in interface RenderedImage
public int getNumXTiles()
getNumXTiles
in interface RenderedImage
public int getNumYTiles()
getNumYTiles
in interface RenderedImage
public int getMinTileX()
getMinTileX
in interface RenderedImage
public int getMinTileY()
getMinTileY
in interface RenderedImage
public int getTileWidth()
getTileWidth
in interface RenderedImage
public int getTileHeight()
getTileHeight
in interface RenderedImage
public int getTileGridXOffset()
getTileGridXOffset
in interface RenderedImage
public int getTileGridYOffset()
getTileGridYOffset
in interface RenderedImage
public Raster getTile(int tileX, int tileY)
getTile
in interface RenderedImage
public Raster getData()
getData
in interface RenderedImage
public Raster getData(Rectangle rect)
getData
in interface RenderedImage
public WritableRaster read(Rectangle rect)
public WritableRaster copyData(WritableRaster raster)
copyData
in interface RenderedImage
Copyright © 2017 Open Microscopy Environment