# Convpaint—Interactive pixel classification using pretrained neural networks

**Authors:** Lucien Hinderling, Roman Schwob, Guillaume Witz, Ana Stojiljković, Maciej Dobrzyński, Mykhailo Vladymyrov, Joël Frei, Benjamin Grädel, Agne Frismantiene, Olivier Pertz

PMC · DOI: 10.1016/j.crmeth.2026.101335 · Cell Reports Methods · 2026-03-16

## TL;DR

Convpaint is a tool that uses pretrained neural networks for fast and accurate pixel classification in images, making it easier to analyze complex data.

## Contribution

Convpaint introduces a modular framework combining pretrained models with fast classifiers for interactive segmentation across diverse imaging tasks.

## Key findings

- Convpaint enables accurate segmentation with minimal annotations and fast training times.
- The tool supports multichannel, 3D, and time-series data using vision transformers and CNNs.
- Convpaint integrates into napari for interactive bioimage analysis workflows.

## Abstract

We present Convpaint, a universal computational framework for interactive pixel classification. Convpaint uses pretrained convolutional neural networks (CNNs), vision transformers (ViTs), or classical filter banks for feature extraction in combination with fast-to-train machine learning (ML) classifiers to enable easy segmentation across a wide variety of tasks. By integrating ViT-based features, Convpaint extends traditional pixel classification to image domains that require rich semantic understanding. Convpaint’s modular design allows users to rapidly switch between feature extractors, balancing speed, spatial accuracy, and semantic depth based on the specific dataset. Available within the Python-based napari software ecosystem, Convpaint integrates seamlessly with other plugins into image processing pipelines, which we demonstrate with example workflows across different data modalities, from subcellular to cellular to animal scale.

•Convpaint enables rapid pixel classification using pretrained neural networks•Vision transformers extend segmentation to tasks requiring semantic understanding•Supports multichannel, 3D, and time-series data•Integrates into napari for interactive, code-free bioimage analysis workflows

Convpaint enables rapid pixel classification using pretrained neural networks

Vision transformers extend segmentation to tasks requiring semantic understanding

Supports multichannel, 3D, and time-series data

Integrates into napari for interactive, code-free bioimage analysis workflows

We needed to perform real-time segmentation during feedback-control microscopy experiments, which requires rapid model training on unseen data before starting the experiment. We also required seamless integration into our Python-based microscope control pipeline. Existing solutions fell short: classical interactive machine learning approaches train quickly but lack semantic understanding for complex tasks, while deep learning methods require lengthy training on large datasets acquired previously. This motivated us to develop Convpaint, bridging both approaches to enable accurate segmentation with minimal annotations and fast training times. The method proved so effective that we began applying it to other image analysis tasks beyond feedback microscopy, which prompted us to develop a user-friendly interface and share it with the broader scientific community.

Hinderling et al. present Convpaint, a napari plugin that repurposes pretrained deep learning models for interactive pixel classification. By combining convolutional neural networks and vision transformers with fast machine learning classifiers, Convpaint enables accurate segmentation across diverse imaging modalities with minimal annotations and rapid training times.

## Full-text entities

- **Genes:** MAPK1 (mitogen-activated protein kinase 1) [NCBI Gene 5594] {aka ERK, ERK-2, ERK2, ERT1, MAPK2, NS13}, H2BC21 (H2B clustered histone 21) [NCBI Gene 8349] {aka GL105, H2B, H2B-GL105, H2B.1, H2BE, H2BFQ}, TCF20 (transcription factor 20) [NCBI Gene 6942] {aka AR1, DDVIBA, SPBP, TCF-20}, CDH1 (cadherin 1) [NCBI Gene 999] {aka Arc-1, BCDS1, CD324, CDHE, ECAD, LCAM}, PDGFRB (platelet derived growth factor receptor beta) [NCBI Gene 5159] {aka CD140B, IBGC4, IMF1, JTK12, KOGS, OPDKD}, CD38 (CD38 molecule) [NCBI Gene 952] {aka ADPRC 1, ADPRC1, cADPR1}
- **Diseases:** Breast (MESH:D061325), BCSS (MESH:D001943), cancerous (MESH:D009369), DL (MESH:D007859), IMC (MESH:C564543), DCIS (MESH:D002285), epileptic (MESH:D004827)
- **Chemicals:** DINOv2 (-), Calcium (MESH:D002118)
- **Species:** Gallus gallus (bantam, species) [taxon 9031], Homo sapiens (human, species) [taxon 9606], Rattus norvegicus (brown rat, species) [taxon 10116], Mus musculus (house mouse, species) [taxon 10090]
- **Cell lines:** MCF10A — Homo sapiens (Human), Spontaneously immortalized cell line (CVCL_0598), MDCK — Canis lupus familiaris (Dog), Spontaneously immortalized cell line (CVCL_0422)

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/PMC13030958/full.md

## Figures

6 figures with captions in the complete paper: https://tomesphere.com/paper/PMC13030958/full.md

## References

64 references — full list in the complete paper: https://tomesphere.com/paper/PMC13030958/full.md

---
Source: https://tomesphere.com/paper/PMC13030958