| BOWImgDescriptorExtractorCompute Method (InputArray, OutputArray, Int32) |
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 keypointDescriptors,
OutputArray imgDescriptor,
out int[][] pointIdxsOfClusters
)
Public Sub Compute (
keypointDescriptors As InputArray,
imgDescriptor As OutputArray,
<OutAttribute> ByRef pointIdxsOfClusters As Integer()()
)
public:
void Compute(
InputArray^ keypointDescriptors,
OutputArray^ imgDescriptor,
[OutAttribute] array<array<int>^>^% pointIdxsOfClusters
)
member Compute :
keypointDescriptors : InputArray *
imgDescriptor : OutputArray *
pointIdxsOfClusters : int[][] byref -> unit
Parameters
- keypointDescriptors
- Type: OpenCvSharpInputArray
Computed descriptors to match with vocabulary. - imgDescriptor
- Type: OpenCvSharpOutputArray
Computed output image descriptor. - pointIdxsOfClusters
- Type: SystemInt32
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.
See Also