detects keypoints and computes the SIFT descriptors for them.
Namespace: OpenCvSharp.CPlusPlus
Assembly: OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public void Run( InputArray img, InputArray mask, out KeyPoint[] keypoints, OutputArray descriptors, bool useProvidedKeypoints = false )
Parameters
- img
- Type: OpenCvSharp.CPlusPlusInputArray
Input 8-bit grayscale image - mask
- Type: OpenCvSharp.CPlusPlusInputArray
Optional input mask that marks the regions where we should detect features. - keypoints
- Type: OpenCvSharp.CPlusPlusKeyPoint
The input/output vector of keypoints - descriptors
- Type: OpenCvSharp.CPlusPlusOutputArray
The output matrix of descriptors. - useProvidedKeypoints (Optional)
- Type: SystemBoolean
Boolean flag. If it is true, the keypoint detector is not run. Instead, the provided vector of keypoints is used and the algorithm just computes their descriptors.
See Also