myimagelib.pivLib.PIV

myimagelib.pivLib.PIV(I0, I1, winsize, overlap, dt)

Standard PIV, consisting of replacing outliers, validate signal to noise ratio, and a smoothing with median filter of kernal shape (3, 3).

Parameters
  • I0 – The first image

  • I1 – The second iamge

  • winsize – interrogation window size

  • step – distance between two windows, usually set to half of window size

  • dt – time interval between two images, in seconds

Returns

  • x, y – coordinates of windows

  • u, v – velocities in each window

Edit

  • Nov 17, 2022 – (i) Turn off median filter. If needed, do it on the outcome, outside this function. (ii) Update the use of openpiv.pyprocess.get_coordinates().

  • Dec 06, 2022 – Update syntax per the changes in the openpiv module. Copy from tutorial.

  • Jan 12, 2023 – Change s2n ration threshold to 1.