/** Gets the file pattern object used to build the list of files. */ public FilePattern getFilePattern() { FormatTools.assertId(getCurrentFile(), true, 2); return noStitch ? findPattern(getCurrentFile()) : externals[getExternalSeries()].getFilePattern(); }
@Override public MetadataStore getMetadataStore() { FormatTools.assertId(getCurrentFile(), true, 2); return noStitch ? reader.getMetadataStore() : store; }
/** Gets the file pattern object used to build the list of files. */ public FilePattern getFilePattern() { FormatTools.assertId(getCurrentFile(), true, 2); return noStitch ? findPattern(getCurrentFile()) : externals[getExternalSeries()].getFilePattern(); }
@Override public boolean isThumbnailSeries() { FormatTools.assertId(getCurrentFile(), true, 2); return noStitch ? reader.isThumbnailSeries() : core.get(getCoreIndex()).thumbnail; }
@Override public Hashtable<String, Object> getSeriesMetadata() { FormatTools.assertId(getCurrentFile(), true, 2); return noStitch ? reader.getSeriesMetadata() : core.get(getCoreIndex()).seriesMetadata; }
@Override public int getImageCount() { FormatTools.assertId(getCurrentFile(), true, 2); return noStitch ? reader.getImageCount() : core.get(getCoreIndex()).imageCount; }
@Override public int getSizeZ() { FormatTools.assertId(getCurrentFile(), true, 2); return noStitch ? reader.getSizeZ() : core.get(getCoreIndex()).sizeZ; }
@Override public int getImageCount() { FormatTools.assertId(getCurrentFile(), true, 2); return noStitch ? reader.getImageCount() : core.get(getCoreIndex()).imageCount; }
@Override public int getPixelType() { FormatTools.assertId(getCurrentFile(), true, 2); return noStitch ? reader.getPixelType() : core.get(getCoreIndex()).pixelType; }
@Override public int getSizeY() { FormatTools.assertId(getCurrentFile(), true, 2); return noStitch ? reader.getSizeY() : core.get(getCoreIndex()).sizeY; }
@Override public boolean isThumbnailSeries() { FormatTools.assertId(getCurrentFile(), true, 2); return noStitch ? reader.isThumbnailSeries() : core.get(getCoreIndex()).thumbnail; }
@Override public int getCoreIndex() { FormatTools.assertId(getCurrentFile(), true, 2); return reader.getCoreIndex() > 0 ? reader.getCoreIndex() : coreIndex; }
@Override public void setSeries(int no) { FormatTools.assertId(getCurrentFile(), true, 2); int n = reader.getCoreMetadataList().size(); if (n > 1 || noStitch) { reader.setSeries(no); } setCoreIndex(seriesToCoreIndex(no)); reader.setResolution(0); }
@Override public int getThumbSizeX() { FormatTools.assertId(getCurrentFile(), true, 2); return noStitch ? reader.getThumbSizeX() : getReader(getCoreIndex(), 0).getThumbSizeX(); }
@Override public short[][] get16BitLookupTable() throws FormatException, IOException { FormatTools.assertId(getCurrentFile(), true, 2); return noStitch ? reader.get16BitLookupTable() : getReader(getCoreIndex(), 0).get16BitLookupTable(); }
@Override public int getResolution() { FormatTools.assertId(getCurrentFile(), true, 2); int n = reader.getCoreMetadataList().size(); if (n > 1 || noStitch) return reader.getResolution(); if (hasFlattenedResolutions()) { return 0; } return getCoreIndex() - coreIndexToSeries(getCoreIndex()); }
@Override public short[][] get16BitLookupTable() throws FormatException, IOException { FormatTools.assertId(getCurrentFile(), true, 2); return noStitch ? reader.get16BitLookupTable() : getReader(getCoreIndex(), 0).get16BitLookupTable(); }
@Override public boolean isLittleEndian() { FormatTools.assertId(getCurrentFile(), true, 2); return noStitch ? reader.isLittleEndian() : getReader(getCoreIndex(), 0).isLittleEndian(); }
@Override public boolean isInterleaved() { FormatTools.assertId(getCurrentFile(), true, 2); return noStitch ? reader.isInterleaved() : getReader(getCoreIndex(), 0).isInterleaved(); }
@Override public int[] getZCTModuloCoords(int index) { FormatTools.assertId(getCurrentFile(), true, 2); return noStitch ? reader.getZCTModuloCoords(index) : FormatTools.getZCTCoords(core.get(getCoreIndex()).dimensionOrder, getSizeZ(), getEffectiveSizeC(), getSizeT(), getModuloZ().length(), getModuloC().length(), getModuloT().length(), getImageCount(), index); }