ft_FT12D_polynomial
import { ft_FT12D_polynomial } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
Computes elements of F^1-transform components.
ft_FT12D_polynomial(matrix: Mat, kernel: Mat, c00: Mat, c10: Mat, c01: Mat, components: Mat, mask: Mat): void;2 available overloads
ft_FT12D_polynomial(matrix: Mat, kernel: Mat, c00: Mat, c10: Mat, c01: Mat, components: Mat): void;ft_FT12D_polynomial(matrix: Mat, kernel: Mat, c00: Mat, c10: Mat, c01: Mat, components: Mat, mask: Mat): void;matrixInput array.
kernelKernel used for processing. Function
ft::createKernelcan be used.c00Output destination, filled by the native operation. Elements represent average color.
c10Output destination, filled by the native operation. Elements represent average vertical gradient.
c01Output destination, filled by the native operation. Elements represent average horizontal gradient.
componentsOutput destination, filled by the native operation. Output 32-bit float array for the components.
maskMask can be used for unwanted area marking.
The function computes components and its elements using predefined kernel and mask.
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.