SixLabors / ImageSharp

:camera: A modern, cross-platform, 2D Graphics library for .NET
https://sixlabors.com/products/imagesharp/
Other
7.34k stars 847 forks source link

Expose Convolution Api #2797

Open JimBobSquarePants opened 2 weeks ago

JimBobSquarePants commented 2 weeks ago

Prerequisites

Description

See the roadmap discussion at https://github.com/SixLabors/ImageSharp/discussions/2533

Adds a general convolution API that accepts a DenseMatrix<float> to describe the convolution kernel.

All this stuff has been the plumbing for various processors over the years and should be exposed publicly now it's solid.