Skip to content

ft_createKernel1

fuzzyfunctionOpenCV 5.0.0
import { ft_createKernel1 } from '@banou/opencv-wasm'

Use after await initOpenCV(). See the initialization and named imports guide.

ARGUMENTSA, B, kernel, chn
FUNCTIONft_createKernel1
RETURN TYPEvoid
Call structure. A void return can still write to destination arguments. The parameter descriptions define inputs, outputs and ownership.

Creates kernel from basic functions.

ft_createKernel1(A: Mat, B: Mat, kernel: Mat, chn: number): void;
A

Basic function used in axis x.

B

Basic function used in axis y.

kernel

Output destination, filled by the native operation. Final 32-bit kernel derived from A and B.

chn

Number of kernel channels.

The function creates kernel usable for latter fuzzy image processing.

These signatures describe this package. Upstream documentation can mention optional backends that are absent from this build. Check runtime compatibility before choosing a backend or file format.