2D-to-3D conversion, also called stereo conversion, is the process of turning a flat image or video into stereoscopic content by estimating the depth of every element and generating a separate view for each eye. In extended reality and XR content creation, it lets studios, platforms and individual users present existing photos, films and archives with convincing depth on a headset, without having captured them with a stereo camera.
The technique ranges from manual rotoscoping and depth grading in feature film post-production to automatic depth estimation by neural networks, which headset platforms now apply to personal photo libraries in seconds. Quality depends less on the algorithm label than on how well the depth map matches the scene and how carefully the hidden areas revealed by the new viewpoint are filled.
How 2D-to-3D conversion builds a second view
Every conversion pipeline answers the same question: how far away is each pixel. The answer is stored as a depth map or disparity map, a grayscale image in which brightness encodes distance. From that map, the system shifts pixels horizontally to create a left and right image, a step known as depth-image-based rendering.
Shifting pixels exposes regions that the original camera never saw, such as the background behind a person’s shoulder. These disocclusion holes must be filled by inpainting, either by stretching neighboring pixels, borrowing information from other frames or generating plausible content with a trained model. Hole filling is where most visible artifacts originate.
The main stages and the risks attached to each are summarized below.
| Stage | What happens | Main risk |
|---|---|---|
| Segmentation | Objects are separated into layers or masks | Ragged edges around hair and smoke |
| Depth assignment | Each layer or pixel receives a distance value | Flat, cardboard-like objects |
| View synthesis | Pixels are shifted to form left and right images | Stretching and warping |
| Inpainting | Revealed gaps are filled | Smearing and visible repeated texture |
| Depth grading | Overall depth budget is tuned for comfort | Eye strain from excessive parallax |
Manual, automatic and hybrid conversion methods
Conversion methods differ mainly in how much human judgment shapes the depth. Feature film work historically relied on artists who rotoscoped every object frame by frame, while consumer tools rely on monocular depth estimation models trained on large image collections.
| Approach | Typical use | Speed | Quality ceiling |
|---|---|---|---|
| Manual stereo conversion | Cinema releases, premium VR films | Weeks per feature reel | Highest, artist-controlled |
| Automatic AI conversion | Photo libraries, headset playback | Seconds per image | Good, inconsistent on fine detail |
| Hybrid workflow | Documentaries, archival restoration | Days per project | High with selective fixes |
| Real-time conversion | Live playback in a player or TV | Per frame, under a frame time | Modest, mild depth only |
Video adds the requirement of temporal stability. A model that estimates depth for each frame independently can make objects pulse forward and back, so video pipelines use temporal smoothing, optical flow or models trained on sequences to keep depth consistent from frame to frame.
Conversion compared with native stereoscopic capture
Native capture records two real viewpoints, while conversion infers the second viewpoint. This distinction matters for reflections, transparent surfaces and fine structures, which a stereo rig records correctly but a depth map can represent only as a single distance per pixel.
| Aspect | 2D-to-3D conversion | Native stereo capture |
|---|---|---|
| Source material | Any existing 2D image or video | Requires a dual-lens camera or rig |
| Reflections and glass | Often wrong depth | Physically correct |
| Depth control | Freely adjustable after the fact | Fixed by interaxial distance |
| Production cost | Low for automatic, high for manual | Higher equipment and setup cost |
| Hidden areas | Must be invented | Partly recorded by the second lens |
Conversion also differs from volumetric video and 6DoF video. A converted stereo pair supports only a fixed viewpoint with depth, typically shown as stereoscopic video or a spatial photo, whereas volumetric capture allows the viewer to move the head and see around objects.
Depth budget and viewing comfort
A good conversion uses a controlled depth budget, the range of parallax between the nearest and farthest points. Too much positive parallax forces the eyes to diverge, and strong negative parallax at frame edges creates window violations, where an object appears in front of the screen but is cut off by its border.
Headset viewing adds the vergence-accommodation conflict: the eyes converge on the virtual depth while focusing at the fixed optical distance of the display. Conservative depth, usually concentrated around the main subject, keeps visual fatigue low during longer sessions.
- Keep the main subject near the convergence plane so the viewer rests there comfortably.
- Avoid depth jumps between cuts, which force rapid refocusing of the eyes.
- Reduce depth on fast motion and fine textures, where artifacts are most visible.
- Check content on the target headset, because field of view and lens design change perceived depth.
Typical artifacts and how to fix them
Most conversion problems fall into a small set of recognizable artifact types, each with a known cause. Identifying the cause directs the fix toward segmentation, the depth map or the inpainting step.
| Symptom | Likely cause | Fix |
|---|---|---|
| Cardboard cutout effect | Objects receive one flat depth value | Add internal depth gradients or roundness |
| Edge halos | Mask edges misaligned with depth | Refine segmentation, feather depth edges |
| Rubber-sheet warping | Background stretched to fill holes | Better inpainting or layered backgrounds |
| Depth flicker | Frame-by-frame estimation | Temporal filtering or sequence models |
| Floating text | Subtitles placed at wrong depth | Place text slightly in front of nearby objects |
Understanding it simply
Our two eyes see the world from slightly different positions, and the brain uses that difference to judge distance. A normal photo has only one point of view, so it looks flat.
2D-to-3D conversion guesses how far away everything is in the picture and then draws a second, slightly shifted version for the other eye. When a headset shows each eye its own version, the brain combines them and the scene gains believable depth, even though it was taken with an ordinary camera.
Applied in practice
A family archive project wants to show decades of scanned travel photos on a mixed reality headset at a reunion. The organizer imports about 400 images into a headset photo app that offers automatic conversion into spatial photos, which takes a few seconds per picture.
Landscapes and portraits with clear foreground subjects convert well, but group shots through car windows show edge halos and odd depth on the glass. The organizer keeps conversion for roughly 85 percent of the images, leaves the problematic ones flat and reduces the depth strength for close-ups. Viewers report that familiar scenes feel present and immersive, and no one complains of eye strain during short viewing sessions.