Files
kayorl b394608781 feat: 添加智能颜色匹配节点并更新文档
- 实现支持掩码的智能颜色匹配功能,提供两种算法选择
- 更新README以简化安装说明并突出核心功能
- 调整requirements.txt依赖项
- 修复__init__.py文件结尾换行符问题
2026-01-21 14:21:53 +08:00

20 lines
832 B
Markdown

# ComfyUI Smart Color Match (Masked)
A custom node for ComfyUI that performs color matching between a reference image and a generated image, with support for masking.
## Features
- **Mask Support**: Can ignore specific areas (like clothes) when calculating color statistics, ensuring the background color tone matches the reference perfectly while preserving the subject.
- **Algorithms**:
- `mkl_neutral`: Only adjusts mean (White Balance), very stable.
- `reinhard_lab`: Adjusts mean and standard deviation in LAB color space (A/B channels only).
- **Blend Factor**: Adjust the intensity of the color correction.
## Installation
1. Clone this repository into your `ComfyUI/custom_nodes/` directory:
```bash
cd ComfyUI/custom_nodes/
git clone https://github.com/YOUR_USERNAME/ComfyUI-Smart-Color-Match.git
```