裁剪和歪斜图像 [英] Crop and deskew image
本文介绍了裁剪和歪斜图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
你好。
这里我有来自扫描仪的图像。 图片 [ ^ ]
首先是来自扫描仪的图像,之后会出现我想要的图像。 (我用GIMP歪曲并旋转它。)
有人能为我提供完整的算法和代码如何完成吗?
这包括:
1.裁剪
2.歪斜(旋转)
3.职位
我尝试了什么:
这里我提供的是源代码。
[C#] C#裁剪和偏斜校正 - Pastebin.com [ ^ ]
解决方案
阅读文章的文章和代码和 C#中的图像处理实验室。这两篇文章都在你需要的时候处理图像处理。
有很多乐趣。 ; - )
请看一下:
一个开源解决方案使用.NET :: ImageProcessor 实时处理图像[ ^ ]
Hello.
here i have image from scanner. Images[^]
First is image from scanner afterwards there is the image that I want as a result. (I croped and rotated it with GIMP).
Can someone provide me with full algorithm and code how it is done?
This includes:
1. Crop
2. Deskew (Rotate)
3. Position
What I have tried:
Here I am providing my source code.
[C#] C# Crop and deskew - Pastebin.com[^]
解决方案
Read the article and code of the articles Image Processing using C# and Image Processing Lab in C#. Both articles are handling images processing as you need it.
Have a lot of fun. ;-)
Please have a look at this:
An open-source solution for on-the-fly processing of images using .NET :: ImageProcessor[^]
这篇关于裁剪和歪斜图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文