LWIAIMAGEEFFECTS

typedef struct _LWIAIMAGEEFFECTS 
{ 
   L_UINT uStructSize; 
   L_INT nBrightness; 
   L_INT nContrast; 
} LWIAIMAGEEFFECTS,   * pLWIAIMAGEEFFECTS; 

The LWIAIMAGEEFFECTS structure provides information about image effects to be applied to the acquired image.

Members

uStructSize

Size of this structure in bytes, for versioning. Use the sizeof() operator to calculate this value.

nBrightness

Brightness value. Possible values range from -1000 through 1000, where 1000 corresponds to the maximum brightness, 0 corresponds to normal brightness, and -1000 corresponds to the minimum brightness.

nContrast

Contrast value. Possible values range from -1000 through 1000, where 1000 corresponds to the maximum contrast, 0 corresponds to normal contrast, and -1000 corresponds to the minimum contrast.

Comments

This feature is available in LEADTOOLS version 16 or higher.

pLWIAIMAGEEFFECTS is a pointer to an LWIAIMAGEEFFECTS structure. If the function parameter type is pLWIAIMAGEEFFECTS, you can declare an LWIAIMAGEEFFECTS variable, update the structure's fields, and pass the variable's address in the parameter. Declaring a pLWIAIMAGEEFFECTS variable is necessary only if your program requires a pointer.

LWIAIMAGEEFFECTS is used with the LWIAPROPERTIES structure.

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

LEADTOOLS WIA C++ Class Library Help