public static class ICSFormat.Reader extends ByteArrayReader<ICSFormat.Metadata>
| Constructor and Description |
|---|
Reader() |
| Modifier and Type | Method and Description |
|---|---|
void |
close(boolean fileOnly)
Closes the image source(s) associated with this component, with a toggle to
determine if the component itself is reset.
|
protected String[] |
createDomainArray()
Helper method to lazily create the domain array for this reader instance,
to avoid constantly re-creating the array.
|
String[] |
getDomains()
Returns the list of domains represented by the current file.
|
ByteArrayPlane |
openPlane(int imageIndex,
long planeIndex,
ByteArrayPlane plane,
net.imglib2.Interval bounds,
SCIFIOConfig config) |
void |
setMetadata(ICSFormat.Metadata meta)
Generic-parameterized
setMetadata method, using
TypedMetadata to avoid type erasure conflicts with
Reader.setMetadata(Metadata). |
void |
setSource(org.scijava.io.handle.DataHandle<org.scijava.io.location.Location> stream,
SCIFIOConfig config)
As
Reader.setSource(DataHandle) with configuration options. |
createPlane, createPlanecastToTypedPlane, getCurrentLocation, getHandle, getImageCount, getMetadata, getOptimalTileHeight, getOptimalTileWidth, getPlaneClass, getPlaneCount, hasCompanionFiles, isNormalized, openPlane, openPlane, openPlane, openPlane, openPlane, openPlane, openPlane, openPlane, openPlane, openPlane, openPlane, readPlane, readPlane, readPlane, readPlane, setMetadata, setNormalized, setSource, setSource, setSourcefileGroupOption, isSingleFilecloseasBrowsableLocation, asBrowsableLocation, getFormat, getFormatNamegetVersion, loggetInfo, getPriority, setInfo, setPriority, toStringcontext, getContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetFormat, getFormatNamegetVersion, loggetIdentifiercontext, getContext, setContextcompareTo, getPriority, setPrioritygetInfo, setInfogetLocationfileGroupOption, isSingleFileprotected String[] createDomainArray()
AbstractReadercreateDomainArray in class AbstractReader<ICSFormat.Metadata,ByteArrayPlane>public ByteArrayPlane openPlane(int imageIndex, long planeIndex, ByteArrayPlane plane, net.imglib2.Interval bounds, SCIFIOConfig config) throws FormatException, IOException
FormatExceptionIOExceptionTypedReader.openPlane(int, long, DataPlane, Interval)public void close(boolean fileOnly)
throws IOException
HasSourceclose in interface HasSourceclose in class AbstractReader<ICSFormat.Metadata,ByteArrayPlane>fileOnly - - If true, only the associated source(s) are closed.IOExceptionpublic void setMetadata(ICSFormat.Metadata meta) throws IOException
TypedReadersetMetadata method, using
TypedMetadata to avoid type erasure conflicts with
Reader.setMetadata(Metadata).setMetadata in interface TypedReader<ICSFormat.Metadata,ByteArrayPlane>setMetadata in class AbstractReader<ICSFormat.Metadata,ByteArrayPlane>IOExceptionReader.setMetadata(Metadata)public void setSource(org.scijava.io.handle.DataHandle<org.scijava.io.location.Location> stream, SCIFIOConfig config) throws IOException
ReaderReader.setSource(DataHandle) with configuration options.setSource in interface ReadersetSource in class AbstractReader<ICSFormat.Metadata,ByteArrayPlane>stream - - The handle to read fromconfig - Configuration information to use for this read.IOExceptionpublic String[] getDomains()
ReadergetDomains in interface ReadergetDomains in class AbstractReader<ICSFormat.Metadata,ByteArrayPlane>Copyright © 2011–2026 SCIFIO. All rights reserved.