Start studying
Module 3 · Computer Vision Module contents
Module 3  ·  Card 18 / 22beginner

Image Segmentation

Segmentation classifies every single pixel rather than drawing a box.

Semantic segmentation labels each pixel with a class.

Instance segmentation additionally separates individual objects of the same class.

The output is a mask that follows the exact shape of the object.

Medical imaging and self-driving perception rely on it heavily.

Learn in depth ↓
Module 03 · Computer Vision · 22 concepts
In depth  /  15 lines

Image Segmentation, in more detail

Segmentation labels every pixel rather than drawing a box around a region.

A box says roughly where a tumour is, and a mask says exactly which pixels it occupies.

That precision is the whole reason the technique exists.

Semantic segmentation gives each pixel a class, such as road, car or sky.

It does not separate one car from another, since both are simply car.

Instance segmentation separates individual objects of the same class.

Panoptic segmentation combines both, labelling countable things and uncountable stuff together.

The output is a mask the same size as the input, which forces a particular architecture.

The network must downsample to gain context and then upsample back to full resolution.

Skip connections carry fine detail across that gap, which is what a U-Net does.

Labelling training data is expensive, since a person must outline every object.

That expense is why medical segmentation datasets are small and augmentation matters so much.

Dice score and IoU are the usual metrics, computed over pixels rather than boxes.

Medical imaging, satellite analysis and self-driving perception all depend on it.

Segment Anything and similar foundation models now produce masks with little or no task-specific training.

Want the full technical article? Wikipedia ↗
Test yourself

One question on this card. Every option explains itself once you pick, right or wrong.

Question 1
How does segmentation differ from object detection?
Computer Vision

22 concepts in this module, then a graded test with every answer explained.

Study this module →
↑↓ move↵ openesc close