Available in LEADTOOLS Imaging Pro, Vector, Document, and Medical Imaging toolkits. |
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.
Member |
Description |
uStructSize |
Size of this structure in bytes, for versioning. Use the sizeof() macro 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.