Home
last modified time | relevance | path

Searched refs:KMeanCluster (Results 1 – 1 of 1) sorted by relevance

/external/chromium_org/ui/gfx/
Dcolor_analysis.cc32 class KMeanCluster { class
34 KMeanCluster() { in KMeanCluster() function in __anon41df96cc0111::KMeanCluster
111 static bool SortKMeanClusterByWeight(const KMeanCluster& a, in SortKMeanClusterByWeight()
112 const KMeanCluster& b) { in SortKMeanClusterByWeight()
222 std::vector<KMeanCluster> clusters; in CalculateKMeanColorOfBuffer()
223 clusters.resize(kNumberOfClusters, KMeanCluster()); in CalculateKMeanColorOfBuffer()
226 std::vector<KMeanCluster>::iterator cluster = clusters.begin(); in CalculateKMeanColorOfBuffer()
247 for (std::vector<KMeanCluster>::iterator in CalculateKMeanColorOfBuffer()
297 std::vector<KMeanCluster>::iterator closest_cluster = clusters.begin(); in CalculateKMeanColorOfBuffer()
300 for (std::vector<KMeanCluster>::iterator cluster = clusters.begin(); in CalculateKMeanColorOfBuffer()
[all …]