The GLAREDETECTIONOPTIONS structure contains the glare information for the BITMAPHANDLE.
typedef struct GLAREDETECTIONOPTIONS
{
L_UINT uStructSize;
L_BOOL bExpandGlareRegions;
pBITMAPHANDLE pMaskBitmap;
L_INT nZonesCount;
L_RECT * prcZones;
} GLAREDETECTIONOPTIONS, * pGLAREDETECTIONOPTIONS;
Size of this structure in bytes, for versioning. Use the sizeof() operator to calculate this value.
A boolean flag to indicate whether to expand the region bounds. Possible values are:
Value | Meaning |
---|---|
TRUE | Expand the region bounds. |
FALSE | Do not expand the region bounds. |
Setting this to TRUE will affect mask bitmap only. The regions detected will be expanded by a factor of 1.2 to account for the glare affecting the intensity of the adjacent pixels.
Pointer to a bitmap handle referencing the 8-bit mask containing the glare for the BITMAPHANDLE.
A pixel with value 255 represents no glare and 0 represents glare.
The number of glare zones detected.
Pointer to the buffer containing the bounds to each zone.
The pMaskBitmap will be null if no glare is detected.
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.