@Override public byte[][] get8BitLookupTable() throws FormatException, IOException { FormatTools.assertId(currentId, true, 1); if (readers == null || readers[0][0].getCurrentFile() == null) { return null; } return readers[0][0].get8BitLookupTable(); }
@Override public byte[][] get8BitLookupTable() throws FormatException, IOException { FormatTools.assertId(currentId, true, 1); if (readers == null || readers[0][0].getCurrentFile() == null) { return null; } return readers[0][0].get8BitLookupTable(); }
@Override public short[][] get16BitLookupTable() throws FormatException, IOException { FormatTools.assertId(currentId, true, 1); if (readers == null || readers[0][0].getCurrentFile() == null) { return null; } return readers[0][0].get16BitLookupTable(); }
@Override public short[][] get16BitLookupTable() throws FormatException, IOException { FormatTools.assertId(currentId, true, 1); if (readers == null || readers[0][0].getCurrentFile() == null) { return null; } return readers[0][0].get16BitLookupTable(); }
@Override public int getOptimalTileWidth() { FormatTools.assertId(currentId, true, 1); if (tiffReader.getCurrentFile() == null) { setupReader(); } return tiffReader.getOptimalTileWidth(); }
@Override public int getOptimalTileHeight() { FormatTools.assertId(currentId, true, 1); if (tiffReader.getCurrentFile() == null) { setupReader(); } return tiffReader.getOptimalTileHeight(); }
@Override public int getOptimalTileWidth() { FormatTools.assertId(currentId, true, 1); if (tiffReader.getCurrentFile() == null) { setupReader(); } return tiffReader.getOptimalTileWidth(); }
@Override public int getOptimalTileHeight() { FormatTools.assertId(currentId, true, 1); if (tiffReader.getCurrentFile() == null) { setupReader(); } return tiffReader.getOptimalTileHeight(); }
/** Reinitialize the underlying TiffParser. */ protected void initTiffParser() { if (in == null) { try { in = new RandomAccessInputStream(getCurrentFile(), 16); } catch (IOException e) { LOGGER.error("Could not initialize stream", e); } } tiffParser = new TiffParser(in); tiffParser.setDoCaching(false); tiffParser.setUse64BitOffsets(use64Bit); }
/** Reinitialize the underlying TiffParser. */ protected void initTiffParser() { if (in == null) { try { in = new RandomAccessInputStream(getCurrentFile(), 16); } catch (IOException e) { LOGGER.error("Could not initialize stream", e); } } tiffParser = new TiffParser(in); tiffParser.setDoCaching(false); tiffParser.setUse64BitOffsets(use64Bit); }
if (reader.getCurrentFile() == null || !new Location( file).getAbsolutePath().equals( new Location(reader.getCurrentFile()).getAbsolutePath()))
if (reader.getCurrentFile() == null || !new Location( file).getAbsolutePath().equals( new Location(reader.getCurrentFile()).getAbsolutePath()))
if (r.getCurrentFile() == null) { r.setId(info[series][no].id);
if (r.getCurrentFile() == null) { r.setId(info[series][no].id);
int i = info[s][0].ifd; MinimalTiffReader r = (MinimalTiffReader) info[s][0].reader; if (r.getCurrentFile() == null) { r.setId(info[s][0].id);
int i = info[s][0].ifd; MinimalTiffReader r = (MinimalTiffReader) info[s][0].reader; if (r.getCurrentFile() == null) { r.setId(info[s][0].id);