Getting Started with Napari-OmniEM

This guide introduces Napari-OmniEM and walks you through your first inference task.


Installation

Napari-OmniEM is installed from source. Follow the installation guide before continuing.


Launch Napari and OmniEM

napari

Enable the OmniEM plugin

In the napari menu bar, open Plugins and select OmniEM.

select omniem

Load sample EM data

Napari-OmniEM includes example electron microscopy datasets for quick testing. Open File → Open Sample → OmniEM → EM to load three datasets: MitoEM (2D), AxonEM (3D), and GlyMuscle (3D).

Open Sample menu

Alternatively, load your own data by selecting File → Open File(s).

Interface overview

The Napari-OmniEM panel has a toolbar with four buttons:

  • 🔄 Synchronize Data: rescan the open napari layers. Layers now sync automatically, so this is a manual fallback, not a required step.
  • 📁 Local File Inference: on-disk inference for large volumes (enabled only when a CUDA GPU is available).
  • ⚙️ Preferences: inference defaults and task/model management.
  • 🧰 More Tools: the Tools workbench.

Select a loaded image. The interface should look similar to this:

Interface overview

Quick inference example

Run mitochondria segmentation on the bundled MitoEM (2D) sample with in-memory inference:

  1. Select the MitoEM (2D) layer in the Data dropdown.
  2. Set Task to Mitochondria Segmentation and Solution to ViT-L-2D. The panel displays the read-only Background/Mitochondria label mapping; select avaiable device (example uses cuda:0).

    Task and solution selected

  3. Click Run model, review the estimated GPU memory, and start the run though clicking the OK button.

    Run dialog with memory estimate

  4. The result appears as a new Labels layer, where 0 represents Background and 1 represents Mitochondria.

    Mitochondria segmentation result

Next steps

Continue with the detailed user guides: