ComfyUI Node
cv2.compareHist
Raw wrapper of cv2.compareHist(H1, H2, method). Parameters marked '?' are optional; blank means OpenCV default. See the OpenCV documentation for details.
cv2.compareHist
- H1
- H2
- float
◄methodHISTCMP_CORREL►
Categoryimage/CV/low-level/cv2 C
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| H1 | NPARRAY | First compared histogram. A data array (points / matrix), NOT an image - only an NPARRAY link is accepted here. | |
| H2 | NPARRAY | Second compared histogram of the same size as H1 . A data array (points / matrix), NOT an image - only an NPARRAY link is accepted here. | |
| method | COMBO | HISTCMP_CORREL | Comparison method, see #HistCompMethods |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| float | FLOAT | — |