This plugin provides one-click color normalization, denoising, Cellpose-based nuclear segmentation and cell classification.
Widget | Function | Input | Output |
---|---|---|---|
Normalize + Denoise | Color normalization and denoising | Bright-field image | Processed image |
Segment | Nuclear segmentation | DAPI/nuclear stain | Masks, centroids, bounding boxes |
Segment + Classify | End-to-end cell analysis | 4-channel images | Cell segmentation + classification |
pip install neurogenesis-napari
Or install through napari:
- Open napari
- Go to
Plugins
→Install/Uninstall Plugins
- Search for "TumAI Histology Toolkit"
- Click Install
- Load your images into napari
- Select the appropriate widget from the
Plugins
menu - Choose your image layers from the dropdown menus
- Click the action button to process
The plugin will automatically download required AI models on first use.
Purpose: Standardizes color variations and reduces noise in bright-field images.
- Load a bright-field image into napari
- Open
Plugins
→Normalize and Denoise
- Select your bright-field image from the BF dropdown
- Click "Normalize + Denoise"
- Color Normalization: Adjusts colors against an internal reference to standardize appearance across different images/scanners
- Denoising: Removes noise while preserving important cellular structures
- Output: Creates a new layer named
{original_name}_denoised
Purpose: Detects and segments individual cell nuclei using Cellpose.
- Load a nuclear staining image (DAPI) into napari
- Open
Plugins
→Segment
- Select your nuclear image from the DAPI dropdown
- Optionally adjust:
- GPU: Enable for faster processing
- Model: Choose Cellpose model (
cyto3
default)
- Click "Segment Nuclei"
- Segmentation: Uses Cellpose to identify individual nuclei
- Creates 3 new layers:
{name}_masks
: Segmentation masks{name}_centroids
: Center points of each detected cell{name}_bboxes
: Bounding boxes around each cell
Purpose: Complete pipeline that segments nuclei AND classifies cell types in multi-channel images.
- Load a 4-channel image into napari as separate layers:
- DAPI: Nuclear staining
- Tuj1: β-III-tubulin
- RFP: Red fluorescent protein marker
- BF: Bright-field
- Open
Plugins
→Segment and Classify
- Select each channel from the respective dropdowns
- Choose Reuse cached:
- True: Reuse previous segmentation (faster) from the segment widget
- False: Perform fresh segmentation
- Click "Segment + Classify"
- Segmentation: Does segmentation same as the segment widget above
- Feature extraction: Uses a Variational Autoencoder (VAE) to extract features
- Classification: Nearest-centroid classifier assigns cell types
Creates colored polygons for detected cells based on type:
- 🟣 Astrocytes (magenta polygons)
- ⚫ Dead Cells (gray polygons)
- 🔵 Neurons (cyan polygons)
- 🟢 OPCs (lime polygons)
The classification results can be edited.
.czi
(via napari-czifile2).png
,.jpg