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 serie,
int z,
int t)
Returns the image located at specified position.
|
IcyBufferedImage |
getImage(int serie,
int resolution,
int z,
int t)
Returns the image located at specified position.
|
IcyBufferedImage |
getImage(int serie,
int resolution,
int z,
int t,
int c)
Returns the image located at specified position.
|
IcyBufferedImage |
getImage(int serie,
int resolution,
java.awt.Rectangle rectangle,
int z,
int t)
Returns the image located at specified position.
|
IcyBufferedImage |
getImage(int serie,
int resolution,
java.awt.Rectangle rectangle,
int z,
int t,
int c)
Returns the image located at specified position.
|
loci.formats.ome.OMEXMLMetadataImpl |
getMetaData()
Returns the image metadata in OME format.
|
java.lang.Object |
getPixels(int serie,
int resolution,
java.awt.Rectangle rectangle,
int z,
int t,
int c)
Returns the pixel data located for specified position of the image.
|
IcyBufferedImage |
getThumbnail(int serie)
Returns the image thumbnail for the specified serie of the image.
|
int |
getTileHeight(int serie)
Returns the (optimal) tile height for the specified serie of the image.
|
int |
getTileWidth(int serie)
Returns the (optimal) tile width for the specified serie of the image.
|
loci.formats.ome.OMEXMLMetadataImpl getMetaData() throws UnsupportedFormatException, java.io.IOException
OMEXMLMetadataImpl.getImageCount()
OMEXMLMetadataImpl.getPixelsSizeX(int)
OMEXMLMetadataImpl.getPixelsSizeY(int)
OMEXMLMetadataImpl.getPixelsSizeZ(int)
OMEXMLMetadataImpl.getPixelsSizeT(int)
OMEXMLMetadataImpl.getPixelsSizeC(int)
OMEXMLMetadataImpl.getPixelsSizeX(int)
OMEXMLMetadataImpl.getPixelsType(int)
UnsupportedFormatException
java.io.IOException
int getTileWidth(int serie) throws UnsupportedFormatException, java.io.IOException
0
if tile loading is not supported and -1
if any tile size
can be used.serie
- Serie index for multi serie image (use 0 if unsure).UnsupportedFormatException
java.io.IOException
int getTileHeight(int serie) throws UnsupportedFormatException, java.io.IOException
0
if tile loading is not supported and -1
if any tile size
can be used.serie
- Serie index for multi serie image (use 0 if unsure).UnsupportedFormatException
java.io.IOException
IcyBufferedImage getThumbnail(int serie) throws UnsupportedFormatException, java.io.IOException
serie
- Serie index for multi serie image (use 0 if unsure).UnsupportedFormatException
java.io.IOException
java.lang.Object getPixels(int serie, int resolution, java.awt.Rectangle rectangle, int z, int t, int c) throws UnsupportedFormatException, java.io.IOException
OMEXMLMetadataImpl.getPixelsType(int)
serie
- Serie index for multi serie image (use 0 if unsure).resolution
- Wanted resolution level for the image (use 0 if unsure).image.resolution / (2^resolution)
rectangle
- The 2D region we want to retrieve.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).UnsupportedFormatException
java.io.IOException
IcyBufferedImage getImage(int serie, int resolution, java.awt.Rectangle rectangle, int z, int t, int c) throws UnsupportedFormatException, java.io.IOException
serie
- Serie index for multi serie image (use 0 if unsure).resolution
- Wanted resolution level for the image (use 0 if unsure).image.resolution / (2^resolution)
rectangle
- The 2D region we want to retrieve.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).UnsupportedFormatException
java.io.IOException
IcyBufferedImage getImage(int serie, int resolution, java.awt.Rectangle rectangle, int z, int t) throws UnsupportedFormatException, java.io.IOException
serie
- Serie index for multi serie image (use 0 if unsure).resolution
- Wanted resolution level for the image (use 0 if unsure).image.resolution / (2^resolution)
rectangle
- The 2D region we want to retrieve.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 retrieveUnsupportedFormatException
java.io.IOException
IcyBufferedImage getImage(int serie, int resolution, int z, int t, int c) throws UnsupportedFormatException, java.io.IOException
serie
- Serie index for multi serie image (use 0 if unsure).resolution
- Wanted resolution level for the image (use 0 if unsure).image.resolution / (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).UnsupportedFormatException
java.io.IOException
IcyBufferedImage getImage(int serie, int resolution, int z, int t) throws UnsupportedFormatException, java.io.IOException
serie
- Serie index for multi serie image (use 0 if unsure).resolution
- Wanted resolution level for the image (use 0 if unsure).image.resolution / (2^resolution)
z
- Z position of the image (slice) we want retrievet
- T position of the image (frame) we want retrieveUnsupportedFormatException
java.io.IOException
IcyBufferedImage getImage(int serie, int z, int t) throws UnsupportedFormatException, java.io.IOException
serie
- Serie index for multi serie image (use 0 if unsure).z
- Z position of the image (slice) we want retrievet
- T position of the image (frame) we want retrieveUnsupportedFormatException
java.io.IOException
IcyBufferedImage 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 retrieveUnsupportedFormatException
java.io.IOException