public final class TileUtils extends Object
Modifier and Type | Method and Description |
---|---|
static File |
chooseFile()
Prompts the user to choose a file.
|
static ij.measure.Calibration |
getFirstCalibration(IMetadata meta)
Creates a Calibration object using the first valid physical sizes X, Y and
Z across all series in the provided Metadata.
|
static IFormatReader |
initializeReader(File file) |
static Double |
micronValue(ome.units.quantity.Length l) |
static double |
micronValue(ome.units.quantity.Length l,
double defaultValue) |
static Double |
physicalSizeX(IMetadata meta,
int i) |
static double |
physicalSizeX(IMetadata meta,
int i,
double defaultValue) |
static Double |
physicalSizeY(IMetadata meta,
int i) |
static double |
physicalSizeY(IMetadata meta,
int i,
double defaultValue) |
static Double |
physicalSizeZ(IMetadata meta,
int i) |
static double |
physicalSizeZ(IMetadata meta,
int i,
double defaultValue) |
static Double |
posX(IMetadata meta,
int i,
int p) |
static Double |
posY(IMetadata meta,
int i,
int p) |
static Double |
posZ(IMetadata meta,
int i,
int p) |
static Double |
rawValue(ome.units.quantity.Length l) |
static double |
rawValue(ome.units.quantity.Length l,
double defaultValue) |
static List<Pt> |
readCoords(IMetadata meta)
Generates a list of coordinates from all series described by the provided
IMetadata object.
|
static Integer |
sizeX(IMetadata meta,
int i) |
static Integer |
sizeY(IMetadata meta,
int i) |
static Integer |
sizeZ(IMetadata meta,
int i) |
static Double |
stageLabelX(IMetadata meta,
int i) |
static Double |
stageLabelY(IMetadata meta,
int i) |
static Double |
stageLabelZ(IMetadata meta,
int i) |
static double |
value(Double d,
double defaultValue) |
static Integer |
value(ome.xml.model.primitives.PositiveInteger pi) |
public static File chooseFile()
public static IFormatReader initializeReader(File file) throws FormatException, IOException
FormatException
IOException
public static ij.measure.Calibration getFirstCalibration(IMetadata meta)
readCoords(IMetadata)
).public static List<Pt> readCoords(IMetadata meta)
getFirstCalibration(IMetadata)
.public static double physicalSizeX(IMetadata meta, int i, double defaultValue)
public static double physicalSizeY(IMetadata meta, int i, double defaultValue)
public static double physicalSizeZ(IMetadata meta, int i, double defaultValue)
public static Double rawValue(ome.units.quantity.Length l)
public static double rawValue(ome.units.quantity.Length l, double defaultValue)
public static Double micronValue(ome.units.quantity.Length l)
public static double micronValue(ome.units.quantity.Length l, double defaultValue)
public static double value(Double d, double defaultValue)
public static Integer value(ome.xml.model.primitives.PositiveInteger pi)
Copyright © 2015–2022 SciJava. All rights reserved.