Key takeaways
- An image segmentation dataset pairs images with masks, the ground truth that says which class or object every pixel belongs to.
- Rendering moves the work from the image to the scene. The scene is labeled once, and every frame rendered from it comes with exact masks.
- Physicl Studio does this without a 3D team. Pick a scene from a library of more than 10,000, choose what changes and render thousands of images and videos with segmentation, depth, normals and camera pose on every frame.
- The same files train computer vision models, robot navigation and world models.
- The other options each leave a gap. Public datasets are fixed, imperfect and often closed to commercial use. Labeling your own photos is slow: Cityscapes needed more than 1.5 hours per image.
Image segmentation is the computer vision task of sorting every pixel in an image: road or sidewalk, cup or table, this chair or the one next to it. Good segmentation models are widely available. Training them still depends on one thing: a dataset where every pixel already carries the right answer.
Most teams get that dataset in one of two ways. They download a public one, which covers the scenes someone else chose. Or they label their own photos, which takes hours per image.
There is a third way: render the images from 3D scenes, so the masks come out of the scene instead of out of a labeling queue. This guide shows how to build a segmentation dataset that way in Physicl Studio, then compares it with the other options.
Physicl Studio is in private beta. Request access to render the scenes your model gets wrong.
What is an image segmentation dataset?
An image segmentation dataset is a set of images paired with masks. A mask marks which pixels belong to which class or object, and these masks are the ground truth the model learns from. The dataset also defines its class list and the file format the masks are stored in.
There are three main types, and they are not interchangeable.
- Semantic segmentation: every pixel gets a class, such as road, person or sky. Two people side by side become one "person" region.
- Instance segmentation: every object gets its own mask and ID, so two people are two masks. This is what a model needs to count, track or pick up objects.
- Panoptic segmentation: both at once. Every pixel gets a class, and every countable object also gets its own ID.
Masks are usually stored as COCO-style JSON files, with polygons or a compressed pixel map (RLE) per object, or as PNG files where each pixel value is a class or segment ID. Our glossary covers these and the other labels used in computer vision training data.
How to build an image segmentation dataset in Physicl Studio
A rendered image is made from a 3D scene, the way an animated film is. The software that draws each pixel knows which object it came from, so nobody has to draw the mask: it is read straight from the scene. The labeling work moves from the image to the scene, and it only happens once.
Researchers have tested this for years. Apple's Hypersim labeled 461 indoor scenes once and copied the labels to every image rendered from them, which took 369 hours for 77,400 images. At more than 1.5 hours per image, Cityscapes needed over 7,500 hours for its 5,000 finely labeled photos. In Playing for Data, researchers labeled 25,000 video game frames in 49 hours, and models trained on that game data plus a third of a real street dataset beat models trained on all of it.
Studio puts that approach in the hands of any ML team. There is no 3D software to open and no modeling step: you describe the scene, and Studio renders it with exact masks on every frame.
- Describe the space. Explain the scene your model works in, or the one it gets wrong, in plain words. Studio finds it in a library of more than 10,000 scenes and 100,000 objects, from warehouses and hospitals to labs, shops and offices. Objects rest on surfaces and don't pass through each other.
- Choose what changes. Pick the axes to vary: light and time of day, objects, clutter, materials, camera height and path. Lock anything that must stay fixed, such as the camera path, so every difference between frames comes from the conditions you chose. Change one thing at a time, or all of them.
- Generate the permutations. Each axis is turned with controlled randomness, so one scene yields thousands of images and videos, permutation after permutation. Before anything renders, Studio shows the full run and how long it will take.
- Render with ground truth. Studio renders path-traced images or video. Every frame carries instance and class segmentation, 2D boxes with a class and instance ID, depth in meters, surface normals, camera pose or any other metadata your pipeline needs. The labels come out of the scene, so nothing is estimated afterwards.
- Train on the files. Labels arrive COCO-shaped and depth as EXR, one folder per run in your own storage bucket, with a record of which axes were turned and to what. Studio does not train your model. The training loop stays in your stack.
Inside Studio walks through a full run, from a model that misses a mug on a kitchen counter to the frames that fix it.
What one Studio run can train
Every Studio frame carries depth, normals and camera pose next to its masks, so a run built for a segmentation model is just as useful to a robotics or world model team.
- Computer vision. Studio lists detection, instance segmentation, depth from a single camera and surface normal estimation among its uses, all from the same frames.
- Robot navigation and perception. Robotics runs render from the robot's own camera height: about 1.3 m for a humanoid, 45 cm for a quadruped, 10 cm for a floor robot. Floors to drive through come with metric depth and camera pose on every frame of the path. Every object has its own ID, and obstacle scenes cover the hard cases: thin legs, low shelves and glass.
- World models. Indoor video along a known camera path, with pose on every frame, trains models that predict how a scene changes. Two renders of the same room with one change show which factor a model has actually learned. The world model page shows how to use this ground truth to check whether a model's predictions keep the 3D layout of the room right, not just whether the images look right.
Image segmentation datasets compared
Before rendering, most teams try something else: a public dataset, their own photos run through a labeling tool, images from an AI generator, or a renderer built in-house. Each one solves part of the problem and leaves the rest to you.
| Option |
Where masks come from |
Your own scenes and conditions |
Ground truth beyond masks |
Time to first data |
| Physicl Studio | Read from the scene | Yes | Depth, normals, camera pose and more | Short |
| Public datasets | Drawn by people, fixed | No | Rarely | Immediate |
| Labeling your own photos | Drawn by people or a model | Only what you capture | No | Long |
| AI-generated images | None, still need labeling | Partly | No | Short, then labeling |
| Your own rendering pipeline | Read from the scene | Yes | Whatever you build | Long |
Public datasets
Public datasets are free, large and ready to download the same day, which is why most projects start with one. These six are among the most widely used for segmentation.
| Dataset |
Type |
Size |
Scenes |
License |
| COCO | Instance, panoptic | 328,000 images, 2.5 million labeled objects, masks for 80 classes | Everyday photos | Labels CC BY 4.0, images follow Flickr terms |
| LVIS | Instance | About 2 million masks, 1,203 classes, about 160,000 images | COCO images | Labels CC BY 4.0, images as COCO |
| ADE20K | Semantic | About 20,000 training images, 150 classes in the benchmark | Indoor and outdoor scenes | Images for non-commercial research and education only |
| Cityscapes | Semantic, instance | 5,000 finely labeled images, 20,000 coarsely labeled, 19 evaluation classes | Streets in 50 cities | No commercial use |
| SA-1B | Masks without classes | 11 million images, 1.1 billion masks | Varied photos | Research purposes only |
| Hypersim | Semantic, instance (rendered) | 77,400 images from 461 scenes | Rendered indoor rooms | CC BY-SA 3.0 |
What a public dataset can't give you is control, and that shows up in three ways.
- The masks have errors. A 2024 study of COCO found imprecise boundaries, missing objects and wrongly labeled masks. Models trained on corrected masks learned faster and scored higher than larger models trained on the originals.
- Rare classes stay rare. LVIS was built around a long tail of classes with few examples, where models perform poorly. And no public dataset will add the cluttered shelf or the robot's-eye view your model gets wrong.
- Many can't go into a product. Cityscapes forbids commercial use, ADE20K images are for non-commercial research, SA-1B is for research only, and COCO's images fall under Flickr's terms.
Labeling your own photos
Labeling your own photos fixes the license and the coverage, but not the cost. Labeling and quality control for Cityscapes took more than 1.5 hours per image, more than 7,500 hours for its 5,000 finely labeled images. COCO needed more than 22 worker hours per 1,000 objects, roughly 80 seconds per object.
Human labels also carry human errors, from ambiguous instructions to annotators who see the same object differently, and occlusions are not always handled consistently.
AI-generated images
Image generators, such as diffusion models, produce realistic pictures quickly. But there is no scene behind them, only pixels, so they come with no masks. Someone still has to label them, which brings back the cost and the errors above. Our guide to synthetic data for computer vision explains the difference in more detail.
Your own rendering pipeline
Rendering in-house gives the same exact masks as Studio, but you build and run everything yourself. Hypersim cost $57,000: $6,000 to buy the scenes and $51,000 to render them, before the engineering. You need 3D scenes, artists to make them physically sensible, engineers to run the renderer and code to turn its output into masks your training code can read.
Rendered data and real images
Rendered data does not replace real images. Rendered and real images never look exactly the same, and the drop in performance between them is called the sim-to-real gap.
The strongest results combine the two. Rendered frames bring exact masks and the rare cases your real data misses, at a ratio you control. Real photos bring real-world variety. And whatever you train on, test on real photos.
How to choose an image segmentation dataset
Whether you download it, label it or render it, check any dataset for image segmentation against six questions before you train on it.
- Task type. Semantic, instance or panoptic. An instance model needs an ID for every object.
- Classes. The class list should match yours. A class the dataset never labeled can't be added afterwards.
- Mask quality. Look at a sample up close: edges, holes, thin parts and overlapping objects.
- Coverage. The data should include the conditions your model gets wrong: clutter, low light, unusual viewpoints, rare objects.
- License. Confirm commercial use is allowed if the model will end up in a product.
- Format. Your training code should read the masks as they are, without a converter.
In Studio, three of these are settled before the first frame renders: coverage is whatever scene you describe, the masks come out of the scene, and the labels arrive COCO-shaped.
Studio is in private beta, opening to research teams in waves. Request access to render the scenes your model gets wrong, or talk to us about what your models need.
FAQ
What is the best image segmentation dataset?
The one that matches your scenes, your classes and your license. Public datasets rarely match all three, which is why teams render their own in Physicl Studio: describe the scene, choose what changes and get exact masks on every frame. If you also want a public dataset alongside it, COCO and LVIS are the usual picks for everyday objects, ADE20K for indoor and outdoor scenes and Cityscapes for streets, as long as the license fits your use.
How do I create my own image segmentation dataset?
Render it from 3D scenes, so the masks come out of the scene instead of being drawn by hand. In Physicl Studio, you describe the space, pick the axes to vary and render. The other route is labeling your own photos in an annotation tool, which takes time for every image.
What is Physicl Studio?
Physicl is the synthetic data platform for physical AI, and Studio is where teams generate their training data on it. You describe a scene, Studio finds it in a library of more than 10,000 scenes and 100,000 objects, and it renders path-traced images and video with ground truth on every frame.
Do I need 3D skills to use Physicl Studio?
No. There is no 3D software to open, no scene to assemble and no modeling step. You describe the scene in plain words and choose what changes.
How much data can Studio generate from one scene?
Thousands of images and videos. You choose the axes, such as lighting, clutter, materials or camera path, and Studio renders permutation after permutation. Before anything renders, it shows the full run and how long it will take.
What ground truth does Physicl Studio produce?
Instance and class segmentation, 2D boxes, depth in meters, surface normals, camera pose or any other metadata, on every frame. Labels are COCO-shaped, depth is saved as EXR, and each run lands in your own storage with a record of what changed.
Can Studio data train robots and world models?
Yes. The same frames that train a segmentation model carry depth, normals and camera pose. Studio renders from a robot's own camera height for navigation and perception, and records indoor video along a known camera path for world models.