Android的图像处理库?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/10466102/
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
Image processing library for Android?
提问by Gulbahar
A friend who works in the medical profession asked me to try and write a small application for Android that could take a picture, analyze it in terms of colors and size so we know how it evolved since the last snapshot, and make recommendations based on that evolution.
一位在医疗行业工作的朋友让我尝试为 Android 编写一个小应用程序,它可以拍照,并根据颜色和大小对其进行分析,以便我们知道自上次快照以来它是如何演变的,并基于此提出建议进化。
I'm only getting started with Android, and was wondering if someone knew of a good library that could do this and save development time.
我才刚开始使用 Android,想知道是否有人知道一个好的库可以做到这一点并节省开发时间。
回答by sansuiso
OpenCV(for Open Computer Vision) is a C++ image processing library widely used by researchers in image processing, computer vision, robotics... (at least for the ones who don't use matlab). It does officially support Android, and it is actively developed.
OpenCV(用于开放计算机视觉)是一个 C++ 图像处理库,被图像处理、计算机视觉、机器人技术的研究人员广泛使用......(至少对于那些不使用 matlab 的人来说)。它确实正式支持Android,并且正在积极开发中。
Furthermore, it has a lot of advanced functions that you can use later if you need it.
此外,它还具有许多高级功能,您可以在以后需要时使用。
回答by Abhishek Chanda
回答by user443654
You might look into Imagemagick. It has a couple Android ports (see https://github.com/puelocesar/android-lib-magickfor one of the two I know of) and I am pretty sure I read that it has support for doing what you want.
您可能会查看 Imagemagick。它有几个 Android 端口(请参阅https://github.com/puelocesar/android-lib-magick了解我所知道的两个端口之一),我很确定我读到它支持做你想做的事。
回答by Keshan De Silva
Use JavaCV, is a Wrapper for OpenCV. JavaCV Contains all most all the functions that OpenCV contains. Although JavaCV haven't any rich documentation you can use OpenCV documentation to find the functions that you can use for your project. JavaCV has same method signature (not for all) as OpenCV.
使用 JavaCV,是 OpenCV 的 Wrapper。JavaCV 包含 OpenCV 包含的所有大部分功能。尽管 JavaCV 没有任何丰富的文档,但您可以使用 OpenCV 文档来查找可用于项目的函数。JavaCV 具有与 OpenCV 相同的方法签名(并非全部)。
回答by Abhishek Agarwal
I found JHLabs libary, which is very easy to use and basic image processing filters to be used. https://code.google.com/p/android-jhlabs/-> this link is not found
我找到了 JHLabs 库,它非常易于使用并且可以使用基本的图像处理过滤器。 https://code.google.com/p/android-jhlabs/-> 找不到此链接