ImageEn, unit imageenproc |
|
TImageEnProc.ApplyFilter
Declaration
procedure ApplyFilter(filter: TGraphFilter);
Description
Apply a 3x3 filter to the current image (or the selected region).
Note:
◼A UI for this is available to your users in the
Image Processing dialog◼If the image
PixelFormat is not ie24RGB, it will be converted
// Apply emboss filter
Const
filter: TGraphFilter = ( Values: ( (-1, 0, 1), (-1, 1, 1), (-1, 0, 1) ); Divisor: 1 );
Begin
ImageEnView1.Proc.ApplyFilter(filter);
End;