#include "ltwrappr.h"

virtual L_INT LBitmap::BitmapWienerFilter(PSF, NoiseToSignalRatio, uFlags)

Applies a Wiener filter to an image to de-blur it.



Pointer to a structure.

L_DOUBLE NoiseToSignalRatio

The noise-to-signal power ratio of the additive noise in the original image.

L_UINT uFlags

Reserved for future use.


Value Meaning
SUCCESS The function was successful.
< 1 An error occurred. Refer to Return Codes.


The Wiener filter can be useful when the point spread function and added noise are either known or can be estimated.

Use the Run method to apply the Wiener filter on the distorted image.

This function supports 24-bit color images and 8-bit grayscale images.

This function does not support signed data images. It returns the error code ERROR_SIGNED_DATA_NOT_SUPPORTED if a signed data image is passed to this function.

Required DLLs and Libraries


Win32, x64.

Help Version 20.0.2019.3.12
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2019 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C++ Class Library Help