2D-to-3D conversion

Also known as: stereo conversion

On this page 7

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.

StageWhat happensMain risk
SegmentationObjects are separated into layers or masksRagged edges around hair and smoke
Depth assignmentEach layer or pixel receives a distance valueFlat, cardboard-like objects
View synthesisPixels are shifted to form left and right imagesStretching and warping
InpaintingRevealed gaps are filledSmearing and visible repeated texture
Depth gradingOverall depth budget is tuned for comfortEye strain from excessive parallax
Stages of a typical conversion pipeline

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.

ApproachTypical useSpeedQuality ceiling
Manual stereo conversionCinema releases, premium VR filmsWeeks per feature reelHighest, artist-controlled
Automatic AI conversionPhoto libraries, headset playbackSeconds per imageGood, inconsistent on fine detail
Hybrid workflowDocumentaries, archival restorationDays per projectHigh with selective fixes
Real-time conversionLive playback in a player or TVPer frame, under a frame timeModest, mild depth only
Comparison of conversion approaches

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.

Aspect2D-to-3D conversionNative stereo capture
Source materialAny existing 2D image or videoRequires a dual-lens camera or rig
Reflections and glassOften wrong depthPhysically correct
Depth controlFreely adjustable after the factFixed by interaxial distance
Production costLow for automatic, high for manualHigher equipment and setup cost
Hidden areasMust be inventedPartly recorded by the second lens
Converted versus natively captured stereo content

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.

SymptomLikely causeFix
Cardboard cutout effectObjects receive one flat depth valueAdd internal depth gradients or roundness
Edge halosMask edges misaligned with depthRefine segmentation, feather depth edges
Rubber-sheet warpingBackground stretched to fill holesBetter inpainting or layered backgrounds
Depth flickerFrame-by-frame estimationTemporal filtering or sequence models
Floating textSubtitles placed at wrong depthPlace text slightly in front of nearby objects
Common conversion artifacts

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.