OpenCvSharp.Cv2.ConvertScaleAbs C# (CSharp) Method

ConvertScaleAbs() public static method

Scales, computes absolute values and converts the result to 8-bit.
public static ConvertScaleAbs ( InputArray src, OutputArray dst, double alpha = 1, double beta ) : void
src InputArray The source array
dst OutputArray The destination array
alpha double The optional scale factor. [By default this is 1]
beta double The optional delta added to the scaled values. [By default this is 0]
return void
        public static void ConvertScaleAbs(InputArray src, OutputArray dst, double alpha = 1, double beta = 0)
        {
            if (src == null)
                throw new ArgumentNullException(nameof(src));
            if (dst == null)
                throw new ArgumentNullException(nameof(dst));
            src.ThrowIfDisposed();
            dst.ThrowIfNotReady();
            NativeMethods.core_convertScaleAbs(src.CvPtr, dst.CvPtr, alpha, beta);
            GC.KeepAlive(src);
            dst.Fix();
        }
        #endregion
Cv2