OpenCvSharp.NativeMethods.core_FileNode_toMat C# (CSharp) Method

core_FileNode_toMat() private method

private core_FileNode_toMat ( IntPtr obj, IntPtr m ) : void
obj System.IntPtr
m System.IntPtr
return void
        public static extern void core_FileNode_toMat(IntPtr obj, IntPtr m);

Usage Example

コード例 #1
0
        /// <summary>
        /// Returns the node content as OpenCV Mat
        /// </summary>
        /// <returns></returns>
        public Mat ToMat()
        {
            ThrowIfDisposed();

            var matrix = new Mat();

            NativeMethods.HandleException(
                NativeMethods.core_FileNode_toMat(ptr, matrix.CvPtr));

            GC.KeepAlive(this);
            return(matrix);
        }
NativeMethods