public static extern void cvMulSpectrums(IntPtr src1, IntPtr src2, IntPtr dst, MulSpectrumsFlag flags);
/// <summary> /// computes element-wise product of the two Fourier spectrums. The second spectrum can optionally be conjugated before the multiplication /// </summary> /// <param name="a"></param> /// <param name="b"></param> /// <param name="c"></param> /// <param name="flags"></param> /// <param name="conjB"></param> public static void MulSpectrums(InputArray a, InputArray b, OutputArray c, MulSpectrumsFlag flags, bool conjB = false) { if (a == null) throw new ArgumentNullException("a"); if (b == null) throw new ArgumentNullException("b"); if (c == null) throw new ArgumentNullException("c"); a.ThrowIfDisposed(); b.ThrowIfDisposed(); c.ThrowIfNotReady(); NativeMethods.core_mulSpectrums(a.CvPtr, b.CvPtr, c.CvPtr, (int)flags, conjB ? 1 : 0); c.Fix(); }