|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectloci.formats.ReaderWrapper
loci.formats.DimensionSwapper
public class DimensionSwapper
Handles swapping the dimension order of a file.
Field Summary |
---|
Fields inherited from class loci.formats.ReaderWrapper |
---|
reader |
Fields inherited from interface loci.formats.IFormatReader |
---|
CAN_GROUP, CANNOT_GROUP, MUST_GROUP |
Constructor Summary | |
---|---|
DimensionSwapper()
Constructs a DimensionSwapper around a new image reader. |
|
DimensionSwapper(IFormatReader r)
Constructs a DimensionSwapper with the given reader. |
Method Summary | |
---|---|
String |
getDimensionOrder()
Gets a five-character string representing the dimension order within the file. |
int |
getSizeC()
Gets the size of the C dimension. |
int |
getSizeT()
Gets the size of the T dimension. |
int |
getSizeX()
Gets the size of the X dimension. |
int |
getSizeY()
Gets the size of the Y dimension. |
int |
getSizeZ()
Gets the size of the Z dimension. |
void |
swapDimensions(String order)
Swaps the dimensions according to the given dimension order. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DimensionSwapper()
public DimensionSwapper(IFormatReader r)
Method Detail |
---|
public int getSizeX()
IFormatReader
getSizeX
in interface IFormatReader
getSizeX
in class ReaderWrapper
public int getSizeY()
IFormatReader
getSizeY
in interface IFormatReader
getSizeY
in class ReaderWrapper
public int getSizeZ()
IFormatReader
getSizeZ
in interface IFormatReader
getSizeZ
in class ReaderWrapper
public int getSizeC()
IFormatReader
getSizeC
in interface IFormatReader
getSizeC
in class ReaderWrapper
public int getSizeT()
IFormatReader
getSizeT
in interface IFormatReader
getSizeT
in class ReaderWrapper
public String getDimensionOrder()
IFormatReader
IFormatReader.isInterleaved(String)
method will return true.
getDimensionOrder
in interface IFormatReader
getDimensionOrder
in class ReaderWrapper
public void swapDimensions(String order)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |