L_CreatePreDefinedFilter

Summary

Generates a point spread function to be used with L_BitmapWienerFilter.

Syntax

#include "Ltimgcor.h"

L_LTIMGCOR_API L_INT L_CreatePreDefinedFilter(pPSF, dFirstParameter, dSecondParameter, uFlags)

Parameters

pPOINTSPREADFUNCTION * pPSF

pointer to a POINTSPREADFUNCTION structure.

L_DOUBLE dFirstParameter

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

L_DOUBLE dSecondParameter

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  
< 1 An error occurred. Refer to Return Codes.

Comments

If the value of uFlags is:

Required DLLs and Libraries

Platforms

Win32, x64, Linux.

See Also

Functions

Topics

Example

For an example, refer to L_BitmapWienerFilter.

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.