Skip to content

Lens Distort

Brief Description

Add or remove lens distortion.

Controls

Parameter / Script Name Type Default Function
Enabled / enabled Boolean On
Red / process_red Boolean On Enable the red channel in output. Otherwise if there's a source the content of the main source is returned instead, else 0
Green / process_green Boolean On Enable the green channel in output. Otherwise if there's a source the content of the main source is returned instead, else 0
Blue / process_blue Boolean On Enable the blue channel in output. Otherwise if there's a source the content of the main source is returned instead, else 0
Alpha / process_alpha Boolean On Enable the alpha channel in output. Otherwise if there's a source the content of the main source is returned instead, else 0
Supersampling / supersampling Choice x1 The supersampling factor. Higher means more quality and antialiasing but slower to render
- x1
- x2
- x4
- x8
- x16
Model / model Choice Nuke
- Nuke: The model used in Nuke's LensDistortion plugin
- PFBarrel: The PFBarrel model used in PFTrack by PixelFarm
- 3DE Classic: Degree 2 anamorphic and degree-4 radial mixed model, used in 3DEqualizer by Science-D-Visions
- 3DE4 Anamorphic Degree 6: Degree 6 anamorphic model, used in 3DEqualizer by Science-D-Visions
- 3DE4 Radial Fisheye Degree 8: Radial lens distortion model with equisolid-angle fisheye projection, used in 3DEqualizer by Science-D-Visions
- 3DE4 Radial Standard Degree 4: Radial lens distortion model, a.k.a. radial decentered cylindric degree 4, which compensates for decentered lenses (and beam splitter artefacts in stereo rigs), used in 3DEqualizer by Science-D-Visions
- 3DE4 Anamorphic Standard Degree 4: Degree-4 anamorphic model with anamorphic lens rotation, which handles 'human-touched' mounted anamorphic lenses, used in 3DEqualizer by Science-D-Visions
- PanoTools: The model used in PanoTools, PTGui, PTAssembler, Hugin. See http://wiki.panotools.org/Lens_correction_model
Expand RoD / expand_rod Boolean On
Direction / direction Choice Distort
- Distort
- Undistort
Amount / amount Float 1 Amount of distortion to apply
Mode / mode Choice Normal
- Normal
- Accumulate
Chromatic Abberation Amount / chromatic_abberation_amount Float 0
Num Steps / num_steps Float 1 Number of steps to accumulate
Chromatic Abberation / chromatic_coloring Boolean Off Enable chromatic abberations by applying a distortion with a slightly different amount on each channel
k1 / nuke_k1 Float 0 First radial distortion coefficient (coefficient for r^2)
k2 / nuke_k2 Float 0 Second radial distortion coefficient (coefficient for r^4)
Center / nuke_center Float 2D 0, 0 Offset of the distortion center from the image center
Squeeze / nuke_squeeze Float 1 Anamorphic squeeze
Asymmetric Distortion / nuke_asymmetric Float 2D 0, 0
C3 / pf_c3 Float 0 Low order radial distortion coefficient
C5 / pf_c5 Float 0 High order radial distortion coefficient
Squeeze / pf_squeeze Float 1 Anamorphic squeeze
Center / pf_p Float 2D 0, 0 The distortion center of the lens (specified as a factor rather than a pixel value)
FoV Left (Unit Coord) / de4_xa_fov_unit Float 0
FoV Bottom (Unit Coord) / de4_ya_fov_unit Float 0
FoV Right (Unit Coord) / de4_xb_fov_unit Float 1
FoV Top (Unit Coord) / de4_yb_fov_unit Float 1
Focal Length (cm) / de4_focal_length_cm Float 1
Focus Distance (cm) / de4_custom_focus_distance_cm Float 100
Filmback Width (cm) / de4_filmback_width_cm Float 0.8
Filmback Height (cm) / de4_filmback_height_cm Float 0.6
Horizontal Lens Center Offset (cm) / de4_lens_center_offset_x_cm Float 0
Vertical Lens Center Offset (cm) / de4_lens_center_offset_y_cm Float 0
Pixel Aspect / de4_pixel_aspect Float 1
Distortion / de_distortion Float 0
Anamorphic Squeeze / de_anamorphic_squeeze Float 1
Curvature X / de_curvature_x Float 0
Curvature Y / de_curvature_y Float 0
Quartic Distortion / de_quartic_distortion Float 0
Distortion Degree 2 / de_distortion_deg2 Float 0
U Degree 2 / de_u_deg2 Float 0
V Degree 2 / de_v_deg2 Float 0
U Degree 4 / de_u_deg4 Float 0
V Degree 4 / de_v_deg4 Float 0
Cylindric Direction / de_phi_cylindric_direction Float 0
Cylindric Bending / de_phi_cylindric_bending Float 0
CX02 Degree 2 / de_cx02_deg2 Float 0
CY02 Degree 2 / de_cy02_deg2 Float 0
CX22 Degree 2 / de_cx22_deg2 Float 0
CY22 Degree 2 / de_cy22_deg2 Float 0
CX04 Degree 4 / de_cx04_deg4 Float 0
CY04 Degree 4 / de_cy04_deg4 Float 0
CX24 Degree 4 / de_cx24_deg4 Float 0
CY24 Degree 4 / de_cy24_deg4 Float 0
CX44 Degree 4 / de_cx44_deg4 Float 0
CY44 Degree 4 / de_cy44_deg4 Float 0
CX06 Degree 6 / de_cx06_deg6 Float 0
CY06 Degree 6 / de_cy06_deg6 Float 0
CX26 Degree 6 / de_cx26_deg6 Float 0
CY26 Degree 6 / de_cy26_deg6 Float 0
CX46 Degree 6 / de_cx46_deg6 Float 0
CY46 Degree 6 / de_cy46_deg6 Float 0
CX66 Degree 6 / de_cx66_deg6 Float 0
CY66 Degree 6 / de_cy66_deg6 Float 0
Lens Rotation / de_lens_rotation Float 0
Squeeze X / de_squeeze_x Float 1
Squeeze Y / de_squeeze_y Float 1
Degree 6 / de_degree_6 Float 0
Degree 8 / de_degree_8 Float 0
Coefficient A / pt_a Float 0
Coefficient B / pt_b Float 0
Coefficient C / pt_c Float 0
Horizontal Lens Shift / pt_d Float 0
Vertical Lens Shift / pt_e Float 0
Vertical Lens Shear / pt_g Float 0
Horizontal Lens Shear / pt_t Float 0