M - - Metadata used by this reader for reading images.P - - Plane return and parameter type for this
reader's openPlane(int, long) and readPlane(org.scijava.io.handle.DataHandle<org.scijava.io.location.Location>, int, net.imglib2.Interval, P) methods.public interface TypedReader<M extends TypedMetadata,P extends DataPlane<?>> extends Reader
Reader implementations that use generic
parameters.
Generics are used in Reader concrete implementations to type narrow
return types, and to provide parallel methods that can type narrow arguments.
| Modifier and Type | Method and Description |
|---|---|
P |
createPlane(net.imglib2.Interval bounds)
Creates a blank plane compatible with this reader.
|
M |
getMetadata()
Gets the type-specific Metadata for this Reader
|
Class<P> |
getPlaneClass()
Returns the class of
Planes associated with this Reader. |
P |
openPlane(int imageIndex,
long planeIndex)
Creates a
Plane representation of the pixels at the
specified indices. |
P |
openPlane(int imageIndex,
long planeIndex,
net.imglib2.Interval bounds)
Creates a
Plane representation of a desired sub-region from
the pixels at the specified indices. |
P |
openPlane(int imageIndex,
long planeIndex,
net.imglib2.Interval bounds,
SCIFIOConfig config)
As
Reader.openPlane(int, long, Interval) with configuration options. |
P |
openPlane(int imageIndex,
long planeIndex,
P plane)
Generic-parameterized
openPlane method, using
TypedMetadata to avoid type erasure conflicts with
Reader.openPlane(int, long, Plane). |
P |
openPlane(int imageIndex,
long planeIndex,
P plane,
net.imglib2.Interval bounds)
Generic-parameterized
openPlane method, using
TypedMetadata to avoid type erasure conflicts with
Reader.openPlane(int, long, Plane, Interval). |
P |
openPlane(int imageIndex,
long planeIndex,
P plane,
net.imglib2.Interval bounds,
SCIFIOConfig config) |
P |
openPlane(int imageIndex,
long planeIndex,
P plane,
SCIFIOConfig config) |
P |
openPlane(int imageIndex,
long planeIndex,
SCIFIOConfig config)
As
Reader.openPlane(int, long) with configuration options. |
P |
readPlane(org.scijava.io.handle.DataHandle<org.scijava.io.location.Location> s,
int imageIndex,
net.imglib2.Interval bounds,
int scanlinePad,
P plane)
Generic-parameterized
readPlane method, using
TypedMetadata to avoid type erasure conflicts with
Reader.readPlane(DataHandle, int, Interval, int, Plane)
NB Presumes that the source stream s is set to the correct offset,
i.e. start of the plane
|
P |
readPlane(org.scijava.io.handle.DataHandle<org.scijava.io.location.Location> s,
int imageIndex,
net.imglib2.Interval bounds,
P plane)
Generic-parameterized
readPlane method, using
TypedMetadata to avoid type erasure conflicts with
Reader.readPlane(DataHandle, int, Interval, Plane)
NB Presumes that the source stream s is set to the correct offset,
i.e. start of the plane
|
void |
setMetadata(M meta)
Generic-parameterized
setMetadata method, using
TypedMetadata to avoid type erasure conflicts with
Reader.setMetadata(Metadata). |
castToTypedPlane, createPlane, getCurrentLocation, getDomains, getHandle, getImageCount, getOptimalTileHeight, getOptimalTileWidth, getPlaneCount, hasCompanionFiles, isNormalized, openPlane, openPlane, openPlane, openPlane, readPlane, readPlane, setMetadata, setNormalized, setSource, setSource, setSource, setSourcegetFormat, getFormatNamegetVersion, loggetIdentifiercontext, getContext, setContextcompareTo, getPriority, setPrioritygetInfo, setInfogetLocationfileGroupOption, isSingleFileP openPlane(int imageIndex, long planeIndex) throws FormatException, IOException
ReaderPlane representation of the pixels at the
specified indices.openPlane in interface ReaderimageIndex - the image index within the dataset.planeIndex - the plane index within the image.Plane at the specified indices.FormatExceptionIOExceptionP openPlane(int imageIndex, long planeIndex, net.imglib2.Interval bounds) throws FormatException, IOException
ReaderPlane representation of a desired sub-region from
the pixels at the specified indices.openPlane in interface ReaderimageIndex - the image index within the dataset.planeIndex - the plane index within the image.bounds - bounds of the planar axes.FormatExceptionIOExceptionP openPlane(int imageIndex, long planeIndex, P plane) throws FormatException, IOException
openPlane method, using
TypedMetadata to avoid type erasure conflicts with
Reader.openPlane(int, long, Plane).FormatExceptionIOExceptionReader.openPlane(int, long, Plane)P openPlane(int imageIndex, long planeIndex, P plane, net.imglib2.Interval bounds) throws FormatException, IOException
openPlane method, using
TypedMetadata to avoid type erasure conflicts with
Reader.openPlane(int, long, Plane, Interval).FormatExceptionIOExceptionReader.openPlane(int, long, Plane, Interval)P openPlane(int imageIndex, long planeIndex, SCIFIOConfig config) throws FormatException, IOException
ReaderReader.openPlane(int, long) with configuration options.openPlane in interface ReaderimageIndex - the image index within the dataset.planeIndex - the plane index within the image.config - Configuration information to use for this read.Plane at the specified indices.FormatExceptionIOExceptionP openPlane(int imageIndex, long planeIndex, net.imglib2.Interval bounds, SCIFIOConfig config) throws FormatException, IOException
ReaderReader.openPlane(int, long, Interval) with configuration options.openPlane in interface ReaderimageIndex - the image index within the dataset.planeIndex - the plane index within the image.bounds - bounds of the planar axes.config - Configuration information to use for this read.FormatExceptionIOExceptionP openPlane(int imageIndex, long planeIndex, P plane, SCIFIOConfig config) throws FormatException, IOException
FormatExceptionIOExceptionopenPlane(int, long, DataPlane)P openPlane(int imageIndex, long planeIndex, P plane, net.imglib2.Interval bounds, SCIFIOConfig config) throws FormatException, IOException
FormatExceptionIOExceptionopenPlane(int, long, DataPlane, Interval)void setMetadata(M meta) throws IOException
setMetadata method, using
TypedMetadata to avoid type erasure conflicts with
Reader.setMetadata(Metadata).IOExceptionReader.setMetadata(Metadata)M getMetadata()
ReadergetMetadata in interface ReaderP readPlane(org.scijava.io.handle.DataHandle<org.scijava.io.location.Location> s, int imageIndex, net.imglib2.Interval bounds, P plane) throws IOException
readPlane method, using
TypedMetadata to avoid type erasure conflicts with
Reader.readPlane(DataHandle, int, Interval, Plane)
NB Presumes that the source stream s is set to the correct offset,
i.e. start of the plane
IOExceptionReader.readPlane(DataHandle, int, Interval, Plane)P readPlane(org.scijava.io.handle.DataHandle<org.scijava.io.location.Location> s, int imageIndex, net.imglib2.Interval bounds, int scanlinePad, P plane) throws IOException
readPlane method, using
TypedMetadata to avoid type erasure conflicts with
Reader.readPlane(DataHandle, int, Interval, int, Plane)
NB Presumes that the source stream s is set to the correct offset,
i.e. start of the plane
IOExceptionReader.readPlane(DataHandle, int, Interval, int, Plane)P createPlane(net.imglib2.Interval bounds)
ReadercreatePlane in interface Readerbounds - bounds of the planar axes.Copyright © 2011–2026 SCIFIO. All rights reserved.