KNearest 468 modules/ml/include/opencv2/ml.hpp CV_WRAP static Ptr<KNearest> create(); KNearest 79 modules/ml/src/knearest.cpp bool update = (flags & ml::KNearest::UPDATE_MODEL) != 0 && !samples.empty(); KNearest 141 modules/ml/src/knearest.cpp int getType() const { return ml::KNearest::BRUTE_FORCE; } KNearest 365 modules/ml/src/knearest.cpp int getType() const { return ml::KNearest::KDTREE; } KNearest 435 modules/ml/src/knearest.cpp class KNearestImpl : public KNearest KNearest 512 modules/ml/src/knearest.cpp Ptr<KNearest> KNearest::create() KNearest 48 modules/ml/test/test_emknearestkmeans.cpp using cv::ml::KNearest; KNearest 317 modules/ml/test/test_emknearestkmeans.cpp Ptr<KNearest> knearest = KNearest::create(); KNearest 333 modules/ml/test/test_emknearestkmeans.cpp Ptr<KNearest> knearestKdt = KNearest::create(); KNearest 334 modules/ml/test/test_emknearestkmeans.cpp knearestKdt->setAlgorithmType(KNearest::KDTREE); KNearest 323 modules/ml/test/test_mltests2.cpp model = KNearest::create(); KNearest 477 modules/ml/test/test_mltests2.cpp model = Algorithm::load<KNearest>( filename ); KNearest 35 modules/ml/test/test_precomp.hpp using cv::ml::KNearest; KNearest 440 samples/cpp/letter_recog.cpp Ptr<KNearest> model = KNearest::create(); KNearest 116 samples/cpp/points_classifier.cpp Ptr<KNearest> knn = KNearest::create();