L_CreatePreDefinedFilter

#include "Ltimgcor.h"

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

Generates a point spread function to be used with L_BitmapWienerFilter.

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.

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