Method DetectAndComputeElliptic
- Namespace
- OpenCvSharp.XFeatures2D
- Assembly
- OpenCvSharp.dll
DetectAndComputeElliptic(InputArray, InputArray, OutputArray, bool, IEnumerable<EllipticKeyPoint>?)
Detects keypoints and computes descriptors for their surrounding regions, after warping them into circles.
public EllipticKeyPoint[] DetectAndComputeElliptic(InputArray image, InputArray mask, OutputArray descriptors, bool useProvidedKeypoints = false, IEnumerable<EllipticKeyPoint>? providedKeypoints = null)
Parameters
imageInputArrayImage.
maskInputArrayMask specifying where to look for keypoints (optional).
descriptorsOutputArrayComputed descriptors.
useProvidedKeypointsboolIf true,
providedKeypointsis used as input instead of running detection.providedKeypointsIEnumerable<EllipticKeyPoint>Keypoints to use when
useProvidedKeypointsis true.
Returns
- EllipticKeyPoint[]
The elliptic keypoints (either newly detected, or the augmented input keypoints when
useProvidedKeypointsis true).
Remarks
OpenCV's native calcAffineCovariantDescriptors (opencv_contrib xfeatures2d/src/affine_feature2d.cpp) has been observed to throw an assertion failure when the wrapped descriptor extractor is ORB (a binary/CV_8U descriptor); SIFT-family extractors work correctly.