Optical-flow analysis toolbox for characterization of spatiotemporal dynamics in mesoscale optical imaging of brain activity

Abstract Wide‐field optical imaging techniques constitute powerful tools to investigate mesoscale neuronal activity. The sampled data constitutes a sequence of image frames in which one can investigate the flow of brain activity starting and terminating at source and sink locations respectively. Approaches to the analyses of information flow include qualitative assessment to identify sources and sinks of activity as well as their trajectories, and quantitative measurements based on computing the temporal variation of the intensity of pixels. Furthermore, in a few studies estimates of wave motion have been reported using optical‐flow techniques from computer vision. However, a comprehensive toolbox for the quantitative analyses of mesoscale brain activity data is still lacking. We present a graphical‐user‐interface toolbox based in Matlab® for investigating the spatiotemporal dynamics of mesoscale brain activity using optical‐flow analyses. The toolbox includes the implementation of three optical‐flow methods namely Horn‐Schunck, Combined Local‐Global, and Temporospatial algorithms for estimating velocity vector fields of flow of mesoscale brain activity. From the velocity vector fields we determined the locations of sources and sinks as well as the trajectories and temporal velocities of flow of activity. Using simulated data as well as experimentally derived sensory‐evoked voltage and calcium imaging data from mice, we compared the efficacy of the three optical‐flow methods for determining spatiotemporal dynamics. Our results indicate that the combined local‐global method we employed, yields the best results for estimating wave motion. The automated approach permits rapid and effective quantification of mesoscale brain dynamics and may facilitate the study of brain function in response to new experiences or pathology. HighlightsGraphical‐user‐interface toolbox based in Matlab® for investigating the spatiotemporal dynamics of mesoscale brain activity using optical‐flow analyses.Graphical‐user‐interface toolbox for preprocessing mesoscale optical imaging data i.e. finding &Dgr;F/F0 and applying temporal or spatial filtering.Comparison of the efficacy of three optical‐flow methods namely Horn‐Schunck, Combined Local‐Global, and Temporospatial algorithms.Combined local‐global method yields the best results for estimating wave dynamics.The automated approach permits rapid and effective quantification of mesoscale brain dynamics.

[1]  Hongkui Zeng,et al.  Resolution of High-Frequency Mesoscale Intracortical Maps Using the Genetically Encoded Glutamate Sensor iGluSnFR , 2016, The Journal of Neuroscience.

[2]  Majid H. Mohajerani,et al.  Targeted mini-strokes produce changes in interhemispheric sensory signal processing that are indicative of disinhibition within minutes , 2011, Proceedings of the National Academy of Sciences.

[3]  Yasushi Kishimoto,et al.  Altered Cortical Dynamics and Cognitive Function upon Haploinsufficiency of the Autism-Linked Excitatory Synaptic Suppressor MDGA2 , 2016, Neuron.

[4]  Elizabeth M C Hillman,et al.  Optical brain imaging in vivo: techniques and applications from animal to man. , 2007, Journal of biomedical optics.

[5]  M. Häusser,et al.  Electrophysiology in the age of light , 2009, Nature.

[6]  Nima Sahba,et al.  A new variational technique for combining affine registration and optical flow in echocardiography images , 2008, 2008 30th Annual International Conference of the IEEE Engineering in Medicine and Biology Society.

[7]  Robert A. Frazor,et al.  Standing Waves and Traveling Waves Distinguish Two Circuits in Visual Cortex , 2007, Neuron.

[8]  A. Destexhe,et al.  Propagating waves in thalamus, cortex and the thalamocortical system: Experiments and models , 2012, Journal of Physiology-Paris.

[9]  C. Koch,et al.  The origin of extracellular fields and currents — EEG, ECoG, LFP and spikes , 2012, Nature Reviews Neuroscience.

[10]  D. McVea,et al.  Mirrored Bilateral Slow-Wave Cortical Activity within Local Circuits Revealed by Fast Bihemispheric Voltage-Sensitive Dye Imaging in Anesthetized and Awake Mice , 2010, The Journal of Neuroscience.

[11]  Tatsuo K Sato,et al.  Traveling Waves in Visual Cortex , 2012, Neuron.

[12]  T. Murphy,et al.  Optogenetic Mapping after Stroke Reveals Network-Wide Scaling of Functional Connections and Heterogeneous Recovery of the Peri-Infarct , 2014, The Journal of Neuroscience.

[13]  Robert E Campbell,et al.  A Bright and Fast Red Fluorescent Protein Voltage Indicator That Reports Neuronal Activity in Organotypic Brain Slices , 2016, The Journal of Neuroscience.

[14]  T. Murphy,et al.  Mesoscale Transcranial Spontaneous Activity Mapping in GCaMP3 Transgenic Mice Reveals Extensive Reciprocal Connections between Areas of Somatomotor Cortex , 2014, The Journal of Neuroscience.

[15]  Stefan R. Pulver,et al.  Ultra-sensitive fluorescent proteins for imaging neuronal activity , 2013, Nature.

[16]  Ce Liu,et al.  Exploring new representations and applications for motion analysis , 2009 .

[17]  F. Haiss,et al.  Spatiotemporal Dynamics of Cortical Sensorimotor Integration in Behaving Mice , 2007, Neuron.

[18]  Luc Van Gool,et al.  Fast Optical Flow Using Dense Inverse Search , 2016, ECCV.

[19]  Lei Jin,et al.  Monitoring Brain Activity with Protein Voltage and Calcium Sensors , 2015, Scientific Reports.

[20]  D. McVea,et al.  Spontaneous cortical activity alternates between motifs defined by regional axonal projections , 2013, Nature Neuroscience.

[21]  Michael P. Stryker,et al.  New Paradigm for Optical Imaging Temporally Encoded Maps of Intrinsic Signal , 2003, Neuron.

[22]  Naoum P. Issa,et al.  Functional Imaging with Mitochondrial Flavoprotein Autofluorescence: Theory, Practice, and Applications , 2009 .

[23]  A. Grinvald,et al.  Imaging Cortical Dynamics at High Spatial and Temporal Resolution with Novel Blue Voltage-Sensitive Dyes , 1999, Neuron.

[24]  Nikos Paragios,et al.  Handbook of Mathematical Models in Computer Vision , 2005 .

[25]  Hans-Hellmut Nagel,et al.  Optical Flow Estimation: Advances and Comparisons , 1994, ECCV.

[26]  Julien Lefèvre,et al.  Imaging Brain Activation Streams from Optical Flow Computation on 2-Riemannian Manifolds , 2007, IPMI.

[27]  Rory G Townsend,et al.  Emergence of Complex Wave Patterns in Primate Cerebral Cortex , 2015, The Journal of Neuroscience.

[28]  Ekta Patel,et al.  Comparison of Optical Flow Algorithms for Speed Determination of Moving Objects , 2013 .

[29]  Thomas K. Berger,et al.  Combined voltage and calcium epifluorescence imaging in vitro and in vivo reveals subthreshold and suprathreshold dynamics of mouse barrel cortex. , 2007, Journal of neurophysiology.

[30]  J. Lilly,et al.  Instantaneous relations between the activities of closely spaced zones on the cerebral cortex; electrical figures during responses and spontaneous activity. , 1954, The American journal of physiology.

[31]  R. Kuljiš,et al.  Integrative Understanding of Emergent Brain Properties, Quantum Brain Hypotheses, and Connectome Alterations in Dementia are Key Challenges to Conquer Alzheimer's Disease , 2010, Front. Neur..

[32]  Walther Akemann,et al.  Imaging neural circuit dynamics with a voltage-sensitive fluorescent protein. , 2012, Journal of neurophysiology.

[33]  Timothy H Murphy,et al.  Voltage-Sensitive Dye Imaging Reveals Dynamic Spatiotemporal Properties of Cortical Activity after Spontaneous Muscle Twitches in the Newborn Rat , 2012, The Journal of Neuroscience.

[34]  T. Inouye,et al.  Potential flow of alpha activity in the human electroencephalogram. , 1995, Neuroscience letters.

[35]  W. Denk,et al.  In vivo two-photon voltage-sensitive dye imaging reveals top-down control of cortical layers 1 and 2 during wakefulness , 2008, Proceedings of the National Academy of Sciences.

[36]  Feng Qi Han,et al.  Reverberation of Recent Visual Experience in Spontaneous Cortical Waves , 2008, Neuron.

[37]  P. Nunez,et al.  A theoretical basis for standing and traveling brain waves measured with human EEG with implications for an integrated consciousness , 2006, Clinical Neurophysiology.

[38]  Kuniyuki Takahashi,et al.  Flavoprotein Fluorescence Imaging of Experience-Dependent Cortical Plasticity in Rodents , 2009 .

[39]  Hans Förstl,et al.  Decreased amyloid-β and increased neuronal hyperactivity by immunotherapy in Alzheimer's models , 2015, Nature Neuroscience.

[40]  M. Nemoto,et al.  Optical imaging and measuring of local hemoglobin concentration and oxygenation changes during somatosensory stimulation in rat cerebral cortex. , 1997, Advances in experimental medicine and biology.

[41]  Majid H Mohajerani,et al.  Optogenetic Approaches for Mesoscopic Brain Mapping. , 2016, Methods in molecular biology.

[42]  Jian-Young Wu,et al.  Spiral Wave Dynamics in Neocortex , 2010, Neuron.

[43]  Frank W. Ohl,et al.  Flow detection of propagating waves with temporospatial correlation of activity , 2011, Journal of Neuroscience Methods.

[44]  T. Murphy,et al.  In vivo Large-Scale Cortical Mapping Using Channelrhodopsin-2 Stimulation in Transgenic Mice Reveals Asymmetric and Reciprocal Relationships between Cortical Areas , 2012, Front. Neural Circuits.

[45]  Javier Ruiz-del-Solar,et al.  Performance of optical flow techniques for motion analysis of fluorescent point signals in confocal microscopy , 2012, Machine Vision and Applications.

[46]  Tianshu Liu,et al.  Comparison between optical flow and cross-correlation methods for extraction of velocity fields from particle images , 2015 .

[47]  Abraham Z. Snyder,et al.  Imaging of Functional Connectivity in the Mouse Brain , 2011, PloS one.

[48]  Berthold K. P. Horn,et al.  Determining Optical Flow , 1981, Other Conferences.

[49]  Timothy H Murphy,et al.  Mesoscale infraslow spontaneous membrane potential fluctuations recapitulate high-frequency activity cortical motifs , 2015, Nature Communications.

[50]  R. Frostig In Vivo Optical Imaging of Brain Function , 2002 .

[51]  Douglas J. Bakkum,et al.  Revealing neuronal function through microelectrode array recordings , 2015, Front. Neurosci..

[52]  Hyong C Lee,et al.  Comparing Epileptiform Behavior of Mesoscale Detailed Models and Population Models of Neocortex , 2010, Journal of clinical neurophysiology : official publication of the American Electroencephalographic Society.

[53]  Michael Breakspear,et al.  Hemodynamic Traveling Waves in Human Visual Cortex , 2012, PLoS Comput. Biol..

[54]  K Shinosaki,et al.  Moving potential field of frontal midline theta activity during a mental task. , 1994, Brain research. Cognitive brain research.

[55]  Gang Chen,et al.  Flavoprotein autofluorescence imaging of neuronal activation in the cerebellar cortex in vivo. , 2004, Journal of neurophysiology.

[56]  Matti S. Hämäläinen,et al.  Encoding Cortical Dynamics in Sparse Features , 2014, Front. Hum. Neurosci..

[57]  Arthur Konnerth,et al.  Impairments of neural circuit function in Alzheimer's disease , 2016, Philosophical Transactions of the Royal Society B: Biological Sciences.

[58]  José Delpiano,et al.  An Implementation of Multiscale Combined Local-Global Optical Flow , 2014 .

[59]  T. Inouye,et al.  Potential flow of a activity in the human electroencephalogram , 1995, Neuroscience Letters.

[60]  D. Kleinfeld,et al.  Traveling Electrical Waves in Cortex Insights from Phase Dynamics and Speculation on a Computational Role , 2001, Neuron.

[61]  Diego Contreras,et al.  Long-Range Parallel Processing and Local Recurrent Activity in the Visual Cortex of the Mouse , 2012, The Journal of Neuroscience.

[62]  Joachim Weickert,et al.  Combining the Advantages of Local and Global Optic Flow Methods , 2002, DAGM-Symposium.

[63]  R. Frostig,et al.  Large-Scale Organization of Rat Sensorimotor Cortex Based on a Motif of Large Activation Spreads , 2008, The Journal of Neuroscience.

[64]  Michael J. Black,et al.  Secrets of optical flow estimation and their principles , 2010, 2010 IEEE Computer Society Conference on Computer Vision and Pattern Recognition.

[65]  Nathan C. Klapoetke,et al.  Transgenic Mice for Intersectional Targeting of Neural Sensors and Effectors with High Specificity and Performance , 2015, Neuron.

[66]  Majid H. Mohajerani,et al.  Optogenetic approaches for functional mouse brain mapping , 2013, Front. Neurosci..

[67]  Quing Zhu,et al.  Imaging Tumor Oxyhemoglobin and Deoxyhemoglobin Concentrations with Ultrasound-Guided Diffuse Optical Tomography , 2011, Technology in cancer research & treatment.

[68]  Fritjof Helmchen,et al.  Chronic imaging of cortical sensory map dynamics using a genetically encoded calcium indicator , 2012, The Journal of physiology.

[69]  A. Saykin,et al.  Neuroimaging Biomarkers of Neurodegenerative Diseases and Dementia , 2013, Seminars in Neurology.

[70]  Kazuhiro Shinosaki,et al.  Potential flow of frontal midline theta activity during a mental task in the human electroencephalogram , 1994, Neuroscience Letters.

[71]  Amiram Grinvald,et al.  Voltage-Sensitive Dye Imaging of Neocortical Activity. , 2016, Cold Spring Harbor protocols.

[72]  K. Kendrick,et al.  Neural, electrophysiological and anatomical basis of brain-network variability and its characteristic changes in mental disorders. , 2016, Brain : a journal of neurology.