public static extern IntPtr core_Mat_new7(IntPtr mat, Rect roi); [DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl)]