LBitmap::CreatePreDefinedFilter

Summary

Generates a point spread function to be used with LBitmap::BitmapWienerFilter.

Syntax

#include "ltwrappr.h"

virtual L_INT LBitmap::CreatePreDefinedFilter(ppPSF, FirstParameter, SecondParameter, uFlags)

Parameters

POINTSPREADFUNCTION **ppPSF

Pointer to a structure.

L_DOUBLE FirstParameter

The first parameter of the filter. The meaning of this parameter is based on the value of uFlags.

L_DOUBLE SecondParameter

The second parameter of the filter. The meaning of this parameter is based on the value of uFlags.

L_UINT uFlags

A flag that indicates which type of filter to create. Possible values are:

Value Meaning
CREATE_GAUSSIAN_FILTER [0x00000001] Create a Gaussian filter.
CREATE_MOTION_FILTER [0x00000002] Create a Motion filter.

Returns

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

Comments

If the value of uFlags is:

Required DLLs and Libraries

Platforms

Win32, x64.

See Also

Functions

Topics

Example

For an example, refer to LBitmap::BitmapWienerFilter.

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

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