Skip to content

Instantly share code, notes, and snippets.

@bogovicj
Created January 24, 2025 20:06
Show Gist options
  • Save bogovicj/802afb43e49ddb7f4cf029ba03b97ca3 to your computer and use it in GitHub Desktop.
Save bogovicj/802afb43e49ddb7f4cf029ba03b97ca3 to your computer and use it in GitHub Desktop.
n5 = new N5Factory().openReader("/home/john/tmp/mitosis.zarr");
println(n5.getClass());
node = N5DatasetDiscoverer.discover(n5);
println(node.printRecursive());
println(node.getDescendant("s0").get().getMetadata().getClass());
import org.janelia.saalfeldlab.n5.N5Reader;
import org.janelia.saalfeldlab.n5.ij.N5Importer;
import org.janelia.saalfeldlab.n5.ij.N5ScalePyramidExporter;
import org.janelia.saalfeldlab.n5.ij.N5Importer.N5ViewerReaderFun;
import org.janelia.saalfeldlab.n5.universe.N5DatasetDiscoverer;
import org.janelia.saalfeldlab.n5.universe.N5Factory;
import org.janelia.saalfeldlab.n5.universe.N5TreeNode;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment