Decision tree node
Inheritance Hierarchy
OpenCvSharpDisposableObject
OpenCvSharpDisposableCvObject
OpenCvSharp.CPlusPlusCvDTreeTrainData
Namespace: OpenCvSharp.CPlusPlus
Assembly: OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
The CvDTreeTrainData type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| CvDTreeTrainData |
Default constructor
| |
| CvDTreeTrainData(IntPtr) |
Initializes from pointer
| |
| CvDTreeTrainData(CvMat, DTreeDataLayout, CvMat, CvMat, CvMat, CvMat, CvMat, CvDTreeParams, Boolean, Boolean) |
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.) | |
| Buf | ||
| BufCount | ||
| BufSize | ||
| CatCount | ||
| CatMap | ||
| CatOfs | ||
| CatVarCount | ||
| Counts | ||
| CvPtr |
Native pointer of OpenCV structure
(Inherited from DisposableCvObject.) | |
| Direction | ||
| HaveLabels | ||
| HavePriors | ||
| IsClassifier | ||
| 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.) | |
| MaxCCount | ||
| OrdVarCount | ||
| Priors | ||
| Rng | ||
| SampleCount | ||
| Shared | ||
| SplitBuf | ||
| VarAll | ||
| VarCount | ||
| VarIdx | ||
| VarType |
i-th element =
k<0 - ordered,
k>=0 - categorical, see k-th element of cat_* arrays
|
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.) | |
| GetCatVarData | ||
| GetChildBufIdx | ||
| GetClassLabels | ||
| GetHashCode | (Inherited from Object.) | |
| GetLabels | ||
| GetNumClasses | ||
| GetOrdResponses | ||
| GetOrdVarData | ||
| GetType | (Inherited from Object.) | |
| GetVarType | ||
| GetWorkVarCount | ||
| MemberwiseClone | (Inherited from Object.) | |
| NotifyMemoryPressure |
Notifies the allocated size of memory.
(Inherited from DisposableObject.) | |
| SetData | ||
| ThrowIfDisposed |
If this object is disposed, then ObjectDisposedException is thrown.
(Inherited from DisposableObject.) | |
| ToString | (Inherited from Object.) |
Fields
| Name | Description | |
|---|---|---|
| dataHandle |
Gets or sets a handle which allocates using cvSetData.
(Inherited from DisposableObject.) | |
| ptr |
Data pointer
(Inherited from DisposableCvObject.) |
See Also