public interface ImageProvider
| Modifier and Type | Method and Description |
|---|---|
IcyBufferedImage |
getImage(int z,
int t)
Returns the image located at specified position.
|
IcyBufferedImage |
getImage(int series,
int z,
int t)
Returns the image located at specified position.
|
IcyBufferedImage |
getImage(int series,
int resolution,
int z,
int t)
Returns the image located at specified position.
|
IcyBufferedImage |
getImage(int series,
int resolution,
int z,
int t,
int c)
Returns the image located at specified position.
|
IcyBufferedImage |
getImage(int series,
int resolution,
java.awt.Rectangle region,
int z,
int t)
Returns the image located at specified position.
|
IcyBufferedImage |
getImage(int series,
int resolution,
java.awt.Rectangle region,
int z,
int t,
int c)
Returns the image located at specified position.
|
loci.formats.ome.OMEXMLMetadataImpl |
getMetaData()
Deprecated.
Use
getOMEXMLMetaData() instead. |
ome.xml.meta.OMEXMLMetadata |
getOMEXMLMetaData()
Returns the image metadata in OME format (metadata provides many informations about the image).
|
java.lang.Object |
getPixels(int series,
int resolution,
java.awt.Rectangle region,
int z,
int t,
int c)
Returns the pixel data located for specified position of the image.
|
IcyBufferedImage |
getThumbnail(int series)
Returns the image thumbnail for the specified series of the image.
|
int |
getTileHeight(int series)
Returns the (optimal) tile height for the specified series of the image.
|
int |
getTileWidth(int series)
Returns the (optimal) tile width for the specified series of the image.
|
boolean |
isResolutionAvailable(int series,
int resolution)
Returns
true if the given sub resolution is available from this series. |
ome.xml.meta.OMEXMLMetadata getOMEXMLMetaData() throws UnsupportedFormatException, java.io.IOException
MetaDataUtil.getNumSeries(OMEXMLMetadata)MetaDataUtil.getSizeX(OMEXMLMetadata, int)MetaDataUtil.getSizeY(OMEXMLMetadata, int)MetaDataUtil.getSizeZ(OMEXMLMetadata, int)MetaDataUtil.getSizeT(OMEXMLMetadata, int)MetaDataUtil.getSizeC(OMEXMLMetadata, int)MetaDataUtil.getDataType(OMEXMLMetadata, int)MetaDataUtil.getPositionX(OMEXMLMetadata, int, int, int, int, double)MetaDataUtil.getPositionY(OMEXMLMetadata, int, int, int, int, double)MetaDataUtil.getPositionZ(OMEXMLMetadata, int, int, int, int, double)MetaDataUtil.getPositionT(OMEXMLMetadata, int, long)MetaDataUtil.getPositionTOffset(OMEXMLMetadata, int, int, int, int, double)UnsupportedFormatExceptionjava.io.IOException@Deprecated loci.formats.ome.OMEXMLMetadataImpl getMetaData() throws UnsupportedFormatException, java.io.IOException
getOMEXMLMetaData() instead.UnsupportedFormatExceptionjava.io.IOExceptionint getTileWidth(int series) throws UnsupportedFormatException, java.io.IOException
0 if tile loading is not supported and -1 if any tile size
can be used.series - Series index for multi series image (use 0 if unsure).UnsupportedFormatExceptionjava.io.IOExceptionint getTileHeight(int series) throws UnsupportedFormatException, java.io.IOException
0 if tile loading is not supported and -1 if any tile size
can be used.series - Series index for multi series image (use 0 if unsure).UnsupportedFormatExceptionjava.io.IOExceptionboolean isResolutionAvailable(int series, int resolution) throws UnsupportedFormatException, java.io.IOException
true if the given sub resolution is available from this series.IcyBufferedImageUtil.downscaleBy2(IcyBufferedImage, boolean, int) method.image.originalResolution / (2^resolution)true).series - Series index for multi series image (use 0 if unsure).resolution - Resolution levelUnsupportedFormatExceptionjava.io.IOExceptionIcyBufferedImage getThumbnail(int series) throws UnsupportedFormatException, java.io.IOException
series - Series index for multi series image (use 0 if unsure).UnsupportedFormatExceptionjava.io.IOExceptionjava.lang.Object getPixels(int series, int resolution, java.awt.Rectangle region, int z, int t, int c) throws UnsupportedFormatException, java.io.IOException
OMEXMLMetadataImpl.getPixelsType(int)series - Series index for multi series image (use 0 if unsure).resolution - Wanted resolution level for the image (use 0 if unsure).image.originalResolution / (2^resolution)region - The 2D region we want to retrieve (considering the original image resolution).null then the whole image is returned.z - Z position of the image (slice) we want retrieve data fromt - T position of the image (frame) we want retrieve data fromc - C position of the image (channel) we want retrieve (-1 is not accepted here).UnsupportedFormatExceptionjava.io.IOExceptionisResolutionAvailable(int, int)IcyBufferedImage getImage(int series, int resolution, java.awt.Rectangle region, int z, int t, int c) throws UnsupportedFormatException, java.io.IOException
series - Series index for multi series image (use 0 if unsure).resolution - Wanted resolution level for the image (use 0 if unsure).image.originalResolution / (2^resolution)region - The 2D region we want to retrieve (considering the original image resolution).null then the whole image is returned.z - Z position of the image (slice) we want retrievet - T position of the image (frame) we want retrievec - C position of the image (channel) we want retrieve (-1 means all channel).UnsupportedFormatExceptionjava.io.IOExceptionisResolutionAvailable(int, int)IcyBufferedImage getImage(int series, int resolution, java.awt.Rectangle region, int z, int t) throws UnsupportedFormatException, java.io.IOException
series - Series index for multi series image (use 0 if unsure).resolution - Wanted resolution level for the image (use 0 if unsure).image.originalResolution / (2^resolution)region - The 2D region we want to retrieve (considering the original image resolution).null then the whole image is returned.z - Z position of the image (slice) we want retrievet - T position of the image (frame) we want retrieveUnsupportedFormatExceptionjava.io.IOExceptionisResolutionAvailable(int, int)IcyBufferedImage getImage(int series, int resolution, int z, int t, int c) throws UnsupportedFormatException, java.io.IOException
series - Series index for multi series image (use 0 if unsure).resolution - Wanted resolution level for the image (use 0 if unsure).image.originalResolution / (2^resolution)z - Z position of the image (slice) we want retrievet - T position of the image (frame) we want retrievec - C position of the image (channel) we want retrieve (-1 means all channel).UnsupportedFormatExceptionjava.io.IOExceptionisResolutionAvailable(int, int)IcyBufferedImage getImage(int series, int resolution, int z, int t) throws UnsupportedFormatException, java.io.IOException
series - Series index for multi series image (use 0 if unsure).resolution - Wanted resolution level for the image (use 0 if unsure).image.originalResolution / (2^resolution)z - Z position of the image (slice) we want retrievet - T position of the image (frame) we want retrieveUnsupportedFormatExceptionjava.io.IOExceptionisResolutionAvailable(int, int)IcyBufferedImage getImage(int series, int z, int t) throws UnsupportedFormatException, java.io.IOException
series - Series index for multi series image (use 0 if unsure).z - Z position of the image (slice) we want retrievet - T position of the image (frame) we want retrieveUnsupportedFormatExceptionjava.io.IOExceptionIcyBufferedImage getImage(int z, int t) throws UnsupportedFormatException, java.io.IOException
z - Z position of the image (slice) we want retrievet - T position of the image (frame) we want retrieveUnsupportedFormatExceptionjava.io.IOException