コード例 #1
0
 public Bitmap Operator(Bitmap bmp, ConvKernel filter)
 => _cache.GetOrCreate(filter,
                       () => _convolution.Convolution(bmp, _factory.Get(filter))
                       );
コード例 #2
0
 public Bitmap Apply5x5ConvolutionTo1920x1080()
 => service.Convolution(_frame1920x1080, filter5x5);
コード例 #3
0
 public Bitmap Apply3x3ConvolutionTo1920x1080()
 => service.Convolution(_frame1920x1080, filter3x3);
コード例 #4
0
 public void Apply9x9ConvolutionTo1920x1080()
 => service.Convolution(_frame1920x1080, filter9x9);