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);
 }