public class AxisGuesser extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
C_AXIS
Axis type for channels.
|
static int |
S_AXIS
Axis type for series.
|
static int |
T_AXIS
Axis type for time points.
|
static int |
UNKNOWN_AXIS
Axis type for unclassified axes.
|
static int |
Z_AXIS
Axis type for focal planes.
|
| Constructor and Description |
|---|
AxisGuesser(FilePattern fp,
net.imagej.axis.AxisType[] dimOrder,
long sizeZ,
long sizeT,
long sizeC,
boolean isCertain)
Guesses dimensional axis assignments corresponding to the given file
pattern, using the specified dimensional information from within each file
as a guide.
|
| Modifier and Type | Method and Description |
|---|---|
net.imagej.axis.AxisType[] |
getAdjustedOrder()
Gets the adjusted dimension order.
|
int |
getAxisCount(int axisType)
Gets the number of axes in the pattern of the given type.
|
int |
getAxisCountC()
Gets the number of C axes in the pattern.
|
int |
getAxisCountS()
Gets the number of S axes in the pattern.
|
int |
getAxisCountT()
Gets the number of T axes in the pattern.
|
int |
getAxisCountZ()
Gets the length of the Z axes in the pattern.
|
static int |
getAxisType(String label)
Returns a best guess of the given label's axis type.
|
net.imagej.axis.AxisType[] |
getAxisTypes()
Gets the guessed axis type for each dimensional block.
|
FilePattern |
getFilePattern()
Gets the file pattern.
|
net.imagej.axis.AxisType[] |
getOriginalOrder()
Gets the original dimension order.
|
boolean |
isCertain()
Gets whether the guesser is confident that all axes are correct.
|
void |
setAxisTypes(int[] axes)
Sets the axis type for each dimensional block.
|
public static final int UNKNOWN_AXIS
public static final int Z_AXIS
public static final int T_AXIS
public static final int C_AXIS
public static final int S_AXIS
public AxisGuesser(FilePattern fp, net.imagej.axis.AxisType[] dimOrder, long sizeZ, long sizeT, long sizeC, boolean isCertain)
fp - The file pattern of the filesdimOrder - The dimension order (e.g., XYZTC) within each filesizeZ - The number of Z positions within each filesizeT - The number of T positions within each filesizeC - The number of C positions within each fileisCertain - Whether the dimension order given is known to be good, or
merely a guessFilePatternpublic FilePattern getFilePattern()
public net.imagej.axis.AxisType[] getOriginalOrder()
public net.imagej.axis.AxisType[] getAdjustedOrder()
public boolean isCertain()
public net.imagej.axis.AxisType[] getAxisTypes()
public void setAxisTypes(int[] axes)
axes - An array containing values from the enumeration:
public int getAxisCountZ()
public int getAxisCountT()
public int getAxisCountC()
public int getAxisCountS()
public int getAxisCount(int axisType)
axisType - One of:
public static int getAxisType(String label)
Copyright © 2011–2026 SCIFIO. All rights reserved.