public void Release() { if (this.Internal != IntPtr.Zero) { PInvoke.cvReleaseHist(ref _hist); CVUtils.CheckLastError(); } }