Skip to content

OpenPIV v0.23

Compare
Choose a tag to compare
@alexlib alexlib released this 18 Nov 22:46
· 423 commits to master since this release
684213d

OpenPIV v0.23 has a lot of updated code and (unfortunately) breaks some old code.

Warning:

  1. everywhere you use openpiv.process, please change to openpiv.pyprocess
  2. everywhere you used before x, y = get_coordinates(image_size, window_size, overlap) it is now x, y = get_coordinates(image_size, search_area_size, overlap). of course if you use equal size for window_size and search_area_size or do not use search_area_size at all, then it does not matter
  3. the tools.save has changed and now it saves 6 columns and not 5: tools.save(x, y, u, v, sig2noise, mask) - we added sig2noise (like it was in the window deformation method which was different from the rest).

We apologize for breaking your code. Please write below if you encounter any problem.

All the examples have been updated, new examples introduced, the code works robustly on many different image types, and also .mp4 movies (with openpcv-python)

There are 22 tests that you can try pytest openpiv/test from the shell or import openpiv; openpiv.test() from the Python shell.

windef.py has been refactored and moved a lot of code to the pyprocess.py. The main developments are the FFT based correlation over a moving_windows approach, improving speed x3 times.
process.pyx is removed and we have only one Cython dependence the WiDIM function in widim.pyx