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.10.1935 (2.4.10.1935)

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
)
F#
member Train : 
        trainImage : Image<'TColor, byte> * 
        keypoints : Point[] * 
        numTrees : int * 
        depth : int * 
        views : int * 
        reducedNumDim : int * 
        numQuantBits : int -> unit 

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