java 安卓图像处理

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/16099148/
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-10-31 21:54:14  来源:igfitidea点击:

Android Image Processing

javaandroidimage-processing

提问by Alan Lai

I am currently developing an apps which need image processing. I am using thistutorial. However, sometime the image is not being process perfectly. It might only process half of the image. I got no idea why it is like this.

我目前正在开发一个需要图像处理的应用程序。我正在使用教程。然而,有时图像没有被完美地处理。它可能只处理图像的一半。我不知道为什么会这样。

So i decided to change another library, is there any similar library that doing same with the current that I using?

所以我决定更换另一个库,是否有任何类似的库与我使用的电流相同?

回答by Diego Catalano

You can use Catalano Framework, It works in Desktop as Android.

您可以使用 Catalano 框架,它在桌面上像 Android 一样工作。

http://code.google.com/p/catalano-framework/

http://code.google.com/p/catalano-framework/

Example:

例子:

FastBitmap fb = new FastBitmap(bitmap);

//If you want to apply threshold
Grayscale g = new Grayscale();
g.applyInPlace(fb);

Threshold t = new Threshold(120);
t.applyInPlace(fb);

bitmap = fb.toBitmap();

回答by PC.

U can try this. It is a Java image processing library. It includes an image processing architecture and over 60 routines for various image processing tasks

你可以试试这个。它是一个 Java 图像处理库。它包括一个图像处理架构和 60 多个用于各种图像处理任务的例程