NoRMCorre: An online algorithm for piecewise rigid motion correction of calcium imaging data

被引:521
作者
Pnevmatikakis, Eftychios A. [1 ]
Giovannucci, Andrea [1 ]
机构
[1] Simons Fdn, Ctr Computat Biol, Flatiron Inst, New York, NY 10010 USA
关键词
Calcium imaging; Motion correction; Image registration; CELLULAR RESOLUTION; AWAKE;
D O I
10.1016/j.jneumeth.2017.07.031
中图分类号
Q5 [生物化学];
学科分类号
071010 ; 081704 ;
摘要
Background: Motion 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. New method: We introduce an algorithm for fast Non-Rigid Motion Correction (NoRMCorre) based on template matching. NoRMCorre operates by splitting the field of view (FOV) into overlapping spatial patches along all directions. The patches are registered at a sub-pixel resolution for rigid translation against a regularly updated template. The estimated alignments are subsequently up-sampled to create a smooth motion field for each frame that can efficiently approximate non-rigid artifacts in a piecewiserigid manner. Existing methods: Existing approaches either do not scale well in terms of computational performance or are targeted to non-rigid artifacts arising just from the finite speed of raster scanning, and thus cannot correct for non-rigid motion observable in datasets from a large FOV. Results: NoRMCorre can be run in an online mode resulting in comparable to or even faster than real time motion registration of streaming data. We evaluate its performance with simple yet intuitive metrics and compare against other non-rigid registration methods on simulated data and in vivo two-photon calcium imaging datasets. Open source Matlab and Python code is also made available. Conclusions: The proposed method and accompanying code can be useful for solving large scale image registration problems in calcium imaging, especially in the presence of non-rigid deformations. (C) 2017 The Author(s). Published by Elsevier B.V.
引用
收藏
页码:83 / 94
页数:12
相关论文
共 22 条
[1]  
Bouchard MB, 2015, NAT PHOTONICS, V9, P113, DOI [10.1038/nphoton.2014.323, 10.1038/NPHOTON.2014.323]
[2]  
Collman F. C., 2010, HIGH RESOLUTION IMAG
[3]   Imaging large-scale neural activity with cellular resolution in awake, mobile mice [J].
Dombeck, Daniel A. ;
Khabbaz, Anton N. ;
Collman, Forrest ;
Adelman, Thomas L. ;
Tank, David W. .
NEURON, 2007, 56 (01) :43-57
[4]   moco: Fast Motion Correction for Calcium Imaging [J].
Dubbs, Alexander ;
Guevara, James ;
Yuste, Rafael .
FRONTIERS IN NEUROINFORMATICS, 2016, 10
[5]   Two-frame motion estimation based on polynomial expansion [J].
Farnebäck, G .
IMAGE ANALYSIS, PROCEEDINGS, 2003, 2749 :363-370
[6]  
Gauthier J., 2016, COMP SYST NEUR M COS
[7]  
Giovannucci A., 2017, COMP SYST NEUR M COS
[8]   Automated correction of fast motion artifacts for two-photon imaging of awake animals [J].
Greenberg, David S. ;
Kerr, Jason N. D. .
JOURNAL OF NEUROSCIENCE METHODS, 2009, 176 (01) :1-15
[9]   Efficient subpixel image registration algorithms [J].
Guizar-Sicairos, Manuel ;
Thurman, Samuel T. ;
Fienup, James R. .
OPTICS LETTERS, 2008, 33 (02) :156-158
[10]   SIMA: Python']Python software for analysis of dynamic fluorescence imaging data [J].
Kaifosh, Patrick ;
Zaremba, Jeffrey D. ;
Danielson, Nathan B. ;
Losonczy, Attila .
FRONTIERS IN NEUROINFORMATICS, 2014, 8