You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the moment only reductions over contiguous non-overlapping regions are supported, e.g. windowed averaging. From a signal processing perspective this is not the ideal method for downscaling -- it would be better to apply a gaussian filter to attenuate out-of-band frequencies and then downsample. However this is not possible as long as dask.array.coarsen is used to generate the downscaled array. Look into using dask.array.map_overlap or the gaussian smoothing functionality in dask-image to implement a gaussian pyramid.
dask.array.map_overlap looks promising and seems to fit more closely with your current API although I'm curious if dask-image contains some optimizations. https://docs.dask.org/en/latest/array-overlap.html
At the moment only reductions over contiguous non-overlapping regions are supported, e.g. windowed averaging. From a signal processing perspective this is not the ideal method for downscaling -- it would be better to apply a gaussian filter to attenuate out-of-band frequencies and then downsample. However this is not possible as long as
dask.array.coarsen
is used to generate the downscaled array. Look into usingdask.array.map_overlap
or the gaussian smoothing functionality indask-image
to implement a gaussian pyramid.cc @mkitti
The text was updated successfully, but these errors were encountered: