Instance segmentation is an annotation and prediction task that outlines each individual object in an image at the pixel level, giving every object its own mask and identity. Unlike semantic segmentation, it tells two cars apart, combining the per-pixel detail of a mask with per-object separation.
| Task | What it labels | Object identity? |
|---|---|---|
| Instance segmentation | Countable objects, one mask each | Yes, each object is separate |
| Semantic segmentation | Every pixel by class | No |
| Panoptic segmentation | Every pixel by class, plus instance IDs | Yes for objects, background gets a class only |
