Skip to content

Image Segmentation

Label every pixel with the object it belongs to

inImageImage

What this capability means

Takes an image and outputs a mask the size of the input, labelling each pixel with its class or its instance. It is finer than detection because it gives outlines rather than boxes. Semantic segmentation only distinguishes classes (all of them are people), while instance segmentation also separates individuals (A and B are different people); the two are often lumped together as segmentation.

How it is done

The classic design is an encoder–decoder: the encoder downsamples to extract semantics, the decoder upsamples to restore resolution, and skip connections carry high-resolution detail from shallow layers, with U-Net and fully convolutional networks as landmarks. Instance segmentation often detects first and predicts a mask inside each box (the Mask R-CNN line), or uses a promptable segment-anything model cued by clicks or boxes to isolate arbitrary objects.

Representative products

4

Google DeepMind

Gemini

A natively multimodal general model built for very long context

4Caps
Model Closed
TextImageAudioVideoText
2023

Alibaba (Qwen)

Qwen

An open-weight family spanning many sizes, with multimodal versions

4Caps
Model Open weights
TextImageText
2023

SenseTime

SenseAvatar

Generates lip-synced digital-human video from a portrait and a voice track

1Caps
API Closed
ImageAudioVideo
2022

OpenAI

GPT-4o

A natively multimodal general model, with text, image and audio through one door

4Caps
Model Closed
TextImageAudioTextAudio
2024

Organizations involved

Typical uses

  • Organ and lesion delineation in medical imaging
  • Land-cover classification in remote sensing
  • Drivable area and obstacles for driving
  • Selection masks for image editing

How it is evaluated

IoU / mIoU
Intersection over union of masks, averaged over classes
Dice coefficient
Common in medical imaging, more sensitive than IoU for small targets
Boundary F-score
Judges only contour fit rather than large correct interiors

Limits and hard parts

  • Thin structures and boundaries — hair, wires, vessel tips — break or lose their thinness
  • Adjacent or overlapping instances of the same class merge into one blob
  • Masks are inaccurate on transparent, reflective or low-contrast materials

Concepts behind it

Computer Vision

Semantic SegmentationIntermediate

Colouring every pixel: not a box around the object, but a colouring book

4Linked
Figures 2 · Data 1

Deep Learning

Convolutional Neural NetworksIntermediate

Replacing full connections with “look locally, reuse the same filter everywhere” — the idea that made image recognition work

5Linked
Figures 2 · Data 1