ComfyUI Node
CV Constant Like
Outputs a uint8 array filled with a constant, with the same width/height as the input. Typical use: make an all-white coverage mask, warp it with the exact same matrix as its image (borderMode=BORDER_CONSTANT, or the border reflection turns the whole canvas white), and feed the warped masks to 'CV Feather Blend' so each canvas pixel knows which sources actually cover it.
CV Constant Like
- nparray
- nparray
◄value255►
◄channelsgrayscale (single channel)►
Categoryimage/CV/features
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| nparray | NPARRAY,IMAGE,MASK | Only its width/height are used. Accepts a ComfyUI IMAGE/MASK directly (frame 0 of a batch) or an NPARRAY. Arithmetic ops (add, multiply, etc.) process the full IMAGE batch when both inputs have the same batch size. | |
| value | INT | 2550–255 | Fill value 0-255 (255 = white coverage mask). |
| channels | COMBO | grayscale (single channel) | Masks are single-channel; 'same as input' replicates the input's channel count for image-typed uses. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| nparray | NPARRAY | — |