typedef struct tagCOLORDATA
{
L_UINT uStructSize;
L_INT nRedFactor;
L_INT nGreenFactor;
L_INT nBlueFactor;
L_INT nConstant;
} COLORDATA, *pCOLORDATA;
The COLORDATA structure provides color-balancing information to the L_ChannelMix function.
Member |
Description |
uStructSize |
Size of this structure, in bytes. Use the sizeof operator to calculate this value. |
nRedFactor |
Value that represents the percentage of the red color value that should be distributed to the red component. Valid values are −200 to 200. |
nGreenFactor |
Value that represents the percentage of the green color value that should be distributed to the green component. Valid values are −200 to 200. |
nBlueFactor |
Value that represents the percentage of the blue color value that should be distributed to the blue component. Valid values are −200 to 200. |
nConstant |
Value that represents the color value that should be added to the whole image. Valid values are −200 to 200. |
For a more detailed description of how this works, refer to L_ChannelMix.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET