Nodes/comfyui_cv/cv2.ximgproc.covarianceEstimation
ComfyUI Node

cv2.ximgproc.covarianceEstimation

Raw wrapper of cv2.ximgproc.covarianceEstimation(src, windowRows, windowCols). Parameters marked '?' are optional; blank means OpenCV default. From the opencv-contrib 'ximgproc' module. See the OpenCV documentation for details.

By bmad4ever·Created 3 months ago·Updated 2 days ago· 0
cv2.ximgproc.covarianceEstimation
  • src
  • nparray
windowRows0
windowCols0
Categoryimage/CV/low-level/ximgproc

Inputs (3)

NameTypeDefaultDescription
srcNPARRAY,IMAGE,MASKThe source image. Input image must be of a complex type. 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.
windowRowsINT0-2147483648–2147483647The number of rows in the window.
windowColsINT0-2147483648–2147483647The number of cols in the window. The window size parameters control the accuracy of the estimation. The sliding window moves over the entire image from the top-left corner to the bottom right corner. Each location of the window represents a sample. If the window is the size of the image, then this gives the exact covariance matrix. For all other cases, the sizes of the window will impact the number of samples and the number of elements in the estimated covariance matrix.

Outputs (1)

NameTypeDescription
nparrayNPARRAY