Have you ever seen those pictures that are made up of several smaller images? But when you stand back from it, you'll see a face that's been created out of magazine covers or something. When you stand back, each magazine cover appears to be a single pixel, sort of, and has a dominate color or shade that stands out.
Examples
Given the smaller images or tiles, how could I determine what shade that would appear to be? Would it be just an averaging of all pixels?
Edit
This was suppose to be in the DBP board, but it's a language independent question anyway.
"Any sufficiently advanced technology is indistinguishable from magic" ~ Arthur C. Clarke