Clustering algorithms for aerial photographs and high resolution satellite images