Lens Distortion

The Lens Distortion node uses a simple Brown-Conrady distortion model, like OpenCV. Nuke uses a number of more complex models for its Lens Distortion node, but the Nuke Stage values can still be translated to the Nuke node.

Inputs and Controls

Connection Type

Connection Name

Function

Input

src

The image sequence to which the Lens Distortion is added.

Control (UI)

Knob (Scripting)

Default Value

Function

Enabled Enabled ticked If unchecked, this node will be omitted from the compiled image processing graph. Any incoming connections will be forwarded to the first output port, if any.
Parameters

Reset parameters to default value using the reset icon:

Override upstream CameraRef params OverrideUpstreamCameraRefParams ticked If enabled, this mode will use the locally set parameters, regardless of any valid upstream CameraReference nodes. Otherwise, parameters will be taken from a valid upstream CameraReference node.
k1 K1 0.00000 First radial distortion harmonic in millimeters. The distortion parameters can be used in Nuke Stage by adding a Lens Distortion node with a camera override.
k2 K2 0.00000 Second radial distortion harmonic in millimeters. The distortion parameters can be used in Nuke Stage by adding a Lens Distortion node with a camera override.
Distortion Centre Centre 0.000, 0.000 Position of the distortion center in millimeters, from -1 to 1 with 0 as center of image. The distortion parameters can be used in Nuke Stage by adding a Lens Distortion node with a camera override.
Sensor dimensions SensorDims 36.000, 20.250 Size of the camera sensor, in millimeters.
Black outside BlackOutside ticked IF enabled, black pixels will be rendered where there is no content to replace it.