Monday, March 30, 2015

Combining Nikon Capture NX-D with Photoshop for ultimate control of dynamic range

A couple of weeks ago I mentioned a technique I sometimes use to achieve the most amount of dynamic range from a scene taken with a Nikon camera by processing the RAW images twice, once with Nikon's Capture NX-D software where I have access to Active D-Lighting controls, and also in ACR (Adobe Camera RAW) where I have more experience and more tools to bring out the best in any image.

I rarely need to use this technique anymore because the native dynamic range of modern Nikon digital cameras is so extensive that a native RAW file is all that is needed to obtain a full tonal range of highlights and shadows. To perform this demonstration here I had to purposely take a photograph that would be pushing the range limits of the camera. That itself proved difficult to do. The Nikon cameras - in this case a D750 -- are just so good that, if the exposure is set to obtain detail in both highlights and shadows, there is enough information to deal with the file in regular post-processing.

Nonetheless, I decided to give it a go, and set up a scene with a model looking into an open refrigerator at night. Normally, I would light this with some small flash units hidden inside the refrigerator and balance this light with some exterior bounce lighting for the overall scene. For this demo, I decided to use only the single, normal bulb that is inside the refrigerator. The room was completely dark save for some very low ambient light coming from a distant window.

The photo below is the final image. It is a composite of two images -- one processed in NX-D to bring out the fullest dynamic range, and the other processed in ACR to achieve good contrast as befitting such an actual scene, while also maintaining some of the shadow and highlight detail. Frankly, I probably could have come very close to this final result using just ACR and Photoshop alone, a testament to the range of the Nikon camera sensor. Nonetheless, an image processed with this technique will have more of a three dimensional quality and more extensive detail in both highlight and shadow ranges, not dissimilar to a subtle use of HDR, but without the false look that HDR often imparts.

This is the final image combining both the Nikon Capture NX-D adjusted file and the Adobe ACR adjusted file with moderate Photoshop adjustments applied to the combination.

The photograph is lit entirely by the one, refrigerator bulb plus a very small amount of natural room light from a distant window. The intensity and color of the room light can be seen in the upper corners of the photo below. The light on the model's back is the refrigerator light being reflected back onto her from a nearby wall. Other than this, no other light or fill was used for the shot. The exposure was 1/15 second at f/5.6 and ISO of 640.

The original, unprocessed RAW file below has highlights that, while too bright, do contain detail. Same goes for the shadows. Without this detail nothing can be done to correct the image so proper exposure placement is important. To that end I bracket the shot.

This is the original RAW file right out of the camera exposed to preserve both highlight and shadow detail. 

Working in Capture NX-D I am only interested in bringing as much detail as I can to the overall image by using the Active-D feature. For this image I had Active-D set to high. I also tweaked some of the highlights and shadows with other controls. The final result from the NX-D process is an intentionally flat image with full detail.

In Capture NX-D I chose an Active D-Lighting level that brought out full detail. In this case it was set to "High". The resulting file is going to be flat, but that is compensated for later by combining this file with the ACR file later in Photoshop. I also made some adjustments to the exposure and highlight/shadow protection in NX-D. 

Working in ACR (Adobe Camera RAW) I brought out the highlight detail as much as possible. On this image I intentionally leave the contrast high because I will need it later when the very flat NX-D image is merged with this file. Both images are output as 16-bit tif files to provide the most amount of working depth.

The photo on the left is the file after it has been treated in Capture NX-D. On the right is the file after treatment in Adobe Camera RAW. The next phase is to combine these two images in Photoshop and merge them together to obtain the best features of each. 

The ACR is brought into Photoshop first. Next the processed NX-D tif is put on top of the ACR file as a separate layer. Turning down the opacity of this layer determines how much of each file is included in the final combination. In this case, I used 33%. The ACR file is providing the contrast, and the NX-D file is providing extra detail to both the shadows and highlights. As can be seen in the Photoshop layer masks below some further tweaking was needed to combine the two images. A final curves layer was added as a subtle, final adjustment. You can see where I held back some of this adjustment from the brightest area of the refrigerator by painting black on the curves adjustment mask.

This shows the two image layers combined in Photoshop with a final curves adjustment on top. That is all that was needed to finally merge these two images into one.

The idea going into this scene was to obtain a final image that preserved the true feeling of late night kitchen light from a refrigerator without completely losing all the highlight and shadow detail. Having recourse to this post-processing technique combined with the already excellent dynamic range of Nikon cameras made the setup of the scene simple. All I needed was a tripod. The refrigerator bulb provided all the necessary lighting. It doesn't get any simpler than that.

3 comments :

  1. Tom:
    I was the (Anon) who urged an amplification on your workflow from NX thought ACR after your March 5 post. Here you mention using a TIF as vehicle between the two. I have long pondered if there is a clever way to have the Nikon software read the NEF and then move it into - in my case Lr - to do any neccessary post manipulation. In Lr that would optimally have to be on a RAW (NEF) file. I (think) I can see that by converting your TIF into a Smart Object in ACR gets around this. You don't mention that detail. maybe you could expand? And on any other thoughts re. Lightroom. It was your earlier comment that Adobe was less than ideal partner for NEFs that triggered all this. Since the D2X (+ D3 & D4) I have had a constant nagging thought that my NEFs are missing something in the initial translation. Cordially, Dick Kenny

    ReplyDelete
  2. Dick, the problem is that neither Photoshop nor Lightroom can make changes to all of the in-camera options that Nikon has. In particular, I am referring (in this article) to access to Active D-Lighting controls. These can only be changed in the camera itself or by using proprietary Nikon Capture NX-D software. This blog post shows a way of getting around that limitation by first processing an image in NX-D to correct the Active D choice. Both Lightroom and Photoshop rely on ACR for RAW processing, and ACR, as good as it is, does not have access to Active D changes.

    I find it quite rare that I need to go to the extreme of using two RAW processing programs to deal with a file.

    I do most of my necessary post processing correction in ACR before the file ever comes into Photoshop. ACR is a very powerful program for adjusting a RAW file, and most of the time can take me where I need to go, especially given the extreme latitude provided by modern digital cameras.

    ReplyDelete
    Replies
    1. Tom: I clearly had grabbed the wrong end of the stick, thinking you had a well worn RAW path from Capture NX into the Adobe system. That was my interest. I haven't kept up with the various iterations of NX, but I clearly remember that in the D2X days, whenever I compared the out-of-camera RAW in NX with that in ACR/Lr, the former won hands down in terms of colour definition, particularly in the min-tones. But NX was so clunky; not enough to make me adopt for the whole post process. Anyway, thanks for your response. Yours is one of the must-reads in the sphere of our mutual interest. Cordially, Dick Kenny (anon!)

      Delete