{"id":391,"date":"2026-07-20T20:22:21","date_gmt":"2026-07-20T20:22:21","guid":{"rendered":"https:\/\/metrix-x.rraz.ca\/?p=391"},"modified":"2026-07-20T20:28:33","modified_gmt":"2026-07-20T20:28:33","slug":"harnessing-depth-maps-preserving-space-and-point-of-view","status":"publish","type":"post","link":"https:\/\/metrix-x.rraz.ca\/?p=391","title":{"rendered":"Harnessing Depth Maps: Preserving Space and Point of View"},"content":{"rendered":"<p><strong>Introduction: Editing in the Third Dimension<\/strong><\/p>\n<p>A photograph is a projection of a 3D world onto a 2D plane. When we edit, we often focus on color and luminance, neglecting the image&#8217;s inherent depth. This doesn&#8217;t just remove spatial cues\u2014it can fundamentally\u00a0<strong>ruin the camera&#8217;s original point of view and the feeling of space<\/strong>.<\/p>\n<p>The goal of using a depth map is not just to create 3D-looking effects, but to\u00a0<strong>respect and enhance the spatial relationships<\/strong>\u00a0that make a photograph feel immersive. It&#8217;s about the feeling of light entering a space, of atmosphere receding into the distance, and of the viewer understanding their position relative to the scene.<\/p>\n<p>A\u00a0<strong>depth map<\/strong>\u00a0is a grayscale image that estimates the relative distance of every pixel from the camera. This &#8220;luminosity map of distance&#8221; becomes a powerful tool for applying edits that reinforce, rather than flatten, the scene&#8217;s three-dimensionality.<\/p>\n<p><strong>The Artistic Application &#8211; It&#8217;s About Feeling<\/strong><\/p>\n<p>The technical steps serve an artistic goal: preserving and enhancing the photograph&#8217;s spatial integrity.<\/p>\n<ul>\n<li><strong>Atmospheric Perspective:<\/strong>\u00a0 use to add a soft, blue-white haze to distant areas. This mimics how light scatters through the atmosphere, making the scene feel deep and vast.<\/li>\n<li><strong>Foreground Relighting:<\/strong>\u00a0Use\u00a0to punch a beam of light through a forest canopy. The depth map ensures the light correctly falls on the path behind the trees, not on the trees themselves, creating that magical &#8220;light entering a space&#8221; effect.<\/li>\n<li><strong>Point of View Protection:<\/strong>\u00a0When dodging and burning, using a depth-aware mask prevents you from accidentally brightening a distant mountain as if it were a foreground rock, which would confuse the scene&#8217;s perspective.<\/li>\n<li><strong>Quick masking:<\/strong> Many times the subject is separated from the surrounding by depth allowing a detailed mask of the subject to be made from the depth map.<\/li>\n<\/ul>\n<p>Combined they can establish the overall depth of the scene, then add a\u00a0<strong>dramatic spotlight <\/strong>to create a focal point that guides the viewer through the space you&#8217;ve defined.<\/p>\n<p><strong>Conclusion<\/strong><\/p>\n<p>Using depth maps is not about gimmicky 3D effects. It is the key to\u00a0<strong>responsible editing that honors the original scene&#8217;s spatial relationships<\/strong>. By using these methods\u2014the dynamic control group for broad adjustments and the depth-masked spotlight for precise lighting\u2014you move beyond correcting a flat image to actively sculpting the light and atmosphere within a three-dimensional space, preserving and enhancing the very feeling that made you press the shutter.<\/p>\n\n\n<p class=\"wp-block-paragraph\"><strong>Note: <\/strong>the examples below are fairly simple only illustrating a small number of possible uses.<\/p>\n\n\n<div class=\"coca-bais-shortcode shortcode-396\"><div class=\"shortcode-container\"><div class=\"coca-bais-container\" id=\"shortcode-396\" data-settings=\"{&quot;orientation&quot;:&quot;horizontal&quot;,&quot;diagonal_direction&quot;:&quot;backslash&quot;,&quot;move_slider_on_hover&quot;:false,&quot;move_with_handle_only&quot;:true,&quot;click_to_move&quot;:true,&quot;no_overlay&quot;:false,&quot;show_labels&quot;:&quot;label_always_show&quot;,&quot;auto_slide_enabled&quot;:false,&quot;auto_slide_duration&quot;:4,&quot;auto_slide_direction&quot;:&quot;back_and_forth&quot;,&quot;auto_slide_pause_on_hover&quot;:false,&quot;before_label&quot;:&quot;Before&quot;,&quot;after_label&quot;:&quot;After depth map&quot;}\" style=\"opacity: 0; max-width: 100%;\"><img loading=\"lazy\" decoding=\"async\" width=\"683\" height=\"1024\" src=\"https:\/\/metrix-x.rraz.ca\/wp-content\/uploads\/depthbefore-1.jpg\" class=\"attachment-medium_large size-medium_large coca-bais-image coca-image-compare-before\" alt=\"\" \/><img loading=\"lazy\" decoding=\"async\" width=\"683\" height=\"1024\" src=\"https:\/\/metrix-x.rraz.ca\/wp-content\/uploads\/depthfin.jpg\" class=\"attachment-medium_large size-medium_large coca-bais-image coca-image-compare-after\" alt=\"\" \/><\/div><div class=\"coca-bais-caption-wrapper\"><h3 class=\"before-image-caption\">Original<\/h3><h3 class=\"after-image-caption\"><\/h3><\/div><\/div><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">This first example is a straight forward relight, selecting depth by using a luminosity mask on the depthmap.<\/p>\n\n\n<div class=\"coca-bais-shortcode shortcode-405\"><div class=\"shortcode-container\"><div class=\"coca-bais-container\" id=\"shortcode-405\" data-settings=\"{&quot;orientation&quot;:&quot;horizontal&quot;,&quot;diagonal_direction&quot;:&quot;backslash&quot;,&quot;move_slider_on_hover&quot;:false,&quot;move_with_handle_only&quot;:true,&quot;click_to_move&quot;:true,&quot;no_overlay&quot;:false,&quot;show_labels&quot;:&quot;label_always_show&quot;,&quot;auto_slide_enabled&quot;:false,&quot;auto_slide_duration&quot;:4,&quot;auto_slide_direction&quot;:&quot;back_and_forth&quot;,&quot;auto_slide_pause_on_hover&quot;:false,&quot;before_label&quot;:&quot;Image&quot;,&quot;after_label&quot;:&quot;Depthmap&quot;}\" style=\"opacity: 0; max-width: 100%;\"><img loading=\"lazy\" decoding=\"async\" width=\"683\" height=\"1024\" src=\"https:\/\/metrix-x.rraz.ca\/wp-content\/uploads\/depthfin.jpg\" class=\"attachment-medium_large size-medium_large coca-bais-image coca-image-compare-before\" alt=\"\" \/><img loading=\"lazy\" decoding=\"async\" width=\"683\" height=\"1024\" src=\"https:\/\/metrix-x.rraz.ca\/wp-content\/uploads\/depthmap.jpg\" class=\"attachment-medium_large size-medium_large coca-bais-image coca-image-compare-after\" alt=\"\" \/><\/div><\/div><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">I am using a 16bit depth map instead of the common 8 bit as this allow a finer adjustment, especial in the far distance like the sky and the far end of the path. An 8bit map has poor granularity. To run the program and output the 16bit depthmaps on my windows desktop I modified DepthAnythingAC on github.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This next example adds motion blur to the depthmap allowing it to closely simulate sunlight illumination streaming through the tree branches  from the right hand side.<\/p>\n\n\n<div class=\"coca-bais-shortcode shortcode-409\"><div class=\"shortcode-container\"><div class=\"coca-bais-container\" id=\"shortcode-409\" data-settings=\"{&quot;orientation&quot;:&quot;horizontal&quot;,&quot;diagonal_direction&quot;:&quot;backslash&quot;,&quot;move_slider_on_hover&quot;:false,&quot;move_with_handle_only&quot;:true,&quot;click_to_move&quot;:true,&quot;no_overlay&quot;:false,&quot;show_labels&quot;:&quot;label_always_show&quot;,&quot;auto_slide_enabled&quot;:false,&quot;auto_slide_duration&quot;:4,&quot;auto_slide_direction&quot;:&quot;back_and_forth&quot;,&quot;auto_slide_pause_on_hover&quot;:false,&quot;before_label&quot;:&quot;After sidelight&quot;,&quot;after_label&quot;:&quot;Blur to simulate side light&quot;}\" style=\"opacity: 0; max-width: 100%;\"><img loading=\"lazy\" decoding=\"async\" width=\"768\" height=\"1107\" src=\"https:\/\/metrix-x.rraz.ca\/wp-content\/uploads\/SAM_5943-Pano-768x1107.jpg\" class=\"attachment-medium_large size-medium_large coca-bais-image coca-image-compare-before\" alt=\"\" \/><img loading=\"lazy\" decoding=\"async\" width=\"711\" height=\"1024\" src=\"https:\/\/metrix-x.rraz.ca\/wp-content\/uploads\/SAM_5943-sideblur.jpg\" class=\"attachment-medium_large size-medium_large coca-bais-image coca-image-compare-after\" alt=\"\" \/><\/div><\/div><\/div>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n<div class=\"coca-bais-shortcode shortcode-407\"><div class=\"shortcode-container\"><div class=\"coca-bais-container\" id=\"shortcode-407\" data-settings=\"{&quot;orientation&quot;:&quot;horizontal&quot;,&quot;diagonal_direction&quot;:&quot;backslash&quot;,&quot;move_slider_on_hover&quot;:false,&quot;move_with_handle_only&quot;:true,&quot;click_to_move&quot;:true,&quot;no_overlay&quot;:false,&quot;show_labels&quot;:&quot;label_always_show&quot;,&quot;auto_slide_enabled&quot;:false,&quot;auto_slide_duration&quot;:4,&quot;auto_slide_direction&quot;:&quot;back_and_forth&quot;,&quot;auto_slide_pause_on_hover&quot;:false,&quot;before_label&quot;:&quot;Before&quot;,&quot;after_label&quot;:&quot;After&quot;}\" style=\"opacity: 0; max-width: 100%;\"><img loading=\"lazy\" decoding=\"async\" width=\"711\" height=\"1024\" src=\"https:\/\/metrix-x.rraz.ca\/wp-content\/uploads\/SAM_5943-Panobefore.jpg\" class=\"attachment-medium_large size-medium_large coca-bais-image coca-image-compare-before\" alt=\"\" \/><img loading=\"lazy\" decoding=\"async\" width=\"768\" height=\"1107\" src=\"https:\/\/metrix-x.rraz.ca\/wp-content\/uploads\/SAM_5943-Pano-768x1107.jpg\" class=\"attachment-medium_large size-medium_large coca-bais-image coca-image-compare-after\" alt=\"\" \/><\/div><\/div><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Introduction: Editing in the Third Dimension A photograph is a projection of a 3D world onto a 2D plane. When we edit, we often focus on color and luminance, neglecting the image&#8217;s inherent depth. This doesn&#8217;t just remove spatial cues\u2014it can fundamentally\u00a0ruin the camera&#8217;s original point of view and the feeling of space. The goal [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-391","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/metrix-x.rraz.ca\/index.php?rest_route=\/wp\/v2\/posts\/391","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/metrix-x.rraz.ca\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/metrix-x.rraz.ca\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/metrix-x.rraz.ca\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/metrix-x.rraz.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=391"}],"version-history":[{"count":8,"href":"https:\/\/metrix-x.rraz.ca\/index.php?rest_route=\/wp\/v2\/posts\/391\/revisions"}],"predecessor-version":[{"id":417,"href":"https:\/\/metrix-x.rraz.ca\/index.php?rest_route=\/wp\/v2\/posts\/391\/revisions\/417"}],"wp:attachment":[{"href":"https:\/\/metrix-x.rraz.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=391"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/metrix-x.rraz.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=391"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/metrix-x.rraz.ca\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=391"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}