Skip to content
StackDecode
AI & ML Atlas
Artificial IntelligencealgorithmAnimated walkthrough

Image Segmentation

Labels every pixel of an image by the region or object it belongs to.

The idea

Instead of one box per object, segmentation assigns a label to each pixel. Classic methods threshold intensity, grow regions from seeds or cluster colours; deep models such as U-Net and Mask R-CNN predict the label map directly.

Watch it run

The pipeline lights up one step at a time. Use the controls to pause or step through it.

  1. 1Choose a rule or a model that scores each pixel.
  2. 2Assign every pixel to a class or region.
  3. 3Clean up small specks and holes.
  4. 4Output a mask for each object or class.
1/4

Step by step

  1. 1Choose a rule or a model that scores each pixel.
  2. 2Assign every pixel to a class or region.
  3. 3Clean up small specks and holes.
  4. 4Output a mask for each object or class.

Where it is used

Medical scans, autonomous driving, photo editing, satellite imagery.

Watch out for

Fine boundaries are hard, and labelled data is costly to make.

Related