public class DimensionSwapper extends AbstractReaderFilter
| Constructor and Description |
|---|
DimensionSwapper() |
| Modifier and Type | Method and Description |
|---|---|
List<net.imagej.axis.AxisType> |
getDimensionOrder(int imageIndex)
Returns the (potentially swapped) output order of the AxisTypes.
|
List<net.imagej.axis.AxisType> |
getInputOrder(int imageIndex)
Returns the order for reading AxisTypes from disk.
|
Metadata |
getMetadata()
Gets the type-specific Metadata for this Reader
|
double |
getPriority() |
Plane |
openPlane(int imageIndex,
long planeIndex)
Creates a
Plane representation of the pixels at the
specified indices. |
Plane |
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. |
Plane |
openPlane(int imageIndex,
long planeIndex,
net.imglib2.Interval bounds,
SCIFIOConfig config)
As
Reader.openPlane(int, long, Interval) with configuration options. |
Plane |
openPlane(int imageIndex,
long planeIndex,
Plane plane)
Allows a single
Plane object to be reused by reference when opening
complete planes. |
Plane |
openPlane(int imageIndex,
long planeIndex,
Plane plane,
net.imglib2.Interval bounds)
Allows a single
Plane object to be reused by reference when opening
sub-regions of planes. |
Plane |
openPlane(int imageIndex,
long planeIndex,
Plane plane,
net.imglib2.Interval bounds,
SCIFIOConfig config)
Allows a single
Plane object to be reused by reference when opening
sub-regions of planes. |
Plane |
openPlane(int imageIndex,
long planeIndex,
Plane plane,
SCIFIOConfig config)
Allows a single
Plane object to be reused by reference when opening
complete planes. |
Plane |
openPlane(int imageIndex,
long planeIndex,
SCIFIOConfig config)
As
Reader.openPlane(int, long) with configuration options. |
void |
setOutputOrder(int imageIndex,
List<net.imagej.axis.AxisType> outputOrder)
Sets the output dimension order according to the given string (e.g.,
"XYZCT").
|
protected void |
setSourceHelper(org.scijava.io.location.Location source,
SCIFIOConfig config)
Allows code to be executed regardless of which
AbstractReaderFilter.setSource(org.scijava.io.location.Location) signature
is called. |
void |
swapDimensions(int imageIndex,
net.imagej.axis.AxisType... newOrder)
Sets the input dimension order according to the given string (e.g.,
"XYZCT").
|
castToTypedPlane, cleanUp, close, close, createPlane, createPlane, fileGroupOption, getContext, getCurrentLocation, getDomains, getFormat, getFormatName, getHandle, getImageCount, getOptimalTileHeight, getOptimalTileWidth, getParentMeta, getPlaneCount, hasCompanionFiles, isCompatible, isNormalized, isSingleFile, metaCheck, openPlaneHelper, planarBounds, readPlane, readPlane, readPlaneHelper, setContext, setMetadata, setNormalized, setParent, setSource, setSource, setSource, setSource, targetenabledDefault, getParent, resetgetVersion, loggetInfo, setInfo, setPriority, toStringcontextclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetVersion, loggetIdentifiercontextcompareTo, setPrioritygetInfo, setInfogetLocationpublic void swapDimensions(int imageIndex,
net.imagej.axis.AxisType... newOrder)
public void setOutputOrder(int imageIndex,
List<net.imagej.axis.AxisType> outputOrder)
public List<net.imagej.axis.AxisType> getInputOrder(int imageIndex)
public List<net.imagej.axis.AxisType> getDimensionOrder(int imageIndex)
protected void setSourceHelper(org.scijava.io.location.Location source, SCIFIOConfig config)
AbstractReaderFilterAbstractReaderFilter.setSource(org.scijava.io.location.Location) signature
is called.setSourceHelper in class AbstractReaderFiltersource - - Lowest common denominator of arguments in the
setSource series.public Plane openPlane(int imageIndex, long planeIndex) throws FormatException, IOException
ReaderPlane representation of the pixels at the
specified indices.openPlane in interface ReaderopenPlane in class AbstractReaderFilterimageIndex - the image index within the dataset.planeIndex - the plane index within the image.Plane at the specified indices.FormatExceptionIOExceptionpublic Plane openPlane(int imageIndex, long planeIndex, Plane plane) throws FormatException, IOException
ReaderPlane object to be reused by reference when opening
complete planes.openPlane in interface ReaderopenPlane in class AbstractReaderFilterFormatExceptionIOExceptionReader.openPlane(int, long)public Plane 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 ReaderopenPlane in class AbstractReaderFilterimageIndex - the image index within the dataset.planeIndex - the plane index within the image.bounds - bounds of the planar axes.FormatExceptionIOExceptionpublic Plane openPlane(int imageIndex, long planeIndex, Plane plane, net.imglib2.Interval bounds) throws FormatException, IOException
ReaderPlane object to be reused by reference when opening
sub-regions of planes.openPlane in interface ReaderopenPlane in class AbstractReaderFilterFormatExceptionIOExceptionReader.openPlane(int, long, Interval)public Plane openPlane(int imageIndex, long planeIndex, SCIFIOConfig config) throws FormatException, IOException
ReaderReader.openPlane(int, long) with configuration options.openPlane in interface ReaderopenPlane in class AbstractReaderFilterimageIndex - 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.FormatExceptionIOExceptionpublic Plane 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 ReaderopenPlane in class AbstractReaderFilterimageIndex - 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.FormatExceptionIOExceptionpublic Plane openPlane(int imageIndex, long planeIndex, Plane plane, SCIFIOConfig config) throws FormatException, IOException
ReaderPlane object to be reused by reference when opening
complete planes.openPlane in interface ReaderopenPlane in class AbstractReaderFilterFormatExceptionIOExceptionReader.openPlane(int, long, SCIFIOConfig)public Plane openPlane(int imageIndex, long planeIndex, Plane plane, net.imglib2.Interval bounds, SCIFIOConfig config) throws FormatException, IOException
ReaderPlane object to be reused by reference when opening
sub-regions of planes.openPlane in interface ReaderopenPlane in class AbstractReaderFilterFormatExceptionIOExceptionReader.openPlane(int, long, Interval, SCIFIOConfig)public Metadata getMetadata()
ReadergetMetadata in interface ReadergetMetadata in class AbstractReaderFilterpublic double getPriority()
getPriority in interface org.scijava.PrioritizedgetPriority in class org.scijava.plugin.AbstractRichPluginCopyright © 2011–2026 SCIFIO. All rights reserved.