颜色代用品Android中 [英] Color Replacer in Android

查看:219
本文介绍了颜色代用品Android中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要替换图像的颜色和它分配到的ImageView我有搜索大量的时间在谷歌,但仍然没有发现任何有用的resources.i已经在Java rgbimagefilter看到,但它并没有在Android中使用,因此下面的截图我的除外输出:

i want to replace colors in image and it's assigned to imageview i have search lots of time in google but still to didn't find any useful resources.i have seen in java rgbimagefilter but, it doesn't used in android so my excepted output below screenshots:

原始图像

替换后绿三色为灰色像下图:

after replace green colors to grey like below image:

我知道像读取图像基本思路每个像素为它的比赛比较RGB值与新的颜色代替,但我不知道该怎么做,在机器人编程。

i know basic idea like read image each pixel compare rgb value for it's matches replace with new color but i don't know how to do that in android programmatically.

推荐答案

下面是一些建议(尝试搜索图像的下一次处理; - )):

Here are some suggestions (try searching for Image processing the next time ;-)):

百鸟SDK
- >而code它

这里你可以找到各种图像处理的一个很好的教程

Here you can find a nice tutorial for all kinds of image processing.

在这里你可以找到一些库:

Here you can find some libraries :

斐济, http://fiji.sc/wiki/index.php/Fiji

最后这个项目这里

有一个愉快的阅读: - )

Have a nice reading :-)

这篇关于颜色代用品Android中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆