Searched refs:clusterCount (Results 1 – 4 of 4) sorted by relevance
/external/opencv3/samples/cpp/ |
D | kmeans.cpp | 35 int k, clusterCount = rng.uniform(2, MAX_CLUSTERS+1); in main() local 39 clusterCount = MIN(clusterCount, sampleCount); in main() 43 for( k = 0; k < clusterCount; k++ ) in main() 48 Mat pointChunk = points.rowRange(k*sampleCount/clusterCount, in main() 49 k == clusterCount - 1 ? sampleCount : in main() 50 (k+1)*sampleCount/clusterCount); in main() 56 kmeans(points, clusterCount, labels, in main()
|
/external/opencv3/modules/features2d/src/ |
D | bagofwords.cpp | 87 clusterCount(_clusterCount), termcrit(_termcrit), attempts(_attempts), flags(_flags) in BOWKMeansTrainer() 114 kmeans( _descriptors, clusterCount, labels, termcrit, attempts, flags, vocabulary ); in cluster() 177 int clusterCount = descriptorSize(); // = vocabulary.rows in compute() local 187 pointIdxsOfClusters->resize(clusterCount); in compute() 190 _imgDescriptor.create(1, clusterCount, descriptorType()); in compute()
|
/external/opencv3/modules/flann/include/opencv2/flann/ |
D | kmeans_index.h | 540 int clusterCount = getMinVarianceClusters(root_, clusters, numClusters, variance); in getClusterCenters() local 542 Logger::info("Clusters requested: %d, returning %d\n",numClusters, clusterCount); in getClusterCenters() 544 for (int i=0; i<clusterCount; ++i) { in getClusterCenters() 552 return clusterCount; in getClusterCenters() 1062 int clusterCount = 1; in getMinVarianceClusters() local 1067 while (clusterCount<clusters_length) { in getMinVarianceClusters() 1071 for (int i=0; i<clusterCount; ++i) { in getMinVarianceClusters() 1087 if ( (branching_+clusterCount-1) > clusters_length) break; in getMinVarianceClusters() 1095 clusters[clusterCount++] = toSplit->childs[i]; in getMinVarianceClusters() 1100 return clusterCount; in getMinVarianceClusters()
|
/external/opencv3/modules/features2d/include/opencv2/ |
D | features2d.hpp | 1200 CV_WRAP BOWKMeansTrainer( int clusterCount, const TermCriteria& termcrit=TermCriteria(), 1210 int clusterCount; member in cv::BOWKMeansTrainer
|