01Dense prediction
Segmentation assigns a label to every pixel. The output is a mask with the same height and width as the image.
- Semantic segmentation — a class per pixel; all sheep are just "sheep".
- Instance segmentation — separates individual objects: sheep 1, sheep 2. Mask R-CNN adds a small mask head to Faster R-CNN that predicts a mask inside each detected box.
- Panoptic segmentation — combines both: countable things (people, cars) get instance ids; amorphous stuff (sky, road, grass) gets semantic labels.
Applications range from medical imaging (tumour boundaries) to agriculture (field and crop mapping) to self-driving (drivable area).