internal static extern void cvMatRelease(ref IntPtr mat);
protected override void DisposeObject() { CvInvoke.cvMatRelease(ref _ptr); }