train            1378 apps/traincascade/boost.cpp         if( !tree->train( data, subsample_mask, this ) )
train              67 apps/traincascade/boost.h     virtual bool train( const CvFeatureEvaluator* _featureEvaluator,
train             228 apps/traincascade/cascadeclassifier.cpp         bool isStageTrained = tempStage->train( featureEvaluator,
train              88 apps/traincascade/cascadeclassifier.h     bool train( const std::string _cascadeDirName,
train             200 apps/traincascade/old_ml.hpp     virtual bool train( const CvMat* trainData, const CvMat* responses,
train             208 apps/traincascade/old_ml.hpp     CV_WRAP virtual bool train( const cv::Mat& trainData, const cv::Mat& responses,
train             245 apps/traincascade/old_ml.hpp     virtual bool train( const CvMat* trainData, const CvMat* responses,
train             255 apps/traincascade/old_ml.hpp     CV_WRAP virtual bool train( const cv::Mat& trainData, const cv::Mat& responses,
train             476 apps/traincascade/old_ml.hpp     virtual bool train( const CvMat* trainData, const CvMat* responses,
train             498 apps/traincascade/old_ml.hpp     CV_WRAP virtual bool train( const cv::Mat& trainData, const cv::Mat& responses,
train             774 apps/traincascade/old_ml.hpp     virtual bool train( const CvMat* trainData, int tflag,
train             780 apps/traincascade/old_ml.hpp     virtual bool train( CvMLData* trainData, CvDTreeParams params=CvDTreeParams() );
train             785 apps/traincascade/old_ml.hpp     virtual bool train( CvDTreeTrainData* trainData, const CvMat* subsampleIdx );
train             790 apps/traincascade/old_ml.hpp     CV_WRAP virtual bool train( const cv::Mat& trainData, int tflag,
train             876 apps/traincascade/old_ml.hpp     virtual bool train( CvDTreeTrainData* trainData, const CvMat* _subsample_idx, CvRTrees* forest );
train             882 apps/traincascade/old_ml.hpp     virtual bool train( const CvMat* trainData, int tflag,
train             888 apps/traincascade/old_ml.hpp     virtual bool train( CvDTreeTrainData* trainData, const CvMat* _subsample_idx );
train             923 apps/traincascade/old_ml.hpp     virtual bool train( const CvMat* trainData, int tflag,
train             929 apps/traincascade/old_ml.hpp     virtual bool train( CvMLData* data, CvRTParams params=CvRTParams() );
train             933 apps/traincascade/old_ml.hpp     CV_WRAP virtual bool train( const cv::Mat& trainData, int tflag,
train            1024 apps/traincascade/old_ml.hpp     virtual bool train( const CvMat* trainData, int tflag,
train            1029 apps/traincascade/old_ml.hpp     CV_WRAP virtual bool train( const cv::Mat& trainData, int tflag,
train            1034 apps/traincascade/old_ml.hpp     virtual bool train( CvMLData* data, CvRTParams params=CvRTParams() );
train            1066 apps/traincascade/old_ml.hpp     virtual bool train( CvDTreeTrainData* trainData,
train            1075 apps/traincascade/old_ml.hpp     virtual bool train( const CvMat* trainData, int tflag,
train            1080 apps/traincascade/old_ml.hpp     virtual bool train( CvDTreeTrainData* trainData, const CvMat* _subsample_idx );
train            1125 apps/traincascade/old_ml.hpp     virtual bool train( const CvMat* trainData, int tflag,
train            1132 apps/traincascade/old_ml.hpp     virtual bool train( CvMLData* data,
train            1146 apps/traincascade/old_ml.hpp     CV_WRAP virtual bool train( const cv::Mat& trainData, int tflag,
train            1419 apps/traincascade/old_ml.hpp     virtual bool train( const CvMat* trainData, int tflag,
train            1443 apps/traincascade/old_ml.hpp     virtual bool train( CvMLData* data,
train            1585 apps/traincascade/old_ml.hpp     CV_WRAP virtual bool train( const cv::Mat& trainData, int tflag,
train            1820 apps/traincascade/old_ml.hpp     virtual int train( const CvMat* inputs, const CvMat* outputs,
train            1834 apps/traincascade/old_ml.hpp     CV_WRAP virtual int train( const cv::Mat& inputs, const cv::Mat& outputs,
train             977 apps/traincascade/old_ml_boost.cpp     train( _train_data, _tflag, _responses, _var_idx, _sample_idx,
train            1068 apps/traincascade/old_ml_boost.cpp         if( !tree->train( data, subsample_mask, this ) )
train            1113 apps/traincascade/old_ml_boost.cpp     CV_CALL( result = train( values, CV_ROW_SAMPLE, response, var_idx,
train            2113 apps/traincascade/old_ml_boost.cpp     train( _train_data, _tflag, _responses, _var_idx, _sample_idx,
train            2132 apps/traincascade/old_ml_boost.cpp     return train(&train_data_hdr, _tflag, &responses_hdr, vidx.data.ptr ? &vidx : 0,
train            1602 apps/traincascade/old_ml_tree.cpp     return train(&train_data_hdr, _tflag, &responses_hdr, vidx.data.ptr ? &vidx : 0, sidx.data.ptr ? &sidx : 0,
train            1622 apps/traincascade/old_ml_tree.cpp     CV_CALL( result = train( values, CV_ROW_SAMPLE, response, var_idx,
train             112 apps/traincascade/traincascade.cpp     classifier.train( cascadeDirName,
train             132 modules/cudafeatures2d/include/opencv2/cudafeatures2d.hpp     virtual void train() = 0;
train             165 modules/cudafeatures2d/perf/perf_features2d.cpp     cv::Mat train(3000, desc_size, type);
train             166 modules/cudafeatures2d/perf/perf_features2d.cpp     declare.in(train, WARMUP_RNG);
train             173 modules/cudafeatures2d/perf/perf_features2d.cpp         const cv::cuda::GpuMat d_train(train);
train             189 modules/cudafeatures2d/perf/perf_features2d.cpp         TEST_CYCLE() matcher.match(query, train, cpu_matches);
train             224 modules/cudafeatures2d/perf/perf_features2d.cpp     cv::Mat train(3000, desc_size, type);
train             225 modules/cudafeatures2d/perf/perf_features2d.cpp     declare.in(train, WARMUP_RNG);
train             232 modules/cudafeatures2d/perf/perf_features2d.cpp         const cv::cuda::GpuMat d_train(train);
train             251 modules/cudafeatures2d/perf/perf_features2d.cpp         TEST_CYCLE() matcher.knnMatch(query, train, matchesTbl, k);
train             278 modules/cudafeatures2d/perf/perf_features2d.cpp     cv::Mat train(3000, desc_size, type);
train             279 modules/cudafeatures2d/perf/perf_features2d.cpp     declare.in(train, WARMUP_RNG);
train             286 modules/cudafeatures2d/perf/perf_features2d.cpp         const cv::cuda::GpuMat d_train(train);
train             305 modules/cudafeatures2d/perf/perf_features2d.cpp         TEST_CYCLE() matcher.radiusMatch(query, train, matchesTbl, maxDistance);
train              58 modules/cudafeatures2d/src/brute_force_matcher.cpp         template <typename T> void matchL1_gpu(const PtrStepSzb& query, const PtrStepSzb& train, const PtrStepSzb& mask,
train              61 modules/cudafeatures2d/src/brute_force_matcher.cpp         template <typename T> void matchL2_gpu(const PtrStepSzb& query, const PtrStepSzb& train, const PtrStepSzb& mask,
train              64 modules/cudafeatures2d/src/brute_force_matcher.cpp         template <typename T> void matchHamming_gpu(const PtrStepSzb& query, const PtrStepSzb& train, const PtrStepSzb& mask,
train              81 modules/cudafeatures2d/src/brute_force_matcher.cpp         template <typename T> void matchL1_gpu(const PtrStepSzb& query, const PtrStepSzb& train, int k, const PtrStepSzb& mask,
train              84 modules/cudafeatures2d/src/brute_force_matcher.cpp         template <typename T> void matchL2_gpu(const PtrStepSzb& query, const PtrStepSzb& train, int k, const PtrStepSzb& mask,
train              87 modules/cudafeatures2d/src/brute_force_matcher.cpp         template <typename T> void matchHamming_gpu(const PtrStepSzb& query, const PtrStepSzb& train, int k, const PtrStepSzb& mask,
train             104 modules/cudafeatures2d/src/brute_force_matcher.cpp         template <typename T> void matchL1_gpu(const PtrStepSzb& query, const PtrStepSzb& train, float maxDistance, const PtrStepSzb& mask,
train             107 modules/cudafeatures2d/src/brute_force_matcher.cpp         template <typename T> void matchL2_gpu(const PtrStepSzb& query, const PtrStepSzb& train, float maxDistance, const PtrStepSzb& mask,
train             110 modules/cudafeatures2d/src/brute_force_matcher.cpp         template <typename T> void matchHamming_gpu(const PtrStepSzb& query, const PtrStepSzb& train, float maxDistance, const PtrStepSzb& mask,
train             162 modules/cudafeatures2d/src/brute_force_matcher.cpp                 const GpuMat& train = trainDescCollection[i];
train             165 modules/cudafeatures2d/src/brute_force_matcher.cpp                 CV_Assert( mask.empty() || (mask.type() == CV_8UC1 && mask.cols == train.rows) );
train             167 modules/cudafeatures2d/src/brute_force_matcher.cpp                 *trainCollectionCPU_ptr = train;
train             322 modules/cudafeatures2d/src/brute_force_matcher.cpp         const GpuMat train = _trainDescriptors.getGpuMat();
train             325 modules/cudafeatures2d/src/brute_force_matcher.cpp         if (query.empty() || train.empty())
train             332 modules/cudafeatures2d/src/brute_force_matcher.cpp         CV_Assert( train.cols == query.cols && train.type() == query.type() );
train             333 modules/cudafeatures2d/src/brute_force_matcher.cpp         CV_Assert( mask.empty() || (mask.type() == CV_8UC1 && mask.rows == query.rows && mask.cols == train.rows) );
train             335 modules/cudafeatures2d/src/brute_force_matcher.cpp         typedef void (*caller_t)(const PtrStepSzb& query, const PtrStepSzb& train, const PtrStepSzb& mask,
train             374 modules/cudafeatures2d/src/brute_force_matcher.cpp         func(query, train, mask, trainIdx, distance, StreamAccessor::getStream(stream));
train             582 modules/cudafeatures2d/src/brute_force_matcher.cpp         const GpuMat train = _trainDescriptors.getGpuMat();
train             585 modules/cudafeatures2d/src/brute_force_matcher.cpp         if (query.empty() || train.empty())
train             592 modules/cudafeatures2d/src/brute_force_matcher.cpp         CV_Assert( train.cols == query.cols && train.type() == query.type() );
train             593 modules/cudafeatures2d/src/brute_force_matcher.cpp         CV_Assert( mask.empty() || (mask.type() == CV_8UC1 && mask.rows == query.rows && mask.cols == train.rows) );
train             595 modules/cudafeatures2d/src/brute_force_matcher.cpp         typedef void (*caller_t)(const PtrStepSzb& query, const PtrStepSzb& train, int k, const PtrStepSzb& mask,
train             627 modules/cudafeatures2d/src/brute_force_matcher.cpp         const int nTrain = train.rows;
train             652 modules/cudafeatures2d/src/brute_force_matcher.cpp         func(query, train, k, mask, trainIdx, distance, allDist, StreamAccessor::getStream(stream));
train             851 modules/cudafeatures2d/src/brute_force_matcher.cpp         const GpuMat train = _trainDescriptors.getGpuMat();
train             854 modules/cudafeatures2d/src/brute_force_matcher.cpp         if (query.empty() || train.empty())
train             861 modules/cudafeatures2d/src/brute_force_matcher.cpp         CV_Assert( train.cols == query.cols && train.type() == query.type() );
train             862 modules/cudafeatures2d/src/brute_force_matcher.cpp         CV_Assert( mask.empty() || (mask.type() == CV_8UC1 && mask.rows == query.rows && mask.cols == train.rows) );
train             864 modules/cudafeatures2d/src/brute_force_matcher.cpp         typedef void (*caller_t)(const PtrStepSzb& query, const PtrStepSzb& train, float maxDistance, const PtrStepSzb& mask,
train             896 modules/cudafeatures2d/src/brute_force_matcher.cpp         const int nTrain = train.rows;
train             909 modules/cudafeatures2d/src/brute_force_matcher.cpp         func(query, train, maxDistance, mask, trainIdx, distance, nMatches, StreamAccessor::getStream(stream));
train             236 modules/cudafeatures2d/test/test_features2d.cpp     cv::Mat query, train;
train             282 modules/cudafeatures2d/test/test_features2d.cpp         trainBuf.convertTo(train, CV_32F);
train             294 modules/cudafeatures2d/test/test_features2d.cpp         mask.create(query.rows, train.rows, CV_8UC1);
train             299 modules/cudafeatures2d/test/test_features2d.cpp     matcher->match(loadMat(query), loadMat(train), matches, mask);
train             319 modules/cudafeatures2d/test/test_features2d.cpp     cv::cuda::GpuMat d_train(train);
train             322 modules/cudafeatures2d/test/test_features2d.cpp     matcher->add(std::vector<cv::cuda::GpuMat>(1, d_train.rowRange(0, train.rows / 2)));
train             323 modules/cudafeatures2d/test/test_features2d.cpp     matcher->add(std::vector<cv::cuda::GpuMat>(1, d_train.rowRange(train.rows / 2, train.rows)));
train             329 modules/cudafeatures2d/test/test_features2d.cpp         masks[mi] = cv::cuda::GpuMat(query.rows, train.rows/2, CV_8UC1, cv::Scalar::all(1));
train             379 modules/cudafeatures2d/test/test_features2d.cpp         mask.create(query.rows, train.rows, CV_8UC1);
train             384 modules/cudafeatures2d/test/test_features2d.cpp     matcher->knnMatch(loadMat(query), loadMat(train), matches, knn, mask);
train             419 modules/cudafeatures2d/test/test_features2d.cpp         mask.create(query.rows, train.rows, CV_8UC1);
train             424 modules/cudafeatures2d/test/test_features2d.cpp     matcher->knnMatch(loadMat(query), loadMat(train), matches, knn, mask);
train             456 modules/cudafeatures2d/test/test_features2d.cpp     cv::cuda::GpuMat d_train(train);
train             459 modules/cudafeatures2d/test/test_features2d.cpp     matcher->add(std::vector<cv::cuda::GpuMat>(1, d_train.rowRange(0, train.rows / 2)));
train             460 modules/cudafeatures2d/test/test_features2d.cpp     matcher->add(std::vector<cv::cuda::GpuMat>(1, d_train.rowRange(train.rows / 2, train.rows)));
train             466 modules/cudafeatures2d/test/test_features2d.cpp         masks[mi] = cv::cuda::GpuMat(query.rows, train.rows / 2, CV_8UC1, cv::Scalar::all(1));
train             519 modules/cudafeatures2d/test/test_features2d.cpp     cv::cuda::GpuMat d_train(train);
train             522 modules/cudafeatures2d/test/test_features2d.cpp     matcher->add(std::vector<cv::cuda::GpuMat>(1, d_train.rowRange(0, train.rows / 2)));
train             523 modules/cudafeatures2d/test/test_features2d.cpp     matcher->add(std::vector<cv::cuda::GpuMat>(1, d_train.rowRange(train.rows / 2, train.rows)));
train             529 modules/cudafeatures2d/test/test_features2d.cpp         masks[mi] = cv::cuda::GpuMat(query.rows, train.rows / 2, CV_8UC1, cv::Scalar::all(1));
train             587 modules/cudafeatures2d/test/test_features2d.cpp             matcher->radiusMatch(loadMat(query), loadMat(train), matches, radius);
train             599 modules/cudafeatures2d/test/test_features2d.cpp             mask.create(query.rows, train.rows, CV_8UC1);
train             604 modules/cudafeatures2d/test/test_features2d.cpp         matcher->radiusMatch(loadMat(query), loadMat(train), matches, radius, mask);
train             633 modules/cudafeatures2d/test/test_features2d.cpp     cv::cuda::GpuMat d_train(train);
train             636 modules/cudafeatures2d/test/test_features2d.cpp     matcher->add(std::vector<cv::cuda::GpuMat>(1, d_train.rowRange(0, train.rows / 2)));
train             637 modules/cudafeatures2d/test/test_features2d.cpp     matcher->add(std::vector<cv::cuda::GpuMat>(1, d_train.rowRange(train.rows / 2, train.rows)));
train             643 modules/cudafeatures2d/test/test_features2d.cpp         masks[mi] = cv::cuda::GpuMat(query.rows, train.rows / 2, CV_8UC1, cv::Scalar::all(1));
train             783 modules/features2d/include/opencv2/features2d.hpp     CV_WRAP virtual void train();
train            1018 modules/features2d/include/opencv2/features2d.hpp     virtual void train();
train             199 modules/features2d/misc/java/src/cpp/features2d_manual.hpp     CV_WRAP void train()
train             200 modules/features2d/misc/java/src/cpp/features2d_manual.hpp     { return wrapped->train(); }
train             111 modules/features2d/misc/java/test/BruteForceDescriptorMatcherTest.java         Mat train = new Mat(1, 1, CvType.CV_8U, new Scalar(123));
train             112 modules/features2d/misc/java/test/BruteForceDescriptorMatcherTest.java         Mat truth = train.clone();
train             113 modules/features2d/misc/java/test/BruteForceDescriptorMatcherTest.java         matcher.add(Arrays.asList(train));
train             142 modules/features2d/misc/java/test/BruteForceDescriptorMatcherTest.java         Mat train = new Mat(1, 1, CvType.CV_8U, new Scalar(123));
train             143 modules/features2d/misc/java/test/BruteForceDescriptorMatcherTest.java         Mat truth = train.clone();
train             144 modules/features2d/misc/java/test/BruteForceDescriptorMatcherTest.java         matcher.add(Arrays.asList(train));
train             170 modules/features2d/misc/java/test/BruteForceDescriptorMatcherTest.java         Mat train = getTrainDescriptors();
train             173 modules/features2d/misc/java/test/BruteForceDescriptorMatcherTest.java         matcher.knnMatch(query, train, matches, k);
train             186 modules/features2d/misc/java/test/BruteForceDescriptorMatcherTest.java             assertTrue(Math.min(k, train.rows()) >= vdm.total());
train             203 modules/features2d/misc/java/test/BruteForceDescriptorMatcherTest.java         Mat train = getTrainDescriptors();
train             206 modules/features2d/misc/java/test/BruteForceDescriptorMatcherTest.java         matcher.add(Arrays.asList(train));
train             214 modules/features2d/misc/java/test/BruteForceDescriptorMatcherTest.java         Mat train = getTrainDescriptors();
train             218 modules/features2d/misc/java/test/BruteForceDescriptorMatcherTest.java         matcher.add(Arrays.asList(train));
train             226 modules/features2d/misc/java/test/BruteForceDescriptorMatcherTest.java         Mat train = getTrainDescriptors();
train             230 modules/features2d/misc/java/test/BruteForceDescriptorMatcherTest.java         matcher.match(query, train, matches);
train             240 modules/features2d/misc/java/test/BruteForceDescriptorMatcherTest.java         Mat train = getTrainDescriptors();
train             245 modules/features2d/misc/java/test/BruteForceDescriptorMatcherTest.java         matcher.match(query, train, matches, mask);
train             283 modules/features2d/misc/java/test/BruteForceDescriptorMatcherTest.java         matcher.train();// BruteforceMatcher does not need to train
train              95 modules/features2d/misc/java/test/BruteForceHammingDescriptorMatcherTest.java         Mat train = new Mat(1, 1, CvType.CV_8U, new Scalar(123));
train              96 modules/features2d/misc/java/test/BruteForceHammingDescriptorMatcherTest.java         Mat truth = train.clone();
train              97 modules/features2d/misc/java/test/BruteForceHammingDescriptorMatcherTest.java         matcher.add(Arrays.asList(train));
train             126 modules/features2d/misc/java/test/BruteForceHammingDescriptorMatcherTest.java         Mat train = new Mat(1, 1, CvType.CV_8U, new Scalar(123));
train             127 modules/features2d/misc/java/test/BruteForceHammingDescriptorMatcherTest.java         Mat truth = train.clone();
train             128 modules/features2d/misc/java/test/BruteForceHammingDescriptorMatcherTest.java         matcher.add(Arrays.asList(train));
train             165 modules/features2d/misc/java/test/BruteForceHammingDescriptorMatcherTest.java         Mat train = getTrainDescriptors();
train             168 modules/features2d/misc/java/test/BruteForceHammingDescriptorMatcherTest.java         matcher.add(Arrays.asList(train));
train             176 modules/features2d/misc/java/test/BruteForceHammingDescriptorMatcherTest.java         Mat train = getTrainDescriptors();
train             180 modules/features2d/misc/java/test/BruteForceHammingDescriptorMatcherTest.java         matcher.add(Arrays.asList(train));
train             188 modules/features2d/misc/java/test/BruteForceHammingDescriptorMatcherTest.java         Mat train = getTrainDescriptors();
train             192 modules/features2d/misc/java/test/BruteForceHammingDescriptorMatcherTest.java         matcher.match(query, train, matches);
train             198 modules/features2d/misc/java/test/BruteForceHammingDescriptorMatcherTest.java         Mat train = getTrainDescriptors();
train             203 modules/features2d/misc/java/test/BruteForceHammingDescriptorMatcherTest.java         matcher.match(query, train, matches, mask);
train             209 modules/features2d/misc/java/test/BruteForceHammingDescriptorMatcherTest.java         Mat train = getTrainDescriptors();
train             213 modules/features2d/misc/java/test/BruteForceHammingDescriptorMatcherTest.java         matcher.radiusMatch(query, train, matches, 50.f);
train             251 modules/features2d/misc/java/test/BruteForceHammingDescriptorMatcherTest.java         matcher.train();// BruteforceMatcher does not need to train
train              94 modules/features2d/misc/java/test/BruteForceHammingLUTDescriptorMatcherTest.java         Mat train = new Mat(1, 1, CvType.CV_8U, new Scalar(123));
train              95 modules/features2d/misc/java/test/BruteForceHammingLUTDescriptorMatcherTest.java         Mat truth = train.clone();
train              96 modules/features2d/misc/java/test/BruteForceHammingLUTDescriptorMatcherTest.java         matcher.add(Arrays.asList(train));
train             125 modules/features2d/misc/java/test/BruteForceHammingLUTDescriptorMatcherTest.java         Mat train = new Mat(1, 1, CvType.CV_8U, new Scalar(123));
train             126 modules/features2d/misc/java/test/BruteForceHammingLUTDescriptorMatcherTest.java         Mat truth = train.clone();
train             127 modules/features2d/misc/java/test/BruteForceHammingLUTDescriptorMatcherTest.java         matcher.add(Arrays.asList(train));
train             164 modules/features2d/misc/java/test/BruteForceHammingLUTDescriptorMatcherTest.java         Mat train = getTrainDescriptors();
train             167 modules/features2d/misc/java/test/BruteForceHammingLUTDescriptorMatcherTest.java         matcher.add(Arrays.asList(train));
train             175 modules/features2d/misc/java/test/BruteForceHammingLUTDescriptorMatcherTest.java         Mat train = getTrainDescriptors();
train             179 modules/features2d/misc/java/test/BruteForceHammingLUTDescriptorMatcherTest.java         matcher.add(Arrays.asList(train));
train             187 modules/features2d/misc/java/test/BruteForceHammingLUTDescriptorMatcherTest.java         Mat train = getTrainDescriptors();
train             191 modules/features2d/misc/java/test/BruteForceHammingLUTDescriptorMatcherTest.java         matcher.match(query, train, matches);
train             203 modules/features2d/misc/java/test/BruteForceHammingLUTDescriptorMatcherTest.java         Mat train = getTrainDescriptors();
train             208 modules/features2d/misc/java/test/BruteForceHammingLUTDescriptorMatcherTest.java         matcher.match(query, train, matches, mask);
train             246 modules/features2d/misc/java/test/BruteForceHammingLUTDescriptorMatcherTest.java         matcher.train();// BruteforceMatcher does not need to train
train             111 modules/features2d/misc/java/test/BruteForceL1DescriptorMatcherTest.java         Mat train = new Mat(1, 1, CvType.CV_8U, new Scalar(123));
train             112 modules/features2d/misc/java/test/BruteForceL1DescriptorMatcherTest.java         Mat truth = train.clone();
train             113 modules/features2d/misc/java/test/BruteForceL1DescriptorMatcherTest.java         matcher.add(Arrays.asList(train));
train             142 modules/features2d/misc/java/test/BruteForceL1DescriptorMatcherTest.java         Mat train = new Mat(1, 1, CvType.CV_8U, new Scalar(123));
train             143 modules/features2d/misc/java/test/BruteForceL1DescriptorMatcherTest.java         Mat truth = train.clone();
train             144 modules/features2d/misc/java/test/BruteForceL1DescriptorMatcherTest.java         matcher.add(Arrays.asList(train));
train             181 modules/features2d/misc/java/test/BruteForceL1DescriptorMatcherTest.java         Mat train = getTrainDescriptors();
train             184 modules/features2d/misc/java/test/BruteForceL1DescriptorMatcherTest.java         matcher.add(Arrays.asList(train));
train             192 modules/features2d/misc/java/test/BruteForceL1DescriptorMatcherTest.java         Mat train = getTrainDescriptors();
train             196 modules/features2d/misc/java/test/BruteForceL1DescriptorMatcherTest.java         matcher.add(Arrays.asList(train));
train             204 modules/features2d/misc/java/test/BruteForceL1DescriptorMatcherTest.java         Mat train = getTrainDescriptors();
train             208 modules/features2d/misc/java/test/BruteForceL1DescriptorMatcherTest.java         matcher.match(query, train, matches);
train             214 modules/features2d/misc/java/test/BruteForceL1DescriptorMatcherTest.java         Mat train = getTrainDescriptors();
train             219 modules/features2d/misc/java/test/BruteForceL1DescriptorMatcherTest.java         matcher.match(query, train, matches, mask);
train             257 modules/features2d/misc/java/test/BruteForceL1DescriptorMatcherTest.java         matcher.train();// BruteforceMatcher does not need to train
train             116 modules/features2d/misc/java/test/BruteForceSL2DescriptorMatcherTest.java         Mat train = new Mat(1, 1, CvType.CV_8U, new Scalar(123));
train             117 modules/features2d/misc/java/test/BruteForceSL2DescriptorMatcherTest.java         Mat truth = train.clone();
train             118 modules/features2d/misc/java/test/BruteForceSL2DescriptorMatcherTest.java         matcher.add(Arrays.asList(train));
train             147 modules/features2d/misc/java/test/BruteForceSL2DescriptorMatcherTest.java         Mat train = new Mat(1, 1, CvType.CV_8U, new Scalar(123));
train             148 modules/features2d/misc/java/test/BruteForceSL2DescriptorMatcherTest.java         Mat truth = train.clone();
train             149 modules/features2d/misc/java/test/BruteForceSL2DescriptorMatcherTest.java         matcher.add(Arrays.asList(train));
train             186 modules/features2d/misc/java/test/BruteForceSL2DescriptorMatcherTest.java         Mat train = getTrainDescriptors();
train             189 modules/features2d/misc/java/test/BruteForceSL2DescriptorMatcherTest.java         matcher.add(Arrays.asList(train));
train             200 modules/features2d/misc/java/test/BruteForceSL2DescriptorMatcherTest.java         Mat train = getTrainDescriptors();
train             204 modules/features2d/misc/java/test/BruteForceSL2DescriptorMatcherTest.java         matcher.add(Arrays.asList(train));
train             212 modules/features2d/misc/java/test/BruteForceSL2DescriptorMatcherTest.java         Mat train = getTrainDescriptors();
train             216 modules/features2d/misc/java/test/BruteForceSL2DescriptorMatcherTest.java         matcher.match(query, train, matches);
train             226 modules/features2d/misc/java/test/BruteForceSL2DescriptorMatcherTest.java         Mat train = getTrainDescriptors();
train             231 modules/features2d/misc/java/test/BruteForceSL2DescriptorMatcherTest.java         matcher.match(query, train, matches, mask);
train             269 modules/features2d/misc/java/test/BruteForceSL2DescriptorMatcherTest.java         matcher.train();// BruteforceMatcher does not need to train
train             184 modules/features2d/misc/java/test/FlannBasedDescriptorMatcherTest.java         Mat train = new Mat(1, 1, CvType.CV_8U, new Scalar(123));
train             185 modules/features2d/misc/java/test/FlannBasedDescriptorMatcherTest.java         matcher.add(Arrays.asList(train));
train             213 modules/features2d/misc/java/test/FlannBasedDescriptorMatcherTest.java         Mat train = new Mat(1, 1, CvType.CV_8U, new Scalar(123));
train             214 modules/features2d/misc/java/test/FlannBasedDescriptorMatcherTest.java         Mat truth = train.clone();
train             215 modules/features2d/misc/java/test/FlannBasedDescriptorMatcherTest.java         matcher.add(Arrays.asList(train));
train             252 modules/features2d/misc/java/test/FlannBasedDescriptorMatcherTest.java         Mat train = getTrainDescriptors();
train             255 modules/features2d/misc/java/test/FlannBasedDescriptorMatcherTest.java         matcher.add(Arrays.asList(train));
train             256 modules/features2d/misc/java/test/FlannBasedDescriptorMatcherTest.java         matcher.train();
train             264 modules/features2d/misc/java/test/FlannBasedDescriptorMatcherTest.java         Mat train = getTrainDescriptors();
train             268 modules/features2d/misc/java/test/FlannBasedDescriptorMatcherTest.java         matcher.add(Arrays.asList(train));
train             269 modules/features2d/misc/java/test/FlannBasedDescriptorMatcherTest.java         matcher.train();
train             277 modules/features2d/misc/java/test/FlannBasedDescriptorMatcherTest.java         Mat train = getTrainDescriptors();
train             281 modules/features2d/misc/java/test/FlannBasedDescriptorMatcherTest.java         matcher.match(query, train, matches);
train             290 modules/features2d/misc/java/test/FlannBasedDescriptorMatcherTest.java         Mat train = getTrainDescriptors();
train             295 modules/features2d/misc/java/test/FlannBasedDescriptorMatcherTest.java         matcher.match(query, train, matches, mask);
train             336 modules/features2d/misc/java/test/FlannBasedDescriptorMatcherTest.java         Mat train = getTrainDescriptors();
train             337 modules/features2d/misc/java/test/FlannBasedDescriptorMatcherTest.java         matcher.add(Arrays.asList(train));
train             338 modules/features2d/misc/java/test/FlannBasedDescriptorMatcherTest.java         matcher.train();
train             343 modules/features2d/misc/java/test/FlannBasedDescriptorMatcherTest.java             matcher.train();
train              20 modules/features2d/perf/perf_batchDistance.cpp void generateData( Mat& query, Mat& train, const int sourceType );
train             134 modules/features2d/perf/perf_batchDistance.cpp void generateData( Mat& query, Mat& train, const int sourceType )
train             152 modules/features2d/perf/perf_batchDistance.cpp     train.create( query.rows*countFactor, query.cols, sourceType );
train             160 modules/features2d/perf/perf_batchDistance.cpp             Mat trainDescriptor = train.row(tIdx);
train              63 modules/features2d/src/matchers.cpp static bool ocl_matchSingle(InputArray query, InputArray train,
train              66 modules/features2d/src/matchers.cpp     if (query.empty() || train.empty())
train              77 modules/features2d/src/matchers.cpp     UMat uquery = query.getUMat(), utrain = train.getUMat();
train             161 modules/features2d/src/matchers.cpp static bool ocl_knnMatchSingle(InputArray query, InputArray train, UMat &trainIdx,
train             164 modules/features2d/src/matchers.cpp     if (query.empty() || train.empty())
train             177 modules/features2d/src/matchers.cpp     UMat uquery = query.getUMat(), utrain = train.getUMat();
train             273 modules/features2d/src/matchers.cpp static bool ocl_radiusMatchSingle(InputArray query, InputArray train,
train             276 modules/features2d/src/matchers.cpp     if (query.empty() || train.empty())
train             280 modules/features2d/src/matchers.cpp     const int train_rows = train.rows();
train             293 modules/features2d/src/matchers.cpp     UMat uquery = query.getUMat(), utrain = train.getUMat();
train             629 modules/features2d/src/matchers.cpp     train();
train             644 modules/features2d/src/matchers.cpp     train();
train              67 modules/features2d/test/ocl/test_brute_force_matcher.cpp     Mat query, train;
train             108 modules/features2d/test/ocl/test_brute_force_matcher.cpp         trainBuf.convertTo(train, CV_32F);
train             110 modules/features2d/test/ocl/test_brute_force_matcher.cpp         train.copyTo(utrain);
train              67 modules/features2d/test/test_matchers_algorithmic.cpp     void generateData( Mat& query, Mat& train );
train              70 modules/features2d/test/test_matchers_algorithmic.cpp     void matchTest( const Mat& query, const Mat& train );
train              71 modules/features2d/test/test_matchers_algorithmic.cpp     void knnMatchTest( const Mat& query, const Mat& train );
train              72 modules/features2d/test/test_matchers_algorithmic.cpp     void radiusMatchTest( const Mat& query, const Mat& train );
train             161 modules/features2d/test/test_matchers_algorithmic.cpp void CV_DescriptorMatcherTest::generateData( Mat& query, Mat& train )
train             176 modules/features2d/test/test_matchers_algorithmic.cpp     train.create( query.rows*countFactor, query.cols, CV_32FC1 );
train             184 modules/features2d/test/test_matchers_algorithmic.cpp             Mat trainDescriptor = train.row(tIdx);
train             193 modules/features2d/test/test_matchers_algorithmic.cpp void CV_DescriptorMatcherTest::matchTest( const Mat& query, const Mat& train )
train             200 modules/features2d/test/test_matchers_algorithmic.cpp         dmatcher->match( query, train, matches );
train             256 modules/features2d/test/test_matchers_algorithmic.cpp         dmatcher->add( vector<Mat>(1,train.rowRange(0, train.rows/2)) );
train             257 modules/features2d/test/test_matchers_algorithmic.cpp         dmatcher->add( vector<Mat>(1,train.rowRange(train.rows/2, train.rows)) );
train             262 modules/features2d/test/test_matchers_algorithmic.cpp             masks[mi] = Mat(query.rows, train.rows/2, CV_8UC1, Scalar::all(1));
train             304 modules/features2d/test/test_matchers_algorithmic.cpp void CV_DescriptorMatcherTest::knnMatchTest( const Mat& query, const Mat& train )
train             313 modules/features2d/test/test_matchers_algorithmic.cpp         dmatcher->knnMatch( query, train, matches, knn );
train             353 modules/features2d/test/test_matchers_algorithmic.cpp         dmatcher->add( vector<Mat>(1,train.rowRange(0, train.rows/2)) );
train             354 modules/features2d/test/test_matchers_algorithmic.cpp         dmatcher->add( vector<Mat>(1,train.rowRange(train.rows/2, train.rows)) );
train             359 modules/features2d/test/test_matchers_algorithmic.cpp             masks[mi] = Mat(query.rows, train.rows/2, CV_8UC1, Scalar::all(1));
train             413 modules/features2d/test/test_matchers_algorithmic.cpp void CV_DescriptorMatcherTest::radiusMatchTest( const Mat& query, const Mat& train )
train             420 modules/features2d/test/test_matchers_algorithmic.cpp         dmatcher->radiusMatch( query, train, matches, radius );
train             456 modules/features2d/test/test_matchers_algorithmic.cpp         dmatcher->add( vector<Mat>(1,train.rowRange(0, train.rows/2)) );
train             457 modules/features2d/test/test_matchers_algorithmic.cpp         dmatcher->add( vector<Mat>(1,train.rowRange(train.rows/2, train.rows)) );
train             462 modules/features2d/test/test_matchers_algorithmic.cpp             masks[mi] = Mat(query.rows, train.rows/2, CV_8UC1, Scalar::all(1));
train             519 modules/features2d/test/test_matchers_algorithmic.cpp     Mat query, train;
train             520 modules/features2d/test/test_matchers_algorithmic.cpp     generateData( query, train );
train             522 modules/features2d/test/test_matchers_algorithmic.cpp     matchTest( query, train );
train             524 modules/features2d/test/test_matchers_algorithmic.cpp     knnMatchTest( query, train );
train             526 modules/features2d/test/test_matchers_algorithmic.cpp     radiusMatchTest( query, train );
train             318 modules/ml/include/opencv2/ml.hpp     CV_WRAP virtual bool train( const Ptr<TrainData>& trainData, int flags=0 );
train             326 modules/ml/include/opencv2/ml.hpp     CV_WRAP virtual bool train( InputArray samples, int layout, InputArray responses );
train             358 modules/ml/include/opencv2/ml.hpp         return !model.empty() && model->train(data, flags) ? model : Ptr<_Tp>();
train             472 modules/ml/src/boost.cpp         return impl.train(trainData, flags);
train             137 modules/ml/src/gbt.cpp     train( _train_data, _tflag, _responses, _var_idx, _sample_idx,
train             158 modules/ml/src/gbt.cpp     result = train ( _data->get_values(), CV_ROW_SAMPLE,
train             357 modules/ml/src/gbt.cpp             tree->train( data, subsample_train );
train            1338 modules/ml/src/gbt.cpp     train(trainData, tflag, responses, varIdx, sampleIdx, varType, missingDataMask, _params, false);
train            1352 modules/ml/src/gbt.cpp     return train( &_trainData, tflag, &_responses, varIdx.empty() ? 0 : &_varIdx,
train              65 modules/ml/src/inner_functions.cpp     return train(TrainData::create(samples, layout, responses));
train             496 modules/ml/src/knearest.cpp         return impl->train(data, flags);
train              98 modules/ml/src/lr.cpp     virtual bool train( const Ptr<TrainData>& trainData, int=0 );
train             304 modules/ml/src/precomp.hpp         virtual bool train( const Ptr<TrainData>& trainData, int flags );
train             382 modules/ml/src/rtrees.cpp         return impl.train(trainData, flags);
train            1637 modules/ml/src/svm.cpp             return train( data, 0 );
train             318 modules/ml/test/test_emknearestkmeans.cpp     knearest->train(trainData, ml::ROW_SAMPLE, trainLabels);
train             335 modules/ml/test/test_emknearestkmeans.cpp     knearestKdt->train(trainData, ml::ROW_SAMPLE, trainLabels);
train             136 modules/ml/test/test_gbttest.cpp     tmp_code = gtb->train(data, CvGBTreesParams(loss_function_type, weak_count,
train             105 modules/ml/test/test_lr.cpp     p->train(tdata);
train             168 modules/ml/test/test_lr.cpp         lr1->train(tdata);
train              69 modules/ml/test/test_mltests.cpp             code = train( testCaseIdx );
train             440 modules/ml/test/test_mltests2.cpp         is_trained = model->train(data, 0);
train              55 modules/ml/test/test_precomp.hpp     int train( int testCaseIdx );
train              63 modules/ml/test/test_save_load.cpp         code = train( testCaseIdx );
train             197 samples/cpp/letter_recog.cpp         model->train(tdata);
train             294 samples/cpp/letter_recog.cpp         model->train(tdata);
train             416 samples/cpp/letter_recog.cpp         model->train(tdata);
train             443 samples/cpp/letter_recog.cpp     model->train(tdata);
train             468 samples/cpp/letter_recog.cpp     model->train(tdata);
train             508 samples/cpp/letter_recog.cpp         model->train(tdata);
train             145 samples/cpp/logistic_regression.cpp     lr1->train(data_train, ROW_SAMPLE, labels_train);
train             105 samples/cpp/points_classifier.cpp     Ptr<NormalBayesClassifier> normalBayesClassifier = StatModel::train<NormalBayesClassifier>(prepare_train_data());
train             119 samples/cpp/points_classifier.cpp     knn->train(prepare_train_data());
train             137 samples/cpp/points_classifier.cpp     svm->train(prepare_train_data());
train             159 samples/cpp/points_classifier.cpp     dtree->train(prepare_train_data());
train             174 samples/cpp/points_classifier.cpp     boost->train(prepare_train_data());
train             191 samples/cpp/points_classifier.cpp     Ptr<GBTrees> gbtrees = StatModel::train<GBTrees>(prepare_train_data(), params);
train             209 samples/cpp/points_classifier.cpp     rtrees->train(prepare_train_data());
train             232 samples/cpp/points_classifier.cpp     ann->train(tdata);
train             332 samples/cpp/train_HOG.cpp     svm->train(train_data, ROW_SAMPLE, Mat(labels));
train              23 samples/cpp/tree_engine.cpp     bool ok = model->train(data);
train              35 samples/cpp/tutorial_code/ml/introduction_to_svm/introduction_to_svm.cpp     svm->train(trainingDataMat, ROW_SAMPLE, labelsMat);
train              88 samples/cpp/tutorial_code/ml/non_linear_svms/non_linear_svms.cpp     svm->train(trainData, ROW_SAMPLE, labels);
train             377 samples/gpu/performance/tests.cpp     Mat train;
train             378 samples/gpu/performance/tests.cpp     gen(train, 3000, desc_len, CV_32F, 0, 1);
train             385 samples/gpu/performance/tests.cpp     cuda::GpuMat d_train(train);
train             393 samples/gpu/performance/tests.cpp     matcher.match(query, train, matches[0]);
train             396 samples/gpu/performance/tests.cpp     matcher.match(query, train, matches[0]);
train             407 samples/gpu/performance/tests.cpp     matcher.knnMatch(query, train, matches, 2);
train             410 samples/gpu/performance/tests.cpp     matcher.knnMatch(query, train, matches, 2);
train             423 samples/gpu/performance/tests.cpp     matcher.radiusMatch(query, train, matches, max_distance);
train             426 samples/gpu/performance/tests.cpp     matcher.radiusMatch(query, train, matches, max_distance);