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.
cv2.phaseCorrelate
- src1
- src2
- shift
- response
Categoryimage/CV/low-level/cv2 P
Inputs (2)
| Name | Type | Default | Description |
|---|---|---|---|
| src1 | NPARRAY,IMAGE,MASK | Source 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. | |
| src2 | NPARRAY,IMAGE,MASK | Source 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)
| Name | Type | Description |
|---|---|---|
| shift | CV_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. |
| response | FLOAT | — |