On homogeneity evaluation and seed selection in spatial clustering of structured objects