zoccoler / napari-flim-phasor-plotter

BSD 3-Clause "New" or "Revised" License
10 stars 1 forks source link

Median filter loads all data into memory #22

Open zoccoler opened 1 year ago

zoccoler commented 1 year ago

The current implementation of the median filter makes a full copy of the array. So, if the image is very large or if it is a dask array, it will load all data into memory!

An independent implementation of the median filter with dask is necessary. This may require rechunking the array and using dask_image.ndfilters.median_filter. Data may need to be rechunked again after median filter for proper fft calculation.