Method Compute
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
Compute(InputArray, ref KeyPoint[], OutputArray)
Compute the descriptors for a set of keypoints in an image.
public virtual void Compute(InputArray image, ref KeyPoint[] keypoints, OutputArray descriptors)
Parameters
imageInputArrayThe image.
keypointsKeyPoint[]The input keypoints. Keypoints for which a descriptor cannot be computed are removed.
descriptorsOutputArrayComputed descriptors. Row i is the descriptor for KeyPoint i.
Compute(IEnumerable<Mat>, ref KeyPoint[][], IEnumerable<Mat>)
Compute the descriptors for a keypoints collection detected in image collection.
public virtual void Compute(IEnumerable<Mat> images, ref KeyPoint[][] keypoints, IEnumerable<Mat> descriptors)
Parameters
imagesIEnumerable<Mat>Image collection.
keypointsKeyPoint[][]Input keypoints collection. keypoints[i] is keypoints detected in images[i]. Keypoints for which a descriptor cannot be computed are removed.
descriptorsIEnumerable<Mat>Descriptor collection. descriptors[i] are descriptors computed for set keypoints[i].