public virtual IConvolutionKernel Get(ConvKernel model)
 => _factory.Get(model);
Example #2
0
 public Bitmap Operator(Bitmap bmp, ConvKernel filter)
 => _cache.GetOrCreate(filter,
                       () => _convolution.Convolution(bmp, _factory.Get(filter))
                       );