/// <summary> /// Release the histogram cost extractor /// </summary> protected override void DisposeObject() { if (_ptr != IntPtr.Zero) { ShapeInvoke.cvHistogramCostExtractorRelease(ref _ptr, ref _sharedPtr); } }