EM model (cv::EM)
Inheritance Hierarchy
OpenCvSharpDisposableObject
OpenCvSharpDisposableCvObject
OpenCvSharp.CPlusPlusAlgorithm
OpenCvSharp.CPlusPlusEM
Namespace: OpenCvSharp.CPlusPlus
Assembly: OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
The EM type exposes the following members.
Constructors
Name | Description | |
---|---|---|
EM |
Training 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.) | |
Info |
Algorithm information
(Inherited from Algorithm.) | |
InfoPtr |
Pointer to algorithm information (cv::AlgorithmInfo*)
(Overrides AlgorithmInfoPtr.) | |
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.) | |
IsTrained | ||
Name |
Returns the algorithm name
(Inherited from Algorithm.) |
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) |
Clean up any resources being used.
(Overrides AlgorithmDispose(Boolean).) | |
Equals | (Inherited from Object.) | |
Finalize |
Destructor
(Inherited from DisposableObject.) | |
GetAlgorithm |
Returns the algorithm parameter
(Inherited from Algorithm.) | |
GetBool |
Returns the algorithm parameter
(Inherited from Algorithm.) | |
GetDouble |
Returns the algorithm parameter
(Inherited from Algorithm.) | |
GetHashCode | (Inherited from Object.) | |
GetInt |
Returns the algorithm parameter
(Inherited from Algorithm.) | |
GetMat |
Returns the algorithm parameter
(Inherited from Algorithm.) | |
GetMatVector |
Returns the algorithm parameter
(Inherited from Algorithm.) | |
GetParams | (Inherited from Algorithm.) | |
GetString |
Returns the algorithm parameter
(Inherited from Algorithm.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
NotifyMemoryPressure |
Notifies the allocated size of memory.
(Inherited from DisposableObject.) | |
ParamHelp | (Inherited from Algorithm.) | |
ParamType | (Inherited from Algorithm.) | |
Predict |
Predicts the response for sample
| |
Release |
Clean up any resources being used.
(Inherited from Algorithm.) | |
SetAlgorithm |
Sets the algorithm parameter
(Inherited from Algorithm.) | |
SetBool |
Sets the algorithm parameter
(Inherited from Algorithm.) | |
SetDouble |
Sets the algorithm parameter
(Inherited from Algorithm.) | |
SetInt |
Sets the algorithm parameter
(Inherited from Algorithm.) | |
SetMat |
Sets the algorithm parameter
(Inherited from Algorithm.) | |
SetMatVector |
Sets the algorithm parameter
(Inherited from Algorithm.) | |
SetString |
Sets the algorithm parameter
(Inherited from Algorithm.) | |
ThrowIfDisposed |
If this object is disposed, then ObjectDisposedException is thrown.
(Inherited from DisposableObject.) | |
ToString |
Returns a string that represents this Algorithm.
(Inherited from Algorithm.) | |
Train |
Estimates Gaussian mixture parameters from the sample set
| |
TrainE |
Estimates Gaussian mixture parameters from the sample set
| |
TrainM |
Estimates Gaussian mixture parameters from the sample set
|
Fields
Name | Description | |
---|---|---|
COV_MAT_DIAGONAL | ||
COV_MAT_GENERIC | ||
COV_MAT_SPHERICAL | ||
dataHandle |
Gets or sets a handle which allocates using cvSetData.
(Inherited from DisposableObject.) | |
DEFAULT_MAX_ITERS | ||
DEFAULT_NCLUSTERS | ||
ptr |
Data pointer
(Inherited from DisposableCvObject.) | |
START_AUTO_STEP | ||
START_E_STEP | ||
START_M_STEP |
See Also