ComfyUI Node
Compose + Match (per-frame)
Composite source over destination via a mask, with a per-frame correction so the inserted region matches the plate. 'Grade match (surround)' estimates the VAE/grading drift from the unchanged area outside the mask (where source & destination share content) and applies it to the source inside the mask -- fixes seam luminance/contrast without changing the element's colors. 'Color match (palette)' is the distribution-based color-matcher approach. 'temporal_anchor' (iterative video) re-matches each iteration's element to the previous iteration's corrected tail so VAE drift can't compound.
Compose + Match (per-frame)
- destination
- source
- mask
- previous_frames
- image
◄correctionGrade match (surround)►
◄strength1.00►
◄saturation1.00►
◄black_point0.000►
◄edge_falloff0►
◄grade_fitGain + offset►
◄surround_band0►
◄colormatch_referenceDestination►
◄methodmkl►
◄reference_regionOutside mask►
◄multithreadtrue►
◄temporal_anchorfalse►
◄anchor_strength1.00►
◄anchor_frames0►
CategoryMickmumpitz/Image
Inputs (18)
| Name | Type | Default | Description |
|---|---|---|---|
| destination | IMAGE | — | |
| source | IMAGE | — | |
| mask | MASK | — | |
| correction | COMBO | Grade match (surround) | 3 options: Grade match (surround), Color match (palette), Off |
| strength | FLOAT | 1.000–2 | — |
| saturation | FLOAT | 1.000–3 | — |
| black_point | FLOAT | 0.0000–0.2 | — |
| edge_falloff | INT | 00–512 | — |
| grade_fit | COMBO | Gain + offset | 2 options: Gain + offset, Offset only |
| surround_band | INT | 00–1024 | — |
| colormatch_reference | COMBO | Destination | 2 options: Source, Destination |
| method | COMBO | mkl | 6 options: mkl, hm, reinhard, mvgd, hm-mvgd-hm, hm-mkl-hm |
| reference_region | COMBO | Outside mask | 3 options: Outside mask, Full frame, Inside mask |
| multithread | BOOLEAN | true | — |
| temporal_anchor | BOOLEAN | false | — |
| anchor_strength | FLOAT | 1.000–2 | — |
| anchor_frames | INT | 00–99 | — |
| previous_framesopt | IMAGE | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | — |