# Segmentation

> From turning classifiers into dense pixel labelers on PASCAL VOC to one model that cuts out anything you point at.

Page: https://mralbu.github.io/ai-datasets/t/segmentation
Timeline: https://mralbu.github.io/ai-datasets/timeline?track=segmentation
Categories: Vision

Labeling every pixel pits wide context, to know what is in the scene, against high resolution, to trace crisp edges. Fully convolutional networks made it end to end; dilated convolutions and pyramid pooling added context; a mask branch separated individual objects; Transformers simplified the models and unified the tasks; and a billion masks made segmentation promptable.

## Sequence

- **2005 · Dataset:** [PASCAL VOC](https://mralbu.github.io/ai-datasets/d/pascal-voc.md) — The 20-class object-detection challenge that ran every year from 2005 to 2012.
- **2012 · Dataset:** [NYU Depth V2](https://mralbu.github.io/ai-datasets/d/nyu-depth-v2.md) — 1,449 indoor photos from a Kinect, each with a depth map and a class for every pixel.
- **2014 · Dataset:** [MS COCO](https://mralbu.github.io/ai-datasets/d/coco.md) — 330k everyday scenes with 1.5M labeled objects in 80 categories.
- **2014 · Step 1:** [FCN](https://mralbu.github.io/ai-datasets/p/fcn.md) — Classifiers threw away spatial layout to output one label; turning their fully connected layers into convolutions, with skip connections, made end-to-end pixel labeling possible.
- **2014 · Step 2:** [DeepLab](https://mralbu.github.io/ai-datasets/p/deeplab.md) — FCN's deepest features were 32 times coarser than the image; atrous convolution kept them 4× denser, and a CRF snapped labels to object edges.
- **2016 · Dataset:** [Cityscapes](https://mralbu.github.io/ai-datasets/d/cityscapes.md) — 5,000 street photos from 50 cities, every pixel labeled as road, car, person, sky and so on.
- **2016 · Step 3:** [PSPNet](https://mralbu.github.io/ai-datasets/p/pspnet.md) — Local convolutions still mislabeled regions that needed whole-scene context; multi-scale pyramid pooling gave every pixel a view of the entire image.
- **2017 · Dataset:** [ADE20K](https://mralbu.github.io/ai-datasets/d/ade20k.md) — 27,000 scenes where every object, and often its parts, is outlined and named.
- **2017 · Step 4:** [Mask R-CNN](https://mralbu.github.io/ai-datasets/p/mask-rcnn.md) — Semantic labels merged touching objects of the same class; a small FCN mask branch on each detected box segmented every instance separately.
- **2021 · Step 5:** [SegFormer](https://mralbu.github.io/ai-datasets/p/segformer.md) — Convolutional segmenters needed dilated modules or region heads to see wide context; a hierarchical Vision Transformer got it natively, with a tiny MLP decoder.
- **2021 · Step 6:** [Mask2Former](https://mralbu.github.io/ai-datasets/p/mask2former.md) — Semantic, instance and panoptic segmentation still used separate architectures; predicting masks from Transformer queries with masked attention unified all three.
- **2023 · Step 7:** [SAM](https://mralbu.github.io/ai-datasets/p/sam.md) — Earlier models learned a fixed set of classes from one dataset; prompting with points or boxes, trained on a billion masks, segmented new images zero-shot.
