How to read colors from image

I have an jpeg image covered with a cell grid. I want to be able to read the colors from the jpeg( of which there is only two, green and blue) and only used the cells that cover the green part of the image. Is this possible?
[238 byte] By [Linkeda] at [2007-11-26 18:09:36]
# 1
[url= http://java.sun.com/j2se/1.5.0/docs/api/java/awt/image/BufferedImage.html#getRGB(int,%20int)]getRGB[/url]?
DrLaszloJamfa at 2007-7-9 5:41:36 > top of Java-index,Security,Cryptography...