typedef struct _LVLCLRINF
{
L_INT nMinInput;
L_INT nMaxInput;
L_INT nMinOutput;
L_INT nMaxOutput;
L_UINT uGamma;
} LVLCLRINF, *pLVLCLRINF;
The LVLCLRINF structure contains color-leveling information for a specific color channel.
Member |
Description |
nMinInput |
Value that specifies the image's shadows to be mapped. Valid values range from 0 to 255 for 8-bit, 0 to 4095 for 12-bit, 0 to 65535 for 16-bit images, and from -32768 to 32767 for signed images. Any value greater than or equal to this will be considered a shadow and will be remapped to the value in nMinOutput. |
nMaxInput |
Value that specifies the image's highlights to be mapped. Valid values range from 0 to 255 for 8-bit, 0 to 4095 for 12-bit, 0 to 65535 for 16-bit images, and from -32768 to 32767 for signed images. Any value greater than or equal to this will be considered a highlight and will be remapped to the value in nMaxOutput. |
nMinOutput |
Value that specifies the value to which the shadows will be mapped. Valid values range from 0 to 255 for 8-bit, 0 to 4095 for 12-bit, 0 to 65535 for 16-bit images, and from -32768 to 32767 for signed images. |
nMaxOutput |
Value that specifies the value to which the highlights will be mapped. Valid values range from 0 to 255 for 8-bit, 0 to 4095 for 12-bit, 0 to 65535 for 16-bit images, and from -32768 to 32767 for signed images. |
uGamma |
Value that represents the gamma value. This value is used to modify the midtones of the image. The value in this member is a 100 times the actual value. Therefore, if uGamma = 167 then the actual gamma value is 1.67. Likewise, if you want to use a gamma of 1.75, set this member to 175. The default value is DEFAULT_GAMMA, which is 100 (actual gamma value of 1.00) which does not change the gamma value of the image. |
The value of the nMaxInput member must be greater than the value of the nMinInputValue member by at least 2.
If nMinOutput > nMaxOutput then the image's shadows and highlights will be inverted for the given channel.
This structure is used by the LVLCLR structure.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.