Home
last modified time | relevance | path

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

/external/opencv3/modules/flann/include/opencv2/flann/
Dautotuned_index.h231 KMeansIndex<Distance> kmeans(sampledDataset_, cost.params, distance_); in evaluate_kmeans()
234 kmeans.buildIndex(); in evaluate_kmeans()
239 …float searchTime = test_index_precision(kmeans, sampledDataset_, testDataset_, gt_matches_, target… in evaluate_kmeans()
242 cost.memoryCost = (kmeans.usedMemory() + datasetMemory) / datasetMemory; in evaluate_kmeans()
519 KMeansIndex<Distance>* kmeans = (KMeansIndex<Distance>*)bestIndex_; in estimateSearchParams() local
524 kmeans->set_cb_index(cb_index); in estimateSearchParams()
525 …searchTime = test_index_precision(*kmeans, dataset_, testDataset, gt_matches, target_precision_, c… in estimateSearchParams()
536 kmeans->set_cb_index(best_cb_index); in estimateSearchParams()
Dflann_base.hpp282 KMeansIndex<Distance> kmeans(points, params, d); in hierarchicalClustering() local
283 kmeans.buildIndex(); in hierarchicalClustering()
285 int clusterNum = kmeans.getClusterCenters(centers); in hierarchicalClustering()
/external/opencv3/modules/core/perf/
Dperf_math.cpp28 PERF_TEST_P( MaxDim_MaxPoints, kmeans,
55 kmeans(data, K, labels, TermCriteria(TermCriteria::MAX_ITER+TermCriteria::EPS, 30, 0), in TEST_CYCLE()
/external/opencv3/doc/py_tutorials/py_ml/py_kmeans/py_kmeans_opencv/
Dpy_kmeans_opencv.markdown7 - Learn to use **cv2.kmeans()** function in OpenCV for data clustering
79 compactness,labels,centers = cv2.kmeans(z,2,None,criteria,10,flags)
130 # define criteria and apply kmeans()
132 ret,label,center=cv2.kmeans(Z,2,None,criteria,10,cv2.KMEANS_RANDOM_CENTERS)
172 # define criteria, number of clusters(K) and apply kmeans()
175 ret,label,center=cv2.kmeans(Z,K,None,criteria,10,cv2.KMEANS_RANDOM_CENTERS)
/external/opencv3/samples/python2/
Dkmeans.py35 ret, labels, centers = cv2.kmeans(points, cluster_n, None, term_crit, 10, 0)
/external/opencv3/samples/cpp/
Dkmeans.cpp56 kmeans(points, clusterCount, labels, in main()
/external/opencv3/modules/features2d/src/
Dbagofwords.cpp114 kmeans( _descriptors, clusterCount, labels, termcrit, attempts, flags, vocabulary ); in cluster()
/external/opencv3/modules/ml/test/
Dtest_emknearestkmeans.cpp244kmeans( data, 3, bestLabels, TermCriteria( TermCriteria::COUNT, iters, 0.0), 0, KMEANS_PP_CENTERS,… in run()
257kmeans( data, 3, bestLabels, TermCriteria( TermCriteria::COUNT, iters, 0.0), 0, KMEANS_RANDOM_CENT… in run()
274kmeans( data, 3, bestLabels, TermCriteria( TermCriteria::COUNT, iters, 0.0), 0, KMEANS_USE_INITIAL… in run()
/external/opencv3/modules/imgproc/src/
Dgrabcut.cpp381 kmeans( _bgdSamples, GMM::componentsCount, bgdLabels, in initGMMs()
384 kmeans( _fgdSamples, GMM::componentsCount, fgdLabels, in initGMMs()
/external/opencv3/modules/core/src/
Dkmeans.cpp217 double cv::kmeans( InputArray _data, int K, in kmeans() function in cv
Dmatrix.cpp4242 double compactness = cv::kmeans(data, cluster_count, labels, termcrit, attempts, in cvKMeans2()
/external/opencv/ml/src/
Dmlem.cpp520 kmeans( train_data, nclusters, labels, cvTermCriteria( CV_TERMCRIT_ITER, in init_auto()
573 void CvEM::kmeans( const CvVectors& train_data, int nclusters, CvMat* labels, in kmeans() function in CvEM
/external/opencv3/modules/ml/src/
Dem.cpp415 kmeans(trainSamplesFlt, nclusters, labels, in clusterTrainSamples()
/external/opencv3/modules/core/include/opencv2/
Dcore.hpp2834 CV_EXPORTS_W double kmeans( InputArray data, int K, InputOutputArray bestLabels,
/external/opencv3/modules/java/src/
Dcore+Core.java332 …public static double kmeans(Mat data, int K, Mat bestLabels, TermCriteria criteria, int attempts, … in kmeans() method in Core
341 …public static double kmeans(Mat data, int K, Mat bestLabels, TermCriteria criteria, int attempts, … in kmeans() method in Core
Dcore.cpp313 …double _retval_ = cv::kmeans( data, (int)K, bestLabels, criteria, (int)attempts, (int)flags, cente… in Java_org_opencv_core_Core_kmeans_10()
336 … double _retval_ = cv::kmeans( data, (int)K, bestLabels, criteria, (int)attempts, (int)flags ); in Java_org_opencv_core_Core_kmeans_11()
/external/opencv3/modules/core/misc/java/test/
DCoreTest.java807 Core.kmeans(data, 2, labels, criteria, 1, Core.KMEANS_PP_CENTERS); in testKmeansMatIntMatTermCriteriaIntInt()
833 Core.kmeans(data, 2, labels, criteria, 6, Core.KMEANS_RANDOM_CENTERS, centers); in testKmeansMatIntMatTermCriteriaIntIntMat()
/external/opencv/ml/include/
Dml.h622 virtual void kmeans( const CvVectors& train_data, int nclusters,
/external/opencv3/modules/core/test/
Dtest_math.cpp2672kmeans(data, K, labels, TermCriteria(TermCriteria::MAX_ITER+TermCriteria::EPS, 30, 0), in run()
2717kmeans(data, K, labels, TermCriteria(TermCriteria::MAX_ITER+TermCriteria::EPS, 30, 0), in run()
/external/opencv3/modules/calib3d/src/
Dcirclesgrid.cpp1094kmeans(Mat(samples).reshape(1, 0), clustersCount, bestLabels, termCriteria, parameters.kmeansAttem… in findBasis()
/external/opencv3/
DAndroid.mk59 modules/core/src/kmeans.cpp \