Digital Outback Photo
- Photography using Digital SLRs

 

Workflow Technique #001

"Stitching in Photoshop"

by Dr. William Wolberg

 

 
Why I developed this Action
 
In the field, I usually  carry only my 70-180 mm f4.5-5.6 micro lens that allows me to take micros of flowers, bugs etc. and moderate tele pictures.  Wider-angle shots are not possible.  However, to solve this problem, I take two vertical pictures with about a 10% overlap and then use the described technique to stitch the images.  Additionally, the resolution is greatly improved by doubling the pixel content. Essentially my 70 mm is converted to a 35 mm lens and  the 2:3 35 mm camera format is converted to a 4:5 format.
 
What the Action does
 
I don't use any of the available panorama editors because they create a blur at the seam. Rather, I use Photoshop and proceed as follows. Make a new, blank file at the same resolution as the two pictures to be stitched, but make it  wider e.g. 4000 x5000 pixels at 300 pixels/inch in the case of the Nikon D100. Then, make 50% opaque layers of both pictures and move them to the new background file.  Precisely align the two and then use the rectangular marquee tool to draw down along the middle of the overlap.  From this point on, the provided Action takes over, saves the selection and makes a new layer from the selected area, loads and inverses the selection, makes another new layer from that selection, and flattens the image.  The operator then manually crops the final image to remove excess background.
 
Example
 
       
 
 
Using the Action with other lenses
 
With wider angle lenses, some seam editing is necessary particularly with near-far shots. Never the less, even landscapes at taken with a 24mm lens tune out very well.   One of the reasons that this method works so well for me is that I use the method mainly with my 70-180mm lens.  That lens has its own mount and the optical axis does not change when the camera is panned while in the vertical  position.  Optical axis considerations come into play in situations where the lens' optical axis shifts when panning.
 
Instructions for using the Stitching Action
 
  • Load the action into your folder Photoshop/Presets/Photoshop Actions.
  • Before you start the action, make a new, blank file at the same resolution as the 2 pictures to be stitched.  Make it somewhat larger e.g. 4000 x5000 pixels at 300DPI.
  • Then, make Layers>Duplicate and label them RBackground copy for the right and LBackground copy for the left image. 
  • Make each layer 50% opaque and move each of them to the newly created background file. Move the layers into precise alignment. 
  • Then use the rectangular marquee tool to select the right photo and draw down along the middle of the overlap. 
  • Change the opacity of each of the Background copy layers back to 100%. 
  • Make the right layer active and start the action.
 
Action for download (ZIP)
 

Update

As I wrote previously, I made a device that permits me to pan around the optical axis with lenses other than my 70-180mm. I use this with my 24-85mm lens at 24mm in order to get really wideangle shots.The fall colors are just coming out in Wisconsin so find myself
surrounded by scenes where I need the widest angle possible but I don't want a full scale panorama. I very much prefer the 4x5 format. Stitching with the action that I described works but is less than ideal due to the len's spherical aberration. After trying several of the stitching programs, I settled on MGI Photovista. It works great. I found that the 24mm lens should be entered in the program as 24 x 1.6 = 38.4mm. The resulting 10.8 megapixel images, when printed at 12.8 x 16.5 inches, are fully as sharp as are Ilfochrome prints from my 6x7 cm camera.

 
 
 
Note: Here are the steps of the action for users of older Photoshop versions
 
 
 
 

For Comments post in our News Group

© 2000-2007 Digital Outback Photo