ComfyUI Node
cv2.EMD
Raw wrapper of cv2.EMD(signature1, signature2, distType, lowerBound?). Parameters marked '?' are optional; blank means OpenCV default. See the OpenCV documentation for details.
cv2.EMD
- signature1
- signature2
- retval
- lowerBound
- flow
◄distTypeDIST_L2►
◄lowerBound►
Categoryimage/CV/low-level/cv2 E
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| signature1 | NPARRAY | - - - A data array (points / matrix), NOT an image - only an NPARRAY link is accepted here. | |
| signature2 | NPARRAY | - - - A data array (points / matrix), NOT an image - only an NPARRAY link is accepted here. | |
| distType | COMBO | DIST_L2 | - - - |
| lowerBoundopt | STRING | - - - Optional - leave blank to use the OpenCV default. Accepts a Python literal, e.g. 3, 1.5, true, or (3, 3). |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| retval | FLOAT | — |
| lowerBound | FLOAT | — |
| flow | NPARRAY | — |