如何获得在android的图像的像素的RGB值 [英] How to obtain pixel's rgb values in an image in android
问题描述
我工作的一个小侧面项目(计划为Android平台),我不完全有问题,但我真的不知道从哪里开始。 我工作的这个项目,是因为有获取信息和处理图像内的像素的RGB值。我知道这是一个非常基本的程序(不打算公开所有有关该项目的信息),但我是一个开始的Android程序员。
I am working on a little side project (program for Android platform)and I don't exactly have a problem, but I don't really know where to start. The project I am working on has to do with getting the info and manipulating a pixel's RGB values inside an image. I know this is a very basic program (not going to disclose all the information about the project), but I am a beginning android programmer.
我已经开发了我的算法,现在我只需要推在正确的方向/knudged。谁能帮帮我吗?对这种事情或相关主题的任何教程?
I've already developed my algorithm, now I just need to be pushed/"knudged" in the right direction. Could anyone please help me? Any tutorials on this kind of thing or related topics?
在此先感谢!
推荐答案
你有什么样的对象?位图?如果是这样,怎么样 Bitmap.getPixel(INT X,int y)对
?
What kind of object do you have? A Bitmap? If so, how about Bitmap.getPixel(int x, int y)
?
这篇关于如何获得在android的图像的像素的RGB值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!