public void Process(IDirectBitmap bitmap, AbstractParameter parameter)
 {
     DirectBitmapExtensionBase.ApplyConvolutionFilter(bitmap, Kernel.Sobel3Horizontal(),
                                                      Kernel.Sobel3Vertical());
 }
示例#2
0
 public void Process(IDirectBitmap bitmap, AbstractParameter parameter)
 {
     DirectBitmapExtensionBase.ApplyConvolutionFilter(bitmap,
                                                      new Kernel(((CustomFilterParameter)parameter).Matrix));
     bitmap.Process();
 }