Nodes/comfyui_cv/cv2.getGaussianKernel
ComfyUI Node

cv2.getGaussianKernel

Raw wrapper of cv2.getGaussianKernel(ksize, sigma, ktype?). 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.getGaussianKernel
    • nparray
    ksize0
    sigma0.0000
    ktypeCV_64F
    Categoryimage/CV/low-level/cv2 G

    Inputs (3)

    NameTypeDefaultDescription
    ksizeINT0-2147483648–2147483647Aperture size. It should be odd ( $\texttt{ksize} \mod 2 = 1$ ) and positive.
    sigmaFLOAT0.0000-1e+38–1e+38Gaussian standard deviation. If it is non-positive, it is computed from ksize as `sigma = 0.3*((ksize-1)*0.5 - 1) + 0.8`.
    ktypeoptCOMBOCV_64FType of filter coefficients. It can be CV_32F or CV_64F .

    Outputs (1)

    NameTypeDescription
    nparrayNPARRAY