use three methods to realize image cluster:scipy(kmeans),Hierarchical clustering, PCV.
1.If you know how many clusters you want, then run kmeans.py(scipy/kmeans).
2.If you do not know how many clusters you want, then run cluster_image_save.py(Hierarchical clustering).
3.cluster.py (PCV)
items:
1.you may need install PCV.
2.if you want to convert .jpg to .tif or any other styles, run conver.py
3.Do not forget to change path.