C#,分割扫描图像并查找内容区域

发布于 2024-10-10 03:53:44 字数 271 浏览 0 评论 0原文

又是关于图像处理的问题:)

在 AForge.Net 的帮助下,我旋转并裁剪了一本书的扫描图像。现在我需要将旋转和裁剪的结果分割成单独的页面。我需要以某种方式找到两页之间的线并通过它分割图像。我可以从中间分割,但有可能扫描的图像只有一个整页和另一页的一部分。

然后我需要找到内容区域框(包含所有页面内容的框,例如文本、图像)。

我不知道我应该走哪条路来制作所有这些东西。

我的程序应该像著名的 Scan Tailor 一样运行,但有机会跳过步骤并在 C# 上运行。

And again question about image processing :)

With help of AForge.Net I've rotated and cropped scanned image of a book. And now i need to split result of rotating and cropping into separate pages. I need somehow to find line between 2 pages and split image by it. I could just split by middle, but there is an opportunity that there will be scanned images with only one full page and a piece of another.

Then i need to find content area box (box which will include all page's content eg text, images).

I don't know which way i should go to make all these things.

My program should behave just like famous Scan Tailor but with opportunity to skip steps and on C#.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文