Train the calonder classifier with the specific images

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

Syntax

         
 C#  Visual Basic  Visual C++ 
public void Train(
	Image<TColor, byte> trainImage,
	Point[] keypoints,
	int numTrees,
	int depth,
	int views,
	int reducedNumDim,
	int numQuantBits
)
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 _
)
public:
void Train(
	Image<TColor, unsigned char>^ trainImage, 
	array<Point>^ keypoints, 
	int numTrees, 
	int depth, 
	int views, 
	int reducedNumDim, 
	int numQuantBits
)

Parameters

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

See Also