ComfyUI Node
cv2.xphoto.oilPainting (1/2)
Raw wrapper of cv2.xphoto.oilPainting(src, size, dynRatio, code). Parameters marked '?' are optional; blank means OpenCV default. From the opencv-contrib 'xphoto' module. See the OpenCV documentation for details.
cv2.xphoto.oilPainting (1/2)
- src
- result
◄size0►
◄dynRatio0►
◄codeCOLOR_BGR2Lab►
Categoryimage/CV/low-level/xphoto
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| src | COMFY_MATCHTYPE_V3 | Input three-channel or one channel image (either CV_8UC3 or CV_8UC1) The image output(s) echo this input's format. 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. | |
| size | INT | 0-2147483648–2147483647 | neighbouring size is 2-size+1 |
| dynRatio | INT | 0-2147483648–2147483647 | image is divided by dynRatio before histogram processing |
| code | COMBO | COLOR_BGR2Lab | color space conversion code(see ColorConversionCodes). Histogram will used only first plane |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| result | COMFY_MATCHTYPE_V3 | Echoes the 'src' input's format: an IMAGE link comes back as IMAGE, MASK as MASK, NPARRAY stays NPARRAY. |