开发者

Android Image Problem and threshold

Long time reader never pos开发者_如何学运维ted until now. Im having some trouble with Android, im implementing a library called JJIL its an open source imaging library.

My problem is this i need to run some analysis on an image and to do so i need to have it in jjil.core.image format and once those processes are complete i need to convert the changed image from jjil.core.image to java.awt.image. I cant seem to find a method of doing this does anyone have any ideas or have any experience with this?

I would be grateful of any help.

Danny


You should let others know what you found... probably you found that android.graphics.Bitmap has a getPixel(x,y) method that returns an int representing the ARGB value?

http://developer.android.com/reference/android/graphics/Bitmap.html


I have done some serious research into this and i have found that i can extract the rgb values of a bitmap image with a similar method. But the threshold that i was using the previous library for is now not possible because i have had to abandon the use of this library.

Is there a way to use colour matrix's to threshold the image? Or better still is there an inbuilt method that would do this automatically?

Thank you for any help. Danny

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜