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

OpenFLR, an open-source software framework for real-time volumetric reconstruction, three-dimensional particle tracking, and calcium image processing using FLFM is presented, and a hybrid experimental-computational PSF calibration strategy and a triangulation approach to tracking are used to extract particle positions...

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

3D-MAESTRO is applied to lightsheet images of whole mouse brains in the context of diverse anatomical and functional experiments, illustrating high-throughput and reproducible mapping of microscopic structures across the brain.

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

PyFLI is an open-source framework for FLI processing and standardized data simulation that imports measurements from acquisition systems, simulates labeled data under configurable acquisition and noise conditions, and provides complementary approaches for parameter estimation.

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

This work quantifies GBM thickness across the reconstructed 3D surface and capture disease-related thickening, enabling fully automated anisotropic 3D morphometry of biological structures without dense volumetric labels or image restoration.

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.