Basic DIC / PIV toolkit

Digital image correlation (DIC) and optical flow (OF) toolkit for synthetic Schlieren imaging, PIV or deformation tracking.

https://github.com/swildeman/dicflow

You are now following this Submission

Features:
* Fast and accurate normalized cross correlation and correlation peak detection
* Uses different size interrogation windows in first and second image, to prevent zero-displacement bias often encountered in equal window size implementations.
* Support for fixed, non-rectangular ROI specification (taken into account in correlation normalization)
* Modular design for easy incorporation existing scripts/workflow, or creating custom warping schemes
* Allows for combination of DIC (for large displacements) and optical flow (for subpixel fine tuning), see included example
* Mostly supports GPUArrays

Use cases:
* Mostly for small (~0.01 px) to moderate (~10 px) particle displacements with not too large rotations or virtual strains. For extreme image deformations more advanced software such as Ncorr is probably more suitable.

Installation:
* Add the main folder and its sub folders to your Matlab path.

Usage:
* See example scripts in "examples" folder or type "help <functionname>".

Cite As

S Wildeman (2026). Basic DIC / PIV toolkit (https://github.com/swildeman/dicflow), GitHub. Retrieved .

Wildeman, Sander. “Real-Time Quantitative Schlieren Imaging by Fast Fourier Demodulation of a Checkered Backdrop.” Experiments in Fluids, vol. 59, no. 6, Springer Science and Business Media {LLC}, May 2018, doi:10.1007/s00348-018-2553-9.

View more styles

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux

Versions that use the GitHub default branch cannot be downloaded

Version Published Release Notes Action
1.0.0

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.