I am trying to implement a program that will classify the color scheme of the image based on the dominant colors. Example:
I am using machine learning tools but I wonder whether there is a mathematical approach to this problem. E.g. if the angle between the hues of two colors is between alpha and beta than it is a complementary scheme. I could not find any information on this topic. Any help would be very much appreciated.