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