This sounds like the beginning of the Monte Carlo method for determining area. Take random shots (x,y) coordinates and see how many of them hit vs miss the area. The area would be the same color of blob on a two dimensional graphic picture.

A better question might be, Is there a way to take a pixel from a graphic and determine what color it is?