OpenPIV / openpiv-python

OpenPIV is an open source Particle Image Velocimetry analysis software written in Python and Cython
http://www.openpiv.net
GNU General Public License v3.0
247 stars 143 forks source link

windef for 3D PIV #297

Open RpfR2000 opened 1 year ago

RpfR2000 commented 1 year ago

I have a (3 spatial dimensions) volumetric image timeseries. I have used the iterative window deformation method given by windef.py to great success on xy slices of my timeseries, but I would like to use it for the full 3D dataset. I see in the code that only 2D array inputs are supported, and it seems like the main reason why is because of the interpolation method that is used (RectBivariateSpline). Is that correct? If I modified the interpolation to a trivariate spline and changed the functions required for window deformation accordingly, would that be sufficient?

Thanks!

alexlib commented 1 year ago

Hi @RpfR2000

I do not know if the only thing here is the interpolation in 3D. The problem is that you need to create a new refined 3D array, and it shall also be consistent. Although it is logical that N-D interpolation works the same way as 2D one, it's difficult to say without testing actual methods.

If you clone the repo and start working on it, please ping us, and we'll try to help. We, however, could not lead this development ourselves, it's too time-consuming.

Best Alex @alexlib

RpfR2000 commented 1 year ago

Hi Alex,

Thanks for the response. I will start working on this today.

alexlib commented 1 year ago

Hi Alex,

Thanks for the response. I will start working on this today.

@RpfR2000 - do you have maybe news on this one?