L_BitmapAdaptiveWienerFilter

#include "Ltimgcor.h"

L_LTIMGCOR_API L_INT L_BitmapAdaptiveWienerFilter(pBitmap, nWindowSize, dNoiseVariance, uFlags)

Applies the Adaptive Wiener filter to the image.

Parameters

pBITMAPHANDLE pBitmap

Pointer to the bitmap handle referencing the bitmap to which the Adaptive Wiener filter will be applied.

L_INT nWindowSize

The size of the filter, in pixels. This describes the number of pixels on each side of the pixel of interest. Should be greater than 1.

L_DOUBLE dNoiseVariance

Variance of the noise.

L_UINT uFlags

Reserved for future use.

Returns

Value Meaning
SUCCESS
< 1 An error occurred. Refer to Return Codes.

Comments

Use the L_BitmapAdaptiveWienerFilter to remove noise from images. Use the L_BitmapWienerFilter to de-blur an image.

L_BitmapAdaptiveWienerFilter only supports 8 bits.

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, Linux.

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

LEADTOOLS Raster Imaging C API Help