Use the Adaptive Wide Angle filter to correct lens distortions due to using wide angle lenses. You can quickly straighten lines that appear curved in panoramas, or photos taken with fish-eye and wide angle lenses. For example, buildings seem to be leaning inwards when captured using a wide-angle lens.
The filter detects the camera and lens model and uses the lens characteristics to straighten the images. You can add multiple constraints to indicate straight lines in different parts of the picture. Using this information, the Adaptive Wide Angle filter removes the distortions.