Denoising an image using ImageDenoiserClassic

One can use the following lines to denoise a single image with default options using our Object-Oriented denoising API.

from aydin.it.classic import ImageDenoiserClassic

it = ImageDenoiserClassic(method='lowpass')

it.train(noisy, noisy)
denoised = it.translate(noisy)

It is also easy to pass specific transforms to use before and/or after denoising. One can do the the following:

from aydin.it.classic import ImageDenoiserClassic

it = ImageDenoiserClassic(method='lowpass')
it.add_transform(RangeTransform())
it.add_transform(PaddingTransform())

it.train(noisy, noisy)
denoised = it.translate(noisy)