S3D Library
Stereoscopic 3D guide
TR (Türkçe) erkancerit.com (opens in a new tab)
Library · Post-production

Stereo post-production techniques

Post-production steps that work on the stereo pair: generating new views from depth, the depth script, transferring mattes and subtitles to both eyes, and delivery formats. For depth grading and target-screen masters, see Post-production and mastering.

Depth-image-based rendering

Depth-image-based rendering (DIBR) generates the image of another viewpoint from one image and its depth map. Each pixel is shifted horizontally by the disparity computed from its depth:

d = (f · b' / Wc) · (1/C' − 1/Z)

where: d is the pixel shift (fraction of image width), Z the depth of the pixel, b' the desired interaxial, C' the desired convergence distance

Where it is used:

Hole filling

Regions that are visible from the new viewpoint but hidden behind a foreground object in the original image have no data. These holes (disocclusion) open at object edges, in the direction of the shift, and are filled by extending the background or by image completion (inpainting).

Depth script

The depth script is the shot-by-shot depth plan of a film. For each shot, the parallax range (nearest and farthest point) and the parallax of the main subject are shown on a chart. It is prepared in pre-production and used during shooting and depth grading.

Stereo roto and matte transfer

A roto, color-correction or visual-effects matte is first drawn in one eye. To transfer it to the other eye, the matte is shifted horizontally by the disparity of its depth. If a disparity map is available, each point is moved by its own disparity.

The transferred matte is checked in the other eye. If the matte edge does not have the same disparity in both eyes, the edge of the correction appears to the viewer as a separate line in front of or behind the object.

Depth-aware subtitling

In a stereo image a subtitle also has a parallax. Because the subtitle is drawn over the image, the occlusion cue puts it in front. If its parallax places it behind the object it covers, the two depth cues conflict and reading becomes harder. The subtitle is therefore placed slightly in front of the nearest object in the area it covers (depth-aware subtitling).

Delivery formats

A stereo pair is put into a video file in two ways:

In H.264 and HEVC the frame-compatible layout is signaled by frame packing information added to the video stream (frame packing arrangement SEI). If this information is missing, or the player does not read it, the two eyes appear side by side in a flat image and the layout is selected by hand.

The loss from half resolution is more noticeable on headsets with many pixels per eye and on large virtual screens. For these devices full SbS or multiview coding is preferred.

Multi-device mastering

The comfort window of the same content differs on a cinema screen, a TV, a phone and the virtual screen of a headset, because the window depends on screen width and viewing distance. On headsets and glasses, the apparent size and distance of the virtual screen are used instead of a physical screen. Target screens are grouped into the fewest masters: the method is on the Post-production and mastering page, the device classes on the Viewing devices page.