Basic DIC / PIV toolkit
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.
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Data Import and Analysis > Data Import and Export > Standard File Formats > Audio and Video Data >
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
examples
general
Versions that use the GitHub default branch cannot be downloaded
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0 |
|
