有没有用于扭曲/扭曲图像的.NET工具?

Tom*_*ght 5 .net c# image-manipulation

我希望能够以编程方式扭曲C#中的图像.具体来说,我想在空间上重新加权图像,使得中心像素被扩展并且外围像素占据相应较小的空间.想想鱼眼镜头.均田.

有没有可以做到这一点的.NET工具?我不介意它们是内置于.NET核心还是插件中.

Lou*_*nco 1

免责声明:我在 Atalasoft 工作

我们的免费成像 SDK DotImage Photo Free,可以做到这一点:

http://www.atalasoft.com/free-dotnet-image-sdk

看着Atalasoft.Imaging.ImageProcessing.Transforms.LensTransform。你会做类似的事情

AtalaImage img = new AtalaImage("file.jpg");
LensTransform cmd = new LensTransform();
cmd.Radius = 100;
cmd.Offset = new Point(100, 100); // set the center
AtalaImage img2 = cmd.Apply(img).Image;
Run Code Online (Sandbox Code Playgroud)