Tag Archives: Photoshop

Tutorial: How to Create a Digital Panoramic Photograph (Part III of III)

Von River Valley, Otago, New Zealand

Von River Valley, Otago, New Zealand


So far, I’ve taken you through my process of using my camera to take photographs that I will use to create a panoramic photograph (Part I), and then the editing workflow in Lightroom and Photoshop (PS) that I utilize (Part II). If you’ve been following along, I hope that this has made sense so far and that you’ve been able to successfully implement the workflow for yourself. If you’re still on board and now want to learn how to make the process a bit easier, particularly if you want to produce many panoramic photographs at the same time, then keep on reading!


Creating Multiple Panoramas: I have one more tool in my quiver for making panoramic images and it’s a wonderful time saver. With the help of others, I have created/modified a PS “script” so that PS will run Photomerge without any further assistance from me. I can set up dozens of potential panoramic images to be merged overnight or at any other convenient time for me. I have created hundreds of panoramic photographs in this manner since I started using this script and it is one of the best things that I’ve done for my panoramic photography workflow over the past few years.


To implement this approach, you’ll first need to have the Panorama script, have it in its proper form, and properly inserted into PS. WordPress won’t allow me to attach the java script file for security reasons, so if you wish to pursue this avenue, you’ll have to do a bit of work on your own.  First, you’ll need to download the Adobe Extend Script Editor (if you don’t have it already) through the following link:  Adobe Extend Script Editor (download)


Once you’ve downloaded the Extend Script Editor and have it open, now “click” on the following “Panorama”.jsx link.  This will open a separate page that has the java script on it. Simply copy everything on the Panorama script page into your Extend Script Editor window.



After you’ve copied the script text into the Extend Script Editor window, save the file with the name Panorama.jsx into your Script folder in Photoshop. In my Mac computer, the path is Applications>Adobe Photoshop CC 2014>Presets>Scripts. The next time that you open PS, you should find the Panorama script under File>Scripts. Here are some tips regarding the script that you’ve just created. The script as provided will run Photomerge just as I’ve described it in Part II of this Panoramic Photograph Tutorial.  That is, it will merge files to create panoramic images with Auto Layout, Blend Images Together, Geometric Distortion Correction and Vignette Removal. I’m not going to go into the details, as they’re beyond the scope of this Tutorial, but if you’ve gotten this far I hope that you can edit your Panorama.jsx file to run the Photomerge script differently, if you wish. Again, experiment to your heart’s desire!


Path: where to insert the Panorama.jsx file

Path: where to insert the Panorama.jsx file


The process of using the Panorama script for your benefit is fairly similar to what I’ve already described but with some minor modifications. When I choose the series of files that I want to turn into a panoramic photograph I will “copy” those files into a new folder. For example, after my recent Peru trip, I created a “Panoramas” folder under my Peru folder. Within that Panoramas folder, I then created a “Machu Picchu 1” folder and copied in my first series of files. For every panoramic photograph that I want to create I then create a new subfolder under Panoramas and name that subfolder according to the subject and order (i.e., Machu Picchu 2, Machu Picchu 3, Cusco 1, and so on). (FYI, I created >75 panoramas after my Peru trip using my Panorama script and saved myself countless hours of sitting in front of my computer and waiting for the merged photos to come out of PS.)


After I’ve created and filled as many subfolders as I need, I’ll open PS. Once PS is running, I’ll pull down the File menu and go to Scripts and then click on the Panorama script (File>Scrips>Panorama):


To start the Panorama script, go to File on the top menu, then Scripts and then Panorama

To start the Panorama script, go to File on the top menu, then Scripts and then Panorama


When you start the Panorama script, it will open a dialogue box. In that dialogue box you need to direct PS where to find your Panoramas folder that you’ve recently created that contains all of the subfolders with your multiple image files. In the case that I’m illustrating below, on a separate hard drive I have a folder for all of the photograph files from my Peru trip, and then have created a new subfolder called “Panoramas.” Within the Panoramas subfolder are several subfolders that I’ve created just for illustration:


Photoshop Dialogue Box: Selecting the Panorama script starting point

Photoshop Dialogue Box: Selecting the Panorama script starting point


When you’ve found your Panoramas subfolder simply click on the OK button. The next thing to do is to grab a cup of tea, a glass of wine, forty winks or whatever. The script will work its way through each of the subfolders under Panoramas and create a new panoramic photograph, flatten the image and then save that file with the name “completed.psd”. Again, due to the size of my files and the number of panoramic photographs that I might create this process can take a few hours for my computer.


Sunrise, Point Sublime, Grand Canyon National Park


As a warning, you can run into problems with this method if the files that you’ve collected for your pans won’t work to create a good image, just as if you were running the Photomerge script on your own. The script will “hang up” and stop, but you should have a good idea of what has failed and why. If you correct your mistake, make certain that you remove the panoramic photograph subfolders that have successfully worked before restarting.


When PS has created all of the panoramic images that it can, you’ll now need to open each of the “completed.psd” files in PS. My first step usually is to save the file with the correct file name – i.e., Machu Picchu Pan 1.psd and so on – and I’ll usually save it under my Panoramas folder so that I know that it has been completed (less confusing). From there, I’ll edit the panoramic photograph using the Warp tool to fix any distortions, as I detailed in Part II. From that point on, it’s up to you how you want to edit and improve on your new masterpiece!


Hopefully, this script will save you time and effort, and make your creation of beautiful panoramic photographs easier and more enjoyable.


‘Til next time, this is 43 N MSN/Illuminata signing off…



Posted in Lightroom, Panoramic Photography, Photoshop Also tagged , , , |

Tutorial: How to Create a Digital Panoramic Photograph (Part II of III)

Panoramic view of Grand Prismatic Spring, Yellowstone National Park

Panoramic view of Grand Prismatic Spring, Yellowstone National Park

In Part I of this Tutorial, I explored and explained how I create beautiful panoramic photographs with my camera – lenses, overlapping, compensating for movement and such. While the first part focuses on the mechanical and optical aspects of the camera and the shooting process, this second part addresses how I manage my individual frames to create the final panoramic image.

My studio workflow relies on Adobe Lightroom 5 (LR) and Photoshop 2014 (PS) (as of this writing). To me, these are two indispensable tools for my work recently I discover SodaPDF and it has been amazing tool. There are other software tools available, but I’m only familiar with the Adobe offerings. Most of my panoramic photo editing relies on Photoshop, so it’s readily possible to implement my workflow without using Lightroom.

Selecting Files in Finder or PS: If you’re not an LR user, then you can open the several image files that you want to turn into a panorama in PS either by opening the images in PS (Cmd-O on a Mac) or by selecting the image files in Mac’s Finder and then opening them into PS (Illustration 1)(you may “click” on the image to see a larger version in a separate window).

Opening files from the Finder into Photoshop

Illustration 1: Opening files from the Finder into Photoshop

Once the files are opened in PS, then go to the File menu, choose Automate and then Photomerge (File>Automate>Photomerge; see Illustration 2).

Opening Photomerge in Photoshop

Illustration 2: Opening Photomerge in Photoshop

The next window to pop open will look like this:

Illustration 3: The Photomerge dialogue box

Illustration 3: The Photomerge dialogue box

The files that you want to include in this panorama are already open, so now click on the “Add Open Files” button, and you’ll next see:


Illustration 4: The Photomerge dialogue box, filled with files to be merged

From this point, if you’re NOT using LR, the workflow is the same starting at Photomerge (Illustration 6) below.

Selecting Files in LR: Since I’m using LR, after I download my image files from my camera card to a new and unique folder on my computer, I import that new folder into LR. In LR I pick out the series of files that represent my potential panoramic photograph. This is where consistently shooting left-to-right in the field is helpful because it’s easier for me to pick out these left-to-right series in LR’s viewer. When I’ve identified a series of images that I want to turn into panoramic photograph, I will color code each file in that series, typically with a blue tag. I sometimes have image series right after each other and in that case the first series might be tagged blue, the next series tagged green, the third series back to blue and so on, so that I can readily distinguish between those series.

If I’m creating just a few panoramic photographs I will select (Cmd-A on a Mac) a series of images in LR. In the Library or Develop module I will then select from the top menu: Photo>Edit In>Merge to Panorama in Photoshop (Illustration 5a). More frequently, I will simply find this menu option by right clicking the selection with my mouse button while my mouse pointer is sitting above the files that I want to merge (Illustration 5b).

Illustration 5b: Merge to Panorama in Photoshop, starting from the top menu

Illustration 5a: Merge to Panorama in Photoshop, starting from the top menu

Illustration 5b: Merging to Panorama in Photoshop using a "right click" on your mouse

Illustration 5b: Merge to Panorama in Photoshop using a “right click” on your mouse

Photomerge: After selecting my files in LR and choosing Edit>Merge to Photomerge in Photoshop, Photoshop opens and soon the Photomerge menu screen appears:

Illustration 6: The Photomerge dialogue box, ready to start

Illustration 6: The Photomerge dialogue box, ready to start

Based on my workflow, I set the Layout to Auto and turn on the options for Blend Images Together, Vignette Removal, and Geometric Distortion Correction. When I use a wide-angle lens, there’s always the possibility for vignetting and lens distortion, so these Photomerge options are very helpful. After all of these boxes are checked I click on the OK button and let ‘er rip. In my case, it usually requires several minutes to create a panoramic file because I’m working with large image files.

As an aside, if I find that my final panoramic image doesn’t look good, then I may choose a different Layout option and create a second panoramic photo. Again, experiment to see what works well for you. There also are times when Photoshop seems to be unable to create a panorama with the files that I’ve chosen. If I feel that my images should work, then I’ll try again. Frequently, though, I’ll find that I’ve included a file on one end of the series that shouldn’t be there and that’s why Photoshop wasn’t able to create a panorama.

Below is a final result (Illustration 7):

Illustration 7: The merged panorama

Illustration 7: The merged panorama

In the lower right of this screen capture you can see that the panoramic photograph is composed of pieces of the individual frames that have been selectively masked by Photoshop. If you feel the need to still work on each frame, you can now save (Cmd-S on a Mac) your new file as a .PSD file (or, .PSB if it’s very large).

However, if you haven’t determined whether significant editing might be necessary to the individual frames (and, it is very likely that no further editing will be necessary; you can always regenerate the layered panoramic file by starting this process again), then it’s time to “flatten” your panoramic photo. To do this, you can either click on the drop down menu to the right of the Layers window in PS (circled in red in Illustration 8a) to reveal the Flatten Image command (Illustration 8b) or you can simply right click with your mouse when your pointer is over the list of layers in the Layers window (Illustration 9) to reveal the Flatten Image command:

Illustration 8a: where to find the dialogue box button on the Layers menu

Illustration 8a: where to find the dialogue box button on the Layers menu

Illustration 8b: The "Flatten Image" command on the Layers dropdown menu

Illustration 8b: The “Flatten Image” command on the Layers dropdown menu

Illustration 9: The "Flatten Image" command using the right button on your mouse

Illustration 9: The “Flatten Image” command using the right button on your mouse

After the image is flattened, I prefer to save the panoramic photo and give it an appropriate name that includes the phrase “Pan” (e.g., Machu_Picchu_Pan1.tif) in a new subfolder labeled “Panoramas.”

Since I started this process in LR, this new panoramic photograph now appears in LR. (If you’ve saved the file to a new Panoramas subfolder, make certain to import that folder into LR!) I can then do my normal edits in LR, or can do further edits in PS which will appear in LR when I save the edited file. You will note that the final image that appears in Illustration 7 (above) obviously needs cropping to eliminate white edges and this cropping can be done either in PS or LR.

The example panorama that appears in Illustration 7 was created using a telephoto lens with the camera on my tripod. It has come out fairly level and requires only typical editing – color, temperature, contrast, etc.

However, many of the panoramic photographs that I create utilize my wide-angle lenses. When I run a series of files through Photomerge that were captured with the wide-angle lens, the result is quite different. Check out Illustration 10:

Illustration 10: A completed pan exhibiting "arcing"

Illustration 10: A completed pan exhibiting “arcing”

Quite distorted, eh? Now we get to the reason for my workflow. If I had photographed this series of images on a special panorama attachment for my tripod, this panorama might look better, but not likely.

After I’ve flattened this strange looking panorama I’ll apply some PS “magic” – I’ll use the Warp tool to straighten the image and get it to looking great!

The first thing that I’ve learned to do is to reduce the size of my image in PS by using the Cmd-[-] command (i.e., the “command” or Apple key along with the minus key, on a Mac). To do this, I’ll “select” my image (Cmd-A on a Mac) and you’ll see the marching ants running around the image border. From here, I’ll to the Edit menu and then down to Transform and then Warp (Edit>Transform>Warp).

Illustration 11: The Warp Transformation

Illustration 11: The Warp Transformation

Once I click on Warp, a grid appears over my image with some “point” handles:

Illustration 12: Image with Warp ready to be applied

Illustration 12: Image with Warp ready to be applied

The fun begins as I have to warp this image to return it to its proper appearance. Using my mouse pointer, I can point to anywhere in the image and then hold down my mouse button to “grab” that point and move, bend and stretch the image to the desired shape. (I encourage you to stop reading and open PS with any image of yours and play with the Warp tool for a few minutes so that you get a feel for what I’m trying to explain.)

In Illustration 13 I’ve tried to demonstrate where I’ve “grabbed” the initial image (seen in Illustration 12) and then the general direction that I’ve warped the image from that particular point using the red arrows. As you can see, there are only five places in this image that I’ve needed to warp to get the image to its final shape. When I’m content with the image’s shape, I hit the “enter” key to commit to the warp transformation that I’ve created. (At this point, I might also crop the image in PS to remove any areas that don’t contribute to my final image, like the remaining bit of white in the lower right.) Finally, I’ll save the file and this will be the version of the panoramic photograph on which I’ll now perform my final edits.

Illustration 13: After the Warp has been applied; red arrows show where the image has been warped.

Illustration 13: After the Warp has been applied; red arrows show where the image has been warped.

In different panoramic photographs that I need to warp, it may be necessary to warp the image in numerous places. It’s also important to review your warp transformation when you think you’re finished, looking for instances where buildings or people appear skewed or distorted. You may need to go back and fine tune some of your transformations.

Cordillera Urupampa, Peru

Cordillera Urupampa, Peru

Quality Assurance: And, you’re still not quite finished. Again, you’ll need to apply your final editing – color temperature, lightness/darkness, contrast, luminance, saturation, etc. My “final” step, which I may perform before or after the editing steps that I just mentioned, is to review the panoramic photograph at 100% enlargement or larger. I typically work left to right over the whole of the image looking for obvious seams where the merging/masking was poor (not very frequent) or where an individual frame(s) is blurred from camera shake (more frequent than I wish). The camera shake issue is a big bugaboo and I can’t emphasize enough how necessary it is to review the quality of the panoramic photograph. I will also will empathize with you if you’ve gone through all of these steps only to find that your final pan is crap – it’s happened to me too many times. Yes, I could thoroughly examine each individual frame at 100% in LR before I merge the frames, but as frustrating as it is to find the problem at the end rather than the beginning, it is easier, in my view, to select the frames that I want for a panoramic photograph and go through the whole of the merging process and then do my image quality assurance. Since I’ve overlapped my images a fair amount during the capture phase, I’ll go back into LR, figure out which frame(s) is the problematic one and then determine if I feel that there’s sufficient overlap in the remaining images to run Photomerge again, and that’s usually the case.

A final QA issue that I’ll consider if I’m examining a pan that I’ve created that contains moving objects is whether those objects are distorted by the merging (i.e., the overlap occurred at a critical juncture) or whether a very noticeable object (car, person) appears in the image multiple times. If I discover a problem like these, then I’ll rerun Photomerge on the individual frames. But, before I flatten the image, I’ll work with the individual masked layers and determine if I can mask out the problem through hand editing and sometimes it’s possible.

In both of these major QA issues (blurring, movement) where I detect problems, before I rerun the Photomerge I’ll step back from the panoramic photo and honestly ask myself if it’s worth the effort to run it again – and sometimes, it’s not!

Again, there you have it. Once you start to implement this workflow (or something similar that meets your needs), all of these steps will “flow” for you and make more sense. It’s a lot to take in at one time so be patient and work through it. Feel free to ask questions, too!

In the final exciting installment of this tutorial, Part III, I’ll share with you one of my prize “possessions” for making panoramic photographs and making them more easily. Stay tuned!

‘Til next time, this is 43 N MSN/Illuminata signing off…

Posted in Lightroom, panorama, Panoramic Photography, Photoshop, technique, warp Also tagged , , , , , , |