protected override void DisposeObject() { Marshal.StructureToPtr(State, _ptr, false); CvInvoke.cvReleaseStereoGCState(ref _ptr); }