Cluster analysis can also be performed on the RGB values of the image. In doing so, we can essentially group pixels into similar categories and then re-visualise the image using the average value of these groups. In doing this, we can simulate the image over different levels of ‘colour resolution’.
The series of images below show from top left to bottom right:
What I find interesting about this clustering of pixel colours is that you can segment an image to any number of distinct colours, gradually reassembling it as you increase the number of clusters.
I can also look at groups of similar images and compare their two dimensional colour space plots:
As expected, these four images of volleyballers serving, returned very similar colour spaces, made up mostly of skin tones and blues from the sky.
This second example of beaches (all taken on the same day) show more variation in colour on the principal component plots, the dominant colours of ocean and sky are evident throughout all three.