ComfyUI Node
cv2.detail.createWeightMap
Raw wrapper of cv2.detail.createWeightMap(mask, sharpness, weight). Parameters marked '?' are optional; blank means OpenCV default. From the opencv-contrib 'detail' module. See the OpenCV documentation for details.
cv2.detail.createWeightMap
- mask
- weight
- nparray
◄sharpness0.0000►
Categoryimage/CV/low-level/detail
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| mask | NPARRAY,IMAGE,MASK | - - - 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. | |
| sharpness | FLOAT | 0.0000-1e+38–1e+38 | - - - |
| weight | NPARRAY,IMAGE,MASK | - - - 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. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| nparray | NPARRAY | — |