Nodes · Transform
LensDistort
Transformv2coreNeeds full input
Overview
Applies or removes lens distortion. Undistort, comp straight, redistort — the matchmove round trip.
How to
How-to
- Set
strength(k1) andk2, or take them from a CameraTracker's solve;centerandsqueezefor anamorphic. direction = undistortbefore compositing CG,redistortafter — the matchmove round trip.
Inputs
| Input | What it takes |
|---|---|
| in | the image this node works on |
Outputs
| Output | Type |
|---|---|
| out | Image |
Parameters
| Parameter | Type | Default | What it does |
|---|---|---|---|
| strength | Float | 0.1 | Radial distortion k1 (r²): positive barrels, negative pincushions. |
| k2 | Float | 0.0 | Second radial term (r⁴) for the corners. |
| center | Float2 | [0.5, 0.5] | The lens centre, normalised 0–1 across the frame. |
| p1 | Float | 0.0 | Tangential (decentering) terms, Brown–Conrady. |
| p2 | Float | 0.0 | Tangential (decentering) terms, Brown–Conrady. |
| squeeze | Float | 1.0 | Anamorphic squeeze: the distortion acts in the de-squeezed frame. |
| direction | Choice | undistort | undistort straightens a shot plate; distort re-applies the lens to CG. undistortdistort |
| disabled | Bool | false | Bypass: the node passes its first input through untouched (D in the graph). The knobs keep their values for when it comes back. |
| label | Text | A note shown under the node in the graph — what this node is FOR. Never affects the render or the cache. | |
| hide_input | Bool | false | Draw the node without its input wire — a tidy graph for a node whose source is obvious (a Dot, a viewer tap). |