ComfyUI Node
cv2.calcCovarMatrix
Raw wrapper of cv2.calcCovarMatrix(samples, mean, flags, ctype?). Parameters marked '?' are optional; blank means OpenCV default. See the OpenCV documentation for details.
cv2.calcCovarMatrix
- samples
- mean
- covar
- mean
◄flags0►
◄ctypeCV_64F►
Categoryimage/CV/low-level/cv2 C
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| samples | NPARRAY | samples stored as rows/columns of a single matrix. A data array (points / matrix), NOT an image - only an NPARRAY link is accepted here. | |
| mean | NPARRAY | input or output (depending on the flags) array as the average value of the input vectors. A data array (points / matrix), NOT an image - only an NPARRAY link is accepted here. | |
| flags | INT | 0-2147483648–2147483647 | operation flags as a combination of #CovarFlags |
| ctypeopt | COMBO | CV_64F | type of the matrixl; it equals 'CV_64F' by default. |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| covar | NPARRAY | — |
| mean | NPARRAY | — |