Need fast batch processing for confocal & whole-slide microscopy images of biological cells and tissues?
This open-source napari plugin integrates state-of-the-art AI + analysis tools in an interactive GUI with side-by-side result comparison! Transform, analyze, and quantify microscopy data at scale including deep learning - from file conversion to segmentation, tracking, and analysis.
π€ AI Methods Built-In
- Virtual staining (VisCy) β’ Denoising (CAREamics) β’ Spot detection (Spotiflow) β’ Segmentation (Cellpose, Convpaint) β’ Tracking (Trackastra, Ultrack)
- Auto-install in isolated environments β’ No dependency conflicts β’ GPU acceleration
π Universal File Conversion
- Convert LIF, ND2, CZI, NDPI, Acquifer β TIFF or OME-Zarr
- Preserve spatial metadata automatically
β‘ Batch Processing
- Process entire folders with one click β’ 40+ processing functions β’ Progress tracking & quality control
οΏ½ Interactive Workflow
- Side-by-side table view of original and processed images β’ Click to instantly compare results β’ Quickly iterate parameter values β’ Real-time visual feedback
οΏ½π Complete Analysis Pipeline
- Segmentation β Tracking β Quantification β Colocalization
# Install napari and the plugin
mamba create -y -n napari-tmidas -c conda-forge python=3.11
mamba activate napari-tmidas
pip install "napari[all]"
pip install napari-tmidas
# Launch napari
napariThen find napari-tmidas in the Plugins menu. Watch video tutorials β
π‘ Tip: AI methods (SAM2, Cellpose, Spotiflow, etc.) auto-install into isolated environments on first use - no manual setup required!
| Method | Description | Documentation |
|---|---|---|
| π¨ VisCy | Virtual staining from phase/DIC | Guide |
| π§ CAREamics | Noise2Void/CARE denoising | Guide |
| π― Spotiflow | Spot/puncta detection | Guide |
| π¬ Cellpose | Cell/nucleus segmentation | Guide |
| π¨ Convpaint | Custom semantic/instance segmentation | Guide |
| π Trackastra | Transformer-based cell tracking | Guide |
| π Ultrack | Cell tracking based on segmentation ensemble | Guide |
- File Conversion - Multi-format microscopy file conversion (LIF, ND2, CZI, NDPI, Acquifer)
- Batch Processing - Label operations, filters, channel splitting
- Frame Removal - Interactive human-in-the-loop frame removal from time series
- Label-Based Cropping - Interactive ROI extraction with label expansion
- Quality Control - Visual QC with grid overlay
- Quantification - Extract measurements from labels
- Colocalization - Multi-channel ROI analysis
- Batch Crop Anything - Interactive object cropping with SAM2
- Batch Label Inspection - Manual label verification and editing
- SciPy Filters - Gaussian, median, morphological operations
- Scikit-Image Filters - CLAHE, thresholding, edge detection
mamba create -y -n napari-tmidas -c conda-forge python=3.11
mamba activate napari-tmidas
python -m pip install "napari[all]"| Your Needs | Command |
|---|---|
| Standard installation | pip install napari-tmidas |
| Want the latest dev features | pip install git+https://github.com/MercaderLabAnatomy/napari-tmidas.git |
Current Limitation: Processing functions pre-allocate full output arrays in memory before writing to zarr. For large TZYX time series (e.g., 100 timepoints Γ 1024Γ1024Γ20), this requires ~8+ GB peak memory even when using zarr output.
Planned Enhancement: Implement incremental zarr writing across all processing functions:
- Process one timepoint at a time
- Write directly to zarr array on disk
- Keep only single timepoint in memory (~80 MB vs 8 GB)
- Maintain OME-Zarr metadata and chunking
Impact: Enable processing of arbitrarily large time series limited only by disk space, not RAM. Critical for high-throughput microscopy workflows.
Affected Functions: Convpaint prediction, Cellpose segmentation, CAREamics denoising, VisCy virtual staining, Trackastra tracking, and all batch processing operations with zarr output.
Contributions are welcome! Please ensure tests pass before submitting PRs:
pip install tox
toxBSD-3 License - see LICENSE for details.
Found a bug or have a feature request? Open an issue
Built with napari and powered by:
AI/ML Methods:
Core Scientific Stack:
- NumPy β’ scikit-image β’ PyTorch
File Format Support:
- OME-Zarr β’ tifffile β’ nd2 β’ pylibCZIrw β’ readlif




