Using a standard histogram doesn't provide much information on which colors a human beholder would recognize. Are there any open/ free algorithms to evaluate the amount of, say, ten basic colors in any given RGB computer image?
what do you imagine are the ten basic colors? You question presupposes we know what color vision is. For instance, we 'see' green when we see one specific 'green' wavelength. We also see green when we see abmixture ofr yellow and bluev wavelenght. How do you account for that? The more you look into it - the physics, the biological optics, the neuroscience, the philosophy, you will find that any supposed algorithm is the implementation of a particular theory. As artists and graphic designers know, there are hundreds of ways of organsing the space of color, or the space of color vision.
sure, our vision is no simple wavelength -> color machine. Yet, I wonder if there are different approaches that at least come closer to our everyday perception than a standard RGB histogram would. If I remember correctly, there have been some attempts to determine basic color sets with a lexical approach (which colors do have seperate nouns across cultures), you arrive at ten or eleven then. Knowing to which of color of such a color set a single pixel is closest would be a good first step for me, but this would include not only assumptions about such a color set, but --- mort importantyl --- about some metrics do determine color distance. I'm aware that this will never be a perfect solution.
> I wonder if there are different approaches that at least come closer to our everyday perception
As Tonto said "who's 'we', white man?" (Its a joke about the Lone Ranger - may be culturally specific:)
Its culturally determined.There are numerous popular examples. In Chinese there is no word for brown.'Brown' cows are red' The famous river is 'yellow'. The ancient Greeks had no concept of 'blue'. Homer referred to a 'wine dark sea'. There is a story of Vygotsky doing research in Uzbekistan where his subjects adamantly argued that two browns were completely different because one was the color of pigshit and the other was the color of bread.