Class OMEZarrStorage

  • All Implemented Interfaces:
    AutoCloseable, MultiresOMEZarrAPI, OMEZarrAPI

    public final class OMEZarrStorage
    extends Object
    implements MultiresOMEZarrAPI
    Disk-backed, streaming OME-Zarr (OME-NGFF v0.5 / Zarr v3) storage with a multiscale pyramid and concurrent read-while-write. Modeled on org.micromanager.ndtiffstorage.NDTiffStorage: a single writer thread drains a bounded queue (back-pressure), images are readable from an in-memory write-pending buffer the instant they are queued, and pyramid levels can be added at any time.

    Axis layout is either declared via OMEZarrStorageConfig or inferred from the first image. The position axis (default "position") maps to separate OME-Zarr image groups (bioformats2raw layout); the remaining axes plus the implicit spatial y/x form each array.

    • Constructor Detail

      • OMEZarrStorage

        public OMEZarrStorage​(String dir,
                              String name,
                              String summaryMetadataJson,
                              OMEZarrStorageConfig config)
        Create a new dataset for writing.
        Parameters:
        dir - parent directory
        name - dataset name (a .ome.zarr folder is created under dir)
        summaryMetadataJson - opaque summary metadata JSON (may be null)
        config - storage configuration (may be null for defaults)