ImageGear22.Processing.Advanced Assembly > ImageGear.Processing Namespace : ImGearPixelCheckerRedEyeRGB Class |
'Declaration Public Class ImGearPixelCheckerRedEyeRGB Implements IImGearPixelChecker
'Usage Dim instance As ImGearPixelCheckerRedEyeRGB
public class ImGearPixelCheckerRedEyeRGB : IImGearPixelChecker
public __gc class ImGearPixelCheckerRedEyeRGB : public IImGearPixelChecker
public ref class ImGearPixelCheckerRedEyeRGB : public IImGearPixelChecker
// 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));
' 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. Dim igPoint As New ImGearPoint(204, 308) ' Detection class for red-eye area, threshold values from 0.5-2.0 Dim igPixelCheckerRedEyeRGB As 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))
System.Object
ImageGear.Processing.ImGearPixelCheckerRedEyeRGB