Nodes/comfyui_cv/cv2.calcCovarMatrix
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.

By bmad4ever·Created 3 months ago·Updated 2 days ago· 0
cv2.calcCovarMatrix
  • samples
  • mean
  • covar
  • mean
flags0
ctypeCV_64F
Categoryimage/CV/low-level/cv2 C

Inputs (4)

NameTypeDefaultDescription
samplesNPARRAYsamples stored as rows/columns of a single matrix. A data array (points / matrix), NOT an image - only an NPARRAY link is accepted here.
meanNPARRAYinput 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.
flagsINT0-2147483648–2147483647operation flags as a combination of #CovarFlags
ctypeoptCOMBOCV_64Ftype of the matrixl; it equals 'CV_64F' by default.

Outputs (2)

NameTypeDescription
covarNPARRAY
meanNPARRAY