MATLAB File Help: cv.BOWKMeansTrainer/cluster Index
cv.BOWKMeansTrainer/cluster

Clusters train descriptors

centers = trainer.cluster()
centers = trainer.cluster(descs)

Input

Output

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.

See also
Method Details
Access public
Sealed false
Static false