Goal: Run a complete filter → threshold → segment → measure workflow using a plugin GUI, take a brief look at the napari console, and learn where to go from here.
napari-skimage Segmentation Demo (5 min + 20 min hands-on)¶
napari-skimage provides GUI access to common image-processing steps powered by scikit-image — no code required.
Install it:
Plugins > Install/Uninstall Plugins… → search
napari-skimage→ InstallRestart napari
Workflow¶
Use File > Open Sample > napari builtins > Cells (3D + 2Ch) as your starting image.
Make sure you look through all your z-slices when gauging whether a particular filter or thresholding algorithm worked as expected!
| Step | What to do | Why |
|---|---|---|
| 1. Load | Open Cells (3D + 2Ch) | Your raw data |
| 2. Filter | Layers > Filter > Filtering > Gaussian filter — apply to nuclei | Reduce noise |
| 3. Threshold | Layers > Filter > Thresholding > Automated Threshold — apply Otsu to the filtered layer. The threshold output is a binary Labels mask. | Separate foreground from background |
| 4. Label | Layers > Segment > Label connected components on the mask to generate a new Labels layer with a unique ID (and color) for each object. | Each connected region gets a unique integer ID |
| 5. Measure | Layers > Measure > Regionprops (labels) — select the Labels and nuclei layers | Outputs a table of features e.g. area, intensity, eccentricity per cell |
| 6. Save | Click Save Results in the Regionprops widget | Export measurements for further analysis |
Sharing Time and Q&A (5 min)¶
How many nuclei did your segmentation find? (check the Zulip stream for screenshots!)
What measurements were in the regionprops table?
Open questions about the workflow or napari in general?
Where to Go From Here (5 min)¶
Learning Resources¶
| Resource | Link |
|---|---|
| napari documentation | napari.org/stable |
| Gallery | napari |
| Plugin search | napari-hub.org |
Community & Getting Help¶
| Channel | Description |
|---|---|
| Zulip chat | Chat with the napari community - developers, users and contributors. Ask questions, share your analyses, or just lurk for info! |
| napari GitHub | Participate in development, report bugs and request new features. |
| Image.sc | Ask questions about using napari, how to perform different image analysis tasks, and get help from experienced image analysts. |
Next Steps¶
Try opening one of your own images in napari
Browse napari-hub.org for plugins relevant to your field
Add a new example or sample data to napari!
Survey + Wrap-up (10 min)¶
Please fill in the post-workshop survey (link shared by instructors).
Your feedback helps improve these materials and future workshops — thank you for participating!