View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
PTVlab (Particle Tracking Velocimetry - lab)

2.9 | 12 ratings Rate this file 65 Downloads (last 30 days) File Size: 701 KB File ID: #41235 Version: 1.0
image thumbnail

PTVlab (Particle Tracking Velocimetry - lab)


AntoineP (view profile)


A GUI based tool to preprocess, analyze, validate, postprocess, visualize and simulate PTV data.

| Watch this File

File Information

PTVlab (Particle Tracking Velocimetry - lab) is a Matlab software featuring state of the art mathematical algorithms and a Graphical User Interface (GUI) adapted from the open source project PIVlab.

This software aims at the analysis of experimental Image Velocimetry measurements using a Lagrangian frame of reference, which can offer several benefits compared to the standard Particle Image Velocimetry (PIV) technique. Several institutions have been involved in the development of PTVlab. Dr Wernher Brevis mainly developed the underlying mathematical algorithms and their implementation during his PhD studies at the University of Chile, Chile and Karlsruhe Institute of Technology, Germany (Brevis et al, 2011). Dr Brevis's research groups at the University of Sheffield, United Kingdom, have developed new algorithms and bug fix. The adaptation of the graphical user interface of PIVlab and the development of new functionalities have been contributed by Antoine Patalano, as part of his PhD studies at the National University of Cordoba, Argentina. Our intention is to contribute with an open source, state of the art and easy to use tool for the analysis of experimental fluid mechanics images, thus we are releasing a Beta version of the software for testing. There are still several bugs that need attention but the main functionalities have been tested and validated.

PTVlab Website:

Feel free to ask any questions regarding the implemented functionalities. Any feedback, including improvement, the request of new features and bugs report are especially important to keep improving the project.

This project would like to thank Dipl. Biol. William Thielicke and Prof. Dr. Eize J. Stamhuis for sharing the codes and GUI of PIVlab.


Particle Tracking Algorithms:

* Particles detection based on Binary correlation, Gaussian mask and Dynamic Threshold Binarization techniques.

* Cross-correlation and Relaxation algorithms for solution of temporal matching problem.

* Particle labelling and tracking of individual trajectories.

Pre and Post-processing:

* Extraction of image background to improve SNR.

* Multiple vector validation methods.

* Data smoothing.

* Extraction of time series.

* Interpolation of the results on a regular mesh for standard Eulerian analysis.

* Calculation of streamlines
        Graphical User Interface (adapted from PIVlab):

* Extensive data extraction tools.

* Synthetic PIV/PTV image generator.

* Several data export features.

* Import bmp/ tiff/ jpeg image pairs/ series.

* Individual image masking and region of interest.

* Multiple colormaps.


Pi Vlab Time Resolved Particle Image Velocimetry (Piv) Tool inspired this file.

Required Products Image Processing Toolbox
MATLAB release MATLAB 7.6 (R2008a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (22)
23 Dec 2016 ncwuwpt


29 Nov 2016 Miguel

Miguel (view profile)

How can I get the pdf guide?


Comment only
01 Nov 2016 Dami

Dami (view profile)

I have the same questions with Alessandro,could you please tell me what's the matter?how can I solve it

25 Oct 2016 Francisco Fernando

13 Oct 2016 Matheus Costa

How do i install it ? i have the zip only

Comment only
10 Aug 2016 mortain

Great software, Thanks a lot!
The only problem I am finding is that, if in a frame there is no particle, it does not process the whole frame sequence.

04 Jul 2016 dfsdfs sdvfxcb

Ooops! Actually there are problem simular in the case of Alessandro

Comment only
04 Jul 2016 dfsdfs sdvfxcb

It works with Matlab 2015 without any errors.

Comment only
23 Jun 2016 Roberto

To everyone in this post...

Note the MATLAB release for the software... (2008a). I believe it lost functionality when MatLab v8.0 came out (2012). For previous versions it works well.

Comment only
01 Jun 2016 Daniel Allen

Please update this to 2016.

Comment only
26 May 2016 Francois Clemens

I get it runnning on matlab R2016a, but with regular failure on UIcontrol Callback, without obvious reasons, anaybodey has an idea???

Comment only
12 May 2016 akash kumar

Error in using Matlab R2015, Whats the solution to this??
Any insights??

Comment only
12 May 2016 Ulrich GOMINA

Please, somebody can tell me what is meaning image in ptv lab????????

21 Apr 2016 Sinéad Morley

I have MATLAB 2015b and i am getting the same errors as Alessandro with regards to the filepath.
Is there a newer version available that will work on 2015b?

Comment only
16 Apr 2016 first last

doesnt work for 2014b or later

05 Apr 2016 Peter Eichendorff

01 Apr 2016 Tamara Guimaraes Bucalo

Alessandro, what version of matlab are you using? I got the same problems with Matlab 2015b, but when I changed to Matlab 2014b I was able to use some of the functions.

Comment only
29 Feb 2016 Alessandro Masullo

It doesn't even work with the images provided...

29 Feb 2016 Alessandro Masullo

It keeps rising an error:
Attempted to access zeichen(1,0); index must be a positive integer or logical.

Error in PTVlab_GUI>loadimgsbutton_Callback (line 981)
filename{i,1}=['A: ' currentpath(zeichen(1,size(zeichen,2))+1:end)];

Error in gui_mainfcn (line 95)

Error in PTVlab_GUI (line 44)
gui_mainfcn(gui_State, varargin{:});

Error in

04 Jan 2016 Chen Shen

17 Oct 2015 yuchang shao

26 Sep 2013 Yoshihiro

Contact us