java中的开源图像处理库

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/2407113/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-13 07:10:15  来源:igfitidea点击:

open source image processing lib in java

javaimage-processing

提问by user267067

Can anyone suggest a good open-source image processing library in Java? I want to develop an OMR reader using it.

谁能推荐一个好的 Java 开源图像处理库?我想开发一个使用它的 OMR 阅读器。

回答by leonm

回答by RTBarnard

There are a number of options out there, each with their own features and drawbacks. If you want to discuss your needs in more detail, I can touch on the specific attributes of each library as it relates to your project:

有很多选择,每个都有自己的特点和缺点。如果你想更详细地讨论你的需求,我可以谈谈每个库的特定属性,因为它与你的项目相关:

回答by Joseph

Marvin Image Processing Framework

Marvin 图像处理框架

http://marvinproject.sourceforge.net

http://marvinproject.sourceforge.net

回答by Alex Povar

and the dead-simple one: imgscalr

还有一个非常简单的:imgscalr

回答by Paul Bartlett

I would suggest using JAI, as mentioned, for the imaging side, but for writing an OMR application you will need template registration. This can be achieved using OpenCv. This works with Java (as well as many other languages and platforms).

如前所述,我建议在成像方面使用 JAI,但要编写 OMR 应用程序,您将需要模板注册。这可以使用 OpenCv 来实现。这适用于 Java(以及许多其他语言和平台)。

Without good image registration, regardless of image processing library, you will end up missing some of the marks on some scans, as you will find that some scans are shifted due to the way scanners work.

如果没有良好的图像配准,无论图像处理库如何,您最终都会在某些扫描中遗漏某些标记,因为您会发现由于扫描仪的工作方式,某些扫描会发生偏移。