Base class for statistical models in ML
Inheritance Hierarchy
OpenCvSharpDisposableObject
OpenCvSharpDisposableCvObject
OpenCvSharp.CPlusPlusCvStatModel
More...
Namespace: OpenCvSharp.CPlusPlus
Assembly: OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
The CvStatModel type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | CvStatModel |
Default constructor
|
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.) |
![]() | 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.) |
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.) |
![]() | Clear |
Deallocates memory and resets the model state
|
![]() | Dispose |
Releases the resources
(Inherited from DisposableObject.) |
![]() | Dispose(Boolean) |
Releases the resources
(Overrides DisposableCvObjectDispose(Boolean).) |
![]() | Equals | (Inherited from Object.) |
![]() | Finalize |
Destructor
(Inherited from DisposableObject.) |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetType | (Inherited from Object.) |
![]() | Load(String) |
Loads the model from file
|
![]() | Load(String, String) |
Loads the model from file
|
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | NotifyMemoryPressure |
Notifies the allocated size of memory.
(Inherited from DisposableObject.) |
![]() | Read |
Reads the model from file storage
|
![]() | Save(String) |
Saves the model to file
|
![]() | Save(String, String) |
Saves the model to file
|
![]() | ThrowIfDisposed |
If this object is disposed, then ObjectDisposedException is thrown.
(Inherited from DisposableObject.) |
![]() | ToString | (Inherited from Object.) |
![]() | Write |
Writes the model to file storage
|
Fields
Name | Description | |
---|---|---|
![]() ![]() | CV_TYPE_NAME_ML_ANN_MLP | |
![]() ![]() | CV_TYPE_NAME_ML_BOOSTING | |
![]() ![]() | CV_TYPE_NAME_ML_CNN | |
![]() ![]() | CV_TYPE_NAME_ML_EM | |
![]() ![]() | CV_TYPE_NAME_ML_KNN | |
![]() ![]() | CV_TYPE_NAME_ML_NBAYES | |
![]() ![]() | CV_TYPE_NAME_ML_RTREES | |
![]() ![]() | CV_TYPE_NAME_ML_SVM | |
![]() ![]() | CV_TYPE_NAME_ML_TREE | |
![]() ![]() | CV_VAR_CATEGORICAL | |
![]() ![]() | CV_VAR_NUMERICAL | |
![]() ![]() | CV_VAR_ORDERED | |
![]() | 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.CPlusPlusCvStatModel
OpenCvSharp.CPlusPlusCvANN_MLP
OpenCvSharp.CPlusPlusCvBoost
OpenCvSharp.CPlusPlusCvDTree
OpenCvSharp.CPlusPlusCvKNearest
OpenCvSharp.CPlusPlusCvNormalBayesClassifier
OpenCvSharp.CPlusPlusCvRTrees
OpenCvSharp.CPlusPlusCvSVM