cucim icon indicating copy to clipboard operation
cucim copied to clipboard

[FEA] implement (color) bilateral filter

Open grlee77 opened this issue 2 years ago • 1 comments

Is your feature request related to a problem? Please describe.

It would be good to provide a bilateral filter equivalent to the one used in skimage.restoration.denoise_bilateral. This version works for color images while there is also a rank filter version for integer-valued grayscale images in scikit-image under skimage.filters.rank.mean_bilateral

Describe the solution you'd like The scikit-image implementations support both 2D and 3D. Ideally we could provide both.

Describe alternatives you've considered Could adapt 2D kernel code from either cvCUDA or NPP, but it may be preferable to create an nD implementation reusing other nD filtering code already implemented for cupyx.scipy.ndimage

Additional context example: https://scikit-image.org/docs/stable/auto_examples/filters/plot_denoise.html#sphx-glr-auto-examples-filters-plot-denoise-py

grlee77 avatar Jan 11 '23 17:01 grlee77

👍 +1

desplenterkarel avatar Jan 22 '24 10:01 desplenterkarel