In computer vision, image segmentation is the process of partitioning a digital image intomultiple segments (sets of pixels, also known as superpixels). The goal of segmentation is to simplify and/orchange the representation of an image into something that is more meaningful and easier to analyze. Imagesegmentation is typically used to locate objects and boundaries (lines, curves, etc.) in images. More precisely,image segmentation is the process of assigning a label to every pixel in an image such that pixels with thesame label share certain characteristics. The result of image segmentation is a set of segments that collectivelycover the entire image, or a set of contours extracted from the image