OpenCvSharp.NativeMethods.vector_uchar_new2 C# (CSharp) Method

vector_uchar_new2() private method

private vector_uchar_new2 ( IntPtr size ) : IntPtr
size IntPtr
return IntPtr
        public static extern IntPtr vector_uchar_new2(IntPtr size);
        [DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl)]

Usage Example

コード例 #1
0
ファイル: VectorOfByte.cs プロジェクト: 180D-FW-2020/Team13
 /// <summary>
 ///
 /// </summary>
 /// <param name="size"></param>
 public VectorOfByte(int size)
 {
     if (size < 0)
     {
         throw new ArgumentOutOfRangeException("nameof(size)");
     }
     ptr = NativeMethods.vector_uchar_new2(new IntPtr(size));
 }
NativeMethods