Question : RGB Averaging in J2ME

I'm working on a J2ME game where players are instructed to take a picture of something red (blue, yellow, etc) with their cameraphone. The program then evaluates the image in order to determine if it is red enough.

I have it functioning to the point where the picture is displayed on the canvas.

Can someone get me started on how I would go about doing the rgb averaging?

Thanks.

Answer : RGB Averaging in J2ME

http://forum.java.sun.com/thread.jspa?threadID=5125006&messageID=9443355
Random Solutions  
 
programming4us programming4us