Improving unsupervised image clustering with spatial consistency