ImageEn, unit imageenproc |
|
TImageEnProc.RemoveRedEyes
Declaration
procedure RemoveRedEyes();
Description
Apply a simple algorithm to remove red eyes. While this function can be applied to the whole image, it is better to select only the area containing eyes, otherwise other parts of the image may be altered.
Note: If the image
PixelFormat is not ie24RGB, it will be converted
| Demos\ImageEditing\CompleteEditor\PhotoEn.dpr |
| Demos\ImageEditing\EveryMethod\EveryMethod.dpr |
// Load test image
ImageEnView1.IO.LoadFromFile( 'D:\TestImage.jpg' );
// Remove "Red-Eyes" within image (should only be applied to a selection)
ImageEnView1.Proc.RemoveRedEyes();