Skip to content

Use Richardson-Lucy deconvolution from scikit-image #184

@wtbarnes

Description

@wtbarnes

Description

In the xrt_deconvolve function, a custom implementation of Richardonson-Lucy deconvolution is used. However, there is an existing implementation of this algorithm in scikit-image: https://scikit-image.org/docs/stable/api/skimage.restoration.html#skimage.restoration.richardson_lucy. We should investigate whether this implementation is suitable for our needs and if so, remove the custom implementation and rely on this instead. In this case, there is little cost in adding this package as a dependency as it is a widely used package in the scientific Python community and is also an optional dependency of sunpy already.

I've opened a similar issue on aiapy as that package also has a custom implementation of RL: https://gitlab.com/LMSAL_HUB/aia_hub/aiapy/-/issues/136.

Metadata

Metadata

Assignees

No one assigned

    Labels

    discussionFor more general issues that require extended discussionimage_correctionAffects the image_correction subpackage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions