Journal of Neuroscience MethodsNeurosciencePeer-reviewed journal article
NoRMCorre: An online algorithm for piecewise rigid motion correction of calcium imaging data
Abstract
BackgroundMotion correction is a challenging pre-processing problem that arises early in the analysis pipeline of calcium imaging data sequences. The motion artifacts in two-photon microscopy recordings can be non-rigid, arising from the finite time of raster scanning and non-uniform deformations of the brain medium.\n\nNew methodWe introduce an algorithm for fast Non-Rigid Motion Correction (NoRMCorre) based on template matching. NoRMCorre operates by splitting the field of view into overlapping spatial patches that are registered at a sub-pixel resolution for rigid translation against a continuously updated template. The estimated alignments are subsequently up-sampled to create a smooth motion field for each frame that can efficiently approximate non-rigid motion in a piecewise-rigid manner.\n\nExisting methodsExisting approaches either do not scale well in terms of computational performance or are targeted to motion artifacts arising from low speed scanning, whereas modern datasets with large field of view are more prone to non-rigid brain deformation issues.\n\nResultsNoRMCorre can be run in an online mode resulting in comparable to or even faster than real time motion registration on streaming data. We evaluate the performance of the proposed method with simple yet intuitive metrics and compare against other non-rigid registration methods on two-photon calcium imaging datasets. Open source Matlab and Python code is also made available.\n\nConclusionsThe proposed method and code provide valuable support to the community for solving large scale image registration problems in calcium imaging, especially when non-rigid deformations are present in the acquired data.
- Citations
- 1,019
- FWCI
- 26.15
- Field percentile
- top 1%
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- PatchWarp: Corrections of non-uniform image distortions in two-photon calcium imaging data by patchwork affine transformations
Ryoma Hattori, Takaki Komiyama·Cell Reports MethodsPeer-reviewed·Apr 27, 2022
- ZenReg: A modular Python platform for fast and memory-efficient N-dimensional microscopy image registration
Fabrizio Musacchio, Martin Fuhrmann·bioRxiv·Aug 28, 2026
- Software for Non-Parametric Image Registration of 2-Photon Imaging Data
Philipp Flotho, Shinobu Nomura, … Daniel J. Strauß·Journal of BiophotonicsPeer-reviewed·Mar 15, 2022
- Axial motion estimation and correction for simultaneous multi-plane two-photon calcium imaging
Andres Flores-Valle, Johannes D. Seelig·bioRxiv·Sep 28, 2021
- OnACID: Online Analysis of Calcium Imaging Data in Real Time
Andrea Giovannucci, Johannes Friedrich, … Eftychios A. Pnevmatikakis·bioRxiv·Oct 2, 2017
- Correcting axial-motion artifacts in two-photon calcium imaging with suite2p-in-depth
Liad J. Baruchin, Maria Cozan, … Sylvia Schröder·bioRxiv·Sep 30, 2026