Function idct

Source
pub fn idct(
    src: &impl ToInputArray,
    dst: &mut impl ToOutputArray,
    flags: i32,
) -> Result<()>
Expand description

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).

§Parameters

  • src: input floating-point single-channel array.
  • dst: output array of the same size and type as src.
  • flags: operation flags.

§See also

dct, dft, idft, getOptimalDFTSize

§C++ default parameters

  • flags: 0