OpenCvSharp.NativeMethods.core_OutputArray_getVectorOfMat C# (CSharp) Method

core_OutputArray_getVectorOfMat() private method

private core_OutputArray_getVectorOfMat ( IntPtr oa, IntPtr vector ) : void
oa IntPtr
vector IntPtr
return void
        public static extern void core_OutputArray_getVectorOfMat(IntPtr oa, IntPtr vector);
        

Usage Example

コード例 #1
0
        /// <summary>
        ///
        /// </summary>
        public override void AssignResult()
        {
            if (!IsReady())
            {
                throw new NotSupportedException();
            }

            using var vectorOfMat = new VectorOfMat();
            NativeMethods.HandleException(
                NativeMethods.core_OutputArray_getVectorOfMat(ptr, vectorOfMat.CvPtr));
            GC.KeepAlive(this);
            list.Clear();
            list.AddRange(vectorOfMat.ToArray());
        }
All Usage Examples Of OpenCvSharp.NativeMethods::core_OutputArray_getVectorOfMat
NativeMethods