ComfyUI Node
Mpi Inpaint Heal
Heal an inpainted region against the real pixels around it. Corrects colour drift and restores fine grain by matching a ring of untouched pixels hugging the mask -- unlike a colour-match on a rectangular crop, which still contains the removed object and pulls the fill toward it. Run AFTER stitching, with the mask of the region that was regenerated.
Mpi Inpaint Heal
- image
- mask
- IMAGE
◄color_strength1.00►
◄grain_strength1.00►
◄ring_px31►
◄feather_px15►
CategoryMpiNodes/ImgOps
Inputs (6)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | — | |
| mask | MASK | — | |
| color_strength | FLOAT | 1.000–1 | Shift the filled region's colour toward the surrounding ring. 0 disables. |
| grain_strength | FLOAT | 1.000–1 | Lift the filled region's fine grain toward the surrounding ring. 0 disables. |
| ring_px | INT | 311–512 | Width of the untouched band sampled as the reference. Wide enough for a stable average, narrow enough to stay locally lit. |
| feather_px | INT | 150–256 | Softens the correction's edge so it does not become a visible seam of its own. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| IMAGE | IMAGE | — |