cvCreateSpillTree() приватный Метод

private cvCreateSpillTree ( IntPtr desc, int naive, double rho, double tau ) : IntPtr
desc IntPtr
naive int
rho double
tau double
Результат IntPtr
Пример #1
0
 /// <summary>
 /// Create a spill tree from the specific feature descriptors
 /// </summary>
 /// <param name="descriptors">The array of feature descriptors</param>
 /// <param name="naive">A good value is 50</param>
 /// <param name="rho">A good value is .7</param>
 /// <param name="tau">A good value is .1</param>
 public FeatureTree(Matrix <float> descriptors, int naive, double rho, double tau)
 {
     _descriptorMatrix = descriptors.Clone();
     _ptr = CvInvoke.cvCreateSpillTree(_descriptorMatrix.Ptr, naive, rho, tau);
 }
Пример #2
0
 /// <summary>
 /// Create a spill tree from the specific feature descriptors
 /// </summary>
 /// <param name="descriptors">The array of feature descriptors</param>
 /// <param name="naive">A good value is 50</param>
 /// <param name="rho">A good value is .7</param>
 /// <param name="tau">A good value is .1</param>
 public FeatureTree(float[][] descriptors, int naive, double rho, double tau)
 {
     _descriptorMatrix = Util.GetMatrixFromDescriptors(descriptors);
     _ptr = CvInvoke.cvCreateSpillTree(_descriptorMatrix.Ptr, naive, rho, tau);
 }