Ejemplo n.º 1
0
 public static void SetPixels <TSrcPixel, TDstPixel>(this SpanBitmap <TDstPixel> target, SpanBitmap <TSrcPixel> source, Processing.Kernel3x3 <TDstPixel> .KernelEvaluator <TDstPixel> function)
     where TSrcPixel : unmanaged
     where TDstPixel : unmanaged
 {
     Processing.Kernel3x3 <TDstPixel> .Copy(source, target, function);
 }
Ejemplo n.º 2
0
 public static void Apply <TPixel, TKernelPixel>(this SpanBitmap <TPixel> target, Processing.Kernel3x3 <TKernelPixel> .KernelEvaluator <TPixel> function)
     where TPixel : unmanaged
     where TKernelPixel : unmanaged
 {
     Processing.Kernel3x3 <TKernelPixel> .Apply(target, function);
 }