Applied AI & Research · 2025
Bell Jar
An open-source desktop tool that aligns mouse brain tissue sections to a reference atlas and counts cells in them, published in eNeuro.
- Client
- Neuroscience research
- Role
- Lead author
- Timeline
- Published 2025
- Stack
- Python, PyTorch, YOLOv8, Electron

Scroll sidewaysOpen full size
01 / The bottleneck
Where things were stuck.
To analyze a mouse brain, every tissue section has to be registered to a reference atlas. Doing that by hand is slow and hard to reproduce, and damaged tissue throws off automated tools.
02 / The build
What I built.
Built Bell Jar, a standalone desktop app. A ResNet-101 predictor proposes where each section sits in the atlas, the researcher fine-tunes the match, and B-spline registration maps the atlas annotations onto the tissue.
Labeled brain sections are scarce, so I generated the training set: one million images sliced from the Allen brain atlas at random angles and depths, with Sobel filtering on the inputs to bring out anatomical edges. Cell detection is a YOLOv8 model trained on 700 hand-annotated cells, augmented to 2,600 instances, and run with sliced inference so it holds up on large images.
03 / The result
What changed.
Alignment and cell counting went from weeks for a single brain to multiple experiments in as little as four hours, while aligning sections more accurately than QUINT and DeepSlice in the paper's benchmarks.
Read the paperFacing a similar bottleneck?
Request a 20-minute intro call and we'll walk through your current stack.