ComfyUI Node
Create CA Calibration
Generates a synthetic chromatic-aberration calibration YAML file in input/calib/ with uniform (constant) displacement for the red and blue channels. The file can be consumed by both 'Apply Chromatic Aberration' (to simulate CA) and 'Chromatic Aberration Correction' (to correct it). The node writes to input/calib/<filename> and shows a preview; pick the same filename in the downstream node's calibration dropdown.
Create CA Calibration
◄red_dx0.0►
◄red_dy0.0►
◄blue_dx0.0►
◄blue_dy0.0►
◄calib_width512►
◄calib_height512►
◄filenameca_synth.yaml►
Categoryimage/CV
Inputs (7)
| Name | Type | Default | Description |
|---|---|---|---|
| red_dx | FLOAT | 0.0-500–500 | Horizontal displacement of the red channel in pixels (positive = red shifts right). |
| red_dy | FLOAT | 0.0-500–500 | Vertical displacement of the red channel in pixels (positive = red shifts down). |
| blue_dx | FLOAT | 0.0-500–500 | Horizontal displacement of the blue channel in pixels (positive = blue shifts right). |
| blue_dy | FLOAT | 0.0-500–500 | Vertical displacement of the blue channel in pixels (positive = blue shifts down). |
| calib_width | INT | 5121–100000 | Calibration image width in pixels (used to normalise the polynomial coordinate system). |
| calib_height | INT | 5121–100000 | Calibration image height in pixels. |
| filename | STRING | ca_synth.yaml | Output filename. Saved to input/calib/. Overwrites if it already exists. |
Outputs (0)
No outputs