Base class for high-level OpenCV algorithms
Inheritance Hierarchy
OpenCvSharpDisposableObject
OpenCvSharpDisposableCvObject
OpenCvSharp.CPlusPlusAlgorithm
More...
Namespace: OpenCvSharp.CPlusPlus
Assembly: OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
The Algorithm type exposes the following members.
Properties
Name | Description | |
---|---|---|
AllocatedMemory |
Gets or sets a memory address allocated by AllocMemory.
(Inherited from DisposableObject.) | |
AllocatedMemorySize |
Gets or sets the byte length of the allocated memory
(Inherited from DisposableObject.) | |
CvPtr |
Native pointer of OpenCV structure
(Inherited from DisposableCvObject.) | |
Info |
Algorithm information
| |
InfoPtr |
Pointer to algorithm information (cv::AlgorithmInfo*)
| |
IsDisposed |
Gets a value indicating whether this instance has been disposed.
(Inherited from DisposableObject.) | |
IsEnabledDispose |
Gets or sets a value indicating whether you permit disposing this instance.
(Inherited from DisposableObject.) | |
Name |
Returns the algorithm name
|
Methods
Name | Description | |
---|---|---|
AllocGCHandle |
Pins the object to be allocated by cvSetData.
(Inherited from DisposableObject.) | |
AllocMemory |
Allocates the specified size of memory.
(Inherited from DisposableObject.) | |
Dispose |
Releases the resources
(Inherited from DisposableObject.) | |
Dispose(Boolean) |
Clean up any resources being used.
(Overrides DisposableCvObjectDispose(Boolean).) | |
Equals | (Inherited from Object.) | |
Finalize |
Destructor
(Inherited from DisposableObject.) | |
GetAlgorithm |
Returns the algorithm parameter
| |
GetBool |
Returns the algorithm parameter
| |
GetDouble |
Returns the algorithm parameter
| |
GetHashCode | (Inherited from Object.) | |
GetInt |
Returns the algorithm parameter
| |
GetList |
Returns the list of registered algorithms
| |
GetMat |
Returns the algorithm parameter
| |
GetMatVector |
Returns the algorithm parameter
| |
GetParams | ||
GetString |
Returns the algorithm parameter
| |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
NotifyMemoryPressure |
Notifies the allocated size of memory.
(Inherited from DisposableObject.) | |
ParamHelp | ||
ParamType | ||
Release |
Clean up any resources being used.
| |
SetAlgorithm |
Sets the algorithm parameter
| |
SetBool |
Sets the algorithm parameter
| |
SetDouble |
Sets the algorithm parameter
| |
SetInt |
Sets the algorithm parameter
| |
SetMat |
Sets the algorithm parameter
| |
SetMatVector |
Sets the algorithm parameter
| |
SetString |
Sets the algorithm parameter
| |
ThrowIfDisposed |
If this object is disposed, then ObjectDisposedException is thrown.
(Inherited from DisposableObject.) | |
ToString |
Returns a string that represents this Algorithm.
(Overrides ObjectToString.) |
Fields
Name | Description | |
---|---|---|
dataHandle |
Gets or sets a handle which allocates using cvSetData.
(Inherited from DisposableObject.) | |
ptr |
Data pointer
(Inherited from DisposableCvObject.) |
See Also
Reference
Inheritance Hierarchy
OpenCvSharpDisposableObject
OpenCvSharpDisposableCvObject
OpenCvSharp.CPlusPlusAlgorithm
OpenCvSharp.CPlusPlusBackgroundSubtractor
OpenCvSharp.CPlusPlusCLAHE
OpenCvSharp.CPlusPlusDenseOpticalFlow
OpenCvSharp.CPlusPlusDenseOpticalFlowExt
OpenCvSharp.CPlusPlusDescriptorExtractor
OpenCvSharp.CPlusPlusDescriptorMatcher
OpenCvSharp.CPlusPlusEM
OpenCvSharp.CPlusPlusFaceRecognizer
OpenCvSharp.CPlusPlusFeatureDetector
OpenCvSharp.CPlusPlusSuperResolution