Comment 3 for bug 1083683

Revision history for this message
Peter Levi (peterlevi) wrote :

Yes, AvgColor and DominantColors are both related to detecting the colors of an image. But you would be surprised how tricky it is to work with colors - the raw numbers that the machine sees are very differently representing the image from how a human actually interprets it. For example imagine a picture that has two equal parts of two opposite colors, like red and green. AvgColor would say it is gray. Any human would say it is definitely not gray and will probably add that an "average color" actually bears no meaning for this picture. I played a lot with this while trying to calibrate DominantColors for the color filtering option (and it is still far from perfect). So, what we would need instead of AvgColor would rather be to find the most dominant color in the area where the quote would be drawn. But as I said, this needs lots of playing around till it is calibrated and for now this effort definitely seems like an overkill for what we'll achieve with it.

> I also seem to be getting much better images from the feeds in the new version too
Pure luck :-) I sometimes get complete trash, sometime really nice images... The interesting part is that even if you visit those wallpaper sites in a browser and check their "most liked" images, it is again full of trash - it seems that simply users have way different tastes and what one finds great is trash for the other. I'm planning on a feature which will counter that, but I will reveal more details when I have given it some more serious thought.