Created
January 24, 2025 18:23
-
-
Save bogovicj/cef853ef46d5e7f6fb0dad4aad33645b to your computer and use it in GitHub Desktop.
Create and n5 reader and parse some metadata
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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