Package loci.formats
Class TileStitcher
java.lang.Object
loci.formats.ReaderWrapper
loci.formats.TileStitcher
- All Implemented Interfaces:
Closeable,AutoCloseable,loci.formats.ICompressedTileReader,loci.formats.IFormatHandler,loci.formats.IFormatReader,loci.formats.IMetadataConfigurable,loci.formats.IPyramidHandler
public class TileStitcher
extends loci.formats.ReaderWrapper
-
Field Summary
Fields inherited from class loci.formats.ReaderWrapper
readerFields inherited from interface loci.formats.IFormatReader
CAN_GROUP, CANNOT_GROUP, MUST_GROUP -
Constructor Summary
ConstructorsConstructorDescriptionConstructs a TileStitcher around a new image reader.TileStitcher(loci.formats.IFormatReader r) Constructs a TileStitcher with the given reader. -
Method Summary
Modifier and TypeMethodDescriptionClass<?>intintgetSizeX()intgetSizeY()loci.common.RegiongetTileBoundingBox(int no, int x, int y) loci.formats.codec.CodecgetTileCodec(int no) loci.formats.codec.CodecOptionsgetTileCodecOptions(int no, int x, int y) intgetTileColumns(int no) intgetTileRows(int no) static TileStitchermakeTileStitcher(loci.formats.IFormatReader r) Converts the given reader into a TileStitcher, wrapping if needed.byte[]openBytes(int no) byte[]openBytes(int no, byte[] buf) byte[]openBytes(int no, byte[] buf, int x, int y, int w, int h) byte[]openBytes(int no, int x, int y, int w, int h) byte[]openCompressedBytes(int no, byte[] buf, int x, int y) byte[]openCompressedBytes(int no, int x, int y) voidMethods inherited from class loci.formats.ReaderWrapper
close, close, coreIndexToSeries, duplicate, fileGroupOption, get16BitLookupTable, get8BitLookupTable, getAdvancedSeriesUsedFiles, getAdvancedUsedFiles, getBitsPerPixel, getCoreIndex, getCoreMetadataList, getCurrentFile, getDatasetStructureDescription, getDimensionOrder, getDomains, getEffectiveSizeC, getFillColor, getFormat, getGlobalMetadata, getImageCount, getIndex, getIndex, getMetadataOptions, getMetadataStore, getMetadataStoreRoot, getMetadataValue, getModuloC, getModuloT, getModuloZ, getOptimalTileHeight, getOptimalTileWidth, getPixelType, getPossibleDomains, getReader, getRequiredDirectories, getResolution, getResolutionCount, getRGBChannelCount, getSeries, getSeriesMetadata, getSeriesMetadataValue, getSeriesUsedFiles, getSeriesUsedFiles, getSizeC, getSizeT, getSizeZ, getSuffixes, getSupportedMetadataLevels, getThumbSizeX, getThumbSizeY, getUnderlyingReaders, getUsedFiles, getUsedFiles, getZCTCoords, getZCTModuloCoords, hasCompanionFiles, hasFlattenedResolutions, isFalseColor, isGroupFiles, isIndexed, isInterleaved, isInterleaved, isLittleEndian, isMetadataComplete, isMetadataFiltered, isNormalized, isOrderCertain, isOriginalMetadataPopulated, isRGB, isSingleFile, isThisType, isThisType, isThisType, isThisType, isThumbnailSeries, openPlane, openThumbBytes, reopenFile, seriesToCoreIndex, setCoreIndex, setFillColor, setFlattenedResolutions, setGroupFiles, setMetadataFiltered, setMetadataOptions, setMetadataStore, setNormalized, setOriginalMetadataPopulated, setResolution, setSeries, unwrap, unwrap, unwrap
-
Constructor Details
-
TileStitcher
public TileStitcher()Constructs a TileStitcher around a new image reader. -
TileStitcher
public TileStitcher(loci.formats.IFormatReader r) Constructs a TileStitcher with the given reader.
-
-
Method Details
-
makeTileStitcher
Converts the given reader into a TileStitcher, wrapping if needed. -
getSizeX
public int getSizeX()- Specified by:
getSizeXin interfaceloci.formats.IFormatReader- Overrides:
getSizeXin classloci.formats.ReaderWrapper
-
getSizeY
public int getSizeY()- Specified by:
getSizeYin interfaceloci.formats.IFormatReader- Overrides:
getSizeYin classloci.formats.ReaderWrapper
-
getSeriesCount
public int getSeriesCount()- Specified by:
getSeriesCountin interfaceloci.formats.IFormatReader- Overrides:
getSeriesCountin classloci.formats.ReaderWrapper
-
openBytes
- Specified by:
openBytesin interfaceloci.formats.IFormatReader- Overrides:
openBytesin classloci.formats.ReaderWrapper- Throws:
loci.formats.FormatExceptionIOException
-
openBytes
- Specified by:
openBytesin interfaceloci.formats.IFormatReader- Overrides:
openBytesin classloci.formats.ReaderWrapper- Throws:
loci.formats.FormatExceptionIOException
-
openBytes
public byte[] openBytes(int no, int x, int y, int w, int h) throws loci.formats.FormatException, IOException - Specified by:
openBytesin interfaceloci.formats.IFormatReader- Overrides:
openBytesin classloci.formats.ReaderWrapper- Throws:
loci.formats.FormatExceptionIOException
-
openBytes
public byte[] openBytes(int no, byte[] buf, int x, int y, int w, int h) throws loci.formats.FormatException, IOException - Specified by:
openBytesin interfaceloci.formats.IFormatReader- Overrides:
openBytesin classloci.formats.ReaderWrapper- Throws:
loci.formats.FormatExceptionIOException
-
setId
- Specified by:
setIdin interfaceloci.formats.IFormatHandler- Overrides:
setIdin classloci.formats.ReaderWrapper- Throws:
loci.formats.FormatExceptionIOException
-
getTileRows
public int getTileRows(int no) - Specified by:
getTileRowsin interfaceloci.formats.ICompressedTileReader- Overrides:
getTileRowsin classloci.formats.ReaderWrapper
-
getTileColumns
public int getTileColumns(int no) - Specified by:
getTileColumnsin interfaceloci.formats.ICompressedTileReader- Overrides:
getTileColumnsin classloci.formats.ReaderWrapper
-
getTileBoundingBox
public loci.common.Region getTileBoundingBox(int no, int x, int y) - Specified by:
getTileBoundingBoxin interfaceloci.formats.ICompressedTileReader- Overrides:
getTileBoundingBoxin classloci.formats.ReaderWrapper
-
openCompressedBytes
public byte[] openCompressedBytes(int no, int x, int y) throws loci.formats.FormatException, IOException - Specified by:
openCompressedBytesin interfaceloci.formats.ICompressedTileReader- Overrides:
openCompressedBytesin classloci.formats.ReaderWrapper- Throws:
loci.formats.FormatExceptionIOException
-
openCompressedBytes
public byte[] openCompressedBytes(int no, byte[] buf, int x, int y) throws loci.formats.FormatException, IOException - Specified by:
openCompressedBytesin interfaceloci.formats.ICompressedTileReader- Overrides:
openCompressedBytesin classloci.formats.ReaderWrapper- Throws:
loci.formats.FormatExceptionIOException
-
getTileCodec
public loci.formats.codec.Codec getTileCodec(int no) throws loci.formats.FormatException, IOException - Specified by:
getTileCodecin interfaceloci.formats.ICompressedTileReader- Overrides:
getTileCodecin classloci.formats.ReaderWrapper- Throws:
loci.formats.FormatExceptionIOException
-
getTileCodecOptions
public loci.formats.codec.CodecOptions getTileCodecOptions(int no, int x, int y) throws loci.formats.FormatException, IOException - Specified by:
getTileCodecOptionsin interfaceloci.formats.ICompressedTileReader- Overrides:
getTileCodecOptionsin classloci.formats.ReaderWrapper- Throws:
loci.formats.FormatExceptionIOException
-
getNativeDataType
- Specified by:
getNativeDataTypein interfaceloci.formats.IFormatHandler- Overrides:
getNativeDataTypein classloci.formats.ReaderWrapper
-