This video is a detailed technical tutorial on how to manually edit Depth Maps to improve 3D conversions or depth-of-field effects in post-production. It focuses on fixing common “bleeding” or “halo” issues where the depth information doesn’t perfectly align with the subject.
(Source: Lytro, Adam Gould, March 13, 2018, Original URL, Archived URL)
Video Summary
| Timeframe | Description |
| 0:00 – 0:45 | Explains “depth bleeding.” The narrator shows how a depth map often overflows the physical boundaries of an object (e.g., a person’s shoulder), causing blurry artifacts in the final 3D render. |
| 0:46 – 1:30 | Demonstrates how to use a Difference Matte or manual rotoscoping to isolate the subject from the background to create a “clean” edge for the depth map. |
| 1:31 – 2:45 | Shows the process of “choking” or expanding the mask. This ensures the white/light areas of the depth map (foreground) match the subject’s silhouette perfectly. |
| 2:46 – 4:15 | The tutorial covers manual painting techniques to fill in gaps within the depth map, ensuring a smooth gradient from foreground to background without “holes.” |
| 4:16 – 4:51 | A side-by-side look at the “Before” (unrefined depth map with artifacts) and the “After” (clean, edited map with sharp 3D separation). |
Key Takeaways
1. Prioritize Edge Accuracy
The most frequent failure in 3D conversion is “depth bleeding.” If the white pixels of your foreground object extend even a single pixel beyond the actual silhouette of the subject, you will see a “halo” or “ghosting” effect.
- The Fix: Always “choke” or contract your depth mask slightly so it sits just inside the subject’s boundary.
2. Grayscale is Geometry
Understanding the math of the grayscale is vital for realistic spatial placement:
- Pure White (255, 255, 255): Represents the point closest to the lens.
- Pure Black (0, 0, 0): Represents the “infinite” background or furthest point.
- Gradients: Use smooth gradients to represent receding surfaces (like a floor or a long table) to avoid “cardboarding,” where objects look like flat 2D cutouts.
3. Manual Correction is Necessary for Complexity
AI and automated tools often struggle with “holes” (e.g., the space between a person’s arm and their torso).
- Takeaway: You must manually paint these areas to match the background depth value, otherwise, the background will appear to “stick” to the foreground object when the camera moves.
4. Use “Clean Plates” for Better Results
When you move a foreground object in 3D space, it reveals what was behind it.
- Takeaway: Successful depth editing often requires “In-painting” or creating a clean plate of the background so that there are no “smearing” artifacts when the perspective shifts.
Common Issues & Fixes
| Issue | Cause | Solution |
| Halos/Ghosting | Depth map is too large for the subject. | Erode/Choke the mask edges. |
| Flatness | Subject is a solid gray value. | Add a subtle gradient to reflect the object’s lean. |
| Jittery Edges | Temporal noise in the video. | Apply a slight temporal blur or “Smooth” filter. |
Explore more videos in this series
- Externally Editing Living Pictures in Adobe Photoshop
- Editing Depth Maps and Fixing Depth Map Errors