ComfyUI Node
Tiled Image Color Correction
Correct color/luminance shift in tiled images using pre-ksampler reference tiles. Supports combining color and luminance corrections.
Tiled Image Color Correction
- tiled_images
- reference_tiles
- corrected_tiles
◄color_correction_methodhistogram_match►
◄color_correction_strength1.00►
◄luminance_correction_strength0.00►
◄edge_preserving_smooth0.0►
CategoryMira/SubPack/Image Tiled Upscaler
Inputs (6)
| Name | Type | Default | Description |
|---|---|---|---|
| tiled_images | IMAGE | Sampled tiled images to be corrected (post-ksampler). | |
| reference_tiles | IMAGE | Original tiles before ksampler (e.g. tiled_images output from ImageCropTiles). Must have the same tile count as tiled_images. | |
| color_correction_method | COMBO | histogram_match | Color correction method applied to each tile: none: Skip color correction. Histogram Match: Full per-channel distribution matching. Color Transfer: Mean & std matching in CIE LAB space (Reinhard 2001). |
| color_correction_strength | FLOAT | 1.000–1 | Blend strength for color correction: 0=no correction, 1=full correction. |
| luminance_correction_strength | FLOAT | 0.000–1 | Blend strength for luminance (brightness+contrast) correction applied AFTER color correction. 0=skip, 1=full luminance match. Can be combined with any color_correction_method. |
| edge_preserving_smooth | FLOAT | 0.00–1 | Optional edge-preserving smoothing to reduce color artifacts/stains. 0=no smoothing, 0.3-0.5=recommended for artifact reduction, 1.0=maximum smoothing. Applied as final post-processing step. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| corrected_tiles | IMAGE | — |