ComfyUI Node
cv2.correctChromaticAberration
Raw wrapper of cv2.correctChromaticAberration(input_image, coefficients, image_size, calib_degree, bayer_pattern?). Parameters marked '?' are optional; blank means OpenCV default. See the OpenCV documentation for details.
cv2.correctChromaticAberration
- input_image
- coefficients
- image_size
- nparray
◄calib_degree0►
◄bayer_patternCOLOR_BayerRGGB2BGR►
Categoryimage/CV/low-level/cv2 C
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| input_image | NPARRAY,IMAGE,MASK | Input BGR image to correct Accepts a ComfyUI IMAGE/MASK directly (frame 0 of a batch) or an NPARRAY. Arithmetic ops (add, multiply, etc.) process the full IMAGE batch when both inputs have the same batch size. | |
| coefficients | NPARRAY | Coefficient model A data array (points / matrix), NOT an image - only an NPARRAY link is accepted here. | |
| image_size | CV_TUPLE | 0,0 | Size of images for the calibration coefficient model One value with 2 components (w, h) - it travels as a whole, so it cannot arrive half-connected. Wire it from 'CV Tuple' or type the components in place. |
| calib_degree | INT | 0-2147483648–2147483647 | Degree of the calibration coefficient model |
| bayer_patternopt | COMBO | COLOR_BayerRGGB2BGR | Bayer pattern code (e.g. cv::COLOR_BayerBG2BGR) used for demosaicing when @p input_image has one channel; ignored otherwise. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| nparray | NPARRAY | — |