http://www.emgu.com
Train the calonder classifier with the specific images

Namespace: Emgu.CV.Features2D
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.4.0.1717 (2.4.0.1717)

Syntax

C#
public void Train(
	Image<TColor, byte> trainImage,
	Point[] keypoints,
	int numTrees,
	int depth,
	int views,
	int reducedNumDim,
	int numQuantBits
)
Visual Basic
Public Sub Train ( _
	trainImage As Image(Of TColor, Byte), _
	keypoints As Point(), _
	numTrees As Integer, _
	depth As Integer, _
	views As Integer, _
	reducedNumDim As Integer, _
	numQuantBits As Integer _
)
Visual C++
public:
void Train(
	Image<TColor, unsigned char>^ trainImage, 
	array<Point>^ keypoints, 
	int numTrees, 
	int depth, 
	int views, 
	int reducedNumDim, 
	int numQuantBits
)

Parameters

trainImage
Type: Emgu.CV..::..Image<(Of <(<'TColor, Byte>)>)>
The traning image
keypoints
Type: array<System.Drawing..::..Point>[]()[][]
The keypoints on this image
numTrees
Type: System..::..Int32
Use 48 for default
depth
Type: System..::..Int32
Use 9 for default
views
Type: System..::..Int32
Use 5000 for default
reducedNumDim
Type: System..::..Int32
use 176 for default
numQuantBits
Type: System..::..Int32
Use 4 for default

See Also