General Structures > SCANFIX_HUE |
This structure is used by the SF_SUBCODE_COLORDROP and SF_SUBCODE_IMAGEDETERGENT operations to specify a region in the RGB colorspace.
Copy Code | |
---|---|
typedef struct {
DWORD Radius;
DWORD Flags;
BYTE Hue;
BYTE Reserved1;
BYTE Reserved2;
BYTE Reserved2;
} SCANFIX_HUE; |
Name | Description |
Radius |
A value indicating the radius of the hue region, in the same units used for specifying the hue. A radius of 85, for example, will encompass all hues in the spectrum where red is the dominant color. |
Flags |
Set to 0 for normal operation. Other values can be ORed in, and include SCANFIX_VBULB_ADAPT to use the adaptive hue matching functionality, and SCANFIX_VBULB_BRIGHTNESS to use the automatic brightness correction for dark ink colors. |
Hue |
A value from 0..255 with the intensity of the corresponding hue. 0 represents pure red, 85 pure green, and 172 pure blue. |