Image segmentation is the process of clustering or partitioning the pixels of an image into a set of regions corresponding to the individual surfaces, object, or parts of the object.
Medical image processing, object detection, face recognition, pedestrian detection, and satellite photo analysis incorporates image segmentation techniques. On top of that, image segmentation techniques can simplify and compress images in size.
There are two ways to approach the image segmentation problem—supervised and unsupervised, that is, by manually defining the number of segments and regions or letting the algorithm entirely do the job.