Skip to content
BIASED

Semantic segmentation

Block 1 of 6~2 min

Dense labelling

The topic Object detection located objects with boxes. A box is a coarse answer: a road or the sky has no useful box, and a box around a cyclist contains as much street as cyclist. Segmentation labels every pixel instead. The output has the size of the input, which a classification backbone — built to shrink an image to one vector — cannot produce directly.

Three tasks share the name. Semantic segmentation assigns every pixel a class (two cars become one “car” region). Instance segmentation gives each countable “thing” its own mask. Panoptic segmentation combines both: every pixel gets a class, and things also get an instance id; amorphous “stuff” gets only a class. This topic focuses on the semantic task, the base of the other two.

A patch classifier at every pixel works and is slow: a 512×512512 \times 512 image needs 262,144262{,}144 forward passes, almost all redundant. Key idea: run the network once on the whole image; restore resolution with skips or keep it with dilated convolutions; train with a loss summed over pixels.

Answers are saved on the server and tied to this browser until you sign in.