ft_FT02D_iteration
import { ft_FT02D_iteration } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
Computes F^0-transfrom and inverse F^0-transfrom at once and return state.
ft_FT02D_iteration(matrix: Mat, kernel: Mat, output: Mat, mask: Mat, maskOutput: Mat, firstStop: boolean): number;matrixInput matrix.
kernelKernel used for processing. Function
ft::createKernelcan be used.outputOutput destination, filled by the native operation. Output 32-bit float array.
maskMask used for unwanted area marking.
maskOutputOutput destination, filled by the native operation. Mask after one iteration.
firstStopIf true function returns -1 when first problem appears. In case of
falsethe process is completed and summation of all problems returned.This function computes iteration of F-transfrom and inverse F-transfotm and handle image and mask change. The function is used in
ft::inpaintfunction.
The number result.
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.