BOWImgDescriptorExtractorCompute Method OpenCvSharp Class Library
Computes an image descriptor using the set visual vocabulary.

Namespace:  OpenCvSharp.CPlusPlus
Assembly:  OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public void Compute(
	Mat image,
	out KeyPoint[] keypoints,
	Mat imgDescriptor,
	out int[][] pointIdxsOfClusters,
	Mat descriptors = null
)

Parameters

image
Type: OpenCvSharp.CPlusPlusMat
Image, for which the descriptor is computed.
keypoints
Type: OpenCvSharp.CPlusPlusKeyPoint
Keypoints detected in the input image.
imgDescriptor
Type: OpenCvSharp.CPlusPlusMat
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: OpenCvSharp.CPlusPlusMat
Descriptors of the image keypoints that are returned if they are non-zero.
See Also

Reference