I. Introduction
Segmenting an image is an effort to group similar colors or elements of an image into a cluster or group. This can be achieved by clustering, which clusters the number of colors or elements into several clusters based on the similarity of color intensities and gray intensities of an image. Main objective of clustering an image is dominant colors extraction from the images. By extracting the information from images such as texture, color, shape and structure, the image segmentation can be very important to simplify. Because of the information extraction in any images, the segmentation has been used in many fields such as Enhancing the image, compression, retrieval systems i.e., search engines, object detection, and medical image processing.