Add ROC code; randomly select images from different clusters