Click or drag to resize

BOWImgDescriptorExtractorCompute Method (InputArray, KeyPoint, OutputArray, Int32, Mat)

Computes an image descriptor using the set visual vocabulary.

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public void Compute(
	InputArray image,
	ref KeyPoint[] keypoints,
	OutputArray imgDescriptor,
	out int[][] pointIdxsOfClusters,
	Mat descriptors = null
)

Parameters

image
Type: OpenCvSharpInputArray
Image, for which the descriptor is computed.
keypoints
Type: OpenCvSharpKeyPoint
Keypoints detected in the input image.
imgDescriptor
Type: OpenCvSharpOutputArray
Computed output image descriptor.
pointIdxsOfClusters
Type: SystemInt32
pointIdxsOfClusters Indices of keypoints that belong to the cluster. This means that pointIdxsOfClusters[i] are keypoint indices that belong to the i -th cluster(word of vocabulary) returned if it is non-zero.
descriptors (Optional)
Type: OpenCvSharpMat
Descriptors of the image keypoints that are returned if they are non-zero.
See Also