Nodes/comfyui_cv/cv2.finiteMask
ComfyUI Node

cv2.finiteMask

Raw wrapper of cv2.finiteMask(src, mask?). Parameters marked '?' are optional; blank means OpenCV default. See the OpenCV documentation for details.

By bmad4ever·Created 3 months ago·Updated 2 days ago· 0
cv2.finiteMask
  • src
  • mask
  • nparray
Categoryimage/CV/low-level/cv2 F

Inputs (2)

NameTypeDefaultDescription
srcNPARRAY,IMAGE,MASKInput matrix, should contain float or double elements of 1 to 4 channels 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.
maskoptNPARRAY,IMAGE,MASKOutput matrix of the same size as input of type CV_8UC1 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