Visual Basic
C#
Managed Extensions for C++
C++/CLI
Parameters
- page
- ImageGear.Core.ImGearRasterPage class object to be processed.
- spreadFunctionVector
- Vector which represents the Point Spread Function (PSF) in spatial domain, also called Degradation Function.
- spreadFunctionVectorSize
- Size of PSF passed in.
- wienerConstant
- The constant for Wiener Filtering.
This 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, InitializeFFTW method must be called first to initialize the support for FFTW.
Can be applied only to 8bit grayscale images with one channel.
Method ImGearFrequencyProcessingVerifier.CanApplyWienerRestore method can be called to check whether the operation can be performed or not.