The segmenter that decides what counts as a cell in 3D
Quantitative biology on organoids stalls on a deceptively basic step: deciding which pixels belong to which nucleus in a thick, noisy 3D stack. NucLogic, posted on bioRxiv by a Utrecht University group, solves this not with a bigger network but with geometry, stitching 2D segmentations into 3D volumes using rules a human can read, and in doing so it makes a 157-organoid timelapse study fully quantifiable in under six hours on a standard workstation.
Source: NucLogic: Logic-based geometric 3D nuclear segmentation for fast and robust analysis of complex 3D and 4D datasets, bioRxiv preprint, posted October 06, 2026. Primary source. Read: the full preprint text, including all benchmark figures, methods, and data-availability statements, retrieved from bioRxiv on 2026-11-04.
What the work claims
This is a methods paper with benchmarking and a biological reanalysis, led by Saskia J.E. Suijkerbuijk's group at Utrecht University1. The central claim is that 3D nuclear segmentation in the harsh imaging conditions typical of organoid work, low signal-to-noise ratio, limited z-resolution, and intensity that fades with depth, can be done both more accurately and roughly 3 to 5-fold faster than current state-of-the-art tools, by confining deep learning to the 2D plane where it works best and handling the third dimension with explicit geometric rules1.
The second claim is about access. NucLogic ships with a graphical interface aimed at non-experts, requires no coding, and is released open source with pretrained models, so that quantitative single-cell analysis of messy 3D and 4D datasets stops being the preserve of imaging specialists1. The authors demonstrate what that unlocks by reanalyzing their own previously published timelapse dataset of mixed liver and colorectal cancer organoids and extracting a result that was not visible before: cancer cells grow faster specifically when they have short-range contact interactions with wild-type cells, a 18.0-fold versus 11.5-fold relative growth at 60 hours in highly versus lowly interacting organoids, p = 0.0003, across 46 mixed organoids1.
How it works
The pipeline has three stages, and only the first is a neural network. Stage one runs Cellpose-SAM, the current generation of the Cellpose segmentation family, strictly in the XY plane, slice by slice, avoiding the known trap of segmenting along YZ or XZ where resolution is 4 to 10-fold worse and brightness decays with depth1. Stage two is the novel part: the 2D masks are stitched into 3D objects by a set of interpretable geometric rules. When two nuclei touch along the z-axis, their combined mask shows an hourglass-like constriction in cross-sectional area and intensity; NucLogic scores each slice for that pattern, fits a 3D orientation vector to the lowest three centroids of the candidate object to detect changes in trajectory, combines the scores with mask overlap, and cuts the stack at the slice where the combined break score peaks1. Every parameter of that decision is inspectable, and the authors note the rules can be re-tuned when the expected nuclear geometry differs.
Stage three wraps the segmenter in an analysis suite. A locally run SAM 2 video model tracks each organoid through a timelapse and crops it from the surrounding field, re-seeding itself whenever the tracked mask suddenly shrinks by more than 30 percent, a failure mode caused by organoid growth and drift1. The suite then calls phenotypes from any fluorescent marker, computes cell-intrinsic statistics such as size, intensity, and morphology, and spatial statistics such as density and cell-cell contact via dilated masks or nearest neighbors, all exported as tables1.
The benchmark numbers, all from the preprint's own figures, are as follows. On 20 synthetic organoids of about 160 micrometers diameter with 300 nuclei arranged on a sphere and realistic depth-dependent degradation, NucLogic reached an F1 score of 0.979 (SD 0.007) with recall of 0.997 (SD 0.004), against 0.964 for Cellpose-SAM run in its native 3D mode, 0.929 for u-Segment3D, and 0.568 for StarDist, in 34 seconds per organoid versus 106 and 47 seconds for the two competitors1. On the low-SNR zebrafish embryo of the public NIS3D benchmark, NucLogic achieved recall of 0.945 against 0.689 for Cellpose-SAM, detecting 13,414 nuclei at F1 0.922 versus 9,130 at F1 0.804, about 3.5-fold faster1.
Where a skeptic should push
The most load-bearing assumption is that nuclei look enough like the geometric objects the rules assume: compact, oriented bodies that pinch where they touch. The synthetic benchmark is built to match exactly that, ellipsoidal nuclei placed on a spherical shell, so the headline accuracy gap is partly the method being tested on data that share its own prior. That does not make the result worthless; the zebrafish and Drosophila embryo benchmarks are independent experimental data, and the low-SNR recall advantage replicates there. But the expansion-microscopy test is the honest control: on an ultra-dense zebrafish brain volume where individual nuclei have highly irregular shapes, the geometric rules misfire and over-segment, exactly the failure mode the authors predict from theory, and which they mitigate only by downscaling the data1.
Second, demonstrated versus asserted. Demonstrated: segmentation accuracy and speed on synthetic organoids, fly and fish embryos, stained microtissues of up to 30,000 cells segmented in 5 to 10 minutes each, and the 157-organoid, 14-timepoint timelapse reanalysis completed in under six hours on a standard workstation1. Asserted: the biological interpretation of the interaction-driven growth effect, which comes from a reanalysis of the group's own earlier dataset, rests on a linear mixed-effects model over 46 organoids with no independent replication cohort in this paper, and on the phenotype and interaction calls being correct, which no gold standard independently confirms.
Third, scope. Everything biological here is murine liver and colorectal tissue or fish embryos. No neural organoid, human or otherwise, appears anywhere in the benchmarks, and neural tissue is precisely the case where nuclear geometry, dense packing, and low signal combine at their most hostile. The tool is a candidate for neural work, not a validated instrument for it.
Who counts cells sets the governance denominator
For platform access, the throughput claim is the quiet bombshell. Longitudinal organoid imaging has been cheap to acquire and expensive to interpret; a core facility can generate terabytes of timelapse that then sit unaudited because nobody can segment them. A pipeline that turns a 157-organoid 4D study around in an afternoon on ordinary hardware converts timelapse microscopy from an artisanal craft into a screening instrument, and screening instruments are what drug discovery, toxicology, and eventually neural-organoid characterization actually run on1. The access bottleneck in this field keeps proving to be measurement, not growth, and this is measurement getting faster by an order of magnitude at the analysis layer rather than the optics layer.
But the load-bearing governance point is definitional, not operational. Every downstream quantity in organoid science, cell number, growth rate, density, contact frequency, and any welfare-relevant proxy anyone will ever propose for living neural tissue, is computed on top of a segmentation, which means somebody's rules decided what one cell is. NucLogic makes that authority visible rather than hiding it inside a 3D network, and that is a governance feature worth naming. Interpretable metrics can be inspected, amended, and argued about in public; a black-box 3D model's implicit definition of a nucleus cannot. When a future welfare criterion says cell count or structural integrity or contact density of a neural organoid must stay within some bound, the legible question, whose geometry defines the object being counted, will already have an answer written in software. This paper's rules, hourglass constrictions and orientation vectors, are the kind of answer regulators can actually read.
The threat is that legibility is not correctness, and convenience outruns scrutiny. The same GUI that democratizes analysis lets a non-expert generate publication-grade numbers from a preparation, expansion-microscopy data, say, where the rules silently fail. The smart-microscopy direction the authors sketch makes this sharper: segmentation fast enough to drive acquisition decisions means the algorithm starts deciding when and where to look, inserting itself into the measurement loop rather than running after it1. And the distribution model deserves a raised eyebrow: the tool is free, but it phones home for automatic updates, and the pretrained models ship from the authors' Zenodo archive, so a small lab in Utrecht sits upstream of every lab that installs it, able to change the counting rules on every user's machine with a model release23. Open source keeps that power accountable in principle; in practice the update channel is a supply-chain surface the field has not yet thought about governing.
The opportunity and the threat are the same fact viewed from two sides. A fast, readable, open segmenter gives every lab the counting layer that platform governance will need, and puts the rules where everyone can see them. It also makes the whole field depend, quietly and centrally, on whose rules ship by default.
The bottom line
Established: on synthetic organoids and two independent embryo benchmarks, geometric stitching beats 3D deep segmentation at low signal-to-noise ratio and runs 3 to 5-fold faster, and it can quantify a large organoid timelapse study on a standard workstation in hours1. Established with caveats: interpretable rules fail on ultra-high-resolution morphologies, and the biological finding is a single-dataset reanalysis. Not established at all: performance on neural organoids of any species, and independence of the synthetic benchmark from the method's own geometric prior. The confirming evidence would be independent groups running NucLogic on cerebral organoid imaging, including morphologies the rules were not tuned for, and head-to-head ground-truth comparisons. The breaking evidence would be accuracy collapsing on dense neural preparations, the way it did on expansion microscopy. Until one of those happens, treat this as what it is: a well-engineered, honestly-benchmarked analysis tool whose real significance is that it makes the definitional layer of organoid measurement visible, portable, and therefore governable.
Frequently asked questions
What is NucLogic?
An open-source software suite for segmenting and quantifying nuclei in 3D and 4D microscopy data. It combines 2D segmentation by Cellpose-SAM with a novel geometric stitching algorithm that reconstructs 3D nuclear volumes, and adds organoid tracking, phenotype calling, and spatial statistics through a graphical interface aimed at users without coding experience.
How does the 3D stitching work?
2D masks are built slice by slice in the XY plane only, where image quality is best, then assembled into 3D objects by rules a human can inspect: touching nuclei show an hourglass-like constriction in area and intensity in cross-section, and each object's orientation vector, fitted to its lowest centroids, changes where two nuclei meet. The combined score picks the slice where the cut should happen.
How much faster is it than existing tools?
On synthetic organoids it segmented in 34 seconds versus 106 seconds for Cellpose-SAM in 3D mode and 47 seconds for u-Segment3D. On the zebrafish embryo benchmark it was about 3.5-fold faster than Cellpose-SAM while detecting roughly 4,300 more nuclei, and a full 157-organoid, 14-timepoint timelapse dataset was segmented and analyzed in under six hours on a standard workstation.
What biology did it enable?
Reanalyzing a timelapse dataset of mixed wild-type liver and colorectal cancer organoids, the authors found that cancer cells grew significantly faster in organoids where a high fraction of cancer cells had contact interactions with wild-type cells, 18.0-fold versus 11.5-fold relative growth at 60 hours, p = 0.0003 across 46 organoids, suggesting short-range cell contact drives proliferation. This is a single-study finding, not a replicated result.
Where does the method break?
On ultra-high-resolution data such as expansion-microscopy images of dense zebrafish brain, where irregular intra-nuclear shape is misread as boundaries between nuclei and the tool over-segments. The authors show downscaling the data restores accuracy, and argue the interpretable rules can be re-tuned, but a user running the default pipeline on such data would get confident, wrong counts.
Is it open source?
Yes. The code is on GitHub under SuijkerbuijkLab/NucLogic, archived on Zenodo under DOI 10.5281/zenodo.23110802, with pretrained models on Zenodo under DOI 10.5281/zenodo.23110966. The software also includes automatic update detection, so installed versions receive new features and models from the developers by default.
Has it been validated on brain organoids?
No. The benchmarks cover synthetic organoids, murine liver and colorectal organoids and microtissues, Drosophila and zebrafish embryos, and zebrafish brain imaged by expansion microscopy, which is where the method visibly failed. Neural organoid preparations, with their dense packing and difficult optical properties, are exactly the stress test the paper does not yet contain.
References
- van Dijk SG, Ledesma-TerrĂ³n M, Kraus SJ, Kemp LJS, Suijkerbuijk SJE. NucLogic: Logic-based geometric 3D nuclear segmentation for fast and robust analysis of complex 3D and 4D datasets. bioRxiv. Posted 2026-10-06. doi:10.64898/2026.10.05.756154. Accessed 2026-11-04.
- Suijkerbuijk lab. NucLogic source code repository. GitHub. github.com/SuijkerbuijkLab/NucLogic. Accessed 2026-11-04.
- Suijkerbuijk lab. NucLogic source code and pretrained models, archived releases. Zenodo. doi:10.5281/zenodo.23110802. Accessed 2026-11-04.