Searched refs:dsindices (Results 1 – 1 of 1) sorted by relevance
/external/opencv3/modules/flann/include/opencv2/flann/ |
D | hierarchical_clustering_index.h | 108 …void chooseCentersRandom(int k, int* dsindices, int indices_length, int* centers, int& centers_len… in chooseCentersRandom() argument 124 centers[index] = dsindices[rnd]; in chooseCentersRandom() 149 …void chooseCentersGonzales(int k, int* dsindices, int indices_length, int* centers, int& centers_l… in chooseCentersGonzales() argument 156 centers[0] = dsindices[rnd]; in chooseCentersGonzales() 164 … DistanceType dist = distance(dataset[centers[0]],dataset[dsindices[j]],dataset.cols); in chooseCentersGonzales() 166 … DistanceType tmp_dist = distance(dataset[centers[i]],dataset[dsindices[j]],dataset.cols); in chooseCentersGonzales() 177 centers[index] = dsindices[best_index]; in chooseCentersGonzales() 200 …void chooseCentersKMeanspp(int k, int* dsindices, int indices_length, int* centers, int& centers_l… in chooseCentersKMeanspp() argument 210 centers[0] = dsindices[index]; in chooseCentersKMeanspp() 215 … closestDistSq[i] = distance(dataset[dsindices[i]], dataset[dsindices[index]], dataset.cols); in chooseCentersKMeanspp() [all …]
|