skip to main content
10.1145/3289602.3293919acmconferencesArticle/Chapter ViewAbstractPublication PagesfpgaConference Proceedingsconference-collections
short-paper
Public Access

LANMC: LSTM-Assisted Non-Rigid Motion Correction on FPGA for Calcium Image Stabilization

Published: 20 February 2019 Publication History

Abstract

Calcium imaging is an emerging technique for visualizing and recording neural population activity at large scale in vivo. Non-rigid motion correction is a critical step in the calcium image analysis pipeline due to non-uniform deformations of the brain tissue during the data collection. However, existing non-rigid motion correction algorithms are costly in computation time and energy, and it is hard to implement such algorithm in real time on an embedded device. In this paper, we propose LANMC, an LSTM-assisted non-rigid motion correction method for real-time calcium image stabilization. This method reduces the computational cost by using the LSTM inference to predict the non-rigid motion. Based on this method, we demonstrate a non-rigid motion correction implementation for real-time calcium image stabilization on FPGA. Experimental results show that the non-rigid motion correction can be accomplished within 80 µs on the Ultra96 under 300 MHz frequency, and the latency outperforms that on a 12-thread CPU by 82x.

References

[1]
Denise J. Cai, Daniel Aharoni, Tristan Shuman, and et al. 2016. A shared neural ensemble links distinct contextual memories encoded close in time . Nature, Vol. 534 (2016), 115--118.
[2]
T.N. Chandrapala, L.M.A.P. Cabral, S. Ahangama, and et al. 2012. Hardware implementation of motion blur removal . In Int. Conf. Field Program. Log. Appl. 243--248.
[3]
Zhe Chen, Andrew Howe, Hugh T. Blair, and et al. 2018. CLINK: Compact LSTM inference kernel for energy efficient neurofeedback devices. In Proc. Int. Symp. Low Power Electron. Des. 2:1--2:6.
[4]
Ye Han Cong Shi, Jie Yang and et al. 2014. A 1000fps vision chip based on a dynamically reconfigurable hybrid architecture comprising a PE array and self-organizing map neural network. In IEEE Int. Solid-State Circuits Conf. Dig. Tech. Pap. 128--129.
[5]
Gunnar Farneb"a ck. 2003. Two-frame motion estimation based on polynomial expansion. In Image Anal. Springer Berlin Heidelberg, 363--370.
[6]
Kunal K Ghosh, Laurie D Burns, Eric D Cocker, and et al. 2011. Miniaturized integration of a fluorescence microscope . Nat. Methods, Vol. 8 (2011), 871.
[7]
Andrea Giovannucci, Johannes Friedrich, Matthew Kaufman, and et al. 2017. OnACID: Online analysis of calcium imaging data in real time . In Adv. Neural Inf. Process. Syst. 2378--2388.
[8]
Diego Gonzalez, Guillermo Botella, Soumak Mokheerje, and et al. 2011. FPGA-Based acceleration of block matching motion estimation techniques. In Int. Conf. Field Program. Log. Appl. 389--392.
[9]
Xin He, Liu Ke, Wenyan Lu, and et al. 2018. AxTrain: Hardware-oriented neural network training for approximate inference. In Proc. Int. Symp. Low Power Electron. Des. 20:1--20:6.
[10]
Sepp Hochreiter and Jü rgen Schmidhuber. 1997. Long short-term memory . Neural Comput., Vol. 9, 8 (1997), 1735--1780.
[11]
Yangqing Jia, Evan Shelhamer, Jeff Donahue, and et al. 2014. Caffe: Convolutional architecture for fast feature embedding. In Proc. 22nd ACM Int. Conf. Multimed. New York, NY, USA, 675--678.
[12]
Jianan Li, Tingfa Xu, and Kun Zhang. 2017. Real-time feature-based video stabilization on FPGA . IEEE Trans. Circuits Syst. Video Technol., Vol. 27, 4 (2017), 907--919.
[13]
Jinghao Lu, Chunyuan Li, Jonnathan Singh-Alvarado, and et al. 2018. MIN1PIPE: A miniscope 1-photon-based calcium imaging signal extraction pipeline. Cell Rep., Vol. 23, 12 (2018), 3673--3684.
[14]
Eftychios A. Pnevmatikakis and Andrea Giovannucci. 2017. NoRMCorre: An online algorithm for piecewise rigid motion correction of calcium imaging data . J. Neurosci. Methods, Vol. 291 (2017), 83--94.
[15]
Christoph Stosiek, Olga Garaschuk, Knut Holthoff, and et al. 2003. In vivo two-photon calcium imaging of neuronal networks . Proc. Natl. Acad. Sci. U. S. A., Vol. 100, 12 (2003), 7319--7324.

Cited By

View all

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Conferences
FPGA '19: Proceedings of the 2019 ACM/SIGDA International Symposium on Field-Programmable Gate Arrays
February 2019
360 pages
ISBN:9781450361378
DOI:10.1145/3289602
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

Sponsors

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 20 February 2019

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. calcium image
  2. long short-term memory (lstm)
  3. motion correction

Qualifiers

  • Short-paper

Funding Sources

Conference

FPGA '19
Sponsor:

Acceptance Rates

Overall Acceptance Rate 125 of 627 submissions, 20%

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)146
  • Downloads (Last 6 weeks)14
Reflects downloads up to 13 Jan 2025

Other Metrics

Citations

Cited By

View all

View Options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Login options

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media