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:
hIGear | Image to analyze. |
xPos | X coordinate of a point inside the area to be detected. |
yPos | Y coordinate of a point inside the area to be detected. |
dblThreshold | Area threshold. Value in the range 0.5..2 that specifies a part of the red component in the pixel color. |
lpRect | Rectangular area to apply the effect to, or NULL for whole image. |
lpMask | 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.