基于徽标的自动图像旋转
我们正在寻找一个软件包来帮助识别并根据水印或徽标自动旋转传真的 TIFF 图像。
目前我们使用 libtiff 进行旋转,但不知道我可以使用任何其他库或包来检测此徽标并确定如何旋转图像。
我已经使用 OpenCV 完成了一些基本工作,但我不确定它是否是适合这项工作的工具。 我更喜欢使用 C/C++,但 Java、Perl 或 PHP 也可以接受。
We're looking for a package to help identify and automatically rotate faxed TIFF images based on a watermark or logo.
We use libtiff for rotation currently, but don't know of any other libraries or packages I can use for detecting this logo and determining how to rotate the images.
I have done some basic work with OpenCV but I'm not sure that it is the right tool for this job. I would prefer to use C/C++ but Java, Perl or PHP would be acceptable too.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
使用 OpenCV 来对地方了,它是一个出色的实用程序。 例如,这个人用它来进行模板匹配,这与您需要做的非常相似。 此外,罗迪指定的链接看起来与您想要执行的操作类似。
我认为 OpenCV 是此类开发的最佳库。
@Brian,OpenCV 和 IntelIPP 紧密相连并且非常相似(都是 Intel 库)。 据我所知,如果 OpenCV 在您的计算机上找到 intel IPP,它将自动在后台使用它以提高速度。
You are in the right place using OpenCV, it is an excellent utility. For example, this guy used it for template matching, which is fairly similar to what you need to do. Also, the link Roddy specified looks similar to what you want to do.
I feel that OpenCV is the best library out there for this kind of development.
@Brian, OpenCV and the IntelIPP are closely linked and very similar (both Intel libs). As far as I know, if OpenCV finds the intel IPP on your computer it will automatically use it under the hood for improved speed.
这是您需要的相当复杂且专门的算法。
看看http://en.wikipedia.org/wiki/Template_matching。 还有一个演示程序(但没有源代码),位于 http:// www.lps.usp.br/~hae/software/cirateg/index.html
显然,这些需要您提前知道您正在寻找的徽标...
That's quite a complex and specialized algorithm that you need.
Have a look at http://en.wikipedia.org/wiki/Template_matching. There's also a demo program (but no source) at http://www.lps.usp.br/~hae/software/cirateg/index.html
Obviously these require you to know the logo you are looking for in advance...
英特尔性能基元 (IPP) 库拥有许多非常高效的算法,可以帮助完成此类任务。 该库可从 C/C++ 调用,我们发现它非常快。 我还应该指出,它不仅限于英特尔硬件。
The Intel Performance Primitives (IPP) library has a lot of very efficient algorithms that help with this kind of a task. The library is callable from C/C++ and we have found it to be very fast. I should also note that it's not limited to just Intel hardware.