idct
import { idct } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
Calculates the inverse Discrete Cosine Transform of a 1D or 2D array.
idct(src, dst, flags) is equivalent to dct(src, dst, flags | DCT_INVERSE).
See: dct, dft, idft, getOptimalDFTSize
idct(src: Mat, dst: Mat, flags: number): void;srcinput floating-point single-channel array.
dstOutput destination, filled by the native operation. output array of the same size and type as src.
flagsoperation flags.
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.