ComfyUI Node
Lens Distortion Corrector
A ComfyUI node in ComfyUI-JH-PixelPro/geometry with 8 inputs and 1 output.
Lens Distortion Corrector
- image
- image_rectified
◄presetno_op_identity►
◄directioninverse►
◄k10.000►
◄k20.000►
◄k30.000►
◄p10.0000►
◄p20.0000►
CategoryComfyUI-JH-PixelPro/geometry
Inputs (8)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | — | |
| preset | COMBO | no_op_identity | Lens preset — auto-fills k1..p2 with calibrated approximations. canon_24mm_wide: barrel correction for wide portrait lenses. sony_85mm_tele: mild pincushion correction for short-tele. gopro_fisheye: aggressive barrel removal for action cams. no_op_identity: pass-through (default, safe). Choose 'custom' to use the 5 widget values below verbatim. |
| direction | COMBO | inverse | inverse = rectify a distorted source (default; the retouch use case). forward = simulate distortion on a clean source (creative effect). |
| k1 | FLOAT | 0.000-1–1 | Radial coefficient k1 (Brown-Conrady). Used only when preset = custom. |
| k2 | FLOAT | 0.000-1–1 | Radial coefficient k2. Used only when preset = custom. |
| k3 | FLOAT | 0.000-1–1 | Radial coefficient k3. Used only when preset = custom. |
| p1 | FLOAT | 0.0000-0.1–0.1 | Tangential coefficient p1. Used only when preset = custom. |
| p2 | FLOAT | 0.0000-0.1–0.1 | Tangential coefficient p2. Used only when preset = custom. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| image_rectified | IMAGE | — |