sparkle
sparkle

Reputation: 185

Hierarchical Clustering in OpenCV

I need to use Agglomerative Hierarchical Clustering in OpenCV. When I searched the documentation, I found the following function. But it uses hierarchical k-means. k-means is a different technique. In theory, we study both as different clustering techniques. How is hierarchical k-means different from hierarchical clustering?

Documentation

I need to cluster some specific spatial locations within an image. Result is used for recognizing some objects.

Upvotes: 3

Views: 2611

Answers (1)

Ha Dang
Ha Dang

Reputation: 1238

Agglomerative Clustering is bottom-up clustering, and Divisive Clustering is top-down clustering. K-means is a flat clustering algorithm.

Given the characteristic of k-means, hierarchical K-means tree would be likely a top-down clustering.

So, I venture that opencv::flann::hierarchicalClustering is top-down clustering.

Upvotes: 1

Related Questions