Skip to content
Open access

ZenReg: A modular Python platform for fast and memory-efficient N-dimensional microscopy image registration

Aug 2026 · bioRxiv · 1 citation · 31 references
Biology

TL;DR

ZenReg, an open-source Python platform that formulates common 2D+t, 3D, and 3D+t microscopy registration tasks as modular, geometry-preserving alignment problems, turns motion correction into an inspectable, memory-aware, and FAIR-oriented component of reproducible bioimage analysis.

Abstract

Motion artifacts are almost unavoidable in functional time-lapse and structural volumetric multiphoton microscopy. They arise from respiration, heartbeat, locomotion, awake behavior, instrument heating, mechanical vibration, and slow drift, while the recorded signal is often photon-limited, blurred by scattering, and biologically time varying. Consequently, motion correction is frequently an essential prerequisite for quantitative bioimage analysis rather than a merely cosmetic preprocessing operation. Edge- and landmark-centric registration strategies are often poorly matched to these data because useful structures may be sparse, diffuse, out-of-focus, or changing in fluorescence intensity. We present ZenReg, an open-source Python platform that formulates common 2D+t, 3D, and 3D+t microscopy registration tasks as modular, geometry-preserving alignment problems. ZenReg combines FFT- and intensity-based translational registration, projection-based rotation estimation, piecewise translational motion correction, and dense or sparse six-degree-of-freedom volume registration within one canonical microscopy stack model. Disk-backed arrays support chunked processing of large or remote image stacks, and every run can produce registered images together with shift tables, correlation metrics, summary plots, and machine-readable settings. In synthetic benchmarks with known ground truth, ZenReg recovered global 2D and 3D translations with subpixel accuracy across moderate noise and drift regimes. High-noise and large-drift tests separated the registration models: FFT-based methods failed abruptly once image information or shared support became insufficient, intensity-based translational alignment degraded more gradually under severe noise, and piecewise translational correction improved spatially varying local motion where a single global transform was inadequate. In real biological data, ZenReg increased mean template correlation in a 3000-frame calcium-imaging movie from 0.334 to 0.487 and recovered imposed continuous three-photon volume motion with a mean translational error of 0.055 px or, for six-degree-of-freedom rigid motion, a mean shift error of 0.068 px and a mean rotation error of 0.015 degrees. By coupling modular registration backends to transparent sidecar outputs, ZenReg turns motion correction into an inspectable, memory-aware, and FAIR-oriented component of reproducible bioimage analysis.

Read PDF

Similar papers

Open access Sep 2026

Rapid volumetric reconstruction and tracking for Fourier light-field microscopy enables real-time calcium imaging in freely behaving Hydra

Fourier light field microscopy (FLFM) enables high-speed volumetric imaging by encoding multiple angular perspectives of a three-dimensional sample onto a single image. For this reason, FLFM is well-suited to sparse and rapidly evolving biological systems. To aid in the adoption of FLFM, we present OpenFLR, an open-sou...

Raymond Adkins, R. Hausen, Jamie Noss et al. · 0 citations
Oct 2026

Joint Segmentation-Registration Optimization for Single Snapshot Spatial Frequency Domain Imaging

Multiwavelength spatial frequency domain imaging (SFDI) technology faces challenges in clinical applications, including background redundancy and motion artifacts, which compromise the stability of physiological parameter extraction. To address this, this article proposes a segmentation-registration joint optimization...

Chen Wu, Kun Sheng, Yang Zhang et al. · 0 citations
Open access Sep 2026

3D-MAESTRO: A scalable, modular, portable pipeline for automated processing of large-scale volumetric brain microscopy data

Light microscopy is routinely used to explore the cellular and molecular structure of tissues, but the scale and complexity of data remains a bottleneck for discovery. We introduce 3D-MAESTRO (3D-Microscopy Automation and Execution with Scalable Tools, Rendering, and Orchestration): an automated image processing workfl...

Camilo Laiton, Nicholas A. Lusk, Yoni Browning et al. · 0 citations
Preprint Sep 2026

PyFLI: A Python Library for Simulation, Parameter Estimation, and Benchmarking in Fluorescence Lifetime Imaging

Fluorescence lifetime imaging (FLI) measures the temporal decay of fluorescence after excitation and provides quantitative information about a fluorophore's local environment and molecular interactions. Depending on the fluorophore and experimental design, lifetime can report changes associated with pH, oxygenation, ce...

Vikas Pandey, Ismail Erbas, Margarida Barroso et al. · 0 citations
Aug 2026

AutoSPy: A software of automated image processing for time-lapse scanning tunneling microscopy.

AutoSPy, a modular software package that automates the conversion of raw time-lapse STM image stacks into analyzable time-series measurements, provides a generalizable toolkit for quantitative studies of dynamic surface evolution and kinetics under working conditions.

Hao Hu, Bo-Wen Zhu, Yangsheng Li et al. · 0 citations
Preprint Aug 2026

Beyond Isotropic Assumptions: Continuity-Constrained Segmentation and GPU Morphometry for Nanoscale GBM Analysis

Confocal microscopy of optically cleared and swelled tissue resolves complex biological structures in 3D, but such acquisitions are highly anisotropic: along the under-sampled axial direction the structure can appear discontinuous, hampering reconstruction and automated quantitative analysis. The usual remedy upsamples...

Arash Fatehi, R. Ebbestad, Linus Butt et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.