Table of Contents

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

image InputArray

The image.

keypoints KeyPoint[]

The input keypoints. Keypoints for which a descriptor cannot be computed are removed.

descriptors OutputArray

Computed 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

images IEnumerable<Mat>

Image collection.

keypoints KeyPoint[][]

Input keypoints collection. keypoints[i] is keypoints detected in images[i]. Keypoints for which a descriptor cannot be computed are removed.

descriptors IEnumerable<Mat>

Descriptor collection. descriptors[i] are descriptors computed for set keypoints[i].