Python Forum

Full Version: Denoise image
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I want to implement non-local total variation for gamma noise removal using a gradient descent approach( for denoising a noisy image). Can anyone please guide me on the relevant functions available either using open cv, skimage, PyTorch or using TensorFlow?

I am aware of the built-in functions "skimage.restoration.denoise_tv_chambolle" and "skimage.restoration.denoise_tv_bregman". However, they are not non-local methods. Since I want to modify these codes (it is not possible to modify original codes, since it has .so files), I have to implement the same functionality for non-local image processing.

Thank you in advance for your help
(Mar-23-2020, 05:42 AM)smitha Wrote: [ -> ](it is not possible to modify original codes, since it has .so files)

I'm not sure why that's a problem really. scikit-learn is open source, so all the source code is available (https://github.com/scikit-learn/scikit-learn). I'd encourage you to fork it, make the changes you want and then contribute them back to the project.
Thank you for sending the github editable link. However, the function that I am looking for is https://github.com/scikit-image/scikit-i...ans.py#L11
Here I could not find the source code of the line " from ._nl_means_denoising import ". Kindly request you to help me get the source code of the same.