How to find the average Hue (or other "loop" value)?
Analyze color scheme of images, and need to take the average of hue. The problem is that hue is looped: after 359° should be zero.
In this situation, take the average of n? Consider that n is large and unprofitable to store all the numbers, you need some "adder".