Image segmentation is the task of partitioning an image into regions by assigning a label to each pixel, rather than drawing a box around an object. It is the umbrella for semantic, instance, and panoptic segmentation, which differ in how they treat classes and objects.
| Type | What it labels |
|---|---|
| Semantic segmentation | Each pixel by class, without separating object instances |
| Instance segmentation | Each object instance separately, with its own mask |
| Panoptic segmentation | Every pixel, unifying class regions and distinct instances |
