Nodes/comfyui_cv/cv2.phaseCorrelate
ComfyUI Node

cv2.phaseCorrelate

Raw wrapper of cv2.phaseCorrelate(src1, src2). 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.phaseCorrelate
  • src1
  • src2
  • shift
  • response
Categoryimage/CV/low-level/cv2 P

Inputs (2)

NameTypeDefaultDescription
src1NPARRAY,IMAGE,MASKSource floating point array (CV_32FC1 or CV_64FC1) 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.
src2NPARRAY,IMAGE,MASKSource floating point array (CV_32FC1 or CV_64FC1) 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 (2)

NameTypeDescription
shiftCV_TUPLE- - - Subpixel coordinates (x, y) as ONE composite value - wire it straight into any cv2 point input, or into 'CV Split Tuple' for the separate numbers.
responseFLOAT