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