Intelligent image clustering, inspired by this paper: http://www.cs.unc.edu/~jdh/documents/science.pdf