I’d like to be able to programmatically distort an image in C#. Specifically, I’d like to re-weight an image spatially, such that the central pixels are expanded and peripheral pixels occupy proportionately less space. Think fish-eye lens. Kinda.
Are there any .NET tools that can do this? I don’t mind whether they’re built into the .NET core, or an addon.
Disclaimer: I work for Atalasoft
Our free imaging SDK DotImage Photo Free, can do this:
http://www.atalasoft.com/free-dotnet-image-sdk
Look at
Atalasoft.Imaging.ImageProcessing.Transforms.LensTransform. You would do something like