Key Laboratory of Biomedical Engineering of Education Ministry, Zhejiang Provincial Key Laboratory of Cardio-Cerebral Vascular Detection Technology and Medicinal Effectiveness Appraisal, Department of Biomedical Engineering, School of Biomedical Engineering and Instrument Science, Zhejiang University, Hangzhou, China.
Qiushi Academy for Advanced Studies, Zhejiang University, Hangzhou, China.
Front Neural Circuits. 2022 Jun 24;16:891825. doi: 10.3389/fncir.2022.891825. eCollection 2022.
Single-photon-based head-mounted microscopy is widely used to record the brain activities of freely-moving animals. However, during data acquisition, the free movement of animals will cause shaking in the field of view, which deteriorates subsequent neural signal analyses. Existing motion correction methods applied to calcium imaging data either focus on offline analyses or lack sufficient accuracy in real-time processing for single-photon data. In this study, we proposed an open-source real-time motion correction (RTMC) plug-in for single-photon calcium imaging data acquisition. The RTMC plug-in is a real-time subpixel registration algorithm that can run GPUs in UCLA Miniscope data acquisition software. When used with the UCLA Miniscope, the RTMC algorithm satisfies real-time processing requirements in terms of speed, memory, and accuracy. We tested the RTMC algorithm by extending a manual neuron labeling function to extract calcium signals in a real experimental setting. The results demonstrated that the neural calcium dynamics and calcium events can be restored with high accuracy from the calcium data that were collected by the UCLA Miniscope system embedded with our RTMC plug-in. Our method could become an essential component in brain science research, where real-time brain activity is needed for closed-loop experiments.
基于单光子的头戴式显微镜被广泛用于记录自由活动动物的大脑活动。然而,在数据采集过程中,动物的自由运动会导致视野中的抖动,从而恶化后续的神经信号分析。现有的应用于钙成像数据的运动校正方法要么专注于离线分析,要么在实时处理单光子数据方面缺乏足够的准确性。在本研究中,我们提出了一种用于单光子钙成像数据采集的开源实时运动校正(RTMC)插件。RTMC 插件是一种实时亚像素配准算法,可以在 UCLA Miniscope 数据采集软件中运行 GPU。当与 UCLA Miniscope 一起使用时,RTMC 算法在速度、内存和准确性方面满足实时处理的要求。我们通过扩展手动神经元标记功能来测试 RTMC 算法,以从嵌入我们的 RTMC 插件的 UCLA Miniscope 系统中采集的钙数据中提取钙信号。结果表明,从我们的 RTMC 插件嵌入的 UCLA Miniscope 系统采集的钙数据中,可以高精度地恢复神经钙动力学和钙事件。我们的方法可能成为脑科学研究的一个重要组成部分,在这种研究中,需要实时大脑活动来进行闭环实验。