public final class OmeXmlBuilder extends Object
2016-06) description of one
pyramidal image, to be embedded in the first IFD's ImageDescription.
Only the level-0 (full-resolution) IFDs are enumerated by TiffData; the pyramid
sub-resolutions live in TIFF SubIFDs and are discovered structurally by readers, which
is exactly how Bio-Formats/QuPath represent a pyramidal OME-TIFF.
| Modifier and Type | Class and Description |
|---|---|
static class |
OmeXmlBuilder.PlaneEntry
One full-resolution plane's mapping to its dimension coordinates and IFD index.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
build(String imageName,
PixelType type,
int significantBits,
int sizeX,
int sizeY,
int sizeZ,
int sizeC,
int sizeT,
double physX,
double physY,
String unit,
List<Channel> channels,
List<OmeXmlBuilder.PlaneEntry> planes) |
public static String build(String imageName, PixelType type, int significantBits, int sizeX, int sizeY, int sizeZ, int sizeC, int sizeT, double physX, double physY, String unit, List<Channel> channels, List<OmeXmlBuilder.PlaneEntry> planes)
imageName - Image name (e.g. the dataset/position name)type - pixel typesignificantBits - nominal significant bits per sample (e.g. 12 for a 12-bit camera);
values <= 0 fall back to the storage bit widthsizeX - full-resolution widthsizeY - full-resolution heightsizeZ - Z dimension size (>= 1)sizeC - channel dimension size (>= 1)sizeT - time dimension size (>= 1)physX - physical pixel size along xphysY - physical pixel size along yunit - physical unit (mapped to an OME UnitsLength value)channels - optional per-channel descriptions (may be null/short; padded generically)planes - one entry per written full-resolution planeCopyright © 2026. All rights reserved.