cvCreateKDTree() private method

private cvCreateKDTree ( IntPtr desc ) : IntPtr
desc IntPtr
return 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);
 }