Nodes/comfyui_cv/Create CA Calibration
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.

By bmad4ever·Created 3 months ago·Updated 2 days ago· 0
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)

      NameTypeDefaultDescription
      red_dxFLOAT0.0-500–500Horizontal displacement of the red channel in pixels (positive = red shifts right).
      red_dyFLOAT0.0-500–500Vertical displacement of the red channel in pixels (positive = red shifts down).
      blue_dxFLOAT0.0-500–500Horizontal displacement of the blue channel in pixels (positive = blue shifts right).
      blue_dyFLOAT0.0-500–500Vertical displacement of the blue channel in pixels (positive = blue shifts down).
      calib_widthINT5121–100000Calibration image width in pixels (used to normalise the polynomial coordinate system).
      calib_heightINT5121–100000Calibration image height in pixels.
      filenameSTRINGca_synth.yamlOutput filename. Saved to input/calib/. Overwrites if it already exists.

      Outputs (0)

      No outputs