Sounds like what you want is a histogram: essentially, an x-y diagram of frequency of colors in an image. Your basic idea is sound, but things get complicated quickly. Do you have RGB data or transparency as well? How many bits deep are the images? Do you want to do any binning (group "similar" colors for some suitable definition of similar)?
As a first shot, you may want to try writing some Perl-Fu scripts in The GIMP to test your ideas, rather than starting completely from scratch. That way, you can get a better feel for how hard or easy it is to do what you want.
In reply to Re: Image analysis
by VSarkiss
in thread Image analysis
by AssFace
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |