Nodes/comfyui_cv/cv2.detail.createWeightMap
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.

By bmad4ever·Created 3 months ago·Updated 2 days ago· 0
cv2.detail.createWeightMap
  • mask
  • weight
  • nparray
sharpness0.0000
Categoryimage/CV/low-level/detail

Inputs (3)

NameTypeDefaultDescription
maskNPARRAY,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.
sharpnessFLOAT0.0000-1e+38–1e+38 - - -
weightNPARRAY,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)

NameTypeDescription
nparrayNPARRAY