napari-sst plugin: integrate reference mask annotation into napari

Open
#30 0 comments 0 reactions 1 assignee View on GitHub

@sahasra-yikuntam is already working on this.

Since Sep 20, 2026.

Assessment

This issue has not been assessed yet.

Description

The napari_annotate.py script documented in the reference mask guide uses the PushButton plus add_dock_widget pattern, which is structurally identical to how a napari plugin dock widget is registered. This makes it a natural prototype for a future napari-sst plugin.

Intended workflow:

  1. User opens a specimen image in napari
  2. The napari-sst dock panel appears automatically
  3. User traces wings and assigns label integers 1–4
  4. Plugin saves the mask directly to the SST output directory in the correct format
  5. SST inference runs from the command line using the saved mask as --support_mask

This would replace the current Streamlit GUI's reference mask step with a more capable annotation interface, while keeping SST's inference pipeline unchanged.

References:

Dominant language
Jupyter Notebook
Stars
16
Forks
4
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Imageomics/SST

All issues in Imageomics/SST

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.