OpenCV 中的层次聚类

Hierarchical Clustering in OpenCV

我需要在 OpenCV 中使用凝聚层次聚类。当我搜索文档时,我发现了以下功能。 但它使用分层 k-means。 k-means 是一种不同的技术。理论上,我们将两者作为不同的聚类技术进行研究。 分层 k 均值与分层聚类有何不同?

Documentation

我需要对图像中的一些特定空间位置进行聚类。结果用于识别某些对象。

Agglomerative Clustering is bottom-up clustering, and Divisive Clustering 是自上而下的聚类。 K-means 是一种平面聚类算法。

鉴于k-means的特性,分层K-means树很可能是自上而下的聚类。

所以,我敢说 opencv::flann::hierarchicalClustering 是自上而下的聚类。