NucLogic: Logic-based geometric 3D nuclear segmentation for fast and robust analysis of challenging biological imaging data
Preprint
Abstract
Nuclear segmentation in 3D microscopy remains challenging, particularly for low signal-to-noise ratio (SNR) data from dense tissue samples, timelapse imaging, or in vivo experiments. Yet accurate 3D nuclear segmentation is a prerequisite for quantitative single-cell analysis, making this a key bottleneck for high-throughput study of challenging datasets. We present NucLogic, a fast and robust 3D nuclear segmentation algorithm that combines the maturity of 2D segmentation with geometric stitching rules based on nuclear shape, orientation, and intensity, to reconstruct accurate 3D volumes. NucLogic reliably segments challenging datasets including long-term timelapse imaging of organoids, and large dense structures such as the zebrafish brain. Benchmarked against other state-of-the-art segmentation tools, NucLogic matches F1 scores at high SNR, with increasing outperformance as SNR decreases. Importantly, segmentation completes approximately 3-to 5-fold faster, with greater speed gains on larger images. Beyond segmentation, NucLogic includes an intuitive graphical user interface allowing non-experts to segment, quantify, and visualize 3D and 4D data. This enables straightforward quantification of cell numbers, alongside integration of a wide range of both cell-intrinsic properties, such as phenotype and morphology, and local environment metrics, such as density and spatial interactions. Together, NucLogic makes quantitative 3D nuclear analysis of previously unmanageable datasets accessible to a broad research community.Keywords
Funding Information
- European Research Council (CELL-FIT No. 101169646)
This publication has 40 references indexed in Scilit:
- Imaging cellular activity across all organs reveals body-wide circuitsNature, 2026
- Protocol for generating liver metastasis microtissues to decipher cellular interactions between metastatic intestinal cancer and liver tissueSTAR Protocols, 2025
- Unveiling the black box: A systematic review of Explainable Artificial Intelligence in medical image analysisComputational and Structural Biotechnology Journal, 2024
- Cell competition promotes metastatic intestinal cancer through a multistage processiScience, 2024
- Evolutionary design of explainable algorithms for biomedical image segmentationNature Communications, 2023
- Active elimination of intestinal cells drives oncogenic growth in organoidsCell Reports, 2021
- Array programming with NumPyNature, 2020
- SciPy 1.0: fundamental algorithms for scientific computing in PythonNature Methods, 2020
- NWChem: A comprehensive and scalable open-source solution for large scale molecular simulationsComputer Physics Communications, 2010
- PySAL: A Python Library of Spatial Analytical Methods2009