| BOWKMeansTrainerCluster Method (Mat) |
Clusters train descriptors.
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax public override Mat Cluster(
Mat descriptors
)
Public Overrides Function Cluster (
descriptors As Mat
) As Mat
public:
virtual Mat^ Cluster(
Mat^ descriptors
) override
abstract Cluster :
descriptors : Mat -> Mat
override Cluster :
descriptors : Mat -> Mat
Parameters
- descriptors
- Type: OpenCvSharpMat
Descriptors to cluster. Each row of the descriptors matrix is a descriptor. Descriptors are not added to the inner train descriptor set.
The vocabulary consists of cluster centers. So, this method returns the vocabulary. In the first variant of the method, train descriptors stored in the object
are clustered.In the second variant, input descriptors are clustered.
Return Value
Type:
Mat[Missing <returns> documentation for "M:OpenCvSharp.BOWKMeansTrainer.Cluster(OpenCvSharp.Mat)"]
See Also