PIVlab - particle image velocimetry (PIV) tool with GUI

Easy to use, GUI based tool to capture, analyze, validate, postprocess, visualize and simulate PIV data.
93.6K Downloads
Updated 1 Apr 2024

Editor's Note: Popular File 2018 2019 2020

This file was selected as MATLAB Central Pick of the Week

PIVlab - particle image velocimetry (PIV) tool with GUI

PIVlab is a graphical user interface (GUI) based particle image velocimetry (PIV) software. It can be used to control OPTOLUTION's lasers, cameras and synchronizers, and of course it calculates the velocity distribution within imported (or captured) particle image pairs. It can also be used to derive, display and export multiple parameters of the flow pattern. The simple, GUI makes PIV data acquisition and data post-processing fast and efficient.

PIVlab_screenshot


PIVlab comes with it's own unique hardware: Pulsed lasers, LEDs, synchronizers and cameras are available here: Optolution.com


Video tutorial 1/3: Quickstart guide https://youtube.com/watch?v=g2hcTRAzBvY

Video tutorial 2/3: Pre-processing, analysis and data validation https://youtube.com/watch?v=15RTs_USHFk

Video tutorial 3/3: Data exploration and data export https://youtube.com/watch?v=47NCB_RFiE8

PIVlab controlling cameras, lasers, etc. https://youtu.be/8B5M31NWlJc

Installation: https://github.com/Shrediquette/PIVlab/wiki#installation-instructions

Please ask your questions in the PIVlab forum: http://pivlab.blogspot.de/p/forum.html

Software documentation is available in the wiki: https://github.com/Shrediquette/PIVlab/wiki


Code contributors:


We would like to acknowledge Uri Shavit, Roi Gurka & Alex Liberzon for sharing their code for 3-point Gaussian sub-pixel estimation. Thanks to Nima Bigdely Shamlo for allowing me to include the LIC function. Thanks to Raffel et al. for writing the book "Particle Image Velocimetry, A Practical Guide", which was a very good help. Thanks to the thousands of publications that use PIVlab for research!

Visit Matlabs File exchange site for PIVlab: View PIVlab - particle image velocimetry (PIV) tool on File Exchange

PIVlab can be run online using MATLAB online. MATLAB online is free (after registration) with a limited usage time per user: Open in MATLAB Online

Cite As

Thielicke, W. (2022) Pulse-length induced motion blur in PIV particle images: To be avoided at any cost?. Proceedings of the Fachtagung Experimentelle Strömungsmechanik 2022, 6.–8. September 2022, Ilmenau, Germany, ISBN 978-3-9816764-8-8, https://www.gala-ev.org/images/Beitraege/Beitraege2022/pdf/04.pdf

Thielicke, William, and René Sonntag. “Particle Image Velocimetry for MATLAB: Accuracy and Enhanced Algorithms in PIVlab.” Journal of Open Research Software, vol. 9, no. 1, Ubiquity Press, Ltd., May 2021, p. 12, doi:10.5334/jors.334.

View more styles
MATLAB Release Compatibility
Created with R2023a
Compatible with R2019b and later releases
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!

+acquisition

+calibrate

+export

+extract

+gui

+import

+mask

+misc

+piv

+plot

+preproc

+roi_1

+simulate

+validate

PIVlab_capture_resources

PIVlab_capture_resources/PCO_resources/scripts

PIVlab_capture_resources/PCO_resources/scripts/ver_7

PIVlab_capture_resources/PCO_resources/scripts/ver_8

unittests

Version Published Release Notes
3.00

See release notes for this release on GitHub: https://github.com/Shrediquette/PIVlab/releases/tag/3.00

2.63.0.0

See release notes for this release on GitHub: https://github.com/Shrediquette/PIVlab/releases/tag/2.63

2.62.0.0

See release notes for this release on GitHub: https://github.com/Shrediquette/PIVlab/releases/tag/2.62

2.61

See release notes for this release on GitHub: https://github.com/Shrediquette/PIVlab/releases/tag/2.61

2.60

See release notes for this release on GitHub: https://github.com/Shrediquette/PIVlab/releases/tag/2.60

2.59

See release notes for this release on GitHub: https://github.com/Shrediquette/PIVlab/releases/tag/2.59

2.58

See release notes for this release on GitHub: https://github.com/Shrediquette/PIVlab/releases/tag/2.58

2.57

See release notes for this release on GitHub: https://github.com/Shrediquette/PIVlab/releases/tag/2.57

2.56

See release notes for this release on GitHub: https://github.com/Shrediquette/PIVlab/releases/tag/2.56

2.55

See release notes for this release on GitHub: https://github.com/Shrediquette/PIVlab/releases/tag/2.55

2.54

See release notes for this release on GitHub: https://github.com/Shrediquette/PIVlab/releases/tag/2.54

2.53

See release notes for this release on GitHub: https://github.com/Shrediquette/PIVlab/releases/tag/2.53

2.50

See release notes for this release on GitHub: https://github.com/Shrediquette/PIVlab/releases/tag/2.50

2.46

See release notes for this release on GitHub: https://github.com/Shrediquette/PIVlab/releases/tag/2.46

2.45

See release notes for this release on GitHub: https://github.com/Shrediquette/PIVlab/releases/tag/2.45

2.44

See release notes for this release on GitHub: https://github.com/Shrediquette/PIVlab/releases/tag/2.44

2.41

See release notes for this release on GitHub: https://github.com/Shrediquette/PIVlab/releases/tag/2.41

2.40

See release notes for this release on GitHub: https://github.com/Shrediquette/PIVlab/releases/tag/2.40

2.39

See release notes for this release on GitHub: https://github.com/Shrediquette/PIVlab/releases/tag/2.39

2.38

See release notes for this release on GitHub: https://github.com/Shrediquette/PIVlab/releases/tag/2.38

2.37

See release notes for this release on GitHub: https://github.com/Shrediquette/PIVlab/releases/tag/2.37

2.36.5

See release notes for this release on GitHub: https://github.com/Shrediquette/PIVlab/releases/tag/v2.36.5

2.36.4

GNU statement somehow persisted...

2.31

Update notes here: https://pivlab.blogspot.com/2019/10/pivlab-update-231.html

2.20

See here: https://pivlab.blogspot.com/2019/09/pivlab-update-22.html

2.02

See changes here: https://pivlab.blogspot.com/2019/03/update-pivlab-202.html

2.01

See update notes here: https://pivlab.blogspot.com/2019/01/update-pivlab-201.html

2.0

Major update, rewrote the whole user interface: More info:
https://pivlab.blogspot.com/2018/11/major-update-pivlab-20.html

1.50

Feature, performance and compatibility updates, see:
https://pivlab.blogspot.com/2018/10/pivlab-update-v150.html

1.43.0.0

Details here: https://pivlab.blogspot.de/2018/03/pivlab-update-143.html

1.42.0.0

Updated description
Fixed small graphical issues.
Updated description

1.41.0.0

See http://pivlab.blogspot.de/2016/02/pivlab-141.html

1.34.0.0

enabled 'toolbox install'

1.33.0.0

A compatibility problem with uipickfiles.m and r2015a was fixed (thanks to Douglas Schwarz).

1.32.0.0

PIVlab 1.4: r2014b compatible & several small tweaks

1.31.0.0

Added link to the PIVlab forum in the help menu
Updated links to references because my papers / thesis are now published

1.30.0.0

just added link to forum in description

1.29.0.0

Added the script 'Accuracy.m' where you can do a simple accuracy test on your system.

1.28.0.0

Updates described on
http://pivlab.blogspot.de/2014/06/pivlab-update-135.html

1.27.0.0

version 1.32 updates:
http://pivlab.blogspot.de/2012/09/pivlab-update-132.html

1.24.0.0

version 1.31 updates:
http://pivlab.blogspot.de/2012/03/pivlab-131.html

1.19.0.0

See the changes and additional features here:
http://pivlab.blogspot.com/2012/01/pivlab-13.html

1.17.0.0

Added an example for using PIVlab via the command line:
PIVlab_commandline.m

1.16.0.0

Changed default PIV algo to "multi-pass window deformation"

1.14.0.0

v 1.2:
*Added a multi-pass window deformation technique for much better PIV results (less noise, better response to gradients, less peak-locking)
*Streamlines added
*Improved image export

1.13.0.0

v1.131: when deleting some vectors manually and then starting a new session, PIVlab ran into problems. This was fixed.

1.12.0.0

Manual vector rejection improvements (PIVlab remembers previously discarded vectors)

1.11.0.0

PIVlab 1.13: Statistics toolbox no longer necessary thans to the NaN Suite by J. Gläscher.

1.9.0.0

PIVlab 1.12:
Changed figure and all UI element units from pixels to points. This hopefully solves some problems with displaying the GUI. Please give me feedback on this.

1.8.0.0

corrected typo...

1.7.0.0

PIVlab 1.11: fixed a bug with incorrect results for line/ circle/ area extractions when a ROI was applied. Added a feature to calculate mean velocities of the whole session.

1.6.0.0

PIVlab 1.1 released. New features added & improvements (see description).

1.5.0.0

Updated products required

1.4.0.0

several slight improvements (search for missing image files, colorbar in exported images etc.)

1.3.0.0

updated credits

1.1.0.0

updated description

1.0.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.