Detects red eye area in the image.
Declaration:
Copy Code | |
---|---|
AT_ERRCOUNT ACCUAPI IG_IP_detect_redeye_area( HIGEAR hIGear, AT_INT xPos, AT_INT yPos, AT_DOUBLE dblThreshold, LPAT_RECT lpRect, AT_NR_ROI_MASK* lpMask ); |
Arguments:
Name | Type | Description |
hIGear | HIGEAR | Image to analyze. |
xPos | AT_INT | X coordinate of a point inside the area to be detected. |
yPos | AT_INT | Y coordinate of a point inside the area to be detected. |
dblThreshold | AT_DOUBLE | Area threshold. Value in the range 0.5..2 that specifies a part of the red component in the pixel color. |
lpRect | LPAT_RECT | Rectangular area to apply the effect to, or NULL for whole image. |
lpMask | AT_NR_ROI_MASK* | Returns the ROI mask. |
Return Value:
Returns the number of ImageGear errors that occurred during this function call.
Supported Raster Image Formats:
RGB – 3…48 bpp;
RGBA, RGBPA – 4..64 bpp;
RGBEx, RGBAEx, RGBPAEx – 1…16 bpc;
CMYK – 32 bpp.