Class SpimDataUtils.N5Sources

java.lang.Object
sc.fiji.snt.io.SpimDataUtils.N5Sources
Enclosing class:
SpimDataUtils

public static class SpimDataUtils.N5Sources extends Object
Holds the sources produced by opening an N5 or OME-Zarr container via n5-ij/n5-universe/n5-viewer_fiji (see SpimDataUtils.resolvePathToSource(String)). Unlike AbstractSpimData, there is no BDV-XML descriptor involved: sources are built directly from the container's own N5/OME-NGFF metadata via N5Viewer.buildN5Sources(org.janelia.saalfeldlab.n5.N5Reader, org.janelia.saalfeldlab.n5.ui.DataSelection, bdv.cache.SharedQueue, java.util.List<bdv.tools.brightness.ConverterSetup>, java.util.List<bdv.viewer.SourceAndConverter<T>>, bdv.util.BdvOptions).
  • Field Details

    • sources

      public final List<bdv.viewer.SourceAndConverter<?>> sources
      One SourceAndConverter per channel/setup, in discovery order.
    • numTimepoints

      public final int numTimepoints
      Number of timepoints shared by all sources.
    • name

      public final String name
      Display name derived from the container's directory name.
  • Constructor Details

    • N5Sources

      public N5Sources(List<bdv.viewer.SourceAndConverter<?>> sources, int numTimepoints, String name)