Skip to content

clarify the type of downscaling that is currently implemented #1

Open

Description

@d-v-b

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.

cc @mkitti

Activity

  1. mkitti commented on Dec 4, 2020

    @mkitti

    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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions