Calcium imaging analysis made easy. EZcalcium is a flexible, user-friendly toolbox for analysis of calcium imaging data, controlled by a set of intuitive graphical user interfaces (GUI) based on MATLAB.
Components & general workflow
EZcalcium contains four main modules: Motion Correction, ROI Detection, ROI Refinement, and ROI Matching. Typically, an imaging data file is processed through this workflow.
Motion Correction, based on the NoRMCorre toolbox, applies image alignment to correct for motion artifacts in the raw imaging data.
ROI Detection, based on the CaImAn toolbox, performs automated ROI detection, signal extraction, and deconvolution of fluorescence calcium signals.
ROI Refinement enables the user to inspect deteced ROIs, manually exclude ROIs, and use automated, customized ROI exclusion criteria, including spatial and activity-dependent metrics.
ROI Matching, also based on the CaImAn toolbox, helps to find the same ROIs across different sessions/experiments in an imaging series of the same field of view.
System requirements and installation
The amount of required available system memory depends on the size of the data being processed. Ideally, the amount of total system memory should be at least 3x of the size of a single raw, uncompressed data file. CPU requirements are minimal, but processing speed is vastly improved with multiple cores. The toolbox also runs faster when the data to be analyzed is stored on a solid-state drive, since large amounts of data must be read and, in the case of Motion Correction, written.
We recommend 64-bit MATLAB R2020b (version 9.9) or newer on Windows or macOS for using the EZcalcium. The following MATLAB toolboxes are required:
- Image Processing (required by all four modules)
- Parallel Computing (required by Motion Correction, ROI Detection and ROI Matching)
- Signal Processing (required by ROI Detection and ROI Matching)
- Statistics and Machine Learning (required by all four modules)
To install EZcalcium, go to the GitHub releases page, download
EZcalcium.zip of the latest release and extract the downloaded ZIP file to your place of choice. And then in MATLAB, go to HOME - ENVIRONMENT - Set Path, and in the Set Path window, click "Add with Subfolders...", select the folder that contains the files you just extracted, then click "Save" and "Close".
Cantu, Daniel A., et al. “EZcalcium: Open-Source Toolbox for Analysis of Calcium Imaging Data.” Frontiers in Neural Circuits, vol. 14, Frontiers Media SA, May 2020, doi:10.3389/fncir.2020.00025.
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!
See release notes for this release on GitHub: https://github.com/porteralab/EZcalcium/releases/tag/v3.0.2
See release notes for this release on GitHub: https://github.com/porteralab/EZcalcium/releases/tag/v3.0
See release notes for this release on GitHub: https://github.com/porteralab/EZcalcium/releases/tag/v2.1.3
See release notes for this release on GitHub: https://github.com/porteralab/EZcalcium/releases/tag/v2.1.2
See release notes for this release on GitHub: https://github.com/porteralab/EZcalcium/releases/tag/v2.1.1
See release notes for this release on GitHub: https://github.com/porteralab/EZcalcium/releases/tag/v2.1
See release notes for this release on GitHub: https://github.com/porteralab/EZcalcium/releases/tag/v2.0.2
See release notes for this release on GitHub: https://github.com/porteralab/EZcalcium/releases/tag/v2.0.1
See release notes for this release on GitHub: https://github.com/porteralab/EZcalcium/releases/tag/v2.0
See release notes for this release on GitHub: https://github.com/porteralab/EZcalcium/releases/tag/v1.1
See release notes for this release on GitHub: https://github.com/porteralab/EZcalcium/releases/tag/v1.0