Table of Contents

Class MatSafeHandle

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll

A OpenCvSafeHandle that releases a native cv::Mat* pointer.

public sealed class MatSafeHandle : OpenCvSafeHandle, IDisposable
Inheritance
MatSafeHandle
Implements
Inherited Members

Constructors

MatSafeHandle()

Initializes a new owning instance (used by P/Invoke out parameters).

MatSafeHandle(nint, bool)

Wraps an existing native cv::Mat* pointer.

Methods

ReleaseHandle()

When overridden in a derived class, executes the code required to free the handle.