LWIAIMAGEEFFECTS

Summary

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

Syntax

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

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.

Usage

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

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