ImageEn, unit imageenproc

TImageEnProc.ApplyFilter

TImageEnProc.ApplyFilter


Declaration

procedure ApplyFilter(filter: TGraphFilter);


Description

Applies a 3x3 filter to the current image (or the selected region).


Example

// Apply emboss filter
Const
  filter: TGraphFilter= (Values: ( (-1, 0, 1), (-1, 1, 1), (-1, 0, 1) ); Divisor: 1);
Begin
  ImageEnView1.Proc.ApplyFilter(filter);
End;