David Petkofsky: Blog https://photos.dpetkofsky.com/blog en-us (C) David Petkofsky [email protected] (David Petkofsky) Mon, 16 Mar 2020 07:20:00 GMT Mon, 16 Mar 2020 07:20:00 GMT https://photos.dpetkofsky.com/img/s/v-12/u660779966-o1070842675-50.jpg David Petkofsky: Blog https://photos.dpetkofsky.com/blog 96 120 Inca Trail Trek https://photos.dpetkofsky.com/blog/2017/7/inca-trail-trek Check out the photo story of my Trek in Ecuador in 2016!

Inca Trail Trekking by David Petkofsky on Exposure

[email protected] (David Petkofsky) adventure andes cuenca ecuador inca inca trail landscape nature outdoor photography post processing quito travel trek https://photos.dpetkofsky.com/blog/2017/7/inca-trail-trek Fri, 28 Jul 2017 22:10:53 GMT
Practice Post #3 https://photos.dpetkofsky.com/blog/2015/1/practice-post-3 The third post processing practice post! This photo was taken in 2013 in Kuwait City. I brought out some detail in the shadows and brought some of the color out in the vendor's goods on the left. I really like the contrast between the modern/futuristic buildings in the background and the more rundown outside of the marketplace on the left side.




[email protected] (David Petkofsky) Canon 50D Kuwait Kuwait City Lightroom Post Processing Travel cityscape https://photos.dpetkofsky.com/blog/2015/1/practice-post-3 Wed, 28 Jan 2015 05:20:34 GMT
Practice Post #2 https://photos.dpetkofsky.com/blog/2015/1/practice-post-2 The second post in my series of post-processing improvement efforts. This photo was taken in Oslo in the summer of 2013. The photo was taken in early evening, just as the last warm light from the sunset fades and the lighted signs begin to stand out. I liked the detail and contrast in the Olav Thon Gruppen building that dominates the photos, as well as the view down the pedestrian street at the lower right third.

I cropped the photo to bring the focus back on the building and remove some of the dead space in the lower right of the original. I also lightly fixed the verticals on the building, removing some of the "keystoning" effect that you get when shooting a building from ground level. Finally, I brightened the image and tweaked the coloration to bring out the detail in the building and give it a bit more "pop."





[email protected] (David Petkofsky) Lightroom Norway Olav Thon Gruppen Oslo Post Processing Travel photo photography https://photos.dpetkofsky.com/blog/2015/1/practice-post-2 Sun, 25 Jan 2015 22:27:04 GMT
Practice Post #1 https://photos.dpetkofsky.com/blog/2015/1/practice-post-1 In an effort to improve my post processing skills, I'm going to try and regularly practice, edit, and photo photos. This first one is from Tokyo in September 2014.

This was taken while walking to the Tokyo Skytree from the Asakusa neighborhood in late afternoon. The "out-of-camera" photo didn't capture the  warmth in the light or the drama in the sky, so that's what I focused on recapturing during post processing.






[email protected] (David Petkofsky) Asakusa Canon 50D Japan Lightroom Post Processing Processing Tokyo Travel https://photos.dpetkofsky.com/blog/2015/1/practice-post-1 Fri, 23 Jan 2015 04:25:24 GMT
Belize Kayaker https://photos.dpetkofsky.com/blog/2012/6/belize-kayaker I spent some time taking sunrise and sunset photos while on vacation in Belize recently and got a lot of really nice shots. One shot that I really liked from those sets turned out not to even be a sunset shot!

This shot was taken not long after the sunset as the wind and water calmed down. The kayaker paddled right by as last bits of color faded from the sky. I find this photo contrasts sharply with the bright, colorful sunset photos taken just minutes earlier. The water is calm enough to reflect the features remaining in the sky, but not so still as to make a perfect mirror. I find it to be a peaceful photo capturing a peaceful moment.

This photo was taken with a Canon 50D and a Sigma 17-70mm lens at 17mm/f2.8.

[email protected] (David Petkofsky) Canon 50D Kayak Sigma belize caye dusk photo south water sunset https://photos.dpetkofsky.com/blog/2012/6/belize-kayaker Wed, 27 Jun 2012 00:27:59 GMT
Handheld Panoramas in Photoshop https://photos.dpetkofsky.com/blog/2012/1/Handheld-Panoramas-in-Photoshop While I was traveling in Portugal and Spain this past fall I found myself taking a lot of photos with the intention of turning them into panoramas when I got back. At the time, I remembered this being a fairly quick as easy task. Well, when I sat down to go through my photos and realized that I took over 40 panorama sets (35 of them were eventually made into panos of varying quality), things weren’t quite so quick and easy. The plus side of taking so long to make my compiled panos is that I’ve learned a lot both what the photos need and what Photoshop needs to spit out a passable panorama. So with that said, here are some tips for taking and making handheld panoramas using Photoshop CS5.

A panoramic view of Malaga, Spain from September 2011. ©2011 David Petkofsky


What you need: A bunch of photos, Adobe Photoshop CS4/5 (I’m not sure if CS3 has the photomerge feature).

Tips for taking the photos

The first step to any good panorama is taking a good set of photos. The easy and expensive way to do it is to get a pano head for a tripod that motorized and takes perfectly overlapping photos of a whole scene. The other “pro” way to do it is to use a tripod and to evenly take photos throughout the scene. You’ll see a lot of tutorials online saying you need to use a tripod, or you need to do this or that. Well, that’s not quite right. Most of my panoramas are taken quickly and easily, by hand. There absolutely are disadvantages to taking the photos by hand, but nothing beats the speed and ease of just firing off 5-10 shots as you pan by hand across the scene. So here are some suggestions:

  • For a single layer pano (like the ones discussed here), pick a point of reference like the horizon and keep it in the same relative position in the viewfinder as you sweep across the scene.
  • For horizontally panos, shoot with the camera vertical. For vertical panos, shoot with the camera horizontal. (hat tip – sjordan93436)
  • Distant panoramas are much easier for Photoshop’s photomerge tool to handle than stitching a nearby object (example later).
  • Use manual (M) mode rather than aperture priority (Av) or shutter priority (Tv) while shooting. Make sure you have AutoISO off if that is an option for your camera (hat tip – Alan321) Often clouds, sky, or shadows will mess with your metering and made a frame or two look out of place. Photoshop does a pretty good job of handling it if you forget, but you’ll get a much more even looking photo if you just keep your shutter settings constant.
  • Picking a constant exposure is half the battle, the other half is to make sure you pick an exposure suitable for the whole frame. Don’t expose for a dark side of the scene and then blow out the light side! Take a few sample shots, review the histogram on your camera, and pick a smart setting for the entire scene. Easier said than done, I know! (hat tip- sjordan93436)
  • Use a constant focal length (if you’re using a zoom) and use a normal-to-telephoto focal length (~35 – 100mm). Your first instinct will be to go wide if you have a wide angle lens, but remember that you’re taking a panorama! Your “wide” view will come from stitching the photos together, not any one individual frame. Plus, at normal focal lengths you will often have the least amount of lens distortion – lines should be straight and sharp at the edges! If I’m shooting with my 17-70 mm walk around lens, I’ll often take my panos at 35-70mm.
  • Correct lens distortion using on the individual photos before merging  them. This adds a fair bit of time to your processing work, but can pay dividends in the final result. That said, the worst distortion will be at the edge of the photo and photoshop will generally have two photos (the left edge of one shot and the right edge of the next) to blend from, which helps. I didn’t individually correct lens distortion on the examples below. (hat tips sjordan93436, Alan321)
  • Overlap your photos by ~20-50%. Too little overlap from frame to frame and PS won’t know where to put the photos, and too much overlap can confuse PS. I’d err on the side of too much overlap rather than too little.
  • Find interesting points of on either end of your panorama – and then make sure to shoot a bit past both of them. You’ll find that when you compile your final panorama that the left and right edges will have the worst distortion and will likely need to be cropped. If you have something interesting near an edge, like a peak, building, or neat cloud, make sure you shoot past it so you don’t have to crop it out in the end!
  • Likewise, if you have something interesting at the top or bottom of the scene, cool clouds or foreground interest, make sure to build in some buffer in the frame. You’ll find that you always have to crop some out of the top and bottom when you merge when you’re taking these handheld panoramas, you just can’t keep the horizon/perspective perfectly even when you sweep through a scene. Look at the uncropped images later in the post, for example.

Compiling the photos into a single panorama
First, a really helpful resource for Photoshop’s photomerge tool is, believe it or not, their online help. I’ll briefly cover what they talk about there, but if you want more detail on running the tool itself, go there!

The first step is to fire up the up Photoshop and open the photomerge tool. (File – > Automate -> Photomerge) Once you have the menu open you’ll see the screen below.

Screenshot from Photoshop CS5 showing the photomerge options.

You have one primary set of options on the left of the screen – layout options. You can choose between “Auto”, “Perspective”, “Cylindrical”, “Spherical”, “Collage”, and “Reposition”. Photoshop’s basic explanations, from the online help are copied below.

Photoshop analyzes the source images and applies either a Perspective, Cylindrical, and Spherical layout, depending on which produces a better photomerge.
Creates a consistent composition by designating one of the source images (by default, the middle image) as the reference image. The other images are then transformed (repositioned, stretched or skewed as necessary) so that overlapping content across layers is matched.
Reduces the “bow tie” distortion that can occur with the Perspective layout by displaying individual images as on an unfolded cylinder. Overlapping content across files is still matched. The reference image is placed at the center. Best suited for creating wide panoramas.
Aligns and transforms the images as if they were for mapping the inside of a sphere. If you have taken a set of images that cover 360 degrees, use this for 360 degree panoramas. You might also use Spherical to produce nice panoramic results with other file sets.
Aligns the layers and matches overlapping content and transforms (rotate or scale) any of the source layers.
Aligns the layers and matches overlapping content, but does not transform (stretch or skew) any of the source layers.

For handheld panoramas, your best bets will be either perspective or cylindrical (Auto choose between those two options or the spherical layout). I’ve found that the perspective layout tends to skew and distort panoramas more than the cylindrical layout does. Generally, the perspective option drastically skews the left and right edges of the photos and preserves the center. The cylindrical layout, on the other hand, tends to distort the tops and bottom of the panorama more than the edges. The first image is an example of the perspective layout and the second is the same image merged together with the cylindrical layout.


Uncropped panorama of the roofs of Lisbon, merged using the perspective mapping.


Uncropped panorama using the same base photos, merged using the cylindrical mapping.

So which image is “correct”? Well, neither. In the perspective merge the right and left edges are badly stretched, most noticeable by the tiles in the bottom left corner and the railing on the right (No, the railing wasn’t that fat!). You can also see that the cruise ship is stretched a bit in the center of the image. Is the cylindrical mapping better? No, not really. The center of the image is a bit better, it’s “closer” to you and more true to how I remember the scene. However, the bottom of the image is badly warped. Notice how the roofline of the building in the foreground curves? The building most definitely did not curve like that in reality! You can also see a similar effect, although less severe, in the handrail on the right. In this case, I find the perspective mapping, properly cropped, to be the more realistic panoramic merge. I’ve cropped and posted both the perspective mapping (top) and cylindrical mapping (bottom) for comparison’s sake.


Panoramic view of rooftops over Lisbon, perspective mapping. ©2011 David Petkofsky


Panoramic view of rooftops over Lisbon, cylindrical mapping. ©2011 David Petkofsky

Earlier I mentioned that it’s best to take panoramas of distant scenes than close ones. It’s tempting to think that Photoshop can turn any lens into a super wide angle lens and that you can capture any scene with photomerge. Unfortunately that’s not that case. Trying to capture a near field scene exacerbates lens and processing distortions, making it much tougher to accurate represent the scene. It’s also easier to fall prey to ‘photographer-induced’ errors (i.e., screwing up on your own), like loosing track of the true horizon. For example, in the scene below I got distracted by the palace and followed that rather than the true horizon.

Sintra-Perspective-Uncropped-CorrectDistortion Uncropped panorama of Pena National Palace near Sintra, Portugal. These photos were merged using the perspective mapping.

I made a lot of mistakes here. I tried to shoot it using a single row of photos, I tried to shoot it at a fairly wide focal length, and I was just too close. If I were to try and crop this to a regular rectangle I would loose most of the image.

If you do want to try and use photomerge to stitch together a close image like this, I suggest shooting in multiple rows and using the most distortion-free focal length of your lens.

I’ll share one more example of a handheld panorama, this time from the top of Gibraltar. Like the Lisbon shot earlier, I tried both the perspective and cylindrical mappings when merging this image. The perspective shot, first image below, does a fairly good job in the center of the scene (actually to the right in the uncropped version). Unfortunately, it severely distorts the left side of the image. This is most easily seen in the cargo ships that are waiting in the strait, particularly the second from the left. It looks like the ship’s half a mile long!

Uncropped panoramic view from Gibraltar, merged with the perspective mapping.

 The next image is the set of photos merged with using a cylindrical mapping. Much of the distortion of the perspective mapping is gone, particularly in the ships. There’s still some distortion in the bottom right of the image (notice how the marina wall begins to curve upward?), but its not as severe as the perspective mapping (at least to me!). 

Uncropped panoramic view from Gibraltar, merged using the cylindrical mapping.

 Unlike the earlier Lisbon pano, I prefer the results of the cylindrical mapping to those of the perspective mapping in this case. I think it does a better job of capture how I remember the scene and has less obvious distortion.

Anyway, those are a few examples and tips for taking handheld panoramas. It’s absolutely possible and it’s a fun way way to capture a unique perspective that a single frame might not be able to do. Plus, panos look best when printed and framed… just have to find enough wall space to hang it!

Panoramic view from Gibraltar. ©2011 David Petkofsky


[email protected] (David Petkofsky) CS5 Canon Canon 50D Gibraltar Lisbon Malaga Photography Photoshop Portugal Sigma Sigma 17-70 Sintra Spain Travel Tutorial guide handheld panorama pano panorama photomerge travel tutorial https://photos.dpetkofsky.com/blog/2012/1/Handheld-Panoramas-in-Photoshop Wed, 01 Feb 2012 02:09:00 GMT
2011 Joint Services Open House (and, hello!) https://photos.dpetkofsky.com/blog/2011/8/2011-Joint-Services-Open-House-and-hello Hello and welcome to the new blog! I’m not quite sure exactly what I’ll be posting here, but hopefully it will be interesting and semi-regular. The content will most likely be about photos I’ve taken, travel that I’m on (or recently back from), and maybe a little be of aviation errata that I think is just interesting. We’ll see, and I hope you enjoy!

On to the photography… I finally finished working through my photos from the 2011 Joint Services Open House air show that was held at Andrews AFB (or Joint Base Andrews, if you prefer) in May. This is usually a very solid airshow and, from a performers standpoint, this year didn’t disappoint. Unfortunately, from a photographers standpoint, there were a couple problems this year. Andrews has two parallel runways and this year the runways closest to the crowd was under construction. This meant that “show center” was 1000 – 1500 ft further back from the crowd than in past years which made things tougher for photographers. That said, there were still plenty of opportunities for great photos!

SBC2 Helldiver

The show started with a surprise for the crowd; the first public appearance of the F-35C Lightning II (aka Joint Strike Fighter). No photo from me, as I was just getting there, but it was cool to see the crowd suitably impressed. The show got started with some of the usual acts, but there were some uncommon ones as well, including the SBC2 Helldiver pictured above.

I was shooting for the first time with my new lens, the 70-200/2.8L (non-IS). That was paired with my 1.4x teleconverter. It was a really handy combo, although the fact that show center was further away mostly negated the benefit of the zoom lens. I also got myself into trouble with chimping — sunny day + small LCD screen = trouble. After chimping a bit I decided the camera was exposing on the sky and underexposing all the aircraft. I bumped up the exposure compensation to +2/3 for a bit and then down to +1/3 later. Turns out that both of those bumps were unnecessary. I didn’t completely ruin many of my photos, but I did loose some of them and I made more work for myself in post. Lessons: the 50D on aperture and shutter priority is smarter than I give it credit for, and my histogram-reading skills are worse than I think they are.

The finale of the air show was the demonstration by the USAF Thunderbirds. The sky had started to cloud up in patches which helped make some photos more dramatic. It also made things more challenging, as they would move in and out of shadows from the clouds — if you locked your exposure as they were in the sun you’d end up with underexposed photos if they slipped into a shadow. Shooting aperture-priority was pretty much required at this point. The Thunderbirds put on a great show and aptly capped off the air show. I’ve put the photos up on my Zenfolio site, feel free to take a look!


[email protected] (David Petkofsky) 1.4x 2011 50D 70-200 Andrews Aviation JSOH Joint Service Open House Photography air show airshow fighter military photo thunderbirds https://photos.dpetkofsky.com/blog/2011/8/2011-Joint-Services-Open-House-and-hello Thu, 18 Aug 2011 00:41:00 GMT