Namespace: OpenCvSharp.CPlusPlus
Assembly: OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
public virtual bool Train( Mat trainData, DTreeDataLayout tflag, Mat responses, Mat varIdx = null, Mat sampleIdx = null, Mat varType = null, Mat missingMask = null, CvRTParams param = null )
Parameters
- trainData
- Type: OpenCvSharp.CPlusPlusMat
[Missing <param name="trainData"/> documentation for "M:OpenCvSharp.CPlusPlus.CvRTrees.Train(OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.DTreeDataLayout,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.CvRTParams)"]
- tflag
- Type: OpenCvSharp.CPlusPlusDTreeDataLayout
[Missing <param name="tflag"/> documentation for "M:OpenCvSharp.CPlusPlus.CvRTrees.Train(OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.DTreeDataLayout,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.CvRTParams)"]
- responses
- Type: OpenCvSharp.CPlusPlusMat
[Missing <param name="responses"/> documentation for "M:OpenCvSharp.CPlusPlus.CvRTrees.Train(OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.DTreeDataLayout,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.CvRTParams)"]
- varIdx (Optional)
- Type: OpenCvSharp.CPlusPlusMat
[Missing <param name="varIdx"/> documentation for "M:OpenCvSharp.CPlusPlus.CvRTrees.Train(OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.DTreeDataLayout,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.CvRTParams)"]
- sampleIdx (Optional)
- Type: OpenCvSharp.CPlusPlusMat
[Missing <param name="sampleIdx"/> documentation for "M:OpenCvSharp.CPlusPlus.CvRTrees.Train(OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.DTreeDataLayout,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.CvRTParams)"]
- varType (Optional)
- Type: OpenCvSharp.CPlusPlusMat
[Missing <param name="varType"/> documentation for "M:OpenCvSharp.CPlusPlus.CvRTrees.Train(OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.DTreeDataLayout,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.CvRTParams)"]
- missingMask (Optional)
- Type: OpenCvSharp.CPlusPlusMat
[Missing <param name="missingMask"/> documentation for "M:OpenCvSharp.CPlusPlus.CvRTrees.Train(OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.DTreeDataLayout,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.CvRTParams)"]
- param (Optional)
- Type: OpenCvSharp.CPlusPlusCvRTParams
[Missing <param name="param"/> documentation for "M:OpenCvSharp.CPlusPlus.CvRTrees.Train(OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.DTreeDataLayout,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.CvRTParams)"]
Return Value
Type: Boolean[Missing <returns> documentation for "M:OpenCvSharp.CPlusPlus.CvRTrees.Train(OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.DTreeDataLayout,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.CvRTParams)"]