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.
cv2.getGaussianKernel
- nparray
◄ksize0►
◄sigma0.0000►
◄ktypeCV_64F►
Categoryimage/CV/low-level/cv2 G
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| ksize | INT | 0-2147483648–2147483647 | Aperture size. It should be odd ( $\texttt{ksize} \mod 2 = 1$ ) and positive. |
| sigma | FLOAT | 0.0000-1e+38–1e+38 | Gaussian standard deviation. If it is non-positive, it is computed from ksize as `sigma = 0.3*((ksize-1)*0.5 - 1) + 0.8`. |
| ktypeopt | COMBO | CV_64F | Type of filter coefficients. It can be CV_32F or CV_64F . |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| nparray | NPARRAY | — |