Image segmentation is the task of classifying every pixel in an image as either "foreground" or "background." Background removal is, at its core, a binary segmentation problem.

Click a color and every connected region of similar color gets selected. Works well on solid-color backgrounds, but is helpless against gradients and multicolored subjects.
Trace the outline by hand. Accuracy depends entirely on the operator's hand speed and patience.
The user draws a rectangle around the subject, and the algorithm iteratively optimizes the segmentation using a graph cut. Far smarter than the magic wand, but complex scenes still require extensive manual correction.
Builds a mask from brightness differences between color channels. The best option for semi-transparent edges like hair, but tedious to execute.
The first end-to-end network for pixel-level segmentation, which laid the foundation for deep-learning segmentation.
An encoder–decoder architecture with skip connections that became the standard for medical imaging and general segmentation. U²-Net is its lightweight variant — the model behind this site's local engine.
Dilated convolutions plus the ASPP module reached state-of-the-art results on benchmarks like PASCAL VOC.
Brought the Transformer to vision; a global receptive field enables much stronger semantic understanding.
Meta's promptable segmentation foundation model, trained on 1.1 billion masks. Click once and it segments any object. The Smart Refine feature on this site is built on MobileSAM, a lightweight version of SAM.
Adds video segmentation with dramatically improved real-time performance.
| Traditional (GrabCut / channels) | AI (U²-Net / SAM) | |
|---|---|---|
| Speed | Seconds (plus manual fixes) | Seconds (fully automatic) |
| Accuracy | Depends on operator skill | Nailed in one shot for 90%+ of scenes |
| Hair edges | Channel masking is best | Close to channel masking |
| Learning curve | Steep | Nearly zero |
| Batch processing | Not practical (manual, one by one) | Natively supported |
Segmentation models are moving in these directions: