image thumbnail

Digital Image Correlation and Tracking

version (1.69 MB) by Christoph Eberl
Calculate displacement and strain from a series of images


Updated 19 Nov 2010

View License

Compilation of .m files to calculate strain from images independent of physical size of the samples. Strain can be calculated in horizontal as well as vertical direction. The functions were developed at the Johns Hopkins University by Rob Thompson, Daniel Gianola and me, all of us part of the Group of Kevin Hemker. Dan is now at the UPenn ( and I am now at the Karlsruhe Institute of Technology (, Germany) and will continue to work on the code. Sven Bundschuh just entered the authors guild and provided a new grid_generator.m and some essential changes.
If you have special questions please check the header of the .m file and email the responsible person:

Have fun with the functions.

We used only windows systems so far. Linux Users need to copy cpcorr.m and findpeak.m into their work folder and change it there. After renaming it (e.g. cpcorr2.m) the calling lines should be changed, too, in the functions automate_image.m and RTCorrCode.m. Parallel Computing Toolbox is optional.

Cite As

Christoph Eberl (2021). Digital Image Correlation and Tracking (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2010a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!