Approve the Cookies
This website uses cookies to improve your user experience. By using this site, you agree to our use of cookies and our Privacy Policy.
OK
Forums  •   • New posts  •   • RTAT  •   • 'Best of'  •   • Gallery  •   • Gear
Guest
Forums  •   • New posts  •   • RTAT  •   • 'Best of'  •   • Gallery  •   • Gear
Register to forums    Log in

 
FORUMS Post Processing, Marketing & Presenting Photos HDR Creation 
Thread started 19 Sep 2012 (Wednesday) 21:02
Search threadPrev/next
sponsored links (only for non-logged)

Tutorial - Relighting your environment with HDR

 
kirkt
Cream of the Crop
6,602 posts
Gallery: 5 photos
Likes: 1556
Joined Feb 2008
Location: Philadelphia, PA USA
     
Sep 19, 2012 21:02 |  #1

HDR Lighting Tutorial

So, I did this exercise a while ago and, frankly, I may have already posted this. However, it bears repeating now that HDR techniques are ubiquitous and not everyone is aware of the true power of HDR imaging.

This exercise uses HDR image acquisition to create a scene-referred luminance representation of a typical interior lighting scenario. So what? Well, when you acquire a scene-referred luminance map of each light source (individually) you can mix them together to create ANY lighting combination from those light sources for that scene. It's like having dimmer switches for each lamp and being able to control them all to create any combination you want!

In this exercise, I acquired an HDR image of the scene for one light at a time – three lights in the scene meant three HDR images. The typical HDR image acquisition process applies – you vary the shutter speed with fixed ISO, aperture and white balance to capture full dynamic range for each light. Although it may not be so obvious, you want to do this at night so that there is no stray ambient light affecting your lamp HDRs. That doesn't mean you cannot also acquire a daylight HDR shot with no lamps to add to the mix … the options are endless.

You can also do this for flash photography, by varying the power output of the flash to change the EV of each shot in the HDR sequence – that technique requires some additional know-how and is beyond the scope of this exercise. But, think about it this way – you can use ONE flash, repositioned in a static scene, to simulate a studio of multiple flashes, that you can mix in post to create any mixture of lighting ratios you want. Totally cool.

Anyway – back to the exercise.

Methods – Setting up the scene

So, Figure 1 is the basic scene with the three lights labeled for reference. This is a screen grab of the 32bit image preview in Photoshop, so there is basic gamma tone mapping applied for display. In this screen grab, Light one is “on” and the other lights are “off.”

IMAGE: http://kirkt.smugmug.com/Photography/Photo-of-the-Day/i-TvP2NrV/0/X2/LayoutDiagram-X2.jpg

Figure 1 – The basic interior scene with the three lamps labeled for reference. This figure is screen grab of the 32bit preview in Photoshop and is illuminated by Light 1 only. incidentally, the orange color i used for the labels is the same for all three labels, but the label for Light 1 appears darker because it is in the proximity of the very bright area of the image from the lamp while the other labels are on darker background and appear lighter - your brain is awesome, isn't it?


Light 1 provides enough illumination to see the scene, which is the point of this figure. Incidentally, I placed a Color Checker under each lamp as I shot the sequence for that lamp. Lights 1 and 2 are CFL bulbs and Light 3 is a straight up incandescent bulb. You can white balance for each light source if you choose, or shoot all lamps with the same WB. The nice thing about HDR data is that you can WB in post with no problems – more on that later.

IMAGE: http://kirkt.smugmug.com/Photography/Photo-of-the-Day/i-pdH8zhQ/0/X2/AllExpsoureAtZero-X2.jpg

Figure 2 – Our scene (screen grab of 32bit preview) with all three lights “on.”


Figure 2 is a screen grab with all three lights at 0 EV exposure. Here is a good spot to explain how the document that contains all the data is constructed. The document is a 32bit file with each of the HDR lamp images brought into it on its own layer. Figure 3 is a screen grab of the layer structure for the document. For each light there are three layers (in stacking order):

1) A Photo Filter adjustment layer*
2) An Exposure adjustment layer*
3) The HDR layer for that light


*Note that the adjustment layers are “clipping layers” set to affect ONLY the image layer to which they are clipped. To set an adjustment layer to clip to the layer below it, hover your cursor over the boundary between the adjustment layer and the layer below it while holding down the “Option” key (Mac) or “Alt” key (PC) and then click on the boundary.

IMAGE: http://kirkt.smugmug.com/Photography/Photo-of-the-Day/i-TXSCwsj/0/X2/LayoutwLayers-X2.jpg

Figure 3 – The layer structure for creating the HDR manipulation of our scene lighting. Note the background layer is set to “Normal” blend mode, but the subsequent image layers are all set to Linear Dodge (add) blend mode – this is the key to getting a physically correct result.


The critical and elegant aspect of this technique is that when all of your data are in linear, 32bit form you simply add the contribution of each light to get the correct mixture as would occur in real life. That is, the first light (the BACKGROUND layer) blend mode should be set to “Normal.” However, and this is the most important part,

The blend mode for subsequent light layers should be set to LINEAR DODGE (ADD).

This is super important. It tells Photoshop to add the contributions of the subsequent light layers to the background, which is the physically correct method of combining the lighting to get an accurate result. NB: ALL of the adjustment layer blend modes should all be NORMAL. Figures 4, 5 and 6 are screen grabs of the 32bit preview for each individual light on its own in the scene.

IMAGE: http://kirkt.smugmug.com/Photography/Photo-of-the-Day/i-JMvNDdG/0/X2/Light1Only-X2.jpg

Figure 4 – Light 1 only in the scene – 32bit preview.


IMAGE: http://kirkt.smugmug.com/Photography/Photo-of-the-Day/i-trRfDgv/0/X2/Light2Only-X2.jpg

Figure 5 – Light 2 only in the scene – 32bit preview.


IMAGE: http://kirkt.smugmug.com/Photography/Photo-of-the-Day/i-96FG9F2/0/X2/Light3Only-X2.jpg

Figure 4 – Light 3 only in the scene – 32bit preview.


Methods – Controlling the lighting

So, now we have our scene set up – time to turn the lights on and off! To control the “brightness” of each light, you simply increase or decrease the Exposure for the specific light. You can see the general effect as you mix the lights together, but it is easier to think in terms of lighting ratios – that is, Light 1 is twice as bright as Lights 2 and 3, etc. I also stack an Exposure adjustment layer at the very top of the stack to control overall exposure of the scene – you can use this, as well as the 32bit exposure control slider in the lower left of the window to control the exposure in the preview.

That’s it really. You are still operating in a 32bit world, so with all of the adjustments you make, the lighting is being added together correctly to create the final mix. If you had the patience to leave your camera set up on a tripod all day, you can even add in that daylit HDR scene to the mix if you choose.

When I get the mix I want, I Duplicate the image and then flatten the duplicate and then use HDR toning in PS or whatever HDR application I feel like to do the tone mapping, etc.

Extra Bonus – Get funky

So, you may be asking yourself, what is the Photo Filter adjustment layer for? Guess what?! Not only can you adjust the light’s brightness, but you can gel each light. This may be useful for subtle color balance or for creative awesomeness. Figure 7 depicts a purplish gel applied to Light 2, for example and Figure 8 turns my ho hum living room into a disco.

IMAGE: http://kirkt.smugmug.com/Photography/Photo-of-the-Day/i-cfxBPP5/0/X2/comp-copy-2-X2.jpg

Figure 7 – Light 2 with a purple gel.


IMAGE: http://kirkt.smugmug.com/Photography/Photo-of-the-Day/i-VGpFFbr/0/X2/ColorGels-X2.jpg

Figure 8 – Woot! Freak out.

Note that in the disco image, the reflection of the orange gelled lamp (light 1) in the glass of the framed painting to the left of the fire place mantle is correct (see Figure 4 to get an idea of the reflection). The colored lighting falls on the objects within the scene and mixes correctly. This kind of power gives you the ability to turn day into night, or plain into awesome.


So, that’s that. HDR is more than making dramatic tonemapped images. HDR imaging provides you with the ability to control light after the fact. When you shoot an exposure sequence of a single lamp and combine it into a single HDR data set, you have captured the scene-referred luminance map of the environment for that light source. You can manipulate it to relight the scene to your heart’s content and change the look of the environment in subtle and creative ways.

Boom, POW!

Have fun,

kirk

Kirk
---
images: http://kirkt.smugmug.c​om (external link)

  
  LOG IN TO REPLY
kirkt
THREAD ­ STARTER
Cream of the Crop
6,602 posts
Gallery: 5 photos
Likes: 1556
Joined Feb 2008
Location: Philadelphia, PA USA
     
Sep 19, 2012 23:14 |  #2

IMAGE: http://kirkt.smugmug.com/Photography/Photo-of-the-Day/i-7zwdVRd/0/X3/WBExample-X3.jpg

Here is an example of white balancing the incandescent lamp to match the color of the CFLs. In this case I used a cooling filter at about 25% on the incandescent to match the color of the CFLs. No muss, no fuss.

Imagine if you added an HDR image of ambient outdoor daylight to this collection of lamps. This presents the problem of multiple color temperature light sources that often make toning a single HDR with these light sources a pain. You have to tonemap twice, once for the indoor lighting an then once for the daylighting and then adjust the color temp of one to match the other. If you really care that much.

Here, you could adjust your lamps to match the daylight or vice versa and then get a cleaner blend of the lighting in addition to better color.

kirk

Kirk
---
images: http://kirkt.smugmug.c​om (external link)

  
  LOG IN TO REPLY
kirkt
THREAD ­ STARTER
Cream of the Crop
6,602 posts
Gallery: 5 photos
Likes: 1556
Joined Feb 2008
Location: Philadelphia, PA USA
     
Sep 19, 2012 23:41 |  #3

Here are some tone mapped examples. In both cases, I saved the 32bit flattened file as a TIFF and used ACR to tonemap - yep, in case you were unaware, ACR 7/LR 4 can tonemap 32 bit files, as long as they are TIFFs.

kirk

IMAGE: http://kirkt.smugmug.com/Photography/Photo-of-the-Day/i-3vmFgk2/0/X3/comp-X3.jpg

IMAGE: http://kirkt.smugmug.com/Photography/Photo-of-the-Day/i-kjcTn7b/0/X3/comp3-X3.jpg

Kirk
---
images: http://kirkt.smugmug.c​om (external link)

  
  LOG IN TO REPLY
Scatterbrained
Cream of the Crop
Avatar
8,511 posts
Gallery: 267 photos
Best ofs: 12
Likes: 4607
Joined Jan 2010
Location: Yomitan, Okinawa, Japan
     
Sep 20, 2012 00:04 |  #4

Nice. I've yet to work with HDR in photoshop but this makes me want to give it a try. It's like the Oloneo software, without the expense. :) Great write-up.


VanillaImaging.com (external link)"Vacuous images for the Vapid consumer"
500px (external link)
flickr (external link)
1x (external link)
instagram (external link)

  
  LOG IN TO REPLY
IslandCrow
Senior Member
Avatar
589 posts
Likes: 1
Joined Oct 2008
Location: Rapid City, SD
     
Sep 20, 2012 14:02 |  #5

What a cool concept. I'm relatively new to HDR, but I definitely never though of it from that perspective. Thanks for the great explanation of the process.




  
  LOG IN TO REPLY
kirkt
THREAD ­ STARTER
Cream of the Crop
6,602 posts
Gallery: 5 photos
Likes: 1556
Joined Feb 2008
Location: Philadelphia, PA USA
     
Sep 20, 2012 17:10 |  #6

You're welcome. HDR imaging has taken on a whole new definition with the popularity of making contrasty images like the tutorials on Stuck In Customs and that kind of thing. Few people that are attracted to that look actually appreciate the underpinnings and reason for HDR imaging techniques.

Glad you got something out of this. Try it out!

kirk


Kirk
---
images: http://kirkt.smugmug.c​om (external link)

  
  LOG IN TO REPLY
ejenner
Goldmember
Avatar
3,867 posts
Gallery: 98 photos
Likes: 1136
Joined Nov 2011
Location: Denver, CO
     
Sep 20, 2012 20:45 as a reply to  @ kirkt's post |  #7

That's great.


Edward Jenner
5DIV, M6, GX1 II, Sig15mm FE, 16-35 F4,TS-E 17, TS-E 24, 35 f2 IS, M11-22, M18-150 ,24-105, T45 1.8VC, 70-200 f4 IS, 70-200 2.8 vII, Sig 85 1.4, 100L, 135L, 400DOII.
http://www.flickr.com/​photos/48305795@N03/ (external link)
https://www.facebook.c​om/edward.jenner.372/p​hotos (external link)

  
  LOG IN TO REPLY
mantra
Goldmember
Avatar
1,617 posts
Joined Nov 2006
Location: Italy, Rome
     
Nov 09, 2012 01:14 |  #8

kirkt wrote in post #15016845 (external link)
HDR Lighting Tutorial


Boom, POW!

Have fun,

kirk

Hi Kirk
thanks a lot !!!!!!!!!!!!!
you know a small psd file or a video would be awesome !!!
amazing result but i tried to do the same to learn but i not luck
i tried to understand the tutorila but for me it's just difficult


canon 5d markII,24L & 24ts , 35L ,17-40L,24-70L,70-200 2.8ISL,50 1.4,85 1.4 , canon eos 3 ,eos 5 ,t90 , ae program and some very sweet fd lenses
3 analogic Hasselblad and 2 anologic Mamiya

  
  LOG IN TO REPLY
sponsored links (only for non-logged)

3,271 views & 0 likes for this thread, 5 members have posted to it.
Tutorial - Relighting your environment with HDR
FORUMS Post Processing, Marketing & Presenting Photos HDR Creation 
AAA
x 1600
y 1600

Jump to forum...   •  Rules   •  Forums   •  New posts   •  RTAT   •  'Best of'   •  Gallery   •  Gear   •  Reviews   •  Member list   •  Polls   •  Image rules   •  Search   •  Password reset   •  Home

Not a member yet?
Register to forums
Registered members may log in to forums and access all the features: full search, image upload, follow forums, own gear list and ratings, likes, more forums, private messaging, thread follow, notifications, own gallery, all settings, view hosted photos, own reviews, see more and do more... and all is free. Don't be a stranger - register now and start posting!


COOKIES DISCLAIMER: This website uses cookies to improve your user experience. By using this site, you agree to our use of cookies and to our privacy policy.
Privacy policy and cookie usage info.


POWERED BY AMASS forum software 2.58forum software
version 2.58 /
code and design
by Pekka Saarinen ©
for photography-on-the.net

Latest registered member is semonsters
1454 guests, 131 members online
Simultaneous users record so far is 15,144, that happened on Nov 22, 2018

Photography-on-the.net Digital Photography Forums is the website for photographers and all who love great photos, camera and post processing techniques, gear talk, discussion and sharing. Professionals, hobbyists, newbies and those who don't even own a camera -- all are welcome regardless of skill, favourite brand, gear, gender or age. Registering and usage is free.