public final class IJ1Hdf5 extends Object
Modifier and Type | Method and Description |
---|---|
static int |
datasetTypeToBitDepth(DatasetType type) |
static List<DatasetDescription> |
listDatasets(Path file)
Return descriptions of supported datasets in an HDF5 file, sorted by their paths.
|
static ij.ImagePlus |
readImage(Path file,
String path,
List<net.imagej.axis.AxisType> axes,
JIPipeProgressInfo progressInfo)
Read HDF5 dataset contents.
|
static void |
writeImage(ij.ImagePlus image,
Path file,
String path,
List<net.imagej.axis.AxisType> axes,
JIPipeProgressInfo progressInfo) |
public static List<DatasetDescription> listDatasets(Path file)
public static ij.ImagePlus readImage(Path file, String path, List<net.imagej.axis.AxisType> axes, JIPipeProgressInfo progressInfo)
Only 2D-5D datasets with types enumerated in DatasetType
are supported.
If not null, callback will be invoked between block writes (N + 1 invocations for N blocks). The callback accepts the total number of bytes written so far. This is useful for progress reporting.
public static void writeImage(ij.ImagePlus image, Path file, String path, List<net.imagej.axis.AxisType> axes, JIPipeProgressInfo progressInfo)
public static int datasetTypeToBitDepth(DatasetType type)
Copyright © 2020–2025 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.