ComfyUI Node
Apply Mask using AFFCE
Apply a mask to an image using Approximate Fast Foreground Colour Estimation. https://github.com/Photoroom/fast-foreground-estimation
Apply Mask using AFFCE
- images
- masks
- image
- mask
◄blur_size90►
◄blur_size_two6►
◄fill_colorfalse►
◄color#000000►
◄batchedtrue►
Categoryimage/manipulation
Inputs (7)
| Name | Type | Default | Description |
|---|---|---|---|
| images | IMAGE | — | |
| masks | MASK | — | |
| blur_size | INT | 901–255 | — |
| blur_size_two | INT | 61–255 | — |
| fill_color | BOOLEAN | false | Fill the background using a color. Returns an RGB image, otherwise an RGBA. |
| color | STRING | #000000 | Color for fill. Can be an hexadecimal (#RRGGBB). Can comma separated RGB values in [0-255] or [0-1.0] range. |
| batched | BOOLEAN | true | Process the images at once. Faster, needs more memory |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | — |
| mask | MASK | — |