Procedural Compositing with Batch > Batch: Node Reference > Lens Distort Node >
Rectifying an Image with Spline Analysis

You can perform an automatic rectification of features in the image by computing a new alignment based on splines that you add.

To rectify an image with spline analysis:

1. Enable Analyse.
2. Click Add Spline.
3. Draw a spline in your image along a feature that will be straightened.
   TipSplines are visible in the image if Show Splines is enabled.
4. Repeat step 2 to add as many splines as needed. Click Clear to remove all selected splines.
5. Click Compute to analyse the image based on the splines you added.
6. Click Set Key to set a keyframe based on the result of the analysis.
7. Disable Analyse.
8. You can fine-tune your analysis with the radial controls.

   Adjust: | To:
   --- | ---
   Lens Mag | Adjust the magnitude of radial distortion or rectification.
   Lens Adj | Fine-tune the radial distortion or rectification.
   Anamorph | Stretch your distortion or rectification along the X or Y axis. A value greater than 1.00 stretches more on the X axis, while a value less than 1.00 stretches more on the Y axis.