问题描述
寻找一个好的图像处理库,该库可用于我计划创建的新应用程序.我将使用C#.NET(VS 2008)
On the hunt of a good image processing library which can be used for a new application I plan to create. I will be using C#.NET (VS 2008)
我的应用程序需要执行以下操作:
My application needs to do the following:
- 在启动时加载图像并将其显示在图片框中
- 然后,我应该能够在图片框中的任意位置选择四个点(TopLeft,TopRight,BottomLeft,BottomRight).
- 然后我需要使用4个源点和目标点将源图像转换为正确的透视图.
不仅如此,我还需要最终输出的图像具有指定的大小.我希望应用程序能够使用相同的透视图并返回我指定的指定矩形大小(而不是4点大小)的图像.我希望你明白我的意思.需要对源图像进行平铺和转换,以生成完全适合指定区域的输出.
Not just that, I need the final output image to be of a specified size. I want the application to be able to use the same perspective and return an image of the specified rectangular size (not the size of 4 points) I specify. I hope you understand what I mean. The source image needs to be tiled and transformed to produce an output that fits the specified area completely.
我尝试了一些库,例如Aforge.NET,ImageMagick,EMGU等.有些库运行缓慢.有些只能产生小尺寸的透视图.有些提供内存错误.找不到合适的解决方案.
I tried some libraries like Aforge.NET, ImageMagick, EMGU etc. Some are slow. Some can only produce a perspective image of small size. Some give memory errors. Can't find a proper solution.
推荐答案
我假设对您的情况也有帮助.
I assume the answer to my question over here can help in your case, too.
这篇关于带平铺的透视图图像变换的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!