| General Structures > SCANFIX_COLOR_REGION |
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 {
RGBQUAD Color;
LONG Radius;
LONG Flags;
} SCANFIX_COLOR_REGION; | |
| Name | Description |
|
Color |
A structure containing three values from 0..255 with the intensity of the corresponding color. 0 is the darkest (none of the color) and 255 is the most intense. |
|
Radius |
A value indicating the radius of the color region, in the same units used for specifying the color. A radius of 442 is sufficient to stretch from one corner of the colorspace to the opposite corner (black to white, for example). |
|
Flags |
Set to 0 for normal operation, or to SCANFIX_COLOR_ADAPT to use the adaptive color matching functionality. |