According to what i've found till now, the difinition of image segmentation is described as
In digital image processing and computer vision, image segmentation is the process of partitioning a digital image into multiple segments
Here it says, partifitoning or say deviding a digital image into multiple segments. As i saw it is basically done based on different colour of different regions. But what is the exact goal of image segmentation and how can it be defined in sentence? Eg. If it is based on colour than even a same region of object eg. apple can have different colour values in its surface due to lots of reasons like lightening condition etc. So can someone explain me the exact definition what is the purpose of image segmentation i.e exact output i.e expected by it?