bioRxivNeurosciencePreprint
Spectral Unmixing: A modular and reproducible Python package for directed and blind spectral unmixing in multidimensional microscopy stacks
Abstract
Background: Spectral bleed-through is a persistent source of bias in multichannel fluorescence microscopy, where signal from one fluorophore is recorded in another detection channel. Routine correction workflows often remain fragmented across manual graphical procedures, laboratory-specific scripts, or method-specific blind-unmixing implementations with limited provenance. Results: We present spectral-unmixing, an open-source Python package for reproducible directed and blind bleed-through correction in multidimensional microscopy stacks. The package combines directed two-channel correction with multiple coefficient-estimation strategies, optional bidirectional two-channel correction through explicit inversion of a two-by-two mixing model, and PICASSO-family blind unmixing for multichannel data. Input stacks from multiple microscopy file formats are normalized to a canonical axis order before processing, reducing the need for manual pre-formatting. Each processing run also writes a machine-readable sidecar file that records the effective configuration and estimated coefficients. Synthetic and real-data-derived benchmarks demonstrated robust correction across directed, bidirectional, and blind-unmixing settings. In fixed-alpha two-channel simulations, directed correction reduced target-channel normalized root mean squared error from approximately 0.029 to about 0.003. In time-varying data, per-time-point estimation reduced mean absolute alpha error from approximately 0.099 to 0.003 compared with reference-time-point estimation, while bidirectional inverse-model correction reduced reciprocal-mixture channel errors from approximately 0.022 to 0.037 to about 0.004. Multichannel benchmarks further showed that blind-unmixing workflows can reduce residual inter-channel dependence while preserving fluorophore identity, and that source-sink priors provide a controllable alternative when plausible contamination pathways are known. Conclusions: Spectral-unmixing provides a modular, scriptable, and extensible platform that standardizes directed, bidirectional, and blind spectral-unmixing workflows, thereby lowering barriers to reproducible bleed-through correction in quantitative bioimage analysis.
- assay: imaging
- research focus: benchmarking
- research focus: software / tool
- approach: experimental assay
- Citations
- 0
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Robust blind spectral unmixing for fluorescence microscopy using unsupervised learning
Tristan D. McRae, David W. Oleksyn, … Yu‐Rong Gao·PLoS ONEPeer-reviewed·Dec 2, 2019
- AutoUnmix: an autoencoder-based spectral unmixing method for multi-color fluorescence microscopy imaging
- Unmixing Fluorescence Image Data with Sparse and Low-Rank Poisson Regression
Ruogu Wang, Alex A. Lemus, … Alex M. Valm·BioinformaticsPeer-reviewed·Mar 25, 2023
- A Framework of Multi-View Machine Learning for Biological Spectral Unmixing of Fluorophores with Overlapping Excitation and Emission Spectra
Ruogu Wang, Yunlong Feng, Alex M. Valm·Briefings in BioinformaticsPeer-reviewed·Nov 22, 2024
- SUFI: An automated approach to spectral unmixing of fluorescent multiplex images captured in mouse and postmortem human brain tissues
Vijay Sadashivaiah, Madhavi Tippani, … Kristen R. Maynard·BMC NeurosciencePeer-reviewed·Jan 25, 2023
- Spectral and lifetime fluorescence unmixing via deep learning
J. T. Smith, M. Ochoa, … X. Intes·bioRxiv·Jan 7, 2020