Clustering-based colour image segmentation using inter-cluster distance