ErichZimmer / Fluidity

A Python GUI for Digital Particle Image Velocity (DPIV)
GNU General Public License v3.0
6 stars 4 forks source link

Temporal background subtraction #6

Open ErichZimmer opened 2 years ago

ErichZimmer commented 2 years ago

There needs to be a temporal background subtraction method to help minimize the effect of light sheet/LED variations. However, the temporal filters panel will become less user friendly (extra steps).

ErichZimmer commented 2 years ago

Using Numpy ndarrays, a simple solution was found. For loading one or two background images, two 2D arrays are used. When loading more than two images, two 1D arrays of filenames are used.

For new algorithms, a temporal high pass filter can be created by a Butterworth filter, however, it uses a lot of memory. To combat this, the images are broken down into user selectable chunks and processed individually. Images are saved as TIFF.