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