示例#1
0
文件: ORB.cs 项目: zanker99/emgucv
 /// <summary>
 /// Create a ORBDetector using the specific values
 /// </summary>
 /// <param name="numberOfFeatures">The number of desired features. </param>
 /// <param name="scaleFactor">Coefficient by which we divide the dimensions from one scale pyramid level to the next.</param>
 /// <param name="nLevels">The number of levels in the scale pyramid. </param>
 /// <param name="firstLevel">The level at which the image is given. If 1, that means we will also look at the image.<paramref name="scaleFactor"/> times bigger</param>
 /// <param name="edgeThreshold">How far from the boundary the points should be.</param>
 /// <param name="WTK_A">How many random points are used to produce each cell of the descriptor (2, 3, 4 ...).</param>
 /// <param name="scoreType">Type of the score to use.</param>
 /// <param name="patchSize">Patch size.</param>
 /// <param name="fastThreshold">FAST threshold</param>
 public ORB(int numberOfFeatures = 500, float scaleFactor = 1.2f, int nLevels = 8, int edgeThreshold = 31, int firstLevel = 0, int WTK_A = 2, ScoreType scoreType = ScoreType.Harris, int patchSize = 31, int fastThreshold = 20)
 {
     _ptr = Features2DInvoke.cveOrbCreate(numberOfFeatures, scaleFactor, nLevels, edgeThreshold, firstLevel, WTK_A, scoreType, patchSize, fastThreshold, ref _feature2D, ref _sharedPtr);
 }