ImageGear for .NET User Guide > Using ImageGear for .NET > Using ImageGear.FreqIP Namespace > Image Restoration > Wiener Filtering |
This WienerRestore Method performs image restoration using Wiener filtering in the frequency domain. This filter is also commonly referred to as the minimum mean square error filter or the least square error filter.
Usually Wiener filtering can produce better results than inverse filtering.
Before using this method, like other frequency processing methods, ImGearFrequencyProcessing.InitializeFFTW Method() must be called first to enable the support for FFTW.
Can be applied only to 8-bit grayscale images with one channel.
ImGearFrequencyProcessingVerifier.CanApplyWienerRestore Method can be called to check whether the operation can be performed or not.