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

private cvCreateKDTree ( IntPtr desc ) : IntPtr
desc IntPtr
Результат IntPtr
Пример #1
0
 /// <summary>
 /// Create a k-d tree from the specific feature descriptors
 /// </summary>
 /// <param name="descriptors">The array of feature descriptors</param>
 public FeatureTree(float[][] descriptors)
 {
     _descriptorMatrix = Util.GetMatrixFromDescriptors(descriptors);
     _ptr = CvInvoke.cvCreateKDTree(_descriptorMatrix.Ptr);
 }
Пример #2
0
 /// <summary>
 /// Create a k-d tree from the specific feature descriptors
 /// </summary>
 /// <param name="descriptorMatrix">The array of feature descriptors</param>
 public FeatureTree(Matrix <float> descriptorMatrix)
 {
     _descriptorMatrix = descriptorMatrix.Clone();
     _ptr = CvInvoke.cvCreateKDTree(_descriptorMatrix.Ptr);
 }
Пример #3
0
 /// <summary>
 /// Create a k-d tree from the specific feature descriptors
 /// </summary>
 /// <param name="descriptors">The array of feature descriptors</param>
 public FeatureTree(float[][] descriptors)
 {
     _descriptorMatrix = CvToolbox.GetMatrixFromArrays(descriptors);
     _ptr = CvInvoke.cvCreateKDTree(_descriptorMatrix.Ptr);
 }