public interface ICompressedTileReader
Modifier and Type | Method and Description |
---|---|
default Codec |
getTileCodec(int no)
Retrieve a codec that can be used to decompress compressed tiles.
|
default CodecOptions |
getTileCodecOptions(int no,
int x,
int y)
Retrieve codec options that can be used to decompressed the specified tile.
|
default int |
getTileColumns(int no)
Get the number of columns of tiles in the specified plane in the current series.
|
default int |
getTileRows(int no)
Get the number of rows of tiles in the specified plane in the current series.
|
default byte[] |
openCompressedBytes(int no,
byte[] buf,
int x,
int y)
Retrieve the specified tile without performing any decompression.
|
default byte[] |
openCompressedBytes(int no,
int x,
int y)
Retrieve the specified tile without performing any decompression.
|
default int getTileRows(int no)
no
- plane indexdefault int getTileColumns(int no)
no
- plane indexdefault byte[] openCompressedBytes(int no, int x, int y) throws FormatException, java.io.IOException
no
- plane indexx
- tile X index (indexed from 0, @see getTileColumns(int))y
- tile Y index (indexed from 0, @see getTileRows(int))FormatException
java.io.IOException
default byte[] openCompressedBytes(int no, byte[] buf, int x, int y) throws FormatException, java.io.IOException
no
- plane indexbuf
- pre-allocated buffer in which to store compressed bytesx
- tile X index (indexed from 0, @see getTileColumns(int))y
- tile Y index (indexed from 0, @see getTileRows(int))FormatException
java.io.IOException
default Codec getTileCodec(int no) throws FormatException, java.io.IOException
no
- plane indexFormatException
java.io.IOException
openCompressedBytes(int, int, int)
default CodecOptions getTileCodecOptions(int no, int x, int y) throws FormatException, java.io.IOException
no
- plane indexx
- tile X index (indexed from 0, @see getTileColumns(int))y
- tile Y index (indexed from 0, @see getTileRows(int))FormatException
java.io.IOException
getTileCodec(int)
Copyright © 2024 Open Microscopy Environment