I have a jpg image.
I need to know "overall average" the color of the image. At first glance there can use the histogram of the image (channel RGB).
I do not need to dynamically determine the color of the picture. I need just once go through the entire array of images and determine the color of each separately (this information I will remember for future use).