Nodes/comfyui_cv/cv2.computeECC
ComfyUI Node

cv2.computeECC

Raw wrapper of cv2.computeECC(templateImage, inputImage, inputMask?). 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.computeECC
  • templateImage
  • inputImage
  • inputMask
  • float
Categoryimage/CV/low-level/cv2 C

Inputs (3)

NameTypeDefaultDescription
templateImageNPARRAY,IMAGE,MASKInput template image; must have either 1 or 3 channels and be of type CV_8U, CV_16U, CV_32F, or CV_64F. 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.
inputImageNPARRAY,IMAGE,MASKInput image to be compared with the template; must have the same type and number of channels as templateImage. 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.
inputMaskoptNPARRAY,IMAGE,MASKOptional single-channel mask to specify the valid region of interest in inputImage and templateImage. 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
floatFLOAT