Constructor CvObject
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
CvObject()
Default constructor
protected CvObject()
CvObject(nint)
Constructor (backward compatibility). Wraps the pointer in a non-owning SafeHandle. Derived classes that own the native resource should call SetSafeHandle(OpenCvSafeHandle) to replace it with an owning handle.
protected CvObject(nint ptr)
Parameters
ptrnint
CvObject(OpenCvSafeHandle)
Constructor that accepts an OpenCvSafeHandle. The SafeHandle owns the native resource and will release it on disposal.
protected CvObject(OpenCvSafeHandle safeHandle)
Parameters
safeHandleOpenCvSafeHandleThe safe handle wrapping the native pointer.