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.
|