Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
Review
. 2022 Oct;9(4):041402.
doi: 10.1117/1.NPh.9.4.041402. Epub 2022 Aug 4.

Review of data processing of functional optical microscopy for neuroscience

Affiliations
Review

Review of data processing of functional optical microscopy for neuroscience

Hadas Benisty et al. Neurophotonics. 2022 Oct.

Abstract

Functional optical imaging in neuroscience is rapidly growing with the development of optical systems and fluorescence indicators. To realize the potential of these massive spatiotemporal datasets for relating neuronal activity to behavior and stimuli and uncovering local circuits in the brain, accurate automated processing is increasingly essential. We cover recent computational developments in the full data processing pipeline of functional optical microscopy for neuroscience data and discuss ongoing and emerging challenges.

Keywords: calcium imaging; data analysis; fluorescence microscopy; functional imaging.

PubMed Disclaimer

Figures

Fig. 1
Fig. 1
Optical imaging basics. (a) Laser scanning microscopy (e.g., two-photon microscopy) focuses the laser on a point inside the tissue, sequentially illuminating a chosen plane. Neurons intersecting the plane show up in the rendered images, whereas out-of-plane neurons accumulate as background, and combined nonsomatic activity (e.g., smaller dendritic and axonal components) as neuropil. (b) Choices in the optical illumination impact image properties. The image resolution is defined by the PSF, which is determined by microscope optics and optical properties of the sample. The dwell time controls the time spent at each location and is related to the scanning speed, i.e., the framerate, and can influence the number of photons collected per pixel and thus the signal strength. In laser scanning microscopy, these, in combination with scanning and laser technology, the image size, resolution, framerate, and noise characteristics of the image are determined. (c) Widefield imaging simultaneously illuminates the entire cortical surface plane, capturing dynamics across multiple brain areas. (d) In widefield imaging, camera characteristics primarily determine the image acquisition size and rate. The optical resolution for widefield imaging is strongly limited by microscope optics and optical aberrations from the sample.
Fig. 2
Fig. 2
Examples of functional microscopy data. Functional microscopy data obtained via different modalities, at different scales, and in different animal models expressing different indicators can take on a diversity of signal characteristics. Shown are six examples spanning a range of datasets. (a) Laser scanning two-photon calcium imaging (GCaMP5) in mouse hippocampus. (b) Glutamate (iGluSnFR3.v857) spine imaging using laser-scanning two-photon microscopy in layer two-third mouse cortex. (c) One-photon widefield calcium (GCaMP6f) imaging of rat dorsal cortex using a head-mounted macroscope. (d) One-photon calcium imaging using a head-mounted microendoscope in mouse striatum. (e) One-photon voltage imaging (Voltron525-ST) in layer 1 of mouse cortex. (f) Whole-brain light-sheet calcium imaging (GCaMP6f) in larval zebrafish. Only one of 29 imaging planes each recorded at 2 Hz is depicted here. Note that the spatial and temporal statistics range dramatically across domains, requiring flexible data processing approaches.
Fig. 3
Fig. 3
The optical imaging pipeline, expanded. The first step in analyzing fluorescence microscopy data is to correct any motion, reducing interframe misalignment. Between motion correction and demixing (i.e., cell-finding), steps to remove imaging noise and confounding factors are taken. Specific steps include de-trending to remove photobleaching, denoising to increase SNR, and hemodynamic correction in widefield data. The core pipeline stage of focus is demixing or identification of individual fluorescing components. Demixing should always be paired with some sort of validation on the output to prevent artifacts and other errors. The output of the demixing can be used to infer firing events (in single-cell resolution imaging), align multiple imaging sessions, or register to a global brain atlas (in widefield data). One important step: the ΔF/F calculation, which normalized fluorescence traces to their baseline, can be computed before or after demixing.
Fig. 4
Fig. 4
Widefield imaging. (a) Imaging frames of widefield signal. (b) Left—a single frame, red “x” correspond to motor, retrosplenial (RS), somatosensory (SS), and visual cortices, right—time-traces of the corresponding locations. (c) Left—anatomical atlas CCFv3, right—functional parcellation by LSSC. (d) Spatial components derived by SVD. Data from Ref. .
Fig. 5
Fig. 5
Assessing optical imaging analysis outputs. (a) Manual annotation, e.g., the NeuroFinder benchmark dataset (example shown here), can help detect true detections (white) and missed cells (red), as compared with a labeling of the spatial area imaged (right). Manual annotation, however, does not provide information on cells that do not match any of the manual annotations (left). (b) Simulation-based assessment uses in silico simulations of activity and anatomy to create faux fluorescence microscopy data. The outputs of an analysis pipeline using the data can be compared with the simulated ground truth. (c) Self-consistency measures use the global demixed components and analyze local space-time extents of the movie to check if the spatial and temporal components still describe the data well. For example, is activity erroneously attributed to a found cell. (d) Consistency with external variables examines if expected gross behavior of the imaged neural populations match behavioral or stimulation events corecorded with the fluorescence video. For example, shown here are neurons in motor cortex responding to a motion made by a mouse responding to an auditory cue.

Similar articles

Cited by

References

    1. Jun J. J., et al. , “Fully integrated silicon probes for high-density recording of neural activity,” Nature 551(7679), 232 (2017). 10.1038/nature24636 - DOI - PMC - PubMed
    1. Steinmetz N. A., et al. , “Neuropixels 2.0: a miniaturized high-density probe for stable, long-term brain recordings,” Science 372(6539), eabf4588 (2021). 10.1126/science.abf4588 - DOI - PMC - PubMed
    1. Mace E., et al. , “Functional ultrasound imaging of the brain: theory and basic principles,” IEEE Trans. Ultrason. Freq. Control 60(3), 492–506 (2013). 10.1109/TUFFC.2013.2592 - DOI - PubMed
    1. Urban A., et al. , “Real-time imaging of brain activity in freely moving rats using functional ultrasound,” Nat. Methods 12(9), 873–878 (2015). 10.1038/nmeth.3482 - DOI - PubMed
    1. Takahashi D. Y., et al. , “Social-vocal brain networks in a non-human primate,” bioRxiv (2021).