Namespace > IC.PhotoController.Filter Namespace > Classes > RedEyeFilter Class
PhotoController 2.1
ContentsIndexHome
PreviousUpNext
RedEyeFilter Class

Apply redeye removal filter to the image. To obtain the best result, it's strongly recommended to select the filter region precisely by using DrawArea

C++
public: class RedEyeFilter : public BaseColorFilter;
C#
public sealed class RedEyeFilter : BaseColorFilter;
Visual Basic
Public sealed Class RedEyeFilter
Inherits BaseColorFilter

The basic idea of RedEyeFilter is to adjust the red color factor of the pixels in the selected area. The following figures demonstrate the result of this filter.

The first Image has red eye, and you can notice the right eye area is selected.

After applying RedEyeFilter with Threshold 10, it is looked like the firgure 2.

RedEye Before

RedEye After

Send comments about this topic.
Copyright (c) 2006-2007 @ ImageComponent.NET All rights reserved.