ComfyUI Node
Match Color Balance (SBTools)
A ComfyUI node in SBTools/Image with 7 inputs and 3 outputs.
Match Color Balance (SBTools)
- target_image
- target_alpha
- reference_image
- reference_alpha
- IMAGE
- RGB
- ALPHA
◄methodMKL►
◄channel_modeBoth►
◄strength1.00►
CategorySBTools/Image
Inputs (7)
| Name | Type | Default | Description |
|---|---|---|---|
| target_image | IMAGE | Image to be color balance matched (RGB or RGBA). | |
| method | COMBO | MKL | Matching algorithm (Shift: median-based uniform shift, MKL: optimal transport with covariance). |
| channel_mode | COMBO | Both | Which Lab channels to shift (Both: temperature+tint, Temperature Only: warmth/coolness, Tint Only: green/magenta). |
| strength | FLOAT | 1.000–5 | Color balance matching strength (0=no change, 1=full match, >1=overcorrection). |
| target_alphaopt | MASK | Optional alpha channel for target image (overrides target_image 4th channel if present). | |
| reference_imageopt | IMAGE | Reference image for color balance (RGB only, alpha channel is ignored). | |
| reference_alphaopt | MASK | Optional alpha channel for reference image (overrides reference_image 4th channel if present). |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| IMAGE | IMAGE | — |
| RGB | IMAGE | — |
| ALPHA | MASK | — |