Segmentation assigns a class label to every single pixel — not the whole image, not a bounding box, but each individual pixel. The output is a mask the same size as the input image, with every pixel classified.
Semantic segmentation — Labels each pixel with a class, but doesn't distinguish between instances. All car pixels are "car" regardless of how many cars are present. Used for scene layout understanding in autonomous driving and satellite imagery.
Instance segmentation — Labels each pixel with a class AND a unique instance ID. Car 1 vs Car 2 vs Car 3. Requires detecting each object and producing a pixel-precise mask. Mask R-CNN is the landmark model.
Panoptic segmentation — Unifies both: every pixel gets a class label; countable foreground objects (people, cars) also get instance IDs; background (sky, road, grass) gets class only.
U-Net has an encoder path that downsamples to capture context, and a decoder path that upsamples back to the original resolution. Skip connections between encoder and decoder layers preserve spatial detail. Designed for medical imaging — works well even on small datasets. Now used across domains from satellite imagery to industrial inspection.
Ask the AI assistant about image segmentation, the difference between semantic and instance segmentation, or how U-Net works.