L_BitmapAdaptiveWienerFilter

Summary

Applies the Adaptive Wiener filter to the image.

Syntax

#include "Ltimgcor.h"

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

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.

See Also

Functions

Topics

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

LEADTOOLS Raster Imaging C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.