LBitmap::BitmapWienerFilter

#include "ltwrappr.h"

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

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

Parameters

POINTSPREADFUNCTION PSF

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.

Returns

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

Comments

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

Platforms

Win32, x64.

Help Version 20.0.2018.6.22
Products | Support | Contact Us | Copyright Notices
© 1991-2018 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C++ Class Library Help