Publishers of technology books, eBooks, and videos for creative people

Home > Articles > Digital Photography > Adobe Photoshop Lightroom

Merge to High Dynamic Range (HDR) and Merge to Panorama in Lightroom and Camera Raw

In this excerpt from The Digital Negative: Raw Image Processing in Lightroom, Camera Raw, and Photoshop, 2nd Edition, Jeff Schewe explains Merge to High Dynamic Range (HDR) and Merge to Panorama in Lightroom and Camera Raw.
This chapter is from the book

In the old days (before Lightroom CC/6 and ACR 9), if you wanted to do an HDR or pano merge, you had to first take your images into Photoshop. Now you can do that directly in Lightroom and Camera Raw.

Both Lightroom and Camera Raw use the same functionality and UI. The manner of accessing those features is different. However, both Preview windows behave the same way with the same options and limitations. There are some limitations: the preview is limited to 2048 pixels in the long dimension if you’re using a Retina-type, high-resolution display or 1024 pixels when using a normal display. At this point the engineers have said this is due to performance issues, and you can’t zoom into the preview. Hopefully, that will change in the future. It should also be noted that the UI functionality offers very little control compared to third-party applications dedicated to HDR and pano merging. However, the results are actually very good.

HDR Merging in Camera Raw

To do an HDR merge in Camera Raw, you must first select multiple images in Bridge and open the images in the Filmstrip mode in Camera Raw. Once in Camera Raw, select the images you want to merge and use the flyout menu at the top of the filmstrip, as shown in Figure 3.81. You’ll see that the “most selected image” is at the bottom. The merge function produces a new DNG based on the most selected image’s filename and appends a –HDR to the filename. If you do multiple HDR merges, the later merges receive a number to avoid overwriting the previous –HDR file. The most selected image is also the one used to propagate EXIF metadata.

FIGURE 3.81

FIGURE 3.81 Flyout menu in Camera Raw.

Once you select the option, a preview window comes up allowing a selection of various functions. Figure 3.82 shows the HDR Merge Preview window.

FIGURE 3.82

FIGURE 3.82 The HDR Merge Preview window for Camera Raw.

There are various options to choose from:

  • Auto Align attempts to align images prior to merging. I use this all the time, even if I’ve shot the bracket on a tripod. If you handhold the bracket, you really should use this option.
  • Auto Tone applies the default auto-exposure corrections for the image. This can be useful, but since the settings are parametric, you can always change them later.
  • Deghost Amount uses an algorithm to determine which of the bracketed shots to use if there is any movement (ghosts) between exposures. In this image of redwood trees in a forest, the breeze moved some of the branches. There was also a problem with a slow shutter speed, which introduced some motion blur in the longest exposure.
  • Show Deghost Overlay shows a preview of where the deghosting will occur.

Figure 3.83 shows the various deghosting options and the Deghost Overlay for each option. In the first figure, I’ve selected the option to use Auto Tone to lighten the image for better previewing.

FIGURE 3.83

FIGURE 3.83 The Deghosting Amount options and overlay previews.

How well did Camera Raw do with the deghosting? I’ll show you in a moment, but first I wanted to cover some of the details of using Camera Raw’s DNG HDR. First, the resulting file is a Linear DNG, which means it’s not a completely raw file; it’s what I call a half-baked raw file. The image has been demosaiced, but it’s still a linear gamma (1.0). Next, the resulting DNG file is stored as a 16-bit floating-point image, but the processing applied is done in 32-bit floating-point. Don’t confuse 16-bit floating-point to 16-bit integer images; it’s still a floating-point image. You can use all the processing tools in Camera Raw to adjust the image. However, one thing to note is instead of the normal Exposure range of +– 4 stops, the HDR range is expanded to +– 10 stops. The other adjustments remain the same.

Also, when doing an HDR merge, Camera Raw ignores all the tone adjustments you may have already made, as well as any local adjustments, including spot healing. So, you may as well save your time by working on the HDR image after merging and not bother working on your original raw files. The adjustments you can (and should) make are lens corrections, image sharpening, and noise reduction. Applying these before the merge will aid in the production of an optimal merge result.

Okay, back to the results. I’ve zoomed way into the four HDR DNG files I produced. They show extreme detail of an area in the upper right of the trees. Figure 3.84 shows the results.

FIGURE 3.84

FIGURE 3.84 Comparing the Deghosting Amount options.

As you can see, merging images that contain movement can lead to anomalies in the merged result. In this case, the only option that did a decent, but not 100 percent perfect job, was the High option. There is still a tiny hint of the anomalies, but depending on the size you need to use the image, they would likely be invisible. Remember, we’re pixel-peeping here. If Camera Raw’s deghosting isn’t up to your standards, you’ll need to resort to a special purpose application, such as Photomatix Pro (www.hdrsoft.com), which includes a Lightroom plug-in for improved workflow. You still need to render and export the images in the plug-in and return them to Lightroom as 32-bit TIFF files, but working on them in Lightroom works well.

Pano Merging in Lightroom

The Lightroom HDR and Panorama functions are found in either the Library or Develop modules in the Photo menu under Photo Merge. Select multiple images in the Library or the filmstrip in Develop and choose Panorama. Figure 3.85 shows the images selected and the flyout menu from Photo Merge. I used eight shots of the city center in Florence, Italy, which I took with my Sony DSC RX 100M2 22 MP camera. I brought that point-and-shoot camera with me when I went to Italy with my wife so I could stay married (she doesn’t like it when I drag lots of cameras and lenses along with me).

FIGURE 3.85

FIGURE 3.85 Selecting images for merging.

The Panorama Merge Preview window offers various options, including the option to Auto Select Projection, three projection options, and an Auto Crop checkbox. I tend not to use the Auto Select Projection because I prefer to see the results and choose for myself. The three projections are

  • Spherical: This projection treats the pano merge like it was projected on the inside of a sphere. It does not do any corrections to perspective.
  • Cylindrical: Instead of a sphere, the projection is based on a cylinder. This projection also does not do perspective correction and usually produces a taller merge than Spherical.
  • Perspective: This projection uses the center image to determine the correct perspective correction and merges the other images to match the perspective.

Which projection you use is really dictated by the subject and what you are trying to accomplish. I generally use Cylindrical for landscape pano merges because I don’t care about trying to correct for perspectives out in nature. If you have buildings in your images, Perspective is a better projection choice. You do tend to lose a lot of the image because of the way the Perspective projection accomplishes the corrections for the merge. Figure 3.86 on the previous page shows the three projection options.

FIGURE 3.86

FIGURE 3.86 Comparing the Projection options.

You can see that the Spherical and Cylindrical projections are very similar. They both exhibit problems with distortions, but the merge looks okay. The Perspective Projection has the typical “bow tie” effect, but the buildings are corrected. Figure 3.87 shows the result of selecting the Auto Crop option. Remember that this is a parametric adjustment so you can always change the crop in the Develop module.

FIGURE 3.87

FIGURE 3.87 Auto Crop turned on.

The merge functions in Lightroom have the same preview limitations as Camera Raw: 2048 pixels for Retina displays and 1024 pixels for normal displays. The Merge to Panorama does honor and use all global adjustments but not local adjustments, including spot healing, which is a bummer. However, I got an indication from an engineer that not keeping spot healing spots was an oversight, not intentional. So there’s hope that in the future spot healing will be honored (yippee). With the HDR merge I recommended applying lens correction before the merge. With Merge to Panorama there’s no need because the lens corrections will automatically be applied as long as you have them. If you don’t have a lens profile, you can apply manual corrections.

There are some other limitations with Merge to Panorama, primarily relating to the size of the resulting merged image. The maximum pixel dimension on the longest side is 64,000 pixels and a maximum file size of 512 MP. If you are making really long pano merges, you may hit the limit.

There’s another limitation, generally only encountered when using the Perspective projection. You may get an error Unable to merge the photos. Please try a different Projection option. When this happens, you’ll usually be able to use either the Spherical or Cylindrical projections. However, there can be times when none of the projections will work. This is usually caused by not leaving enough image overlap between images. I generally overlap between frac13.jpg to ½ to ensure enough image area for the algorithms to work with. You also cannot manually arrange the order of the images. If you do a lot of high-end and resolution panoramic imaging, you might want to look into a third-party application called PTGui Pro (www.ptgui.com). I have a copy and resort to using it if I’m having problems in Lightroom/ACR or Photoshop.

Can you shoot multi-row panoramic images and merge them? You bet, but the criteria for providing enough image overlap becomes even more important. What about merging HDR into a panorama? Yep, that works. You first need to build the HDR DNGs, and then use Merge to Panorama to merge the HDR images. Can you do a focus merge? Not yet, but the engineers have said it’s on their to-do list.

Adding both Merge to HDR and Merge to Panorama are arguably the stars of the new features of Lightroom CC/6 and ACR 9. Being able to maintain parametric editing on semi-raw files is a benefit.

Peachpit Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from Peachpit and its family of brands. I can unsubscribe at any time.

Overview


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about Peachpit products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information


To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.

Surveys

Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites; develop new products and services; conduct educational research; and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.

Newsletters

If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email ask@peachpit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information


Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.

Security


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.

Children


This site is not directed to children under the age of 13.

Marketing


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information


If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.

Choice/Opt-out


Users can always make an informed choice as to whether they should proceed with certain services offered by Adobe Press. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.peachpit.com/u.aspx.

Sale of Personal Information


Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents


California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure


Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.

Links


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact


Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice


We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020