ImageGear21.Processing.Advanced Assembly > ImageGear.FreqIP Namespace > ImGearFrequencyProcessing Class : WienerRestore Method |
'Declaration Public Shared Sub WienerRestore( _ ByVal page As ImGearRasterPage, _ ByVal spreadFunctionVector() As Double, _ ByVal spreadFunctionVectorSize As Integer, _ ByVal wienerConstant As Double _ )
'Usage Dim page As ImGearRasterPage Dim spreadFunctionVector() As Double Dim spreadFunctionVectorSize As Integer Dim wienerConstant As Double ImGearFrequencyProcessing.WienerRestore(page, spreadFunctionVector, spreadFunctionVectorSize, wienerConstant)
public static void WienerRestore( ImGearRasterPage page, double[] spreadFunctionVector, int spreadFunctionVectorSize, double wienerConstant )
public: static void WienerRestore( ImGearRasterPage* page, double[]* spreadFunctionVector, int spreadFunctionVectorSize, double wienerConstant )
public: static void WienerRestore( ImGearRasterPage^ page, array<double>^ spreadFunctionVector, int spreadFunctionVectorSize, double wienerConstant )
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.