ComfyUI Node
cv2.getGaborKernel
Raw wrapper of cv2.getGaborKernel(ksize, sigma, theta, lambd, gamma, psi?, ktype?). Parameters marked '?' are optional; blank means OpenCV default. See the OpenCV documentation for details.
cv2.getGaborKernel
- ksize
- nparray
◄sigma0.0000►
◄theta0.0000►
◄lambd0.0000►
◄gamma0.0000►
◄psi1.5708►
◄ktypeCV_64F►
Categoryimage/CV/low-level/cv2 G
Inputs (7)
| Name | Type | Default | Description |
|---|---|---|---|
| ksize | CV_TUPLE | 0,0 | Size of the filter returned. One value with 2 components (w, h) - it travels as a whole, so it cannot arrive half-connected. Wire it from 'CV Tuple' or type the components in place. |
| sigma | FLOAT | 0.0000-1e+38–1e+38 | Standard deviation of the gaussian envelope. |
| theta | FLOAT | 0.0000-1e+38–1e+38 | Orientation of the normal to the parallel stripes of a Gabor function. |
| lambd | FLOAT | 0.0000-1e+38–1e+38 | Wavelength of the sinusoidal factor. |
| gamma | FLOAT | 0.0000-1e+38–1e+38 | Spatial aspect ratio. |
| psiopt | FLOAT | 1.5708-1e+38–1e+38 | Phase offset. Preset to the OpenCV default (1.5707963267948966). |
| ktypeopt | COMBO | CV_64F | Type of filter coefficients. It can be CV_32F or CV_64F . |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| nparray | NPARRAY | — |