1. Download the Adobe Lens Profile Creator software from the Adobe Labs web site. http://labs.adobe.com/technologies/lensprofile_creator/
2. In the download package is a folder of calibration charts. Print, on matte or plain paper, the largest calibration chart your printer can handle.
3. Place the calibration chart flat, as if you were going to copy it in camera. Pinned or held by magnets to a wall works quite well, as does framing or mounting to any surface you can easily photograph. If framing, remove the glass to prevent reflections.
4. Light the chart evenly with two lights placed more than 45 degrees to the side of the camera. If lighting equipment isn't available, use any even natural or ambient light that will remain constant during your shooting session.
5a. For wide angle and ultrawide zoom lenses, shoot at the nominal focal length positions marked on the ring of the lens, each at a fixed ƒ/11 aperture.
5b. For telephoto zooms, shoot at the minimum, maximum and middle focal lengths with a fixed ƒ/11 aperture.
5c. For prime lenses, shoot at the minimum focus distance and five times the minimum focus distance with a fixed ƒ/11 aperture.
6. Position the chart so that it fits entirely within the frame, taking up one quarter or half of the image frame.
7. Zero out camera settings, shoot highest quality RAW if possible, and be sure to use manual mode to maintain consistent exposures.