The napari hub is transitioning to a community-run implementation due to launch in June 2025.
Since October 1, 2024, this version is no longer actively maintained and will not be updated. New plugins and plugin updates will continue to be listed.

napari-hdf5-labels-io

napari-hdf5-labels-io

Napari plugin to store set of layers in a .h5 file. Label layer are stored in a sparse representation.

This IO plugin lets you to store your progress in a single file (.h5 extension). It stores not only the layer's data but also its metadata, meaning that in some way, this IO can be seen as a project file generator.

The current supported layer types are: images, labels and dots.

This plugin was developed to create a connection between napari (for labeling) and YAPiC (a deep learning segmentation tool).

This plugin is meant to be used for any napari user wanting to store their progress in a single file and for those which use napari as a labeling tool.

It supports any data dimensionality and it was designed to improve the memory efficiency when storing label layers.

Additionally, YAPiC supports the files generated by this IO to perform image segmentation.

Saving .h5 files

With napari-hdf5-labels-io installed, use napari as alway. once you are done, click in File, click in Save Selected Layer(s)... (Ctrl+S) or Save All Layers... (Ctrl+Shift+S) and write the output file name as filename.h5. Including the ".h5" extension at the end of the name will automatically activate the plugin.

Opening .h5 files

To open a .h5 file written with this plugin, you can open this file as any other (either by the Open File option in the File menu or dragging it to the main window).

Version:

  • 0.3.dev16

Last updated:

  • 30 November 2021

First released:

  • 04 March 2021

License:

Supported data:

  • Information not submitted

Open extension:

Save extension:

  • Information not submitted

Save layers:

GitHub activity:

  • Stars: 1
  • Forks: 4
  • Issues + PRs: 4

Python versions supported:

Operating system:

Requirements:

  • napari-plugin-engine (>=0.1.4)
  • typing
  • numpy
  • sparse
  • h5py (==2.10.0)
  • zarr