ComfyUI Node
Image Merge By Pixel Align
Merge patch image onto base using pixel alignment with center-based coverage blending.
Image Merge By Pixel Align
- base_img
- patch_img
- IMAGE
◄bg_color_r255►
◄bg_color_g0►
◄bg_color_b255►
◄bg_tolerance10►
◄core_coverage0.60►
◄blend_width30►
◄blend_strength0.70►
◄blend_modesmooth►
◄sift_features5000►
◄match_ratio0.70►
CategoryMira/SubPack
Inputs (12)
| Name | Type | Default | Description |
|---|---|---|---|
| base_img | IMAGE | — | |
| patch_img | IMAGE | — | |
| bg_color_r | INT | 2550–255 | Background color Red component (0-255) to exclude from patch |
| bg_color_g | INT | 00–255 | Background color Green component (0-255) to exclude from patch |
| bg_color_b | INT | 2550–255 | Background color Blue component (0-255) to exclude from patch |
| bg_tolerance | INT | 100–100 | Color distance tolerance for background detection |
| core_coverage | FLOAT | 0.600–1 | Core region coverage ratio (0-1), where patch fully covers base |
| blend_width | INT | 300–200 | Width of blend transition in pixels from core edge |
| blend_strength | FLOAT | 0.700–1 | Patch opacity in blend region (0=invisible, 1=fully opaque) |
| blend_mode | COMBO | smooth | Blend transition curve: - 'smooth': sigmoid within blend_width - 'linear': linear within blend_width - 'full_gradient': gradient from core edge to patch edge - 'none': no blend outside core |
| sift_features | INT | 50001000–10000 | Number of SIFT features to detect |
| match_ratio | FLOAT | 0.700.5–0.9 | Lowe's ratio threshold for feature matching |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| IMAGE | IMAGE | — |