// Detect the red-eye area around a point and remove the red-eye effect.
// Location of a red-eye, can be obtained by a mouse click by user.
ImGearPoint igPoint = new ImGearPoint(204, 308);
// Detection class for red-eye area, threshold values from 0.5-2.0
ImGearPixelCheckerRedEyeRGB igPixelCheckerRedEyeRGB = new ImGearPixelCheckerRedEyeRGB(0.7);
// Detect the red-eye area around the target point.
ImGearEffects.DetectArea(igRasterPage, igPoint, igPixelCheckerRedEyeRGB);
// Remove red-eye effect with a threshold of 0.7 and brightness of 0.5
ImGearEffects.ProcessArea(igRasterPage,
new ImGearPixelProcessorRedEyeRGB(igRasterPage.DIB, 0.7, 0.5));