Applying Lens Distortion to an Image

The LensDistortion node's Redistort mode allows you to warp your VFX work to match the original plate, which avoids the increased processing time the filter hit on the entire image would incur.

Note:  You can also use STMaps to remove and apply distortion. See Working with STMaps for more information.

1.   Copy and paste the LensDistortion node containing the grid analysis (described in Estimating Lens Distortion Using a Grid), then connect it downstream of your VFX work.
2.   Change the Output > Mode control to Redistort to reverse the warp that was applied during the undistortion of the plate.
3.   Merge the redistorted VFX work back over the plate to complete the comp.

The undistorted plate and comp

The comp work after redistortion