A step-by-step guide for clustering images