OpenCvSharp.Cv2.MulSpectrums C# (CSharp) Method

MulSpectrums() public static method

computes element-wise product of the two Fourier spectrums. The second spectrum can optionally be conjugated before the multiplication
public static MulSpectrums ( InputArray a, InputArray b, OutputArray c, DftFlags flags, bool conjB = false ) : void
a InputArray
b InputArray
c OutputArray
flags DftFlags
conjB bool
return void
        public static void MulSpectrums(
            InputArray a, InputArray b, OutputArray c,
            DftFlags flags, bool conjB = false)
        {
            if (a == null)
                throw new ArgumentNullException(nameof(a));
            if (b == null)
                throw new ArgumentNullException(nameof(b));
            if (c == null)
                throw new ArgumentNullException(nameof(c));
            a.ThrowIfDisposed();
            b.ThrowIfDisposed();
            c.ThrowIfNotReady();
            NativeMethods.core_mulSpectrums(a.CvPtr, b.CvPtr, c.CvPtr, (int)flags, conjB ? 1 : 0);
            GC.KeepAlive(a);
            GC.KeepAlive(b); 
            c.Fix();
        }
        #endregion
Cv2