Method Detect
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
Detect(Mat, Mat?)
Detect keypoints in an image.
public KeyPoint[] Detect(Mat image, Mat? mask = null)
Parameters
imageMatThe image.
maskMatMask specifying where to look for keypoints (optional). Must be a char matrix with non-zero values in the region of interest.
Returns
- KeyPoint[]
The detected keypoints.
Detect(InputArray, InputArray)
Detect keypoints in an image.
public KeyPoint[] Detect(InputArray image, InputArray mask = default)
Parameters
imageInputArrayThe image.
maskInputArrayMask specifying where to look for keypoints (optional). Must be a char matrix with non-zero values in the region of interest.
Returns
- KeyPoint[]
The detected keypoints.
Detect(IEnumerable<Mat>, IEnumerable<Mat>?)
Detect keypoints in an image set.
public KeyPoint[][] Detect(IEnumerable<Mat> images, IEnumerable<Mat>? masks = null)
Parameters
imagesIEnumerable<Mat>Image collection.
masksIEnumerable<Mat>Masks for image set. masks[i] is a mask for images[i].
Returns
- KeyPoint[][]
Collection of keypoints detected in an input images. keypoints[i] is a set of keypoints detected in an images[i].