OpenCvSharp.Cv2.InsertChannel C# (CSharp) Method

InsertChannel() public static method

inserts a single channel to dst (coi is 0-based index)
public static InsertChannel ( InputArray src, InputOutputArray dst, int coi ) : void
src InputArray
dst InputOutputArray
coi int
return void
        public static void InsertChannel(InputArray src, InputOutputArray dst, int coi)
        {
            if (src == null)
                throw new ArgumentNullException(nameof(src));
            if (dst == null)
                throw new ArgumentNullException(nameof(dst));
            src.ThrowIfDisposed();
            dst.ThrowIfNotReady();
            NativeMethods.core_insertChannel(src.CvPtr, dst.CvPtr, coi);
            GC.KeepAlive(src);
            dst.Fix();
        }
        #endregion
Cv2