OpenPIV v0.23
OpenPIV v0.23 has a lot of updated code and (unfortunately) breaks some old code.
Warning:
- everywhere you use
openpiv.process
, please change toopenpiv.pyprocess
- everywhere you used before
x, y = get_coordinates(image_size, window_size, overlap)
it is nowx, 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 - 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