Lens Correction in Photoshop CS5

These two tips come from my new books from Peachpit Press: Understanding Adobe Photoshop CS5 and Photoshop for Video (Fourth Edition).

One of the commands in Photoshop CS5 that received a major makeover is the Lens Correction command. It’s no longer buried, rather it sits proudly near the top of the filter menu. Adobe now ties the filter to specific lenses in the file’s metadata. You can even create your own lens profiles with a great utility. Visit http://labs.adobe.com/technologies/lensprofile_creator/ for full details.

Lens Correction for Stills

The Lens Correction filter is designed to fix common flaws in an image (such as barrel distortion, lens vignettes, and chromatic aberration). The filter can be run on 8  or 16 bit-per-channel images that use the RGB or Grayscale image mode. The filter can also correct perspective problems caused by camera tilt.

1. Open any image.

Raw images or those with camera metadata work best. If you want to follow along, you can download this file.

2. Choose Filter > Convert for Smart Filters to ensure future flexibility in editing. This makes the image a Smart Object.

3. Choose Filter > Lens Correction.

A new window opens. Look in the bottom-left corner for information about the camera and lens used for the shot (this is included in the metadata the camera wrote to the original file).

4. Choose a manufacturer from the Camera Make menu.

For our sample image, choose Nikon Corporation.

5. From the Camera Model menu, choose the correct camera model.

For our sample image, choose Nikon Corporation.

6. From the Lens Model menu, choose the correct lens.

For our sample image, the closest match is the 17.0-70.0 mm f/2.8-4.5.

7. From the Auto Correction tab, select the Geometric Distortion, Chromatic Aberration, Vignette, and Auto Scale Image options.

8. Switch to the Custom tab for advanced controls.

9. Click the Show Grid option at the bottom of the window.

For our sample image, let’s compensate for the low angle, which is causing some keystoning.

10. Set the Vertical Perspective to -40.

11. Set Vignette Amount to 20 to further brighten the edges.

12. Click OK to apply the correction.

You can double-click the Lens Correction filter in the Layers panel to open the Smart filter for future edits.

Lens Correction for DSLR Video

The Lens Correction filter can also be used on DSLR video files. This is a useful way to remove lens or geometric distortion. When your’re done, you’ll need to render the video file back out of Photoshop (File > Export > Render Video).

1. Close any open files, and then open a video file.

If you want to follow along, download this movie file.

2. Choose Filter> Convert for Smart Filters to ensure future flexibility in editing.

Be sure to check out the band 7Nations – www.sevennations.com

3. Choose Filter>Lens Correction. A new window opens.

4. Check the Show Grid box to make it easier to see perspective issues.

5. Choose a manufacturer from the Camera Make menu.

For our sample clip, choose Canon Corporation.

6. From the Camera Model menu, choose the correct camera model.

For our sample clip, just choose All as the Canon 7D is not available.

7. From the Lens Model menu, choose the correct lens.

For our sample clip, the correct match is the EF28-135mm f/3.5-5.6 IS USM. From the Auto Correction tab, check the Geometric Distortion, Chromatic Aberration, Vignette, and Auto Scale Image options.

8. Switch to the Custom tab for advance controls.

Let’s compensate for the off-angle shot, which is causing some keystoning.

9. Set the Vertical Perspective to -26 and the Vertical Perspective to -4.

10. Set Vignette Amount to 20 to further brighten the edges.

11. Click OK to apply the correction. Due to the complexity of the effect, the video clip will not playback smoothly. Be sure to use the File>Export>Render Video command to process the file and create a new clip.

You can double-click the Lens Correction filter in the Layers panel to open the Smart filter for future edits.

 

Some other posts by Richard Harrington

About the author

Richard Harrington wrote 33 articles on this blog.

A certified instructor for Adobe and Apple, Rich is a practiced expert in motion graphic design and digital video. Rich is a member of the National Association of Photoshop Professionals Instructor Dream Team, and a popular speaker on the digital video circuit. Rich is an internationally published author. His book, Photoshop for Video, was the first of its kind to focus on Photoshop’s application in the world of video. He is also a contributing author for Apple’s Aperture, iLife ’09 and iWork ’09, Video Made on a Mac, and Producing Video Podcasts. If you want even more Photoshop training, check out his book Understanding Adobe Photoshop CS4. If you have an iPod touch or iPhone, you can get Rich’s Training in your Pocket

Tags: , , , ,

9 Responses to Lens Correction in Photoshop CS5

  1. Glyn Dewis on June 5, 2010 at 8:39 am

    Great post Richard.

    The Lens correction filter for use on still images is a massive enhancement in CS5 but to then see it used in video too is just incredible, and as you show, so easy too.

    Cheers,
    Glyn

  2. [...] Lens Correction in Photoshop CS5 | TipSquirrel [...]

  3. Richard Harrington on June 5, 2010 at 4:09 pm

    Yeah… I was surprised to see it used on video and only recently figured out it was possible. I’m happy with the controls it gives.

  4. [...] their very nature, lenses add distortion to the images they capture. I’ve posted a new tutorial over at TipSquirrel.com that addressed how to fix lens distortion for both stills and [...]

  5. [...] Lens Correction in Photoshop CS5 | TipSquirrel [...]

  6. dab on June 4, 2011 at 8:13 am

    Interesting tutorial, I too am impressed by the filter’s use in video.

  7. anemogenitries on June 19, 2011 at 7:26 pm

    Photoshop CS5 is difficult for me but i know when i will be ready i will make lot of crazy stuff with it!

  8. Piotr on November 17, 2011 at 7:37 pm

    Can you reupload “Lens_Corrrection.zip” ?

  9. TipSquirrel on November 17, 2011 at 9:18 pm

    Apologies, not sure what happened but it’s all up and running again. Thanks for letting us know :)

Leave a Reply

Your email address will not be published. Required fields are marked *

*

Spam Protection by WP-SpamFree Plugin

Fast2Host