'mpiv ', PIV toolbox in MATLAB, is a program made for the beginner of PIV (Particle Image Velocimetry) method. The main reason why I made this program was educational purpose for undergraduate and graduate student. The code is simple and may easy understand.
Since fall 2002, several algorithms has been added and mpiv has sufficient accuracy and options at present.
I think there are several required level of image.
1. enough particle density in the image
2. uniformly distributed particle in the image
If your image is not satisfy above two conditions, 'mpd' is more robust to obtain vectors.
here is sample script to obtain attached results.
[xi,yi,iu,iv] = mpiv(f1,f2, 64,64, 0.5,0.5, 20,20, 1, 'mqd', 2, 1);
[iu_f,iv_f,iu_i, iv_i] = mpiv_filter(iu,iv, 2, 2.0, 3, 1);