cv 18 apps/annotation/opencv_annotation.cpp using namespace cv; cv 8 apps/traincascade/HOGfeatures.cpp using namespace cv; cv 23 apps/traincascade/HOGfeatures.h int _maxSampleCount, cv::Size _winSize ); cv 24 apps/traincascade/HOGfeatures.h virtual void setImage(const cv::Mat& img, uchar clsLabel, int idx); cv 26 apps/traincascade/HOGfeatures.h virtual void writeFeatures( cv::FileStorage &fs, const cv::Mat& featureMap ) const; cv 29 apps/traincascade/HOGfeatures.h virtual void integralHistogram(const cv::Mat &img, std::vector<cv::Mat> &histogram, cv::Mat &norm, int nbins) const; cv 35 apps/traincascade/HOGfeatures.h float calc( const std::vector<cv::Mat> &_hists, const cv::Mat &_normSum, size_t y, int featComponent ) const; cv 36 apps/traincascade/HOGfeatures.h void write( cv::FileStorage &fs ) const; cv 37 apps/traincascade/HOGfeatures.h void write( cv::FileStorage &fs, int varIdx ) const; cv 39 apps/traincascade/HOGfeatures.h cv::Rect rect[N_CELLS]; //cells cv 48 apps/traincascade/HOGfeatures.h cv::Mat normSum; //for nomalization calculation (L1 or L2) cv 49 apps/traincascade/HOGfeatures.h std::vector<cv::Mat> hist; cv 60 apps/traincascade/HOGfeatures.h inline float CvHOGEvaluator::Feature::calc( const std::vector<cv::Mat>& _hists, const cv::Mat& _normSum, size_t y, int featComponent ) const cv 4 apps/traincascade/boost.cpp using cv::Size; cv 5 apps/traincascade/boost.cpp using cv::Mat; cv 6 apps/traincascade/boost.cpp using cv::Point; cv 7 apps/traincascade/boost.cpp using cv::FileStorage; cv 8 apps/traincascade/boost.cpp using cv::Rect; cv 9 apps/traincascade/boost.cpp using cv::Ptr; cv 10 apps/traincascade/boost.cpp using cv::FileNode; cv 11 apps/traincascade/boost.cpp using cv::Mat_; cv 12 apps/traincascade/boost.cpp using cv::Range; cv 13 apps/traincascade/boost.cpp using cv::FileNodeIterator; cv 14 apps/traincascade/boost.cpp using cv::ParallelLoopBody; cv 17 apps/traincascade/boost.cpp using cv::Size; cv 18 apps/traincascade/boost.cpp using cv::Mat; cv 19 apps/traincascade/boost.cpp using cv::Point; cv 20 apps/traincascade/boost.cpp using cv::FileStorage; cv 21 apps/traincascade/boost.cpp using cv::Rect; cv 22 apps/traincascade/boost.cpp using cv::Ptr; cv 23 apps/traincascade/boost.cpp using cv::FileNode; cv 24 apps/traincascade/boost.cpp using cv::Mat_; cv 25 apps/traincascade/boost.cpp using cv::Range; cv 26 apps/traincascade/boost.cpp using cv::FileNodeIterator; cv 27 apps/traincascade/boost.cpp using cv::ParallelLoopBody; cv 419 apps/traincascade/boost.cpp cv::AutoBuffer<uchar> inn_buf(sample_count*(2*sizeof(int) + sizeof(float))); cv 578 apps/traincascade/boost.cpp rng = &cv::theRNG(); cv 782 apps/traincascade/boost.cpp cv::AutoBuffer<float> abuf(nodeSampleCount); cv 857 apps/traincascade/boost.cpp cv::AutoBuffer<float> valCache(sample_count); cv 1126 apps/traincascade/boost.cpp cv::AutoBuffer<uchar> inn_buf(n*(3*sizeof(int)+sizeof(float))); cv 1440 apps/traincascade/boost.cpp cv::AutoBuffer<uchar> inn_buf(inn_buf_size); cv 16 apps/traincascade/boost.h void write( cv::FileStorage &fs ) const; cv 17 apps/traincascade/boost.h bool read( const cv::FileNode &node ); cv 48 apps/traincascade/boost.h cv::Mat valCache; // precalculated feature values (CV_32FC1) cv 57 apps/traincascade/boost.h void write( cv::FileStorage &fs, const cv::Mat& featureMap ); cv 58 apps/traincascade/boost.h void read( const cv::FileNode &node, CvBoost* _ensemble, CvDTreeTrainData* _data ); cv 59 apps/traincascade/boost.h void markFeaturesInMap( cv::Mat& featureMap ); cv 73 apps/traincascade/boost.h void write( cv::FileStorage &fs, const cv::Mat& featureMap ) const; cv 74 apps/traincascade/boost.h bool read( const cv::FileNode &node, const CvFeatureEvaluator* _featureEvaluator, cv 76 apps/traincascade/boost.h void markUsedFeaturesInMap( cv::Mat& featureMap ); cv 7 apps/traincascade/cascadeclassifier.cpp using namespace cv; cv 73 apps/traincascade/cascadeclassifier.h void write( cv::FileStorage &fs ) const; cv 74 apps/traincascade/cascadeclassifier.h bool read( const cv::FileNode &node ); cv 82 apps/traincascade/cascadeclassifier.h cv::Size winSize; cv 106 apps/traincascade/cascadeclassifier.h void writeParams( cv::FileStorage &fs ) const; cv 107 apps/traincascade/cascadeclassifier.h void writeStages( cv::FileStorage &fs, const cv::Mat& featureMap ) const; cv 108 apps/traincascade/cascadeclassifier.h void writeFeatures( cv::FileStorage &fs, const cv::Mat& featureMap ) const; cv 109 apps/traincascade/cascadeclassifier.h bool readParams( const cv::FileNode &node ); cv 110 apps/traincascade/cascadeclassifier.h bool readStages( const cv::FileNode &node ); cv 112 apps/traincascade/cascadeclassifier.h void getUsedFeaturesIdxMap( cv::Mat& featureMap ); cv 115 apps/traincascade/cascadeclassifier.h cv::Ptr<CvFeatureParams> featureParams; cv 116 apps/traincascade/cascadeclassifier.h cv::Ptr<CvCascadeBoostParams> stageParams; cv 118 apps/traincascade/cascadeclassifier.h cv::Ptr<CvFeatureEvaluator> featureEvaluator; cv 119 apps/traincascade/cascadeclassifier.h std::vector< cv::Ptr<CvCascadeBoost> > stageClassifiers; cv 7 apps/traincascade/features.cpp using namespace cv; cv 8 apps/traincascade/haarfeatures.cpp using namespace cv; cv 21 apps/traincascade/haarfeatures.h virtual void write( cv::FileStorage &fs ) const; cv 22 apps/traincascade/haarfeatures.h virtual bool read( const cv::FileNode &node ); cv 35 apps/traincascade/haarfeatures.h int _maxSampleCount, cv::Size _winSize ); cv 36 apps/traincascade/haarfeatures.h virtual void setImage(const cv::Mat& img, uchar clsLabel, int idx); cv 38 apps/traincascade/haarfeatures.h virtual void writeFeatures( cv::FileStorage &fs, const cv::Mat& featureMap ) const; cv 39 apps/traincascade/haarfeatures.h void writeFeature( cv::FileStorage &fs, int fi ) const; // for old file fornat cv 51 apps/traincascade/haarfeatures.h float calc( const cv::Mat &sum, const cv::Mat &tilted, size_t y) const; cv 52 apps/traincascade/haarfeatures.h void write( cv::FileStorage &fs ) const; cv 57 apps/traincascade/haarfeatures.h cv::Rect r; cv 68 apps/traincascade/haarfeatures.h cv::Mat sum; /* sum images (each row represents image) */ cv 69 apps/traincascade/haarfeatures.h cv::Mat tilted; /* tilted sum images (each row represents image) */ cv 70 apps/traincascade/haarfeatures.h cv::Mat normfactor; /* normalization factor */ cv 79 apps/traincascade/haarfeatures.h inline float CvHaarEvaluator::Feature::calc( const cv::Mat &_sum, const cv::Mat &_tilted, size_t y) const cv 12 apps/traincascade/imagestorage.cpp using namespace cv; cv 8 apps/traincascade/imagestorage.h bool create( const std::string _posFilename, const std::string _negFilename, cv::Size _winSize ); cv 10 apps/traincascade/imagestorage.h bool getNeg(cv::Mat &_img) { return negReader.get( _img ); } cv 11 apps/traincascade/imagestorage.h bool getPos(cv::Mat &_img) { return posReader.get( _img ); } cv 20 apps/traincascade/imagestorage.h bool get( cv::Mat &_img ); cv 35 apps/traincascade/imagestorage.h bool create( const std::string _filename, cv::Size _winSize ); cv 36 apps/traincascade/imagestorage.h bool get( cv::Mat& _img ); cv 39 apps/traincascade/imagestorage.h cv::Mat src, img; cv 41 apps/traincascade/imagestorage.h cv::Point offset, point; cv 46 apps/traincascade/imagestorage.h cv::Size winSize; cv 7 apps/traincascade/lbpfeatures.cpp using namespace cv; cv 18 apps/traincascade/lbpfeatures.h int _maxSampleCount, cv::Size _winSize ); cv 19 apps/traincascade/lbpfeatures.h virtual void setImage(const cv::Mat& img, uchar clsLabel, int idx); cv 22 apps/traincascade/lbpfeatures.h virtual void writeFeatures( cv::FileStorage &fs, const cv::Mat& featureMap ) const; cv 31 apps/traincascade/lbpfeatures.h uchar calc( const cv::Mat& _sum, size_t y ) const; cv 32 apps/traincascade/lbpfeatures.h void write( cv::FileStorage &fs ) const; cv 34 apps/traincascade/lbpfeatures.h cv::Rect rect; cv 39 apps/traincascade/lbpfeatures.h cv::Mat sum; cv 42 apps/traincascade/lbpfeatures.h inline uchar CvLBPEvaluator::Feature::calc(const cv::Mat &_sum, size_t y) const cv 206 apps/traincascade/old_ml.hpp CV_WRAP CvNormalBayesClassifier( const cv::Mat& trainData, const cv::Mat& responses, cv 207 apps/traincascade/old_ml.hpp const cv::Mat& varIdx=cv::Mat(), const cv::Mat& sampleIdx=cv::Mat() ); cv 208 apps/traincascade/old_ml.hpp CV_WRAP virtual bool train( const cv::Mat& trainData, const cv::Mat& responses, cv 209 apps/traincascade/old_ml.hpp const cv::Mat& varIdx = cv::Mat(), const cv::Mat& sampleIdx=cv::Mat(), cv 211 apps/traincascade/old_ml.hpp CV_WRAP virtual float predict( const cv::Mat& samples, CV_OUT cv::Mat* results=0, CV_OUT cv::Mat* results_prob=0 ) const; cv 252 apps/traincascade/old_ml.hpp CV_WRAP CvKNearest( const cv::Mat& trainData, const cv::Mat& responses, cv 253 apps/traincascade/old_ml.hpp const cv::Mat& sampleIdx=cv::Mat(), bool isRegression=false, int max_k=32 ); cv 255 apps/traincascade/old_ml.hpp CV_WRAP virtual bool train( const cv::Mat& trainData, const cv::Mat& responses, cv 256 apps/traincascade/old_ml.hpp const cv::Mat& sampleIdx=cv::Mat(), bool isRegression=false, cv 259 apps/traincascade/old_ml.hpp virtual float find_nearest( const cv::Mat& samples, int k, cv::Mat* results=0, cv 260 apps/traincascade/old_ml.hpp const float** neighbors=0, cv::Mat* neighborResponses=0, cv 261 apps/traincascade/old_ml.hpp cv::Mat* dist=0 ) const; cv 262 apps/traincascade/old_ml.hpp CV_WRAP virtual float find_nearest( const cv::Mat& samples, int k, CV_OUT cv::Mat& results, cv 263 apps/traincascade/old_ml.hpp CV_OUT cv::Mat& neighborResponses, CV_OUT cv::Mat& dists) const; cv 494 apps/traincascade/old_ml.hpp CV_WRAP CvSVM( const cv::Mat& trainData, const cv::Mat& responses, cv 495 apps/traincascade/old_ml.hpp const cv::Mat& varIdx=cv::Mat(), const cv::Mat& sampleIdx=cv::Mat(), cv 498 apps/traincascade/old_ml.hpp CV_WRAP virtual bool train( const cv::Mat& trainData, const cv::Mat& responses, cv 499 apps/traincascade/old_ml.hpp const cv::Mat& varIdx=cv::Mat(), const cv::Mat& sampleIdx=cv::Mat(), cv 502 apps/traincascade/old_ml.hpp CV_WRAP virtual bool train_auto( const cv::Mat& trainData, const cv::Mat& responses, cv 503 apps/traincascade/old_ml.hpp const cv::Mat& varIdx, const cv::Mat& sampleIdx, CvSVMParams params, cv 512 apps/traincascade/old_ml.hpp CV_WRAP virtual float predict( const cv::Mat& sample, bool returnDFVal=false ) const; cv 513 apps/traincascade/old_ml.hpp CV_WRAP_AS(predict_all) virtual void predict( cv::InputArray samples, cv::OutputArray results ) const; cv 756 apps/traincascade/old_ml.hpp cv::RNG* rng; cv 790 apps/traincascade/old_ml.hpp CV_WRAP virtual bool train( const cv::Mat& trainData, int tflag, cv 791 apps/traincascade/old_ml.hpp const cv::Mat& responses, const cv::Mat& varIdx=cv::Mat(), cv 792 apps/traincascade/old_ml.hpp const cv::Mat& sampleIdx=cv::Mat(), const cv::Mat& varType=cv::Mat(), cv 793 apps/traincascade/old_ml.hpp const cv::Mat& missingDataMask=cv::Mat(), cv 796 apps/traincascade/old_ml.hpp CV_WRAP virtual CvDTreeNode* predict( const cv::Mat& sample, const cv::Mat& missingDataMask=cv::Mat(), cv 798 apps/traincascade/old_ml.hpp CV_WRAP virtual cv::Mat getVarImportance(); cv 816 apps/traincascade/old_ml.hpp friend struct cv::DTreeBestSplitFinder; cv 857 apps/traincascade/old_ml.hpp cv::Mat train_data_mat, responses_mat; cv 895 apps/traincascade/old_ml.hpp friend struct cv::ForestTreeBestSplitFinder; cv 933 apps/traincascade/old_ml.hpp CV_WRAP virtual bool train( const cv::Mat& trainData, int tflag, cv 934 apps/traincascade/old_ml.hpp const cv::Mat& responses, const cv::Mat& varIdx=cv::Mat(), cv 935 apps/traincascade/old_ml.hpp const cv::Mat& sampleIdx=cv::Mat(), const cv::Mat& varType=cv::Mat(), cv 936 apps/traincascade/old_ml.hpp const cv::Mat& missingDataMask=cv::Mat(), cv 938 apps/traincascade/old_ml.hpp CV_WRAP virtual float predict( const cv::Mat& sample, const cv::Mat& missing = cv::Mat() ) const; cv 939 apps/traincascade/old_ml.hpp CV_WRAP virtual float predict_prob( const cv::Mat& sample, const cv::Mat& missing = cv::Mat() ) const; cv 940 apps/traincascade/old_ml.hpp CV_WRAP virtual cv::Mat getVarImportance(); cv 962 apps/traincascade/old_ml.hpp virtual cv::String getName() const; cv 970 apps/traincascade/old_ml.hpp cv::Mat train_data_mat, responses_mat; cv 977 apps/traincascade/old_ml.hpp cv::RNG* rng; cv 1029 apps/traincascade/old_ml.hpp CV_WRAP virtual bool train( const cv::Mat& trainData, int tflag, cv 1030 apps/traincascade/old_ml.hpp const cv::Mat& responses, const cv::Mat& varIdx=cv::Mat(), cv 1031 apps/traincascade/old_ml.hpp const cv::Mat& sampleIdx=cv::Mat(), const cv::Mat& varType=cv::Mat(), cv 1032 apps/traincascade/old_ml.hpp const cv::Mat& missingDataMask=cv::Mat(), cv 1036 apps/traincascade/old_ml.hpp virtual cv::String getName() const; cv 1140 apps/traincascade/old_ml.hpp CV_WRAP CvBoost( const cv::Mat& trainData, int tflag, cv 1141 apps/traincascade/old_ml.hpp const cv::Mat& responses, const cv::Mat& varIdx=cv::Mat(), cv 1142 apps/traincascade/old_ml.hpp const cv::Mat& sampleIdx=cv::Mat(), const cv::Mat& varType=cv::Mat(), cv 1143 apps/traincascade/old_ml.hpp const cv::Mat& missingDataMask=cv::Mat(), cv 1146 apps/traincascade/old_ml.hpp CV_WRAP virtual bool train( const cv::Mat& trainData, int tflag, cv 1147 apps/traincascade/old_ml.hpp const cv::Mat& responses, const cv::Mat& varIdx=cv::Mat(), cv 1148 apps/traincascade/old_ml.hpp const cv::Mat& sampleIdx=cv::Mat(), const cv::Mat& varType=cv::Mat(), cv 1149 apps/traincascade/old_ml.hpp const cv::Mat& missingDataMask=cv::Mat(), cv 1153 apps/traincascade/old_ml.hpp CV_WRAP virtual float predict( const cv::Mat& sample, const cv::Mat& missing=cv::Mat(), cv 1154 apps/traincascade/old_ml.hpp const cv::Range& slice=cv::Range::all(), bool rawMode=false, cv 1187 apps/traincascade/old_ml.hpp cv::Mat train_data_mat, responses_mat; cv 1579 apps/traincascade/old_ml.hpp CV_WRAP CvGBTrees( const cv::Mat& trainData, int tflag, cv 1580 apps/traincascade/old_ml.hpp const cv::Mat& responses, const cv::Mat& varIdx=cv::Mat(), cv 1581 apps/traincascade/old_ml.hpp const cv::Mat& sampleIdx=cv::Mat(), const cv::Mat& varType=cv::Mat(), cv 1582 apps/traincascade/old_ml.hpp const cv::Mat& missingDataMask=cv::Mat(), cv 1585 apps/traincascade/old_ml.hpp CV_WRAP virtual bool train( const cv::Mat& trainData, int tflag, cv 1586 apps/traincascade/old_ml.hpp const cv::Mat& responses, const cv::Mat& varIdx=cv::Mat(), cv 1587 apps/traincascade/old_ml.hpp const cv::Mat& sampleIdx=cv::Mat(), const cv::Mat& varType=cv::Mat(), cv 1588 apps/traincascade/old_ml.hpp const cv::Mat& missingDataMask=cv::Mat(), cv 1592 apps/traincascade/old_ml.hpp CV_WRAP virtual float predict( const cv::Mat& sample, const cv::Mat& missing=cv::Mat(), cv 1593 apps/traincascade/old_ml.hpp const cv::Range& slice = cv::Range::all(), cv 1770 apps/traincascade/old_ml.hpp cv::RNG* rng; cv 1826 apps/traincascade/old_ml.hpp CV_WRAP CvANN_MLP( const cv::Mat& layerSizes, cv 1830 apps/traincascade/old_ml.hpp CV_WRAP virtual void create( const cv::Mat& layerSizes, cv 1834 apps/traincascade/old_ml.hpp CV_WRAP virtual int train( const cv::Mat& inputs, const cv::Mat& outputs, cv 1835 apps/traincascade/old_ml.hpp const cv::Mat& sampleWeights, const cv::Mat& sampleIdx=cv::Mat(), cv 1839 apps/traincascade/old_ml.hpp CV_WRAP virtual float predict( const cv::Mat& inputs, CV_OUT cv::Mat& outputs ) const; cv 1895 apps/traincascade/old_ml.hpp cv::RNG* rng; cv 1995 apps/traincascade/old_ml.hpp const std::map<cv::String, int>& get_class_labels_map() const; cv 2024 apps/traincascade/old_ml.hpp std::map<cv::String, int> class_map; cv 2030 apps/traincascade/old_ml.hpp cv::RNG* rng; cv 170 apps/traincascade/old_ml_boost.cpp cv::AutoBuffer<int> inn_buf(node->sample_count); cv 193 apps/traincascade/old_ml_boost.cpp cv::AutoBuffer<int> inn_buf(n); cv 212 apps/traincascade/old_ml_boost.cpp cv::AutoBuffer<uchar> inn_buf(2*n*sizeof(int)+n*sizeof(float)); cv 260 apps/traincascade/old_ml_boost.cpp cv::AutoBuffer<uchar> inn_buf; cv 369 apps/traincascade/old_ml_boost.cpp cv::AutoBuffer<uchar> inn_buf((2*mi+3)*sizeof(double) + mi*sizeof(double*)); cv 381 apps/traincascade/old_ml_boost.cpp double* cjk = (double*)cv::alignPtr(base_buf,sizeof(double))+2; cv 490 apps/traincascade/old_ml_boost.cpp cv::AutoBuffer<uchar> inn_buf; cv 559 apps/traincascade/old_ml_boost.cpp cv::AutoBuffer<uchar> inn_buf(base_size); cv 571 apps/traincascade/old_ml_boost.cpp double* sum = (double*)cv::alignPtr(base_buf,sizeof(double)) + 1; cv 652 apps/traincascade/old_ml_boost.cpp cv::AutoBuffer<uchar> inn_buf; cv 733 apps/traincascade/old_ml_boost.cpp cv::AutoBuffer<uchar> inn_buf(base_size); cv 746 apps/traincascade/old_ml_boost.cpp double* lc = (double*)cv::alignPtr(cat_labels_buf + n, sizeof(double)) + 1; cv 799 apps/traincascade/old_ml_boost.cpp cv::AutoBuffer<uchar> inn_buf(n*(sizeof(int) + ( data->is_classifier ? sizeof(int) : sizeof(int) + sizeof(float)))); cv 1140 apps/traincascade/old_ml_boost.cpp cv::AutoBuffer<uchar> inn_buf; cv 1658 apps/traincascade/old_ml_boost.cpp cv::Mat sample = cv::cvarrToMat(_sample); cv 1659 apps/traincascade/old_ml_boost.cpp cv::Mat missing; cv 1661 apps/traincascade/old_ml_boost.cpp missing = cv::cvarrToMat(_missing); cv 1675 apps/traincascade/old_ml_boost.cpp sample = cv::Mat(1, var_count, CV_32FC1); cv 1676 apps/traincascade/old_ml_boost.cpp missing = cv::Mat(1, var_count, CV_8UC1); cv 2099 apps/traincascade/old_ml_boost.cpp using namespace cv; cv 84 apps/traincascade/old_ml_data.cpp rng = &cv::theRNG(); cv 294 apps/traincascade/old_ml_data.cpp const std::map<cv::String, int>& CvMLData::get_class_labels_map() const cv 44 apps/traincascade/old_ml_tree.cpp using namespace cv; cv 215 apps/traincascade/old_ml_tree.cpp rng = &cv::theRNG(); cv 775 apps/traincascade/old_ml_tree.cpp cv::AutoBuffer<uchar> inn_buf(sample_count*(2*sizeof(int) + sizeof(float))); cv 914 apps/traincascade/old_ml_tree.cpp cv::AutoBuffer<uchar> inn_buf(sample_count*(2*sizeof(int) + sizeof(float))); cv 1169 apps/traincascade/old_ml_tree.cpp rng = &cv::theRNG(); cv 1782 apps/traincascade/old_ml_tree.cpp cv::AutoBuffer<int> inn_buf(n*(!data->have_priors ? 1 : 2)); cv 1826 apps/traincascade/old_ml_tree.cpp cv::AutoBuffer<uchar> inn_buf(n*(sizeof(int)*(data->have_priors ? 3 : 2) + sizeof(float))); cv 1961 apps/traincascade/old_ml_tree.cpp cv::parallel_reduce(cv::BlockedRange(0, data->var_count), finder); cv 1982 apps/traincascade/old_ml_tree.cpp cv::AutoBuffer<uchar> inn_buf(base_size); cv 2098 apps/traincascade/old_ml_tree.cpp cv::AutoBuffer<double> buf(n + k); cv 2201 apps/traincascade/old_ml_tree.cpp cv::AutoBuffer<uchar> inn_buf(base_size); cv 2383 apps/traincascade/old_ml_tree.cpp cv::AutoBuffer<uchar> inn_buf; cv 2443 apps/traincascade/old_ml_tree.cpp cv::AutoBuffer<uchar> inn_buf(base_size); cv 2454 apps/traincascade/old_ml_tree.cpp double* sum = (double*)cv::alignPtr(base_buf,sizeof(double)) + 1; cv 2534 apps/traincascade/old_ml_tree.cpp cv::AutoBuffer<uchar> inn_buf; cv 2658 apps/traincascade/old_ml_tree.cpp cv::AutoBuffer<uchar> inn_buf(base_size); cv 2672 apps/traincascade/old_ml_tree.cpp double* lc = (double*)cv::alignPtr(base_buf,sizeof(double)) + 1; cv 2760 apps/traincascade/old_ml_tree.cpp cv::AutoBuffer<uchar> inn_buf(base_size + ext_size); cv 2955 apps/traincascade/old_ml_tree.cpp cv::AutoBuffer<uchar> inn_buf(n*(2*sizeof(int)+sizeof(float))); cv 3044 apps/traincascade/old_ml_tree.cpp cv::AutoBuffer<uchar> inn_buf(n*(3*sizeof(int) + sizeof(float))); cv 3621 apps/traincascade/old_ml_tree.cpp cv::AutoBuffer<int> catbuf; cv 5 apps/traincascade/traincascade.cpp using namespace cv; cv 30 apps/traincascade/traincascade_features.h float calcNormFactor( const cv::Mat& sum, const cv::Mat& sqSum ); cv 33 apps/traincascade/traincascade_features.h void _writeFeatures( const std::vector<Feature> features, cv::FileStorage &fs, const cv::Mat& featureMap ) cv 36 apps/traincascade/traincascade_features.h const cv::Mat_<int>& featureMap_ = (const cv::Mat_<int>&)featureMap; cv 53 apps/traincascade/traincascade_features.h virtual void write( cv::FileStorage &fs ) const = 0; cv 54 apps/traincascade/traincascade_features.h virtual bool read( const cv::FileNode &node ) = 0; cv 68 apps/traincascade/traincascade_features.h virtual void write( cv::FileStorage &fs ) const; cv 69 apps/traincascade/traincascade_features.h virtual bool read( const cv::FileNode &node ); cv 70 apps/traincascade/traincascade_features.h static cv::Ptr<CvFeatureParams> create( int featureType ); cv 80 apps/traincascade/traincascade_features.h int _maxSampleCount, cv::Size _winSize ); cv 81 apps/traincascade/traincascade_features.h virtual void setImage(const cv::Mat& img, uchar clsLabel, int idx); cv 82 apps/traincascade/traincascade_features.h virtual void writeFeatures( cv::FileStorage &fs, const cv::Mat& featureMap ) const = 0; cv 84 apps/traincascade/traincascade_features.h static cv::Ptr<CvFeatureEvaluator> create(int type); cv 89 apps/traincascade/traincascade_features.h const cv::Mat& getCls() const { return cls; } cv 96 apps/traincascade/traincascade_features.h cv::Size winSize; cv 98 apps/traincascade/traincascade_features.h cv::Mat cls; cv 1709 modules/calib3d/include/opencv2/calib3d.hpp const cv::Size& size, int m1type, OutputArray map1, OutputArray map2); cv 1740 modules/calib3d/include/opencv2/calib3d.hpp InputArray K, InputArray D, InputArray Knew = cv::noArray(), const Size& new_size = Size()); cv 402 modules/calib3d/include/opencv2/calib3d/calib3d_c.h cv::Ptr<CvMat> mask; cv 403 modules/calib3d/include/opencv2/calib3d/calib3d_c.h cv::Ptr<CvMat> prevParam; cv 404 modules/calib3d/include/opencv2/calib3d/calib3d_c.h cv::Ptr<CvMat> param; cv 405 modules/calib3d/include/opencv2/calib3d/calib3d_c.h cv::Ptr<CvMat> J; cv 406 modules/calib3d/include/opencv2/calib3d/calib3d_c.h cv::Ptr<CvMat> err; cv 407 modules/calib3d/include/opencv2/calib3d/calib3d_c.h cv::Ptr<CvMat> JtJ; cv 408 modules/calib3d/include/opencv2/calib3d/calib3d_c.h cv::Ptr<CvMat> JtJN; cv 409 modules/calib3d/include/opencv2/calib3d/calib3d_c.h cv::Ptr<CvMat> JtErr; cv 410 modules/calib3d/include/opencv2/calib3d/calib3d_c.h cv::Ptr<CvMat> JtJV; cv 411 modules/calib3d/include/opencv2/calib3d/calib3d_c.h cv::Ptr<CvMat> JtJW; cv 4 modules/calib3d/perf/perf_cicrlesGrid.cpp using namespace cv; cv 9 modules/calib3d/perf/perf_cicrlesGrid.cpp typedef std::tr1::tuple<std::string, cv::Size> String_Size_t; cv 8 modules/calib3d/perf/perf_pnp.cpp using namespace cv; cv 126 modules/calib3d/perf/perf_pnp.cpp Mat dist_coef(1, 8, CV_32F, cv::Scalar::all(0)); cv 128 modules/calib3d/perf/perf_pnp.cpp vector<cv::Point2f> image_vec; cv 205 modules/calib3d/src/calibinit.cpp cv::Ptr<CvMat> xy = cvCreateMat( 2*real_count, 6, CV_32FC1 ); cv 206 modules/calib3d/src/calibinit.cpp cv::Ptr<CvMat> uv = cvCreateMat( 2*real_count, 1, CV_32FC1 ); cv 241 modules/calib3d/src/calibinit.cpp cv::Ptr<CvMat> norm_img, thresh_img; cv 243 modules/calib3d/src/calibinit.cpp cv::Ptr<IplImage> dbg_img; cv 244 modules/calib3d/src/calibinit.cpp cv::Ptr<IplImage> dbg1_img; cv 245 modules/calib3d/src/calibinit.cpp cv::Ptr<IplImage> dbg2_img; cv 247 modules/calib3d/src/calibinit.cpp cv::Ptr<CvMemStorage> storage; cv 540 modules/calib3d/src/calibinit.cpp cv::Ptr<CvMat> gray; cv 629 modules/calib3d/src/calibinit.cpp cv::Ptr<CvMemStorage> temp_storage(cvCreateChildMemStorage( storage )); cv 1110 modules/calib3d/src/calibinit.cpp cv::AutoBuffer<CvPoint2D32f> centers( quad_count ); cv 1111 modules/calib3d/src/calibinit.cpp cv::Ptr<CvMemStorage> temp_storage(cvCreateMemStorage(0)); cv 1206 modules/calib3d/src/calibinit.cpp cv::Ptr<CvMemStorage> temp_storage(cvCreateChildMemStorage( storage )); cv 1655 modules/calib3d/src/calibinit.cpp cv::Ptr<CvMemStorage> temp_storage; cv 1902 modules/calib3d/src/calibinit.cpp bool cv::findChessboardCorners( InputArray _image, Size patternSize, cv 1930 modules/calib3d/src/calibinit.cpp void cv::drawChessboardCorners( InputOutputArray _image, Size patternSize, cv 1944 modules/calib3d/src/calibinit.cpp bool cv::findCirclesGrid( InputArray _image, Size patternSize, cv 1999 modules/calib3d/src/calibinit.cpp catch (const cv::Exception &) cv 58 modules/calib3d/src/calibration.cpp using namespace cv; cv 2099 modules/calib3d/src/calibration.cpp cv::Rect_<float>& inner, cv::Rect_<float>& outer ) cv 2103 modules/calib3d/src/calibration.cpp cv::Ptr<CvMat> _pts(cvCreateMat(1, N*N, CV_32FC2)); cv 2135 modules/calib3d/src/calibration.cpp inner = cv::Rect_<float>(iX0, iY0, iX1-iX0, iY1-iY0); cv 2136 modules/calib3d/src/calibration.cpp outer = cv::Rect_<float>(oX0, oY0, oX1-oX0, oY1-oY0); cv 2149 modules/calib3d/src/calibration.cpp cv::Rect_<float> inner1, inner2, outer1, outer2; cv 2319 modules/calib3d/src/calibration.cpp *roi1 = cv::Rect(cvCeil((inner1.x - cx1_0)*s + cx1), cv 2322 modules/calib3d/src/calibration.cpp & cv::Rect(0, 0, newImgSize.width, newImgSize.height); cv 2327 modules/calib3d/src/calibration.cpp *roi2 = cv::Rect(cvCeil((inner2.x - cx2_0)*s + cx2), cv 2330 modules/calib3d/src/calibration.cpp & cv::Rect(0, 0, newImgSize.width, newImgSize.height); cv 2355 modules/calib3d/src/calibration.cpp cv::Rect_<float> inner, outer; cv 2385 modules/calib3d/src/calibration.cpp inner = cv::Rect_<float>((float)((inner.x - cx0)*s + cx), cv 2389 modules/calib3d/src/calibration.cpp cv::Rect r(cvCeil(inner.x), cvCeil(inner.y), cvFloor(inner.width), cvFloor(inner.height)); cv 2390 modules/calib3d/src/calibration.cpp r &= cv::Rect(0, 0, newImgSize.width, newImgSize.height); cv 2421 modules/calib3d/src/calibration.cpp cv::Rect r = inner; cv 2422 modules/calib3d/src/calibration.cpp r &= cv::Rect(0, 0, newImgSize.width, newImgSize.height); cv 2623 modules/calib3d/src/calibration.cpp void cv::reprojectImageTo3D( InputArray _disparity, cv 2660 modules/calib3d/src/calibration.cpp cv::minMaxIdx( disparity, &minDisparity, 0, 0, 0 ); cv 2713 modules/calib3d/src/calibration.cpp dptr0[x] = cv::saturate_cast<short>(ival); cv 2733 modules/calib3d/src/calibration.cpp cv::Mat disp = cv::cvarrToMat(disparityImage); cv 2734 modules/calib3d/src/calibration.cpp cv::Mat _3dimg = cv::cvarrToMat(_3dImage); cv 2735 modules/calib3d/src/calibration.cpp cv::Mat mq = cv::cvarrToMat(matQ); cv 2740 modules/calib3d/src/calibration.cpp cv::reprojectImageTo3D(disp, _3dimg, mq, handleMissingValues != 0, dtype ); cv 3051 modules/calib3d/src/calibration.cpp void cv::Rodrigues(InputArray _src, OutputArray _dst, OutputArray _jacobian) cv 3068 modules/calib3d/src/calibration.cpp void cv::matMulDeriv( InputArray _Amat, InputArray _Bmat, cv 3079 modules/calib3d/src/calibration.cpp void cv::composeRT( InputArray _rvec1, InputArray _tvec1, cv 3153 modules/calib3d/src/calibration.cpp void cv::projectPoints( InputArray _opoints, cv 3201 modules/calib3d/src/calibration.cpp cv::Mat cv::initCameraMatrix2D( InputArrayOfArrays objectPoints, cv 3215 modules/calib3d/src/calibration.cpp double cv::calibrateCamera( InputArrayOfArrays _objectPoints, cv 3271 modules/calib3d/src/calibration.cpp void cv::calibrationMatrixValues( InputArray _cameraMatrix, Size imageSize, cv 3282 modules/calib3d/src/calibration.cpp double cv::stereoCalibrate( InputArrayOfArrays _objectPoints, cv 3343 modules/calib3d/src/calibration.cpp void cv::stereoRectify( InputArray _cameraMatrix1, InputArray _distCoeffs1, cv 3380 modules/calib3d/src/calibration.cpp bool cv::stereoRectifyUncalibrated( InputArray _points1, InputArray _points2, cv 3396 modules/calib3d/src/calibration.cpp cv::Mat cv::getOptimalNewCameraMatrix( InputArray _cameraMatrix, cv 3414 modules/calib3d/src/calibration.cpp cv::Vec3d cv::RQDecomp3x3( InputArray _Mmat, cv 3447 modules/calib3d/src/calibration.cpp void cv::decomposeProjectionMatrix( InputArray _projMatrix, OutputArray _cameraMatrix, cv 3546 modules/calib3d/src/calibration.cpp float cv::rectify3Collinear( InputArray _cameraMatrix1, InputArray _distCoeffs1, cv 57 modules/calib3d/src/circlesgrid.cpp using namespace cv; cv 118 modules/calib3d/src/circlesgrid.cpp cv::min(dists.row(minLoc.x), dists.row(minLoc.y), tmpRow); cv 138 modules/calib3d/src/circlesgrid.cpp void CirclesGridClusterFinder::findGrid(const std::vector<cv::Point2f> &points, cv::Size _patternSize, std::vector<Point2f>& centers) cv 191 modules/calib3d/src/circlesgrid.cpp void CirclesGridClusterFinder::findCorners(const std::vector<cv::Point2f> &hull2f, std::vector<cv::Point2f> &corners) cv 212 modules/calib3d/src/circlesgrid.cpp cv::sort(sortedIndices.rowRange(0, cornersCount), cornersIndices, SORT_EVERY_COLUMN + SORT_ASCENDING); cv 220 modules/calib3d/src/circlesgrid.cpp void CirclesGridClusterFinder::findOutsideCorners(const std::vector<cv::Point2f> &corners, std::vector<cv::Point2f> &outsideCorners) cv 296 modules/calib3d/src/circlesgrid.cpp void CirclesGridClusterFinder::getSortedCorners(const std::vector<cv::Point2f> &hull2f, const std::vector<cv::Point2f> &corners, const std::vector<cv::Point2f> &outsideCorners, std::vector<cv::Point2f> &sortedCorners) cv 356 modules/calib3d/src/circlesgrid.cpp void CirclesGridClusterFinder::rectifyPatternPoints(const std::vector<cv::Point2f> &patternPoints, const std::vector<cv::Point2f> &sortedCorners, std::vector<cv::Point2f> &rectifiedPatternPoints) cv 392 modules/calib3d/src/circlesgrid.cpp void CirclesGridClusterFinder::parsePatternPoints(const std::vector<cv::Point2f> &patternPoints, const std::vector<cv::Point2f> &rectifiedPatternPoints, std::vector<cv::Point2f> ¢ers) cv 489 modules/calib3d/src/circlesgrid.cpp void Graph::floydWarshall(cv::Mat &distanceMatrix, int infinity) const cv 536 modules/calib3d/src/circlesgrid.cpp CirclesGridFinder::Segment::Segment(cv::Point2f _s, cv::Point2f _e) : cv 616 modules/calib3d/src/circlesgrid.cpp void CirclesGridFinder::rng2gridGraph(Graph &rng, std::vector<cv::Point2f> &vectors) const cv 1165 modules/calib3d/src/circlesgrid.cpp void CirclesGridFinder::computeRNG(Graph &rng, std::vector<cv::Point2f> &vectors, Mat *drawImage) const cv 1419 modules/calib3d/src/circlesgrid.cpp void CirclesGridFinder::getAsymmetricHoles(std::vector<cv::Point2f> &outHoles) const cv 65 modules/calib3d/src/circlesgrid.hpp void findGrid(const std::vector<cv::Point2f> &points, cv::Size patternSize, std::vector<cv::Point2f>& centers); cv 68 modules/calib3d/src/circlesgrid.hpp void hierarchicalClustering(const std::vector<cv::Point2f> &points, const cv::Size &patternSize, std::vector<cv::Point2f> &patternPoints); cv 70 modules/calib3d/src/circlesgrid.hpp void findCorners(const std::vector<cv::Point2f> &hull2f, std::vector<cv::Point2f> &corners); cv 71 modules/calib3d/src/circlesgrid.hpp void findOutsideCorners(const std::vector<cv::Point2f> &corners, std::vector<cv::Point2f> &outsideCorners); cv 72 modules/calib3d/src/circlesgrid.hpp void getSortedCorners(const std::vector<cv::Point2f> &hull2f, const std::vector<cv::Point2f> &corners, const std::vector<cv::Point2f> &outsideCorners, std::vector<cv::Point2f> &sortedCorners); cv 73 modules/calib3d/src/circlesgrid.hpp void rectifyPatternPoints(const std::vector<cv::Point2f> &patternPoints, const std::vector<cv::Point2f> &sortedCorners, std::vector<cv::Point2f> &rectifiedPatternPoints); cv 74 modules/calib3d/src/circlesgrid.hpp void parsePatternPoints(const std::vector<cv::Point2f> &patternPoints, const std::vector<cv::Point2f> &rectifiedPatternPoints, std::vector<cv::Point2f> ¢ers); cv 79 modules/calib3d/src/circlesgrid.hpp cv::Size patternSize; cv 101 modules/calib3d/src/circlesgrid.hpp void floydWarshall(cv::Mat &distanceMatrix, int infinity = -1) const; cv 125 modules/calib3d/src/circlesgrid.hpp cv::Size2f densityNeighborhoodSize; cv 149 modules/calib3d/src/circlesgrid.hpp CirclesGridFinder(cv::Size patternSize, const std::vector<cv::Point2f> &testKeypoints, cv 152 modules/calib3d/src/circlesgrid.hpp static cv::Mat rectifyGrid(cv::Size detectedGridSize, const std::vector<cv::Point2f>& centers, const std::vector< cv 153 modules/calib3d/src/circlesgrid.hpp cv::Point2f> &keypoint, std::vector<cv::Point2f> &warpedKeypoints); cv 155 modules/calib3d/src/circlesgrid.hpp void getHoles(std::vector<cv::Point2f> &holes) const; cv 156 modules/calib3d/src/circlesgrid.hpp void getAsymmetricHoles(std::vector<cv::Point2f> &holes) const; cv 157 modules/calib3d/src/circlesgrid.hpp cv::Size getDetectedGridSize() const; cv 159 modules/calib3d/src/circlesgrid.hpp void drawBasis(const std::vector<cv::Point2f> &basis, cv::Point2f origin, cv::Mat &drawImg) const; cv 160 modules/calib3d/src/circlesgrid.hpp void drawBasisGraphs(const std::vector<Graph> &basisGraphs, cv::Mat &drawImg, bool drawEdges = true, cv 162 modules/calib3d/src/circlesgrid.hpp void drawHoles(const cv::Mat &srcImage, cv::Mat &drawImage) const; cv 164 modules/calib3d/src/circlesgrid.hpp void computeRNG(Graph &rng, std::vector<cv::Point2f> &vectors, cv::Mat *drawImage = 0) const; cv 165 modules/calib3d/src/circlesgrid.hpp void rng2gridGraph(Graph &rng, std::vector<cv::Point2f> &vectors) const; cv 167 modules/calib3d/src/circlesgrid.hpp void filterOutliersByDensity(const std::vector<cv::Point2f> &samples, std::vector<cv::Point2f> &filteredSamples); cv 168 modules/calib3d/src/circlesgrid.hpp void findBasis(const std::vector<cv::Point2f> &samples, std::vector<cv::Point2f> &basis, cv 170 modules/calib3d/src/circlesgrid.hpp void findMCS(const std::vector<cv::Point2f> &basis, std::vector<Graph> &basisGraphs); cv 174 modules/calib3d/src/circlesgrid.hpp void addHolesByGraph(const std::vector<Graph> &basisGraphs, bool addRow, cv::Point2f basisVec); cv 176 modules/calib3d/src/circlesgrid.hpp size_t findNearestKeypoint(cv::Point2f pt) const; cv 177 modules/calib3d/src/circlesgrid.hpp void addPoint(cv::Point2f pt, std::vector<size_t> &points); cv 178 modules/calib3d/src/circlesgrid.hpp void findCandidateLine(std::vector<size_t> &line, size_t seedLineIdx, bool addRow, cv::Point2f basisVec, std::vector< cv 180 modules/calib3d/src/circlesgrid.hpp void findCandidateHoles(std::vector<size_t> &above, std::vector<size_t> &below, bool addRow, cv::Point2f basisVec, cv 191 modules/calib3d/src/circlesgrid.hpp cv::Point2f s; cv 192 modules/calib3d/src/circlesgrid.hpp cv::Point2f e; cv 193 modules/calib3d/src/circlesgrid.hpp Segment(cv::Point2f _s, cv::Point2f _e); cv 200 modules/calib3d/src/circlesgrid.hpp std::vector<cv::Point> &cornerIndices, std::vector<cv::Point> &firstSteps, cv 201 modules/calib3d/src/circlesgrid.hpp std::vector<cv::Point> &secondSteps) const; cv 202 modules/calib3d/src/circlesgrid.hpp size_t getFirstCorner(std::vector<cv::Point> &largeCornerIndices, std::vector<cv::Point> &smallCornerIndices, cv 203 modules/calib3d/src/circlesgrid.hpp std::vector<cv::Point> &firstSteps, std::vector<cv::Point> &secondSteps) const; cv 204 modules/calib3d/src/circlesgrid.hpp static double getDirection(cv::Point2f p1, cv::Point2f p2, cv::Point2f p3); cv 206 modules/calib3d/src/circlesgrid.hpp std::vector<cv::Point2f> keypoints; cv 213 modules/calib3d/src/circlesgrid.hpp const cv::Size_<size_t> patternSize; cv 50 modules/calib3d/src/compat_ptsetreg.cpp using cv::Ptr; cv 297 modules/calib3d/src/compat_ptsetreg.cpp return cv::RANSACUpdateNumIters(p, ep, modelPoints, maxIters); cv 305 modules/calib3d/src/compat_ptsetreg.cpp cv::Mat src = cv::cvarrToMat(_src), dst = cv::cvarrToMat(_dst); cv 308 modules/calib3d/src/compat_ptsetreg.cpp cv::transpose(src, src); cv 310 modules/calib3d/src/compat_ptsetreg.cpp cv::transpose(dst, dst); cv 322 modules/calib3d/src/compat_ptsetreg.cpp const cv::Mat H = cv::cvarrToMat(__H), mask = cv::cvarrToMat(_mask); cv 323 modules/calib3d/src/compat_ptsetreg.cpp cv::Mat H0 = cv::findHomography(src, dst, method, ransacReprojThreshold, cv 324 modules/calib3d/src/compat_ptsetreg.cpp _mask ? cv::_OutputArray(mask) : cv::_OutputArray(), maxIters, cv 329 modules/calib3d/src/compat_ptsetreg.cpp cv::Mat Hz = cv::cvarrToMat(__H); cv 330 modules/calib3d/src/compat_ptsetreg.cpp Hz.setTo(cv::Scalar::all(0)); cv 342 modules/calib3d/src/compat_ptsetreg.cpp cv::Mat m1 = cv::cvarrToMat(points1), m2 = cv::cvarrToMat(points2); cv 345 modules/calib3d/src/compat_ptsetreg.cpp cv::transpose(m1, m1); cv 347 modules/calib3d/src/compat_ptsetreg.cpp cv::transpose(m2, m2); cv 349 modules/calib3d/src/compat_ptsetreg.cpp const cv::Mat FM = cv::cvarrToMat(fmatrix), mask = cv::cvarrToMat(_mask); cv 350 modules/calib3d/src/compat_ptsetreg.cpp cv::Mat FM0 = cv::findFundamentalMat(m1, m2, method, param1, param2, cv 351 modules/calib3d/src/compat_ptsetreg.cpp _mask ? cv::_OutputArray(mask) : cv::_OutputArray()); cv 355 modules/calib3d/src/compat_ptsetreg.cpp cv::Mat FM0z = cv::cvarrToMat(fmatrix); cv 356 modules/calib3d/src/compat_ptsetreg.cpp FM0z.setTo(cv::Scalar::all(0)); cv 361 modules/calib3d/src/compat_ptsetreg.cpp cv::Mat FM1 = FM.rowRange(0, MIN(FM0.rows, FM.rows)); cv 370 modules/calib3d/src/compat_ptsetreg.cpp cv::Mat pt = cv::cvarrToMat(points), fm = cv::cvarrToMat(fmatrix); cv 371 modules/calib3d/src/compat_ptsetreg.cpp cv::Mat lines = cv::cvarrToMat(_lines); cv 372 modules/calib3d/src/compat_ptsetreg.cpp const cv::Mat lines0 = lines; cv 375 modules/calib3d/src/compat_ptsetreg.cpp cv::transpose(pt, pt); cv 377 modules/calib3d/src/compat_ptsetreg.cpp cv::computeCorrespondEpilines(pt, pointImageID, fm, lines); cv 404 modules/calib3d/src/compat_ptsetreg.cpp cv::Mat src = cv::cvarrToMat(_src), dst = cv::cvarrToMat(_dst); cv 405 modules/calib3d/src/compat_ptsetreg.cpp const cv::Mat dst0 = dst; cv 410 modules/calib3d/src/compat_ptsetreg.cpp cv::transpose(src, src); cv 417 modules/calib3d/src/compat_ptsetreg.cpp cv::convertPointsToHomogeneous(src, dst); cv 419 modules/calib3d/src/compat_ptsetreg.cpp cv::convertPointsFromHomogeneous(src, dst); cv 90 modules/calib3d/src/compat_stereo.cpp cv::Mat left = cv::cvarrToMat(leftarr), right = cv::cvarrToMat(rightarr); cv 91 modules/calib3d/src/compat_stereo.cpp const cv::Mat disp = cv::cvarrToMat(disparr); cv 95 modules/calib3d/src/compat_stereo.cpp cv::Ptr<cv::StereoBM> sm = cv::StereoBM::create(state->numberOfDisparities, cv 114 modules/calib3d/src/compat_stereo.cpp return (CvRect)cv::getValidDisparityROI( roi1, roi2, minDisparity, cv 121 modules/calib3d/src/compat_stereo.cpp cv::Mat disp = cv::cvarrToMat(_disp), cost = cv::cvarrToMat(_cost); cv 122 modules/calib3d/src/compat_stereo.cpp cv::validateDisparity( disp, cost, minDisparity, numberOfDisparities, disp12MaxDiff ); cv 17 modules/calib3d/src/dls.cpp dls::dls(const cv::Mat& opoints, const cv::Mat& ipoints) cv 21 modules/calib3d/src/dls.cpp p = cv::Mat(3, N, CV_64F); cv 22 modules/calib3d/src/dls.cpp z = cv::Mat(3, N, CV_64F); cv 23 modules/calib3d/src/dls.cpp mn = cv::Mat::zeros(3, 1, CV_64F); cv 34 modules/calib3d/src/dls.cpp init_points<cv::Point3f, cv::Point2f>(opoints, ipoints); cv 36 modules/calib3d/src/dls.cpp init_points<cv::Point3d, cv::Point2d>(opoints, ipoints); cv 39 modules/calib3d/src/dls.cpp init_points<cv::Point3f, cv::Point2d>(opoints, ipoints); cv 41 modules/calib3d/src/dls.cpp init_points<cv::Point3d, cv::Point2f>(opoints, ipoints); cv 49 modules/calib3d/src/dls.cpp bool dls::compute_pose(cv::Mat& R, cv::Mat& t) cv 52 modules/calib3d/src/dls.cpp std::vector<cv::Mat> R_; cv 61 modules/calib3d/src/dls.cpp cv::Mat pp = R_[i] * ( p - cv::repeat(mn, 1, p.cols) ); cv 93 modules/calib3d/src/dls.cpp void dls::run_kernel(const cv::Mat& pp) cv 95 modules/calib3d/src/dls.cpp cv::Mat Mtilde(27, 27, CV_64F); cv 96 modules/calib3d/src/dls.cpp cv::Mat D = cv::Mat::zeros(9, 9, CV_64F); cv 99 modules/calib3d/src/dls.cpp cv::Mat eigenval_r, eigenval_i, eigenvec_r, eigenvec_i; cv 109 modules/calib3d/src/dls.cpp cv::Mat sols = cv::Mat::zeros(3, 27, CV_64F); cv 115 modules/calib3d/src/dls.cpp cv::Mat V_kA = eigenvec_r.col(k); // 27x1 cv 116 modules/calib3d/src/dls.cpp cv::Mat V_kB = cv::Mat(1, 1, z.depth(), V_kA.at<double>(0)); // 1x1 cv 117 modules/calib3d/src/dls.cpp cv::Mat V_k; cv::solve(V_kB.t(), V_kA.t(), V_k); // A/B = B'\A' cv 118 modules/calib3d/src/dls.cpp cv::Mat( V_k.t()).copyTo( eigenvec_r.col(k) ); cv 132 modules/calib3d/src/dls.cpp cv::Mat H = Hessian(stmp); cv 134 modules/calib3d/src/dls.cpp cv::Mat eigenvalues, eigenvectors; cv 135 modules/calib3d/src/dls.cpp cv::eigen(H, eigenvalues, eigenvectors); cv 141 modules/calib3d/src/dls.cpp cv::Mat stmp_mat(3, 1, CV_64F, &stmp); cv 145 modules/calib3d/src/dls.cpp cv::Mat Cbar = cayley2rotbar(stmp_mat); cv 146 modules/calib3d/src/dls.cpp cv::Mat Cbarvec = Cbar.reshape(1,1).t(); cv 149 modules/calib3d/src/dls.cpp cv::Mat cost_mat = Cbarvec.t() * D * Cbarvec; cv 160 modules/calib3d/src/dls.cpp std::vector<cv::Mat> C_est, t_est; cv 166 modules/calib3d/src/dls.cpp cv::Mat sols_j = sols.col(j); cv 167 modules/calib3d/src/dls.cpp double sols_mult = 1./(1.+cv::Mat( sols_j.t() * sols_j ).at<double>(0)); cv 168 modules/calib3d/src/dls.cpp cv::Mat C_est_j = cayley2rotbar(sols_j).mul(sols_mult); cv 171 modules/calib3d/src/dls.cpp cv::Mat A2 = cv::Mat::zeros(3, 3, CV_64F); cv 172 modules/calib3d/src/dls.cpp cv::Mat b2 = cv::Mat::zeros(3, 1, CV_64F); cv 175 modules/calib3d/src/dls.cpp cv::Mat eye = cv::Mat::eye(3, 3, CV_64F); cv 176 modules/calib3d/src/dls.cpp cv::Mat z_mul = z.col(i)*z.col(i).t(); cv 183 modules/calib3d/src/dls.cpp cv::Mat X2; cv::solve(A2, b2, X2); // A\B cv 191 modules/calib3d/src/dls.cpp cv::Mat cam_points = C_est[k] * pp + cv::repeat(t_est[k], 1, pp.cols); cv 192 modules/calib3d/src/dls.cpp cv::Mat cam_points_k = cam_points.row(2); cv 196 modules/calib3d/src/dls.cpp cv::Mat C_valid = C_est[k], t_valid = t_est[k]; cv 207 modules/calib3d/src/dls.cpp void dls::build_coeff_matrix(const cv::Mat& pp, cv::Mat& Mtilde, cv::Mat& D) cv 209 modules/calib3d/src/dls.cpp cv::Mat eye = cv::Mat::eye(3, 3, CV_64F); cv 215 modules/calib3d/src/dls.cpp cv::Mat H = cv::Mat::zeros(3, 3, CV_64F); cv 216 modules/calib3d/src/dls.cpp cv::Mat A = cv::Mat::zeros(3, 9, CV_64F); cv 217 modules/calib3d/src/dls.cpp cv::Mat pp_i(3, 1, CV_64F); cv 219 modules/calib3d/src/dls.cpp cv::Mat z_i(3, 1, CV_64F); cv 229 modules/calib3d/src/dls.cpp cv::solve(H, A, A, cv::DECOMP_NORMAL); cv 232 modules/calib3d/src/dls.cpp cv::Mat ppi_A(3, 1, CV_64F); cv 246 modules/calib3d/src/dls.cpp cv::randn(u, 0, 200); cv 248 modules/calib3d/src/dls.cpp cv::Mat M2 = cayley_LS_M(f1coeff, f2coeff, f3coeff, u); cv 250 modules/calib3d/src/dls.cpp cv::Mat M2_1 = M2(cv::Range(0,27), cv::Range(0,27)); cv 251 modules/calib3d/src/dls.cpp cv::Mat M2_2 = M2(cv::Range(0,27), cv::Range(27,120)); cv 252 modules/calib3d/src/dls.cpp cv::Mat M2_3 = M2(cv::Range(27,120), cv::Range(27,120)); cv 253 modules/calib3d/src/dls.cpp cv::Mat M2_4 = M2(cv::Range(27,120), cv::Range(0,27)); cv 257 modules/calib3d/src/dls.cpp cv::Mat M2_5; cv::solve(M2_3.t(), M2_2.t(), M2_5); cv 266 modules/calib3d/src/dls.cpp void dls::compute_eigenvec(const cv::Mat& Mtilde, cv::Mat& eigenval_real, cv::Mat& eigenval_imag, cv 267 modules/calib3d/src/dls.cpp cv::Mat& eigenvec_real, cv::Mat& eigenvec_imag) cv 271 modules/calib3d/src/dls.cpp cv::cv2eigen(Mtilde, Mtilde_eig); cv 272 modules/calib3d/src/dls.cpp cv::cv2eigen(cv::Mat::zeros(27, 27, CV_64F), zeros_eig); cv 286 modules/calib3d/src/dls.cpp cv::eigen2cv(eigval_real, eigenval_real); cv 287 modules/calib3d/src/dls.cpp cv::eigen2cv(eigval_imag, eigenval_imag); cv 288 modules/calib3d/src/dls.cpp cv::eigen2cv(eigvec_real, eigenvec_real); cv 289 modules/calib3d/src/dls.cpp cv::eigen2cv(eigvec_imag, eigenvec_imag); cv 294 modules/calib3d/src/dls.cpp eigenval_imag = eigenvec_imag = cv::Mat(); cv 299 modules/calib3d/src/dls.cpp void dls::fill_coeff(const cv::Mat * D_mat) cv 387 modules/calib3d/src/dls.cpp cv::Mat dls::LeftMultVec(const cv::Mat& v) cv 389 modules/calib3d/src/dls.cpp cv::Mat mat_ = cv::Mat::zeros(3, 9, CV_64F); cv 400 modules/calib3d/src/dls.cpp cv::Mat dls::cayley_LS_M(const std::vector<double>& a, const std::vector<double>& b, const std::vector<double>& c, const std::vector<double>& u) cv 405 modules/calib3d/src/dls.cpp cv::Mat M = cv::Mat::zeros(120, 120, CV_64F); cv 531 modules/calib3d/src/dls.cpp cv::Mat dls::Hessian(const double s[]) cv 570 modules/calib3d/src/dls.cpp cv::Mat H(3, 3, CV_64F); cv 571 modules/calib3d/src/dls.cpp H.at<double>(0,0) = cv::Mat(cv::Mat(f1coeff).rowRange(1,21).t()*cv::Mat(20, 1, CV_64F, &Hs1)).at<double>(0,0); cv 572 modules/calib3d/src/dls.cpp H.at<double>(0,1) = cv::Mat(cv::Mat(f1coeff).rowRange(1,21).t()*cv::Mat(20, 1, CV_64F, &Hs2)).at<double>(0,0); cv 573 modules/calib3d/src/dls.cpp H.at<double>(0,2) = cv::Mat(cv::Mat(f1coeff).rowRange(1,21).t()*cv::Mat(20, 1, CV_64F, &Hs3)).at<double>(0,0); cv 575 modules/calib3d/src/dls.cpp H.at<double>(1,0) = cv::Mat(cv::Mat(f2coeff).rowRange(1,21).t()*cv::Mat(20, 1, CV_64F, &Hs1)).at<double>(0,0); cv 576 modules/calib3d/src/dls.cpp H.at<double>(1,1) = cv::Mat(cv::Mat(f2coeff).rowRange(1,21).t()*cv::Mat(20, 1, CV_64F, &Hs2)).at<double>(0,0); cv 577 modules/calib3d/src/dls.cpp H.at<double>(1,2) = cv::Mat(cv::Mat(f2coeff).rowRange(1,21).t()*cv::Mat(20, 1, CV_64F, &Hs3)).at<double>(0,0); cv 579 modules/calib3d/src/dls.cpp H.at<double>(2,0) = cv::Mat(cv::Mat(f3coeff).rowRange(1,21).t()*cv::Mat(20, 1, CV_64F, &Hs1)).at<double>(0,0); cv 580 modules/calib3d/src/dls.cpp H.at<double>(2,1) = cv::Mat(cv::Mat(f3coeff).rowRange(1,21).t()*cv::Mat(20, 1, CV_64F, &Hs2)).at<double>(0,0); cv 581 modules/calib3d/src/dls.cpp H.at<double>(2,2) = cv::Mat(cv::Mat(f3coeff).rowRange(1,21).t()*cv::Mat(20, 1, CV_64F, &Hs3)).at<double>(0,0); cv 586 modules/calib3d/src/dls.cpp cv::Mat dls::cayley2rotbar(const cv::Mat& s) cv 588 modules/calib3d/src/dls.cpp double s_mul1 = cv::Mat(s.t()*s).at<double>(0,0); cv 589 modules/calib3d/src/dls.cpp cv::Mat s_mul2 = s*s.t(); cv 590 modules/calib3d/src/dls.cpp cv::Mat eye = cv::Mat::eye(3, 3, CV_64F); cv 592 modules/calib3d/src/dls.cpp return cv::Mat( eye.mul(1.-s_mul1) + skewsymm(&s).mul(2.) + s_mul2.mul(2.) ).t(); cv 595 modules/calib3d/src/dls.cpp cv::Mat dls::skewsymm(const cv::Mat * X1) cv 597 modules/calib3d/src/dls.cpp cv::MatConstIterator_<double> it = X1->begin<double>(); cv 598 modules/calib3d/src/dls.cpp return (cv::Mat_<double>(3,3) << 0, -*(it+2), *(it+1), cv 603 modules/calib3d/src/dls.cpp cv::Mat dls::rotx(const double t) cv 608 modules/calib3d/src/dls.cpp return (cv::Mat_<double>(3,3) << 1, 0, 0, 0, ct, -st, 0, st, ct); cv 611 modules/calib3d/src/dls.cpp cv::Mat dls::roty(const double t) cv 616 modules/calib3d/src/dls.cpp return (cv::Mat_<double>(3,3) << ct, 0, st, 0, 1, 0, -st, 0, ct); cv 619 modules/calib3d/src/dls.cpp cv::Mat dls::rotz(const double t) cv 624 modules/calib3d/src/dls.cpp return (cv::Mat_<double>(3,3) << ct, -st, 0, st, ct, 0, 0, 0, 1); cv 627 modules/calib3d/src/dls.cpp cv::Mat dls::mean(const cv::Mat& M) cv 629 modules/calib3d/src/dls.cpp cv::Mat m = cv::Mat::zeros(3, 1, CV_64F); cv 634 modules/calib3d/src/dls.cpp bool dls::is_empty(const cv::Mat * M) cv 636 modules/calib3d/src/dls.cpp cv::MatConstIterator_<double> it = M->begin<double>(), it_end = M->end<double>(); cv 644 modules/calib3d/src/dls.cpp bool dls::positive_eigenvalues(const cv::Mat * eigenvalues) cv 646 modules/calib3d/src/dls.cpp cv::MatConstIterator_<double> it = eigenvalues->begin<double>(); cv 9 modules/calib3d/src/dls.h using namespace cv; cv 14 modules/calib3d/src/dls.h dls(const cv::Mat& opoints, const cv::Mat& ipoints); cv 17 modules/calib3d/src/dls.h bool compute_pose(cv::Mat& R, cv::Mat& t); cv 23 modules/calib3d/src/dls.h void init_points(const cv::Mat& opoints, const cv::Mat& ipoints) cv 52 modules/calib3d/src/dls.h cv::Mat LeftMultVec(const cv::Mat& v); cv 53 modules/calib3d/src/dls.h void run_kernel(const cv::Mat& pp); cv 54 modules/calib3d/src/dls.h void build_coeff_matrix(const cv::Mat& pp, cv::Mat& Mtilde, cv::Mat& D); cv 55 modules/calib3d/src/dls.h void compute_eigenvec(const cv::Mat& Mtilde, cv::Mat& eigenval_real, cv::Mat& eigenval_imag, cv 56 modules/calib3d/src/dls.h cv::Mat& eigenvec_real, cv::Mat& eigenvec_imag); cv 57 modules/calib3d/src/dls.h void fill_coeff(const cv::Mat * D); cv 60 modules/calib3d/src/dls.h cv::Mat cayley_LS_M(const std::vector<double>& a, const std::vector<double>& b, cv 62 modules/calib3d/src/dls.h cv::Mat Hessian(const double s[]); cv 63 modules/calib3d/src/dls.h cv::Mat cayley2rotbar(const cv::Mat& s); cv 64 modules/calib3d/src/dls.h cv::Mat skewsymm(const cv::Mat * X1); cv 67 modules/calib3d/src/dls.h cv::Mat rotx(const double t); cv 68 modules/calib3d/src/dls.h cv::Mat roty(const double t); cv 69 modules/calib3d/src/dls.h cv::Mat rotz(const double t); cv 70 modules/calib3d/src/dls.h cv::Mat mean(const cv::Mat& M); cv 71 modules/calib3d/src/dls.h bool is_empty(const cv::Mat * v); cv 72 modules/calib3d/src/dls.h bool positive_eigenvalues(const cv::Mat * eigenvalues); cv 74 modules/calib3d/src/dls.h cv::Mat p, z, mn; // object-image points cv 77 modules/calib3d/src/dls.h std::vector<cv::Mat> C_est_, t_est_; // optimal candidates cv 78 modules/calib3d/src/dls.h cv::Mat C_est__, t_est__; // optimal found solution cv 7 modules/calib3d/src/epnp.h namespace cv cv 12 modules/calib3d/src/epnp.h epnp(const cv::Mat& cameraMatrix, const cv::Mat& opoints, const cv::Mat& ipoints); cv 18 modules/calib3d/src/epnp.h void compute_pose(cv::Mat& R, cv::Mat& t); cv 21 modules/calib3d/src/epnp.h void init_camera_parameters(const cv::Mat& cameraMatrix) cv 29 modules/calib3d/src/epnp.h void init_points(const cv::Mat& opoints, const cv::Mat& ipoints) cv 62 modules/calib3d/src/fisheye.cpp void cv::fisheye::projectPoints(InputArray objectPoints, OutputArray imagePoints, const Affine3d& affine, cv 68 modules/calib3d/src/fisheye.cpp void cv::fisheye::projectPoints(InputArray objectPoints, OutputArray imagePoints, InputArray _rvec, cv 85 modules/calib3d/src/fisheye.cpp cv::Vec2d f, c; cv 250 modules/calib3d/src/fisheye.cpp void cv::fisheye::distortPoints(InputArray undistorted, OutputArray distorted, InputArray K, InputArray D, double alpha) cv 259 modules/calib3d/src/fisheye.cpp cv::Vec2d f, c; cv 312 modules/calib3d/src/fisheye.cpp void cv::fisheye::undistortPoints( InputArray distorted, OutputArray undistorted, InputArray K, InputArray D, InputArray R, InputArray P) cv 322 modules/calib3d/src/fisheye.cpp cv::Vec2d f, c; cv 338 modules/calib3d/src/fisheye.cpp cv::Matx33d RR = cv::Matx33d::eye(); cv 341 modules/calib3d/src/fisheye.cpp cv::Vec3d rvec; cv 343 modules/calib3d/src/fisheye.cpp RR = cv::Affine3d(rvec).rotation(); cv 350 modules/calib3d/src/fisheye.cpp cv::Matx33d PP; cv 356 modules/calib3d/src/fisheye.cpp const cv::Vec2f* srcf = distorted.getMat().ptr<cv::Vec2f>(); cv 357 modules/calib3d/src/fisheye.cpp const cv::Vec2d* srcd = distorted.getMat().ptr<cv::Vec2d>(); cv 358 modules/calib3d/src/fisheye.cpp cv::Vec2f* dstf = undistorted.getMat().ptr<cv::Vec2f>(); cv 359 modules/calib3d/src/fisheye.cpp cv::Vec2d* dstd = undistorted.getMat().ptr<cv::Vec2d>(); cv 401 modules/calib3d/src/fisheye.cpp void cv::fisheye::initUndistortRectifyMap( InputArray K, InputArray D, InputArray R, InputArray P, cv 402 modules/calib3d/src/fisheye.cpp const cv::Size& size, int m1type, OutputArray map1, OutputArray map2 ) cv 414 modules/calib3d/src/fisheye.cpp cv::Vec2d f, c; cv 432 modules/calib3d/src/fisheye.cpp cv::Matx33d RR = cv::Matx33d::eye(); cv 435 modules/calib3d/src/fisheye.cpp cv::Vec3d rvec; cv 442 modules/calib3d/src/fisheye.cpp cv::Matx33d PP = cv::Matx33d::eye(); cv 446 modules/calib3d/src/fisheye.cpp cv::Matx33d iR = (PP * RR).inv(cv::DECOMP_SVD); cv 475 modules/calib3d/src/fisheye.cpp int iu = cv::saturate_cast<int>(u*cv::INTER_TAB_SIZE); cv 476 modules/calib3d/src/fisheye.cpp int iv = cv::saturate_cast<int>(v*cv::INTER_TAB_SIZE); cv 477 modules/calib3d/src/fisheye.cpp m1[j*2+0] = (short)(iu >> cv::INTER_BITS); cv 478 modules/calib3d/src/fisheye.cpp m1[j*2+1] = (short)(iv >> cv::INTER_BITS); cv 479 modules/calib3d/src/fisheye.cpp m2[j] = (ushort)((iv & (cv::INTER_TAB_SIZE-1))*cv::INTER_TAB_SIZE + (iu & (cv::INTER_TAB_SIZE-1))); cv 497 modules/calib3d/src/fisheye.cpp void cv::fisheye::undistortImage(InputArray distorted, OutputArray undistorted, cv 502 modules/calib3d/src/fisheye.cpp cv::Mat map1, map2; cv 503 modules/calib3d/src/fisheye.cpp fisheye::initUndistortRectifyMap(K, D, cv::Matx33d::eye(), Knew, size, CV_16SC2, map1, map2 ); cv 504 modules/calib3d/src/fisheye.cpp cv::remap(distorted, undistorted, map1, map2, INTER_LINEAR, BORDER_CONSTANT); cv 511 modules/calib3d/src/fisheye.cpp void cv::fisheye::estimateNewCameraMatrixForUndistortRectify(InputArray K, InputArray D, const Size &image_size, InputArray R, cv 520 modules/calib3d/src/fisheye.cpp cv::Mat points(1, 4, CV_64FC2); cv 529 modules/calib3d/src/fisheye.cpp cv::Mat points(1, N * 4, CV_64FC2); cv 542 modules/calib3d/src/fisheye.cpp cv::Scalar center_mass = mean(points); cv 543 modules/calib3d/src/fisheye.cpp cv::Vec2d cn(center_mass.val); cv 584 modules/calib3d/src/fisheye.cpp cv::Vec2d new_f(f, f), new_c = -cn * f + Vec2d(w, h * aspect_ratio) * 0.5; cv 608 modules/calib3d/src/fisheye.cpp void cv::fisheye::stereoRectify( InputArray K1, InputArray D1, InputArray K2, InputArray D2, const Size& imageSize, cv 616 modules/calib3d/src/fisheye.cpp cv::Mat aaa = _tvec.getMat().reshape(3, 1); cv 621 modules/calib3d/src/fisheye.cpp cv::Matx33d rmat; cv 644 modules/calib3d/src/fisheye.cpp ww *= acos(fabs(t[0])/cv::norm(t))/nw; cv 667 modules/calib3d/src/fisheye.cpp if( flags & cv::CALIB_ZERO_DISPARITY ) cv 690 modules/calib3d/src/fisheye.cpp double cv::fisheye::calibrate(InputArrayOfArrays objectPoints, InputArrayOfArrays imagePoints, const Size& image_size, cv 692 modules/calib3d/src/fisheye.cpp int flags , cv::TermCriteria criteria) cv 704 modules/calib3d/src/fisheye.cpp using namespace cv::internal; cv 795 modules/calib3d/src/fisheye.cpp if (K.needed()) cv::Mat(_K).convertTo(K, K.empty() ? CV_64FC1 : K.type()); cv 796 modules/calib3d/src/fisheye.cpp if (D.needed()) cv::Mat(finalParam.k).convertTo(D, D.empty() ? CV_64FC1 : D.type()); cv 808 modules/calib3d/src/fisheye.cpp if (rvecs.needed()) cv::Mat(omc).convertTo(rvecs, rvecs.empty() ? CV_64FC3 : rvecs.type()); cv 809 modules/calib3d/src/fisheye.cpp if (tvecs.needed()) cv::Mat(Tc).convertTo(tvecs, tvecs.empty() ? CV_64FC3 : tvecs.type()); cv 818 modules/calib3d/src/fisheye.cpp double cv::fisheye::stereoCalibrate(InputArrayOfArrays objectPoints, InputArrayOfArrays imagePoints1, InputArrayOfArrays imagePoints2, cv 846 modules/calib3d/src/fisheye.cpp cv::internal::IntrinsicParams intrinsicLeft; cv 847 modules/calib3d/src/fisheye.cpp cv::internal::IntrinsicParams intrinsicRight; cv 849 modules/calib3d/src/fisheye.cpp cv::internal::IntrinsicParams intrinsicLeft_errors; cv 850 modules/calib3d/src/fisheye.cpp cv::internal::IntrinsicParams intrinsicRight_errors; cv 875 modules/calib3d/src/fisheye.cpp cv::internal::CalibrateExtrinsics(objectPoints, imagePoints1, intrinsicLeft, check_cond, thresh_cond, rvecs1, tvecs1); cv 876 modules/calib3d/src/fisheye.cpp cv::internal::CalibrateExtrinsics(objectPoints, imagePoints2, intrinsicRight, check_cond, thresh_cond, rvecs2, tvecs2); cv 909 modules/calib3d/src/fisheye.cpp cv::Mat om_list(1, n_images, CV_64FC3), T_list(1, n_images, CV_64FC3); cv 910 modules/calib3d/src/fisheye.cpp cv::Mat om_ref, R_ref, T_ref, R1, R2; cv 913 modules/calib3d/src/fisheye.cpp cv::Rodrigues(rvecs1[image_idx], R1); cv 914 modules/calib3d/src/fisheye.cpp cv::Rodrigues(rvecs2[image_idx], R2); cv 916 modules/calib3d/src/fisheye.cpp T_ref = cv::Mat(tvecs2[image_idx]) - R_ref * cv::Mat(tvecs1[image_idx]); cv 917 modules/calib3d/src/fisheye.cpp cv::Rodrigues(R_ref, om_ref); cv 921 modules/calib3d/src/fisheye.cpp cv::Vec3d omcur = cv::internal::median3d(om_list); cv 922 modules/calib3d/src/fisheye.cpp cv::Vec3d Tcur = cv::internal::median3d(T_list); cv 924 modules/calib3d/src/fisheye.cpp cv::Mat J = cv::Mat::zeros(4 * n_points * n_images, 18 + 6 * (n_images + 1), CV_64FC1), cv 925 modules/calib3d/src/fisheye.cpp e = cv::Mat::zeros(4 * n_points * n_images, 1, CV_64FC1), Jkk, ekk; cv 926 modules/calib3d/src/fisheye.cpp cv::Mat J2_inv; cv 940 modules/calib3d/src/fisheye.cpp cv::Mat omr, Tr, domrdomckk, domrdTckk, domrdom, domrdT, dTrdomckk, dTrdTckk, dTrdom, dTrdT; cv 944 modules/calib3d/src/fisheye.cpp Jkk = cv::Mat::zeros(4 * n_points, 18 + 6 * (n_images + 1), CV_64FC1); cv 946 modules/calib3d/src/fisheye.cpp cv::Mat object = objectPoints.getMat(image_idx).clone(); cv 947 modules/calib3d/src/fisheye.cpp cv::Mat imageLeft = imagePoints1.getMat(image_idx).clone(); cv 948 modules/calib3d/src/fisheye.cpp cv::Mat imageRight = imagePoints2.getMat(image_idx).clone(); cv 949 modules/calib3d/src/fisheye.cpp cv::Mat jacobians, projected; cv 952 modules/calib3d/src/fisheye.cpp cv::Mat rvec = cv::Mat(rvecs1[image_idx]); cv 953 modules/calib3d/src/fisheye.cpp cv::Mat tvec = cv::Mat(tvecs1[image_idx]); cv 954 modules/calib3d/src/fisheye.cpp cv::internal::projectPoints(object, projected, rvec, tvec, intrinsicLeft, jacobians); cv 955 modules/calib3d/src/fisheye.cpp cv::Mat(cv::Mat((imageLeft - projected).t()).reshape(1, 1).t()).copyTo(ekk.rowRange(0, 2 * n_points)); cv 964 modules/calib3d/src/fisheye.cpp cv::internal::compose_motion(rvec, tvec, omcur, Tcur, omr, Tr, domrdomckk, domrdTckk, domrdom, domrdT, dTrdomckk, dTrdTckk, dTrdom, dTrdT); cv 965 modules/calib3d/src/fisheye.cpp rvec = cv::Mat(rvecs2[image_idx]); cv 966 modules/calib3d/src/fisheye.cpp tvec = cv::Mat(tvecs2[image_idx]); cv 968 modules/calib3d/src/fisheye.cpp cv::internal::projectPoints(object, projected, omr, Tr, intrinsicRight, jacobians); cv 969 modules/calib3d/src/fisheye.cpp cv::Mat(cv::Mat((imageRight - projected).t()).reshape(1, 1).t()).copyTo(ekk.rowRange(2 * n_points, 4 * n_points)); cv 970 modules/calib3d/src/fisheye.cpp cv::Mat dxrdom = jacobians.colRange(8, 11) * domrdom + jacobians.colRange(11, 14) * dTrdom; cv 971 modules/calib3d/src/fisheye.cpp cv::Mat dxrdT = jacobians.colRange(8, 11) * domrdT + jacobians.colRange(11, 14)* dTrdT; cv 972 modules/calib3d/src/fisheye.cpp cv::Mat dxrdomckk = jacobians.colRange(8, 11) * domrdomckk + jacobians.colRange(11, 14) * dTrdomckk; cv 973 modules/calib3d/src/fisheye.cpp cv::Mat dxrdTckk = jacobians.colRange(8, 11) * domrdTckk + jacobians.colRange(11, 14) * dTrdTckk; cv 1000 modules/calib3d/src/fisheye.cpp cv::Vec6d oldTom(Tcur[0], Tcur[1], Tcur[2], omcur[0], omcur[1], omcur[2]); cv 1003 modules/calib3d/src/fisheye.cpp cv::subMatrix(J, J, selectedParams, std::vector<int>(J.rows, 1)); cv 1004 modules/calib3d/src/fisheye.cpp cv::Mat J2 = J.t() * J; cv 1006 modules/calib3d/src/fisheye.cpp int a = cv::countNonZero(intrinsicLeft.isEstimate); cv 1007 modules/calib3d/src/fisheye.cpp int b = cv::countNonZero(intrinsicRight.isEstimate); cv 1008 modules/calib3d/src/fisheye.cpp cv::Mat deltas = J2_inv * J.t() * e; cv 1011 modules/calib3d/src/fisheye.cpp omcur = omcur + cv::Vec3d(deltas.rowRange(a + b, a + b + 3)); cv 1012 modules/calib3d/src/fisheye.cpp Tcur = Tcur + cv::Vec3d(deltas.rowRange(a + b + 3, a + b + 6)); cv 1015 modules/calib3d/src/fisheye.cpp rvecs1[image_idx] = cv::Mat(cv::Mat(rvecs1[image_idx]) + deltas.rowRange(a + b + 6 + image_idx * 6, a + b + 9 + image_idx * 6)); cv 1016 modules/calib3d/src/fisheye.cpp tvecs1[image_idx] = cv::Mat(cv::Mat(tvecs1[image_idx]) + deltas.rowRange(a + b + 9 + image_idx * 6, a + b + 12 + image_idx * 6)); cv 1019 modules/calib3d/src/fisheye.cpp cv::Vec6d newTom(Tcur[0], Tcur[1], Tcur[2], omcur[0], omcur[1], omcur[2]); cv 1020 modules/calib3d/src/fisheye.cpp change = cv::norm(newTom - oldTom) / cv::norm(newTom); cv 1044 modules/calib3d/src/fisheye.cpp if (K1.needed()) cv::Mat(_K1).convertTo(K1, K1.empty() ? CV_64FC1 : K1.type()); cv 1045 modules/calib3d/src/fisheye.cpp if (K2.needed()) cv::Mat(_K2).convertTo(K2, K2.empty() ? CV_64FC1 : K2.type()); cv 1046 modules/calib3d/src/fisheye.cpp if (D1.needed()) cv::Mat(intrinsicLeft.k).convertTo(D1, D1.empty() ? CV_64FC1 : D1.type()); cv 1047 modules/calib3d/src/fisheye.cpp if (D2.needed()) cv::Mat(intrinsicRight.k).convertTo(D2, D2.empty() ? CV_64FC1 : D2.type()); cv 1049 modules/calib3d/src/fisheye.cpp if (T.needed()) cv::Mat(Tcur).convertTo(T, T.empty() ? CV_64FC1 : T.type()); cv 1059 modules/calib3d/src/fisheye.cpp int nonzeros_cols = cv::countNonZero(cols); cv 1070 modules/calib3d/src/fisheye.cpp int nonzeros_rows = cv::countNonZero(rows); cv 1085 modules/calib3d/src/fisheye.cpp cv::internal::IntrinsicParams::IntrinsicParams(): cv 1090 modules/calib3d/src/fisheye.cpp cv::internal::IntrinsicParams::IntrinsicParams(Vec2d _f, Vec2d _c, Vec4d _k, double _alpha): cv 1095 modules/calib3d/src/fisheye.cpp cv::internal::IntrinsicParams cv::internal::IntrinsicParams::operator+(const Mat& a) cv 1116 modules/calib3d/src/fisheye.cpp cv::internal::IntrinsicParams& cv::internal::IntrinsicParams::operator =(const Mat& a) cv 1136 modules/calib3d/src/fisheye.cpp void cv::internal::IntrinsicParams::Init(const cv::Vec2d& _f, const cv::Vec2d& _c, const cv::Vec4d& _k, const double& _alpha) cv 1144 modules/calib3d/src/fisheye.cpp void cv::internal::projectPoints(cv::InputArray objectPoints, cv::OutputArray imagePoints, cv 1145 modules/calib3d/src/fisheye.cpp cv::InputArray _rvec,cv::InputArray _tvec, cv 1146 modules/calib3d/src/fisheye.cpp const IntrinsicParams& param, cv::OutputArray jacobian) cv 1155 modules/calib3d/src/fisheye.cpp void cv::internal::ComputeExtrinsicRefine(const Mat& imagePoints, const Mat& objectPoints, Mat& rvec, cv 1198 modules/calib3d/src/fisheye.cpp cv::Mat cv::internal::ComputeHomography(Mat m, Mat M) cv 1297 modules/calib3d/src/fisheye.cpp cv::Mat cv::internal::NormalizePixels(const Mat& imagePoints, const IntrinsicParams& param) cv 1309 modules/calib3d/src/fisheye.cpp cv::fisheye::undistortPoints(distorted, undistorted, Matx33d::eye(), param.k); cv 1313 modules/calib3d/src/fisheye.cpp void cv::internal::InitExtrinsics(const Mat& _imagePoints, const Mat& _objectPoints, const IntrinsicParams& param, Mat& omckk, Mat& Tckk) cv 1352 modules/calib3d/src/fisheye.cpp void cv::internal::CalibrateExtrinsics(InputArrayOfArrays objectPoints, InputArrayOfArrays imagePoints, cv 1387 modules/calib3d/src/fisheye.cpp void cv::internal::ComputeJacobians(InputArrayOfArrays objectPoints, InputArrayOfArrays imagePoints, cv 1452 modules/calib3d/src/fisheye.cpp void cv::internal::EstimateUncertainties(InputArrayOfArrays objectPoints, InputArrayOfArrays imagePoints, cv 1507 modules/calib3d/src/fisheye.cpp void cv::internal::dAB(InputArray A, InputArray B, OutputArray dABdA, OutputArray dABdB) cv 1541 modules/calib3d/src/fisheye.cpp void cv::internal::JRodriguesMatlab(const Mat& src, Mat& dst) cv 1571 modules/calib3d/src/fisheye.cpp void cv::internal::compose_motion(InputArray _om1, InputArray _T1, InputArray _om2, InputArray _T2, cv 1609 modules/calib3d/src/fisheye.cpp double cv::internal::median(const Mat& row) cv 1619 modules/calib3d/src/fisheye.cpp cv::Vec3d cv::internal::median3d(InputArray m) cv 19 modules/calib3d/src/fisheye.hpp void Init(const cv::Vec2d& f, const cv::Vec2d& c, const cv::Vec4d& k = Vec4d(0,0,0,0), const double& alpha = 0); cv 22 modules/calib3d/src/fisheye.hpp void projectPoints(cv::InputArray objectPoints, cv::OutputArray imagePoints, cv 23 modules/calib3d/src/fisheye.hpp cv::InputArray _rvec,cv::InputArray _tvec, cv 24 modules/calib3d/src/fisheye.hpp const IntrinsicParams& param, cv::OutputArray jacobian); cv 47 modules/calib3d/src/fisheye.hpp void dAB(cv::InputArray A, InputArray B, OutputArray dABdA, OutputArray dABdB); cv 129 modules/calib3d/src/five-point.cpp cv::Mat xy1; cv 137 modules/calib3d/src/five-point.cpp cv::Mat Evec = EE.col(0) * xs.back() + EE.col(1) * ys.back() + EE.col(2) * zs.back() + EE.col(3); cv 405 modules/calib3d/src/five-point.cpp cv::Mat cv::findEssentialMat( InputArray _points1, InputArray _points2, double focal, Point2d pp, cv 446 modules/calib3d/src/five-point.cpp int cv::recoverPose( InputArray E, InputArray _points1, InputArray _points2, OutputArray _R, cv 594 modules/calib3d/src/five-point.cpp void cv::decomposeEssentialMat( InputArray _E, OutputArray _R1, OutputArray _R2, OutputArray _t ) cv 342 modules/calib3d/src/fundam.cpp cv::Mat cv::findHomography( InputArray _points1, InputArray _points2, cv 419 modules/calib3d/src/fundam.cpp cv::Mat cv::findHomography( InputArray _points1, InputArray _points2, cv 422 modules/calib3d/src/fundam.cpp return cv::findHomography(_points1, _points2, method, ransacReprojThreshold, _mask); cv 726 modules/calib3d/src/fundam.cpp cv::Mat cv::findFundamentalMat( InputArray _points1, InputArray _points2, cv 789 modules/calib3d/src/fundam.cpp cv::Mat cv::findFundamentalMat( InputArray _points1, InputArray _points2, cv 792 modules/calib3d/src/fundam.cpp return cv::findFundamentalMat(_points1, _points2, method, param1, param2, _mask); cv 796 modules/calib3d/src/fundam.cpp void cv::computeCorrespondEpilines( InputArray _points, int whichImage, cv 870 modules/calib3d/src/fundam.cpp void cv::convertPointsFromHomogeneous( InputArray _src, OutputArray _dst ) cv 969 modules/calib3d/src/fundam.cpp void cv::convertPointsToHomogeneous( InputArray _src, OutputArray _dst ) cv 1050 modules/calib3d/src/fundam.cpp void cv::convertPointsHomogeneous( InputArray _src, OutputArray _dst ) cv 60 modules/calib3d/src/homography_decomp.cpp cv::Matx33d R; //!< rotation matrix cv 61 modules/calib3d/src/homography_decomp.cpp cv::Vec3d n; //!< normal of the plane the camera is looking at cv 62 modules/calib3d/src/homography_decomp.cpp cv::Vec3d t; //!< translation vector cv 75 modules/calib3d/src/homography_decomp.cpp virtual void decomposeHomography(const cv::Matx33d& H, const cv::Matx33d& K, cv 77 modules/calib3d/src/homography_decomp.cpp bool isRotationValid(const cv::Matx33d& R, const double epsilon=0.01); cv 82 modules/calib3d/src/homography_decomp.cpp const cv::Matx33d& getHnorm() const { cv 87 modules/calib3d/src/homography_decomp.cpp cv::Matx33d normalize(const cv::Matx33d& H, const cv::Matx33d& K); cv 89 modules/calib3d/src/homography_decomp.cpp cv::Matx33d _Hnorm; cv 100 modules/calib3d/src/homography_decomp.cpp bool findMotionFrom_tstar_n(const cv::Vec3d& tstar, const cv::Vec3d& n, CameraMotion& motion); cv 111 modules/calib3d/src/homography_decomp.cpp double oppositeOfMinor(const cv::Matx33d& M, const int row, const int col); cv 112 modules/calib3d/src/homography_decomp.cpp void findRmatFrom_tstar_n(const cv::Vec3d& tstar, const cv::Vec3d& n, const double v, cv::Matx33d& R); cv 152 modules/calib3d/src/homography_decomp.cpp void HomographyDecomp::decomposeHomography(const Matx33d& H, const cv::Matx33d& K, cv 168 modules/calib3d/src/homography_decomp.cpp bool HomographyDecompZhang::findMotionFrom_tstar_n(const cv::Vec3d& tstar, const cv::Vec3d& n, CameraMotion& motion) cv 294 modules/calib3d/src/homography_decomp.cpp void HomographyDecompInria::findRmatFrom_tstar_n(const cv::Vec3d& tstar, const cv::Vec3d& n, const double v, cv::Matx33d& R) cv 16 modules/calib3d/src/p3p.cpp p3p::p3p(cv::Mat cameraMatrix) cv 34 modules/calib3d/src/p3p.cpp bool p3p::solve(cv::Mat& R, cv::Mat& tvec, const cv::Mat& opoints, const cv::Mat& ipoints) cv 41 modules/calib3d/src/p3p.cpp extract_points<cv::Point3f,cv::Point2f>(opoints, ipoints, points); cv 43 modules/calib3d/src/p3p.cpp extract_points<cv::Point3d,cv::Point2d>(opoints, ipoints, points); cv 46 modules/calib3d/src/p3p.cpp extract_points<cv::Point3f,cv::Point2d>(opoints, ipoints, points); cv 48 modules/calib3d/src/p3p.cpp extract_points<cv::Point3d,cv::Point2f>(opoints, ipoints, points); cv 53 modules/calib3d/src/p3p.cpp cv::Mat(3, 1, CV_64F, translation).copyTo(tvec); cv 54 modules/calib3d/src/p3p.cpp cv::Mat(3, 3, CV_64F, rotation_matrix).copyTo(R); cv 11 modules/calib3d/src/p3p.h p3p(cv::Mat cameraMatrix); cv 13 modules/calib3d/src/p3p.h bool solve(cv::Mat& R, cv::Mat& tvec, const cv::Mat& opoints, const cv::Mat& ipoints); cv 26 modules/calib3d/src/p3p.h void init_camera_parameters(const cv::Mat& cameraMatrix) cv 34 modules/calib3d/src/p3p.h void extract_points(const cv::Mat& opoints, const cv::Mat& ipoints, std::vector<double>& points) cv 109 modules/calib3d/src/ptsetreg.cpp cv::AutoBuffer<int> _idx(modelPoints); cv 506 modules/calib3d/src/ptsetreg.cpp int cv::estimateAffine3D(InputArray _from, InputArray _to, cv 164 modules/calib3d/src/quadsubpix.cpp bool cv::find4QuadCornerSubpix(InputArray _img, InputOutputArray _corners, Size region_size) cv 323 modules/calib3d/src/rho.cpp cv::Mat perObj; cv 324 modules/calib3d/src/rho.cpp cv::Mat perRun; cv 80 modules/calib3d/src/rho.h namespace cv{ cv 91 modules/calib3d/src/stereobm.cpp ocl::Kernel k("prefilter_norm", ocl::calib3d::stereobm_oclsrc, cv::format("-D WSZ=%d", winsize)); cv 220 modules/calib3d/src/stereobm.cpp uint8x8_t ftz2 = vdup_n_u8 (cv::saturate_cast<uchar>(ftzero*2)); cv 257 modules/calib3d/src/stereobm.cpp ftz2 = _mm_set1_epi8(cv::saturate_cast<uchar>(ftzero*2)); cv 912 modules/calib3d/src/stereobm.cpp cv::String opt = cv::format("-D DEFINE_KERNEL_STEREOBM -D MIN_DISP=%d -D NUM_DISP=%d" cv 974 modules/calib3d/src/stereosgbm.cpp typedef cv::Point_<short> Point2s; cv 977 modules/calib3d/src/stereosgbm.cpp void filterSpecklesImpl(cv::Mat& img, int newVal, int maxSpeckleSize, int maxDiff, cv::Mat& _buf) cv 979 modules/calib3d/src/stereosgbm.cpp using namespace cv; cv 1075 modules/calib3d/src/stereosgbm.cpp void cv::filterSpeckles( InputOutputArray _img, double _newval, int maxSpeckleSize, cv 1123 modules/calib3d/src/stereosgbm.cpp void cv::validateDisparity( InputOutputArray _disp, InputArray _cost, int minDisparity, cv 85 modules/calib3d/src/triangulate.cpp cv::Matx<double, 4, 4> matrA; cv 86 modules/calib3d/src/triangulate.cpp cv::Matx<double, 4, 4> matrU; cv 87 modules/calib3d/src/triangulate.cpp cv::Matx<double, 4, 1> matrW; cv 88 modules/calib3d/src/triangulate.cpp cv::Matx<double, 4, 4> matrV; cv 109 modules/calib3d/src/triangulate.cpp cv::SVD::compute(matrA, matrW, matrU, matrV); cv 183 modules/calib3d/src/triangulate.cpp cv::Ptr<CvMat> tmp33; cv 184 modules/calib3d/src/triangulate.cpp cv::Ptr<CvMat> tmp31, tmp31_2; cv 185 modules/calib3d/src/triangulate.cpp cv::Ptr<CvMat> T1i, T2i; cv 186 modules/calib3d/src/triangulate.cpp cv::Ptr<CvMat> R1, R2; cv 187 modules/calib3d/src/triangulate.cpp cv::Ptr<CvMat> TFT, TFTt, RTFTR; cv 188 modules/calib3d/src/triangulate.cpp cv::Ptr<CvMat> U, S, V; cv 189 modules/calib3d/src/triangulate.cpp cv::Ptr<CvMat> e1, e2; cv 190 modules/calib3d/src/triangulate.cpp cv::Ptr<CvMat> polynomial; cv 191 modules/calib3d/src/triangulate.cpp cv::Ptr<CvMat> result; cv 192 modules/calib3d/src/triangulate.cpp cv::Ptr<CvMat> points1, points2; cv 193 modules/calib3d/src/triangulate.cpp cv::Ptr<CvMat> F; cv 392 modules/calib3d/src/triangulate.cpp void cv::triangulatePoints( InputArray _projMatr1, InputArray _projMatr2, cv 414 modules/calib3d/src/triangulate.cpp void cv::correctMatches( InputArray _F, InputArray _points1, InputArray _points2, cv 53 modules/calib3d/src/upnp.cpp using namespace cv; cv 58 modules/calib3d/src/upnp.h upnp(const cv::Mat& cameraMatrix, const cv::Mat& opoints, const cv::Mat& ipoints); cv 61 modules/calib3d/src/upnp.h double compute_pose(cv::Mat& R, cv::Mat& t); cv 64 modules/calib3d/src/upnp.h void init_camera_parameters(const cv::Mat& cameraMatrix) cv 72 modules/calib3d/src/upnp.h void init_points(const cv::Mat& opoints, const cv::Mat& ipoints) cv 88 modules/calib3d/src/upnp.h void fill_M(cv::Mat * M, const int row, const double * alphas, const double u, const double v); cv 94 modules/calib3d/src/upnp.h void find_betas_and_focal_approx_1(cv::Mat * Ut, cv::Mat * Rho, double * betas, double * efs); cv 95 modules/calib3d/src/upnp.h void find_betas_and_focal_approx_2(cv::Mat * Ut, cv::Mat * Rho, double * betas, double * efs); cv 96 modules/calib3d/src/upnp.h void qr_solve(cv::Mat * A, cv::Mat * b, cv::Mat * X); cv 98 modules/calib3d/src/upnp.h cv::Mat compute_constraint_distance_2param_6eq_2unk_f_unk(const cv::Mat& M1); cv 99 modules/calib3d/src/upnp.h cv::Mat compute_constraint_distance_3param_6eq_6unk_f_unk(const cv::Mat& M1, const cv::Mat& M2); cv 111 modules/calib3d/src/upnp.h void gauss_newton(const cv::Mat * L_6x12, const cv::Mat * Rho, double current_betas[4], double * efs); cv 113 modules/calib3d/src/upnp.h const double cb[4], cv::Mat * A, cv::Mat * b, double const f); cv 50 modules/calib3d/test/test_affine3.cpp cv::Vec3d rvec(0.2, 0.5, 0.3); cv 51 modules/calib3d/test/test_affine3.cpp cv::Affine3d affine(rvec); cv 53 modules/calib3d/test/test_affine3.cpp cv::Mat expected; cv 54 modules/calib3d/test/test_affine3.cpp cv::Rodrigues(rvec, expected); cv 57 modules/calib3d/test/test_affine3.cpp ASSERT_EQ(0, cvtest::norm(cv::Mat(affine.matrix, false).colRange(0, 3).rowRange(0, 3) != expected, cv::NORM_L2)); cv 58 modules/calib3d/test/test_affine3.cpp ASSERT_EQ(0, cvtest::norm(cv::Mat(affine.linear()) != expected, cv::NORM_L2)); cv 61 modules/calib3d/test/test_affine3.cpp cv::Matx33d R = cv::Matx33d::eye(); cv 69 modules/calib3d/test/test_affine3.cpp cv::Affine3d affine1(cv::Mat(cv::Vec3d(0.2, 0.5, 0.3)).reshape(1, 1), cv::Vec3d(4, 5, 6)); cv 70 modules/calib3d/test/test_affine3.cpp cv::Affine3d affine2(R, cv::Vec3d(1, 1, 0.4)); cv 72 modules/calib3d/test/test_affine3.cpp cv::Affine3d result = affine1.inv() * affine2; cv 74 modules/calib3d/test/test_affine3.cpp expected = cv::Mat(affine1.matrix.inv(cv::DECOMP_SVD)) * cv::Mat(affine2.matrix, false); cv 77 modules/calib3d/test/test_affine3.cpp cv::Mat diff; cv 78 modules/calib3d/test/test_affine3.cpp cv::absdiff(expected, result.matrix, diff); cv 80 modules/calib3d/test/test_affine3.cpp ASSERT_LT(cvtest::norm(diff, cv::NORM_INF), 1e-15); cv 85 modules/calib3d/test/test_affine3.cpp cv::RNG rng; cv 88 modules/calib3d/test/test_affine3.cpp cv::Affine3<T>::Vec3 w; cv 89 modules/calib3d/test/test_affine3.cpp cv::Affine3<T>::Mat3 u, vt, R; cv 93 modules/calib3d/test/test_affine3.cpp rng.fill(R, cv::RNG::UNIFORM, -10, 10, true); cv 94 modules/calib3d/test/test_affine3.cpp cv::SVD::compute(R, w, u, vt, cv::SVD::FULL_UV + cv::SVD::MODIFY_A); cv 98 modules/calib3d/test/test_affine3.cpp cv::Affine3<T>::Vec3 va = cv::Affine3<T>(R).rvec(); cv 101 modules/calib3d/test/test_affine3.cpp cv::Affine3<T>::Vec3 vo; cv 103 modules/calib3d/test/test_affine3.cpp cv::Rodrigues(R, vo); cv 106 modules/calib3d/test/test_affine3.cpp ASSERT_LT(cvtest::norm(va, vo, cv::NORM_L2), 1e-9); cv 45 modules/calib3d/test/test_affine3d_estimator.cpp using namespace cv; cv 92 modules/calib3d/test/test_affine3d_estimator.cpp cv::randu(aff, Scalar(1), Scalar(3)); cv 134 modules/calib3d/test/test_affine3d_estimator.cpp cv::randu(aff, Scalar(-2), Scalar(2)); cv 48 modules/calib3d/test/test_cameracalibration.cpp using namespace cv; cv 293 modules/calib3d/test/test_cameracalibration.cpp cv::String filepath; cv 294 modules/calib3d/test/test_cameracalibration.cpp cv::String filename; cv 340 modules/calib3d/test/test_cameracalibration.cpp filepath = cv::format("%scv/cameracalibration/", ts->get_data_path().c_str() ); cv 341 modules/calib3d/test/test_cameracalibration.cpp filename = cv::format("%sdatafiles.txt", filepath.c_str() ); cv 357 modules/calib3d/test/test_cameracalibration.cpp filename = cv::format("%s%s", filepath.c_str(), i_dat_file); cv 1385 modules/calib3d/test/test_cameracalibration.cpp cv::String filepath; cv 1387 modules/calib3d/test/test_cameracalibration.cpp filepath = cv::format("%scv/stereo/case%d/stereo_calib.txt", ts->get_data_path().c_str(), testcase ); cv 1409 modules/calib3d/test/test_cameracalibration.cpp filepath = cv::format("%scv/stereo/case%d/%s", ts->get_data_path().c_str(), testcase, buf ); cv 54 modules/calib3d/test/test_cameracalibration_artificial.cpp using namespace cv; cv 48 modules/calib3d/test/test_cameracalibration_badarg.cpp using namespace cv; cv 311 modules/calib3d/test/test_cameracalibration_badarg.cpp cv::RNG& rng = theRNG(); cv 50 modules/calib3d/test/test_chessboardgenerator.cpp using namespace cv; cv 60 modules/calib3d/test/test_chessboardgenerator.cpp void cv::ChessBoardGenerator::generateEdge(const Point3f& p1, const Point3f& p2, vector<Point3f>& out) const cv 67 modules/calib3d/test/test_chessboardgenerator.cpp Size cv::ChessBoardGenerator::cornersSize() const cv 79 modules/calib3d/test/test_chessboardgenerator.cpp void cv::ChessBoardGenerator::generateBasis(Point3f& pb1, Point3f& pb2) const cv 109 modules/calib3d/test/test_chessboardgenerator.cpp Mat cv::ChessBoardGenerator::generateChessBoard(const Mat& bg, const Mat& camMat, const Mat& distCoeffs, cv 179 modules/calib3d/test/test_chessboardgenerator.cpp Mat cv::ChessBoardGenerator::operator ()(const Mat& bg, const Mat& camMat, const Mat& distCoeffs, vector<Point2f>& corners) const cv 243 modules/calib3d/test/test_chessboardgenerator.cpp Mat cv::ChessBoardGenerator::operator ()(const Mat& bg, const Mat& camMat, const Mat& distCoeffs, cv 302 modules/calib3d/test/test_chessboardgenerator.cpp Mat cv::ChessBoardGenerator::operator ()(const Mat& bg, const Mat& camMat, const Mat& distCoeffs, cv 50 modules/calib3d/test/test_chesscorners.cpp using namespace cv; cv 463 modules/calib3d/test/test_chesscorners.cpp cv::drawContours(cb, cnts, -1, Scalar::all(128), FILLED); cv 469 modules/calib3d/test/test_chesscorners.cpp cv::drawChessboardCorners(cb, cbg.cornersSize(), Mat(corners_found), found); cv 49 modules/calib3d/test/test_chesscorners_badarg.cpp using namespace cv; cv 127 modules/calib3d/test/test_chesscorners_badarg.cpp cv::merge(vector<Mat>(2, cb), img); cv 78 modules/calib3d/test/test_chesscorners_timing.cpp filepath = cv::format("%scv/cameracalibration/", ts->get_data_path().c_str() ); cv 79 modules/calib3d/test/test_chesscorners_timing.cpp filename = cv::format("%schessboard_timing_list.dat", filepath.c_str() ); cv 108 modules/calib3d/test/test_chesscorners_timing.cpp filename = cv::format("%s%s", filepath.c_str(), imgname ); cv 110 modules/calib3d/test/test_chesscorners_timing.cpp cv::Mat img2 = cv::imread( filename ); cv 45 modules/calib3d/test/test_compose_rt.cpp using namespace cv; cv 48 modules/calib3d/test/test_cornerssubpix.cpp using namespace cv; cv 64 modules/calib3d/test/test_decompose_projection.cpp cv::RNG& rng = ts->get_rng(); cv 74 modules/calib3d/test/test_decompose_projection.cpp cv::Vec2d f, c; cv 75 modules/calib3d/test/test_decompose_projection.cpp rng.fill(f, cv::RNG::UNIFORM, 300, 1000); cv 76 modules/calib3d/test/test_decompose_projection.cpp rng.fill(c, cv::RNG::UNIFORM, 150, 600); cv 80 modules/calib3d/test/test_decompose_projection.cpp cv::Matx33d origK(f(0), alpha*f(0), c(0), cv 85 modules/calib3d/test/test_decompose_projection.cpp cv::Vec3d rVec; cv 86 modules/calib3d/test/test_decompose_projection.cpp rng.fill(rVec, cv::RNG::UNIFORM, -CV_PI, CV_PI); cv 88 modules/calib3d/test/test_decompose_projection.cpp cv::Matx33d origR; cv 91 modules/calib3d/test/test_decompose_projection.cpp cv::Vec3d origT; cv 92 modules/calib3d/test/test_decompose_projection.cpp rng.fill(origT, cv::RNG::NORMAL, 0, 1); cv 96 modules/calib3d/test/test_decompose_projection.cpp cv::Matx34d P(3,4); cv 101 modules/calib3d/test/test_decompose_projection.cpp cv::Matx33d K, R; cv 102 modules/calib3d/test/test_decompose_projection.cpp cv::Vec4d homogCameraCenter; cv 107 modules/calib3d/test/test_decompose_projection.cpp cv::Vec3d cameraCenter(homogCameraCenter(0), homogCameraCenter(1), homogCameraCenter(2)); cv 110 modules/calib3d/test/test_decompose_projection.cpp cv::Vec3d t = -R*cameraCenter; cv 114 modules/calib3d/test/test_decompose_projection.cpp if ( norm(origK, K, cv::NORM_INF) > thresh ) cv 120 modules/calib3d/test/test_decompose_projection.cpp if ( norm(origR, R, cv::NORM_INF) > thresh ) cv 126 modules/calib3d/test/test_decompose_projection.cpp if ( norm(origT, t, cv::NORM_INF) > thresh ) cv 50 modules/calib3d/test/test_fisheye.cpp const static cv::Size imageSize; cv 51 modules/calib3d/test/test_fisheye.cpp const static cv::Matx33d K; cv 52 modules/calib3d/test/test_fisheye.cpp const static cv::Vec4d D; cv 53 modules/calib3d/test/test_fisheye.cpp const static cv::Matx33d R; cv 54 modules/calib3d/test/test_fisheye.cpp const static cv::Vec3d T; cv 63 modules/calib3d/test/test_fisheye.cpp cv::Mat mergeRectification(const cv::Mat& l, const cv::Mat& r); cv 75 modules/calib3d/test/test_fisheye.cpp cv::Mat distorted0(1, N*N, CV_64FC2), undist1, undist2, distorted1, distorted2; cv 77 modules/calib3d/test/test_fisheye.cpp cv::Vec2d* pts = distorted0.ptr<cv::Vec2d>(); cv 79 modules/calib3d/test/test_fisheye.cpp cv::Vec2d c(this->K(0, 2), this->K(1, 2)); cv 83 modules/calib3d/test/test_fisheye.cpp cv::Vec2d point(x*cols/(N-1.f), y*rows/(N-1.f)); cv 87 modules/calib3d/test/test_fisheye.cpp cv::fisheye::undistortPoints(distorted0, undist1, this->K, this->D); cv 89 modules/calib3d/test/test_fisheye.cpp cv::Vec2d* u1 = undist1.ptr<cv::Vec2d>(); cv 90 modules/calib3d/test/test_fisheye.cpp cv::Vec3d* u2 = undist2.ptr<cv::Vec3d>(); cv 92 modules/calib3d/test/test_fisheye.cpp u2[i] = cv::Vec3d(u1[i][0], u1[i][1], 1.0); cv 94 modules/calib3d/test/test_fisheye.cpp cv::fisheye::distortPoints(undist1, distorted1, this->K, this->D); cv 95 modules/calib3d/test/test_fisheye.cpp cv::fisheye::projectPoints(undist2, distorted2, cv::Vec3d::all(0), cv::Vec3d::all(0), this->K, this->D); cv 103 modules/calib3d/test/test_fisheye.cpp cv::Matx33d K = this->K; cv 104 modules/calib3d/test/test_fisheye.cpp cv::Mat D = cv::Mat(this->D); cv 106 modules/calib3d/test/test_fisheye.cpp cv::Matx33d newK = K; cv 107 modules/calib3d/test/test_fisheye.cpp cv::Mat distorted = cv::imread(file), undistorted; cv 111 modules/calib3d/test/test_fisheye.cpp cv::fisheye::undistortImage(distorted, undistorted, K, D, newK); cv 112 modules/calib3d/test/test_fisheye.cpp cv::Mat correct = cv::imread(combine(datasets_repository_path, "new_f_100.png")); cv 114 modules/calib3d/test/test_fisheye.cpp CV_Assert(cv::imwrite(combine(datasets_repository_path, "new_f_100.png"), undistorted)); cv 120 modules/calib3d/test/test_fisheye.cpp cv::fisheye::estimateNewCameraMatrixForUndistortRectify(K, D, distorted.size(), cv::noArray(), newK, balance); cv 121 modules/calib3d/test/test_fisheye.cpp cv::fisheye::undistortImage(distorted, undistorted, K, D, newK); cv 122 modules/calib3d/test/test_fisheye.cpp cv::Mat correct = cv::imread(combine(datasets_repository_path, "balance_1.0.png")); cv 124 modules/calib3d/test/test_fisheye.cpp CV_Assert(cv::imwrite(combine(datasets_repository_path, "balance_1.0.png"), undistorted)); cv 131 modules/calib3d/test/test_fisheye.cpp cv::fisheye::estimateNewCameraMatrixForUndistortRectify(K, D, distorted.size(), cv::noArray(), newK, balance); cv 132 modules/calib3d/test/test_fisheye.cpp cv::fisheye::undistortImage(distorted, undistorted, K, D, newK); cv 133 modules/calib3d/test/test_fisheye.cpp cv::Mat correct = cv::imread(combine(datasets_repository_path, "balance_0.0.png")); cv 135 modules/calib3d/test/test_fisheye.cpp CV_Assert(cv::imwrite(combine(datasets_repository_path, "balance_0.0.png"), undistorted)); cv 144 modules/calib3d/test/test_fisheye.cpp cv::Mat X(1, n, CV_64FC3); cv 145 modules/calib3d/test/test_fisheye.cpp cv::Mat om(3, 1, CV_64F), T(3, 1, CV_64F); cv 146 modules/calib3d/test/test_fisheye.cpp cv::Mat f(2, 1, CV_64F), c(2, 1, CV_64F); cv 147 modules/calib3d/test/test_fisheye.cpp cv::Mat k(4, 1, CV_64F); cv 150 modules/calib3d/test/test_fisheye.cpp cv::RNG r; cv 152 modules/calib3d/test/test_fisheye.cpp r.fill(X, cv::RNG::NORMAL, 2, 1); cv 153 modules/calib3d/test/test_fisheye.cpp X = cv::abs(X) * 10; cv 155 modules/calib3d/test/test_fisheye.cpp r.fill(om, cv::RNG::NORMAL, 0, 1); cv 156 modules/calib3d/test/test_fisheye.cpp om = cv::abs(om); cv 158 modules/calib3d/test/test_fisheye.cpp r.fill(T, cv::RNG::NORMAL, 0, 1); cv 159 modules/calib3d/test/test_fisheye.cpp T = cv::abs(T); T.at<double>(2) = 4; T *= 10; cv 161 modules/calib3d/test/test_fisheye.cpp r.fill(f, cv::RNG::NORMAL, 0, 1); cv 162 modules/calib3d/test/test_fisheye.cpp f = cv::abs(f) * 1000; cv 164 modules/calib3d/test/test_fisheye.cpp r.fill(c, cv::RNG::NORMAL, 0, 1); cv 165 modules/calib3d/test/test_fisheye.cpp c = cv::abs(c) * 1000; cv 167 modules/calib3d/test/test_fisheye.cpp r.fill(k, cv::RNG::NORMAL, 0, 1); cv 172 modules/calib3d/test/test_fisheye.cpp cv::Mat x1, x2, xpred; cv 173 modules/calib3d/test/test_fisheye.cpp cv::Matx33d K(f.at<double>(0), alpha * f.at<double>(0), c.at<double>(0), cv 177 modules/calib3d/test/test_fisheye.cpp cv::Mat jacobians; cv 178 modules/calib3d/test/test_fisheye.cpp cv::fisheye::projectPoints(X, x1, om, T, K, k, alpha, jacobians); cv 181 modules/calib3d/test/test_fisheye.cpp cv::Mat dT(3, 1, CV_64FC1); cv 182 modules/calib3d/test/test_fisheye.cpp r.fill(dT, cv::RNG::NORMAL, 0, 1); cv 183 modules/calib3d/test/test_fisheye.cpp dT *= 1e-9*cv::norm(T); cv 184 modules/calib3d/test/test_fisheye.cpp cv::Mat T2 = T + dT; cv 185 modules/calib3d/test/test_fisheye.cpp cv::fisheye::projectPoints(X, x2, om, T2, K, k, alpha, cv::noArray()); cv 186 modules/calib3d/test/test_fisheye.cpp xpred = x1 + cv::Mat(jacobians.colRange(11,14) * dT).reshape(2, 1); cv 187 modules/calib3d/test/test_fisheye.cpp CV_Assert (cv::norm(x2 - xpred) < 1e-10); cv 190 modules/calib3d/test/test_fisheye.cpp cv::Mat dom(3, 1, CV_64FC1); cv 191 modules/calib3d/test/test_fisheye.cpp r.fill(dom, cv::RNG::NORMAL, 0, 1); cv 192 modules/calib3d/test/test_fisheye.cpp dom *= 1e-9*cv::norm(om); cv 193 modules/calib3d/test/test_fisheye.cpp cv::Mat om2 = om + dom; cv 194 modules/calib3d/test/test_fisheye.cpp cv::fisheye::projectPoints(X, x2, om2, T, K, k, alpha, cv::noArray()); cv 195 modules/calib3d/test/test_fisheye.cpp xpred = x1 + cv::Mat(jacobians.colRange(8,11) * dom).reshape(2, 1); cv 196 modules/calib3d/test/test_fisheye.cpp CV_Assert (cv::norm(x2 - xpred) < 1e-10); cv 199 modules/calib3d/test/test_fisheye.cpp cv::Mat df(2, 1, CV_64FC1); cv 200 modules/calib3d/test/test_fisheye.cpp r.fill(df, cv::RNG::NORMAL, 0, 1); cv 201 modules/calib3d/test/test_fisheye.cpp df *= 1e-9*cv::norm(f); cv 202 modules/calib3d/test/test_fisheye.cpp cv::Matx33d K2 = K + cv::Matx33d(df.at<double>(0), df.at<double>(0) * alpha, 0, 0, df.at<double>(1), 0, 0, 0, 0); cv 203 modules/calib3d/test/test_fisheye.cpp cv::fisheye::projectPoints(X, x2, om, T, K2, k, alpha, cv::noArray()); cv 204 modules/calib3d/test/test_fisheye.cpp xpred = x1 + cv::Mat(jacobians.colRange(0,2) * df).reshape(2, 1); cv 205 modules/calib3d/test/test_fisheye.cpp CV_Assert (cv::norm(x2 - xpred) < 1e-10); cv 208 modules/calib3d/test/test_fisheye.cpp cv::Mat dc(2, 1, CV_64FC1); cv 209 modules/calib3d/test/test_fisheye.cpp r.fill(dc, cv::RNG::NORMAL, 0, 1); cv 210 modules/calib3d/test/test_fisheye.cpp dc *= 1e-9*cv::norm(c); cv 211 modules/calib3d/test/test_fisheye.cpp K2 = K + cv::Matx33d(0, 0, dc.at<double>(0), 0, 0, dc.at<double>(1), 0, 0, 0); cv 212 modules/calib3d/test/test_fisheye.cpp cv::fisheye::projectPoints(X, x2, om, T, K2, k, alpha, cv::noArray()); cv 213 modules/calib3d/test/test_fisheye.cpp xpred = x1 + cv::Mat(jacobians.colRange(2,4) * dc).reshape(2, 1); cv 214 modules/calib3d/test/test_fisheye.cpp CV_Assert (cv::norm(x2 - xpred) < 1e-10); cv 217 modules/calib3d/test/test_fisheye.cpp cv::Mat dk(4, 1, CV_64FC1); cv 218 modules/calib3d/test/test_fisheye.cpp r.fill(dk, cv::RNG::NORMAL, 0, 1); cv 219 modules/calib3d/test/test_fisheye.cpp dk *= 1e-9*cv::norm(k); cv 220 modules/calib3d/test/test_fisheye.cpp cv::Mat k2 = k + dk; cv 221 modules/calib3d/test/test_fisheye.cpp cv::fisheye::projectPoints(X, x2, om, T, K, k2, alpha, cv::noArray()); cv 222 modules/calib3d/test/test_fisheye.cpp xpred = x1 + cv::Mat(jacobians.colRange(4,8) * dk).reshape(2, 1); cv 223 modules/calib3d/test/test_fisheye.cpp CV_Assert (cv::norm(x2 - xpred) < 1e-10); cv 226 modules/calib3d/test/test_fisheye.cpp cv::Mat dalpha(1, 1, CV_64FC1); cv 227 modules/calib3d/test/test_fisheye.cpp r.fill(dalpha, cv::RNG::NORMAL, 0, 1); cv 228 modules/calib3d/test/test_fisheye.cpp dalpha *= 1e-9*cv::norm(f); cv 230 modules/calib3d/test/test_fisheye.cpp K2 = K + cv::Matx33d(0, f.at<double>(0) * dalpha.at<double>(0), 0, 0, 0, 0, 0, 0, 0); cv 231 modules/calib3d/test/test_fisheye.cpp cv::fisheye::projectPoints(X, x2, om, T, K, k, alpha2, cv::noArray()); cv 232 modules/calib3d/test/test_fisheye.cpp xpred = x1 + cv::Mat(jacobians.col(14) * dalpha).reshape(2, 1); cv 233 modules/calib3d/test/test_fisheye.cpp CV_Assert (cv::norm(x2 - xpred) < 1e-10); cv 240 modules/calib3d/test/test_fisheye.cpp std::vector<std::vector<cv::Point2d> > imagePoints(n_images); cv 241 modules/calib3d/test/test_fisheye.cpp std::vector<std::vector<cv::Point3d> > objectPoints(n_images); cv 244 modules/calib3d/test/test_fisheye.cpp cv::FileStorage fs_left(combine(folder, "left.xml"), cv::FileStorage::READ); cv 247 modules/calib3d/test/test_fisheye.cpp fs_left[cv::format("image_%d", i )] >> imagePoints[i]; cv 250 modules/calib3d/test/test_fisheye.cpp cv::FileStorage fs_object(combine(folder, "object.xml"), cv::FileStorage::READ); cv 253 modules/calib3d/test/test_fisheye.cpp fs_object[cv::format("image_%d", i )] >> objectPoints[i]; cv 257 modules/calib3d/test/test_fisheye.cpp flag |= cv::fisheye::CALIB_RECOMPUTE_EXTRINSIC; cv 258 modules/calib3d/test/test_fisheye.cpp flag |= cv::fisheye::CALIB_CHECK_COND; cv 259 modules/calib3d/test/test_fisheye.cpp flag |= cv::fisheye::CALIB_FIX_SKEW; cv 261 modules/calib3d/test/test_fisheye.cpp cv::Matx33d K; cv 262 modules/calib3d/test/test_fisheye.cpp cv::Vec4d D; cv 264 modules/calib3d/test/test_fisheye.cpp cv::fisheye::calibrate(objectPoints, imagePoints, imageSize, K, D, cv 265 modules/calib3d/test/test_fisheye.cpp cv::noArray(), cv::noArray(), flag, cv::TermCriteria(3, 20, 1e-6)); cv 275 modules/calib3d/test/test_fisheye.cpp std::vector<std::vector<cv::Point2d> > imagePoints(n_images); cv 276 modules/calib3d/test/test_fisheye.cpp std::vector<std::vector<cv::Point3d> > objectPoints(n_images); cv 279 modules/calib3d/test/test_fisheye.cpp cv::FileStorage fs_left(combine(folder, "left.xml"), cv::FileStorage::READ); cv 282 modules/calib3d/test/test_fisheye.cpp fs_left[cv::format("image_%d", i )] >> imagePoints[i]; cv 285 modules/calib3d/test/test_fisheye.cpp cv::FileStorage fs_object(combine(folder, "object.xml"), cv::FileStorage::READ); cv 288 modules/calib3d/test/test_fisheye.cpp fs_object[cv::format("image_%d", i )] >> objectPoints[i]; cv 291 modules/calib3d/test/test_fisheye.cpp cv::internal::IntrinsicParams param; cv 292 modules/calib3d/test/test_fisheye.cpp param.Init(cv::Vec2d(cv::max(imageSize.width, imageSize.height) / CV_PI, cv::max(imageSize.width, imageSize.height) / CV_PI), cv 293 modules/calib3d/test/test_fisheye.cpp cv::Vec2d(imageSize.width / 2.0 - 0.5, imageSize.height / 2.0 - 0.5)); cv 295 modules/calib3d/test/test_fisheye.cpp cv::Mat _imagePoints (imagePoints[0]); cv 296 modules/calib3d/test/test_fisheye.cpp cv::Mat _objectPoints(objectPoints[0]); cv 298 modules/calib3d/test/test_fisheye.cpp cv::Mat imagePointsNormalized = NormalizePixels(_imagePoints, param).reshape(1).t(); cv 300 modules/calib3d/test/test_fisheye.cpp cv::Mat objectPointsMean, covObjectPoints; cv 303 modules/calib3d/test/test_fisheye.cpp cv::calcCovarMatrix(_objectPoints, covObjectPoints, objectPointsMean, cv::COVAR_NORMAL | cv::COVAR_COLS); cv 304 modules/calib3d/test/test_fisheye.cpp cv::SVD svd(covObjectPoints); cv 305 modules/calib3d/test/test_fisheye.cpp cv::Mat R(svd.vt); cv 307 modules/calib3d/test/test_fisheye.cpp if (cv::norm(R(cv::Rect(2, 0, 1, 2))) < 1e-6) cv 308 modules/calib3d/test/test_fisheye.cpp R = cv::Mat::eye(3,3, CV_64FC1); cv 309 modules/calib3d/test/test_fisheye.cpp if (cv::determinant(R) < 0) cv 312 modules/calib3d/test/test_fisheye.cpp cv::Mat T = -R * objectPointsMean; cv 313 modules/calib3d/test/test_fisheye.cpp cv::Mat X_new = R * _objectPoints + T * cv::Mat::ones(1, Np, CV_64FC1); cv 314 modules/calib3d/test/test_fisheye.cpp cv::Mat H = cv::internal::ComputeHomography(imagePointsNormalized, X_new.rowRange(0, 2)); cv 316 modules/calib3d/test/test_fisheye.cpp cv::Mat M = cv::Mat::ones(3, X_new.cols, CV_64FC1); cv 318 modules/calib3d/test/test_fisheye.cpp cv::Mat mrep = H * M; cv 320 modules/calib3d/test/test_fisheye.cpp cv::divide(mrep, cv::Mat::ones(3,1, CV_64FC1) * mrep.row(2).clone(), mrep); cv 322 modules/calib3d/test/test_fisheye.cpp cv::Mat merr = (mrep.rowRange(0, 2) - imagePointsNormalized).t(); cv 324 modules/calib3d/test/test_fisheye.cpp cv::Vec2d std_err; cv 325 modules/calib3d/test/test_fisheye.cpp cv::meanStdDev(merr.reshape(2), cv::noArray(), std_err); cv 328 modules/calib3d/test/test_fisheye.cpp cv::Vec2d correct_std_err(0.00516740156010384, 0.00644205331553901); cv 336 modules/calib3d/test/test_fisheye.cpp std::vector<std::vector<cv::Point2d> > imagePoints(n_images); cv 337 modules/calib3d/test/test_fisheye.cpp std::vector<std::vector<cv::Point3d> > objectPoints(n_images); cv 340 modules/calib3d/test/test_fisheye.cpp cv::FileStorage fs_left(combine(folder, "left.xml"), cv::FileStorage::READ); cv 343 modules/calib3d/test/test_fisheye.cpp fs_left[cv::format("image_%d", i )] >> imagePoints[i]; cv 346 modules/calib3d/test/test_fisheye.cpp cv::FileStorage fs_object(combine(folder, "object.xml"), cv::FileStorage::READ); cv 349 modules/calib3d/test/test_fisheye.cpp fs_object[cv::format("image_%d", i )] >> objectPoints[i]; cv 353 modules/calib3d/test/test_fisheye.cpp flag |= cv::fisheye::CALIB_RECOMPUTE_EXTRINSIC; cv 354 modules/calib3d/test/test_fisheye.cpp flag |= cv::fisheye::CALIB_CHECK_COND; cv 355 modules/calib3d/test/test_fisheye.cpp flag |= cv::fisheye::CALIB_FIX_SKEW; cv 357 modules/calib3d/test/test_fisheye.cpp cv::Matx33d K; cv 358 modules/calib3d/test/test_fisheye.cpp cv::Vec4d D; cv 359 modules/calib3d/test/test_fisheye.cpp std::vector<cv::Vec3d> rvec; cv 360 modules/calib3d/test/test_fisheye.cpp std::vector<cv::Vec3d> tvec; cv 362 modules/calib3d/test/test_fisheye.cpp cv::fisheye::calibrate(objectPoints, imagePoints, imageSize, K, D, cv 363 modules/calib3d/test/test_fisheye.cpp rvec, tvec, flag, cv::TermCriteria(3, 20, 1e-6)); cv 365 modules/calib3d/test/test_fisheye.cpp cv::internal::IntrinsicParams param, errors; cv 366 modules/calib3d/test/test_fisheye.cpp cv::Vec2d err_std; cv 369 modules/calib3d/test/test_fisheye.cpp param.Init(cv::Vec2d(K(0,0), K(1,1)), cv::Vec2d(K(0,2), K(1, 2)), D); cv 377 modules/calib3d/test/test_fisheye.cpp cv::internal::EstimateUncertainties(objectPoints, imagePoints, param, rvec, tvec, cv 380 modules/calib3d/test/test_fisheye.cpp EXPECT_MAT_NEAR(errors.f, cv::Vec2d(1.29837104202046, 1.31565641071524), 1e-10); cv 381 modules/calib3d/test/test_fisheye.cpp EXPECT_MAT_NEAR(errors.c, cv::Vec2d(0.890439368129246, 0.816096854937896), 1e-10); cv 382 modules/calib3d/test/test_fisheye.cpp EXPECT_MAT_NEAR(errors.k, cv::Vec4d(0.00516248605191506, 0.0168181467500934, 0.0213118690274604, 0.00916010877545648), 1e-10); cv 383 modules/calib3d/test/test_fisheye.cpp EXPECT_MAT_NEAR(err_std, cv::Vec2d(0.187475975266883, 0.185678953263995), 1e-10); cv 397 modules/calib3d/test/test_fisheye.cpp cv::Size calibration_size = this->imageSize, requested_size = calibration_size; cv 398 modules/calib3d/test/test_fisheye.cpp cv::Matx33d K1 = this->K, K2 = K1; cv 399 modules/calib3d/test/test_fisheye.cpp cv::Mat D1 = cv::Mat(this->D), D2 = D1; cv 401 modules/calib3d/test/test_fisheye.cpp cv::Vec3d T = this->T; cv 402 modules/calib3d/test/test_fisheye.cpp cv::Matx33d R = this->R; cv 405 modules/calib3d/test/test_fisheye.cpp cv::Mat R1, R2, P1, P2, Q; cv 406 modules/calib3d/test/test_fisheye.cpp cv::fisheye::stereoRectify(K1, D1, K2, D2, calibration_size, R, T, R1, R2, P1, P2, Q, cv 407 modules/calib3d/test/test_fisheye.cpp cv::CALIB_ZERO_DISPARITY, requested_size, balance, fov_scale); cv 409 modules/calib3d/test/test_fisheye.cpp cv::Mat lmapx, lmapy, rmapx, rmapy; cv 411 modules/calib3d/test/test_fisheye.cpp cv::fisheye::initUndistortRectifyMap(K1, D1, R1, P1, requested_size, CV_32F, lmapx, lmapy); cv 412 modules/calib3d/test/test_fisheye.cpp cv::fisheye::initUndistortRectifyMap(K2, D2, R2, P2, requested_size, CV_32F, rmapx, rmapy); cv 414 modules/calib3d/test/test_fisheye.cpp cv::Mat l, r, lundist, rundist; cv 415 modules/calib3d/test/test_fisheye.cpp cv::VideoCapture lcap(combine(folder, "left/stereo_pair_%03d.jpg")), cv 425 modules/calib3d/test/test_fisheye.cpp cv::rectangle(l, cv::Rect(255, 0, 829, l.rows-1), cv::Scalar(0, 0, 255)); cv 426 modules/calib3d/test/test_fisheye.cpp cv::rectangle(r, cv::Rect(255, 0, 829, l.rows-1), cv::Scalar(0, 0, 255)); cv 427 modules/calib3d/test/test_fisheye.cpp cv::rectangle(r, cv::Rect(255-ndisp, 0, 829+ndisp ,l.rows-1), cv::Scalar(0, 0, 255)); cv 428 modules/calib3d/test/test_fisheye.cpp cv::remap(l, lundist, lmapx, lmapy, cv::INTER_LINEAR); cv 429 modules/calib3d/test/test_fisheye.cpp cv::remap(r, rundist, rmapx, rmapy, cv::INTER_LINEAR); cv 431 modules/calib3d/test/test_fisheye.cpp cv::Mat rectification = mergeRectification(lundist, rundist); cv 433 modules/calib3d/test/test_fisheye.cpp cv::Mat correct = cv::imread(combine(datasets_repository_path, cv::format("rectification_AB_%03d.png", i))); cv 436 modules/calib3d/test/test_fisheye.cpp cv::imwrite(combine(datasets_repository_path, cv::format("rectification_AB_%03d.png", i)), rectification); cv 448 modules/calib3d/test/test_fisheye.cpp std::vector<std::vector<cv::Point2d> > leftPoints(n_images); cv 449 modules/calib3d/test/test_fisheye.cpp std::vector<std::vector<cv::Point2d> > rightPoints(n_images); cv 450 modules/calib3d/test/test_fisheye.cpp std::vector<std::vector<cv::Point3d> > objectPoints(n_images); cv 452 modules/calib3d/test/test_fisheye.cpp cv::FileStorage fs_left(combine(folder, "left.xml"), cv::FileStorage::READ); cv 455 modules/calib3d/test/test_fisheye.cpp fs_left[cv::format("image_%d", i )] >> leftPoints[i]; cv 458 modules/calib3d/test/test_fisheye.cpp cv::FileStorage fs_right(combine(folder, "right.xml"), cv::FileStorage::READ); cv 461 modules/calib3d/test/test_fisheye.cpp fs_right[cv::format("image_%d", i )] >> rightPoints[i]; cv 464 modules/calib3d/test/test_fisheye.cpp cv::FileStorage fs_object(combine(folder, "object.xml"), cv::FileStorage::READ); cv 467 modules/calib3d/test/test_fisheye.cpp fs_object[cv::format("image_%d", i )] >> objectPoints[i]; cv 470 modules/calib3d/test/test_fisheye.cpp cv::Matx33d K1, K2, R; cv 471 modules/calib3d/test/test_fisheye.cpp cv::Vec3d T; cv 472 modules/calib3d/test/test_fisheye.cpp cv::Vec4d D1, D2; cv 475 modules/calib3d/test/test_fisheye.cpp flag |= cv::fisheye::CALIB_RECOMPUTE_EXTRINSIC; cv 476 modules/calib3d/test/test_fisheye.cpp flag |= cv::fisheye::CALIB_CHECK_COND; cv 477 modules/calib3d/test/test_fisheye.cpp flag |= cv::fisheye::CALIB_FIX_SKEW; cv 480 modules/calib3d/test/test_fisheye.cpp cv::fisheye::stereoCalibrate(objectPoints, leftPoints, rightPoints, cv 482 modules/calib3d/test/test_fisheye.cpp cv::TermCriteria(3, 12, 0)); cv 484 modules/calib3d/test/test_fisheye.cpp cv::Matx33d R_correct( 0.9975587205950972, 0.06953016383322372, 0.006492709911733523, cv 487 modules/calib3d/test/test_fisheye.cpp cv::Vec3d T_correct(-0.099402724724121, 0.00270812139265413, 0.00129330292472699); cv 488 modules/calib3d/test/test_fisheye.cpp cv::Matx33d K1_correct (561.195925927249, 0, 621.282400272412, cv 492 modules/calib3d/test/test_fisheye.cpp cv::Matx33d K2_correct (560.395452535348, 0, 678.971652040359, cv 496 modules/calib3d/test/test_fisheye.cpp cv::Vec4d D1_correct (-7.44253716539556e-05, -0.00702662033932424, 0.00737569823650885, -0.00342230256441771); cv 497 modules/calib3d/test/test_fisheye.cpp cv::Vec4d D2_correct (-0.0130785435677431, 0.0284434505383497, -0.0360333869900506, 0.0144724062347222); cv 516 modules/calib3d/test/test_fisheye.cpp std::vector<std::vector<cv::Point2d> > leftPoints(n_images); cv 517 modules/calib3d/test/test_fisheye.cpp std::vector<std::vector<cv::Point2d> > rightPoints(n_images); cv 518 modules/calib3d/test/test_fisheye.cpp std::vector<std::vector<cv::Point3d> > objectPoints(n_images); cv 520 modules/calib3d/test/test_fisheye.cpp cv::FileStorage fs_left(combine(folder, "left.xml"), cv::FileStorage::READ); cv 523 modules/calib3d/test/test_fisheye.cpp fs_left[cv::format("image_%d", i )] >> leftPoints[i]; cv 526 modules/calib3d/test/test_fisheye.cpp cv::FileStorage fs_right(combine(folder, "right.xml"), cv::FileStorage::READ); cv 529 modules/calib3d/test/test_fisheye.cpp fs_right[cv::format("image_%d", i )] >> rightPoints[i]; cv 532 modules/calib3d/test/test_fisheye.cpp cv::FileStorage fs_object(combine(folder, "object.xml"), cv::FileStorage::READ); cv 535 modules/calib3d/test/test_fisheye.cpp fs_object[cv::format("image_%d", i )] >> objectPoints[i]; cv 538 modules/calib3d/test/test_fisheye.cpp cv::Matx33d R; cv 539 modules/calib3d/test/test_fisheye.cpp cv::Vec3d T; cv 542 modules/calib3d/test/test_fisheye.cpp flag |= cv::fisheye::CALIB_RECOMPUTE_EXTRINSIC; cv 543 modules/calib3d/test/test_fisheye.cpp flag |= cv::fisheye::CALIB_CHECK_COND; cv 544 modules/calib3d/test/test_fisheye.cpp flag |= cv::fisheye::CALIB_FIX_SKEW; cv 545 modules/calib3d/test/test_fisheye.cpp flag |= cv::fisheye::CALIB_FIX_INTRINSIC; cv 547 modules/calib3d/test/test_fisheye.cpp cv::Matx33d K1 (561.195925927249, 0, 621.282400272412, cv 551 modules/calib3d/test/test_fisheye.cpp cv::Matx33d K2 (560.395452535348, 0, 678.971652040359, cv 555 modules/calib3d/test/test_fisheye.cpp cv::Vec4d D1 (-7.44253716539556e-05, -0.00702662033932424, 0.00737569823650885, -0.00342230256441771); cv 556 modules/calib3d/test/test_fisheye.cpp cv::Vec4d D2 (-0.0130785435677431, 0.0284434505383497, -0.0360333869900506, 0.0144724062347222); cv 558 modules/calib3d/test/test_fisheye.cpp cv::fisheye::stereoCalibrate(objectPoints, leftPoints, rightPoints, cv 560 modules/calib3d/test/test_fisheye.cpp cv::TermCriteria(3, 12, 0)); cv 562 modules/calib3d/test/test_fisheye.cpp cv::Matx33d R_correct( 0.9975587205950972, 0.06953016383322372, 0.006492709911733523, cv 565 modules/calib3d/test/test_fisheye.cpp cv::Vec3d T_correct(-0.099402724724121, 0.00270812139265413, 0.00129330292472699); cv 575 modules/calib3d/test/test_fisheye.cpp const cv::Size fisheyeTest::imageSize(1280, 800); cv 577 modules/calib3d/test/test_fisheye.cpp const cv::Matx33d fisheyeTest::K(558.478087865323, 0, 620.458515360843, cv 581 modules/calib3d/test/test_fisheye.cpp const cv::Vec4d fisheyeTest::D(-0.0014613319981768, -0.00329861110580401, 0.00605760088590183, -0.00374209380722371); cv 583 modules/calib3d/test/test_fisheye.cpp const cv::Matx33d fisheyeTest::R ( 9.9756700084424932e-01, 6.9698277640183867e-02, 1.4929569991321144e-03, cv 587 modules/calib3d/test/test_fisheye.cpp const cv::Vec3d fisheyeTest::T(-9.9217369356044638e-02, 3.1741831972356663e-03, 1.8551007952921010e-04); cv 605 modules/calib3d/test/test_fisheye.cpp cv::Mat fisheyeTest::mergeRectification(const cv::Mat& l, const cv::Mat& r) cv 608 modules/calib3d/test/test_fisheye.cpp cv::Mat merged(l.rows, l.cols * 2, l.type()); cv 609 modules/calib3d/test/test_fisheye.cpp cv::Mat lpart = merged.colRange(0, l.cols); cv 610 modules/calib3d/test/test_fisheye.cpp cv::Mat rpart = merged.colRange(l.cols, merged.cols); cv 615 modules/calib3d/test/test_fisheye.cpp cv::line(merged, cv::Point(0, i), cv::Point(merged.cols, i), cv::Scalar(0, 255, 0)); cv 45 modules/calib3d/test/test_fundam.cpp using namespace cv; cv 678 modules/calib3d/test/test_fundam.cpp cv::Mat v = test_mat[INPUT][0], M = test_mat[OUTPUT][0], v2 = test_mat[OUTPUT][2]; cv 679 modules/calib3d/test/test_fundam.cpp cv::Mat M0 = M, v2_0 = v2; cv 682 modules/calib3d/test/test_fundam.cpp cv::Rodrigues(v, M); cv 683 modules/calib3d/test/test_fundam.cpp cv::Rodrigues(M, v2); cv 687 modules/calib3d/test/test_fundam.cpp cv::Mat J1 = test_mat[OUTPUT][1], J2 = test_mat[OUTPUT][3]; cv 688 modules/calib3d/test/test_fundam.cpp cv::Mat J1_0 = J1, J2_0 = J2; cv 689 modules/calib3d/test/test_fundam.cpp cv::Rodrigues(v, M, J1); cv 690 modules/calib3d/test/test_fundam.cpp cv::Rodrigues(M, v2, J2); cv 995 modules/calib3d/test/test_fundam.cpp cv::invert(A1, invA1, CV_SVD); cv 996 modules/calib3d/test/test_fundam.cpp cv::invert(A2, invA2, CV_SVD); cv 1005 modules/calib3d/test/test_fundam.cpp cv::gemm( invA2, Mat( 3, 3, CV_64F, _t_x ), 1, Mat(), 0, T, CV_GEMM_A_T ); cv 1006 modules/calib3d/test/test_fundam.cpp cv::gemm( R, invA1, 1, Mat(), 0, invA2 ); cv 1007 modules/calib3d/test/test_fundam.cpp cv::gemm( T, invA2, 1, Mat(), 0, F0 ); cv 1053 modules/calib3d/test/test_fundam.cpp f_prop2[2] = cv::determinant( F ); cv 1281 modules/calib3d/test/test_fundam.cpp cv::Point2d pp(K.at<double>(0, 2), K.at<double>(1, 2)); cv 1285 modules/calib3d/test/test_fundam.cpp E = cv::findEssentialMat( _input0, _input1, focal, pp, method, 0.99, MAX(sigma*3, 0.0001), mask1 ); cv 1332 modules/calib3d/test/test_fundam.cpp cv::invert(A, invA, CV_SVD); cv 1341 modules/calib3d/test/test_fundam.cpp cv::gemm( invA, Mat( 3, 3, CV_64F, _t_x ), 1, Mat(), 0, T1, CV_GEMM_A_T ); cv 1342 modules/calib3d/test/test_fundam.cpp cv::gemm( R, invA, 1, Mat(), 0, T2 ); cv 1343 modules/calib3d/test/test_fundam.cpp cv::gemm( T1, T2, 1, Mat(), 0, F0 ); cv 1362 modules/calib3d/test/test_fundam.cpp cv::gemm( invA, E, 1, Mat(), 0, T1, CV_GEMM_A_T ); cv 1363 modules/calib3d/test/test_fundam.cpp cv::gemm( T1, invA, 1, Mat(), 0, F ); cv 1689 modules/calib3d/test/test_fundam.cpp cv::transpose( F, F ); cv 67 modules/calib3d/test/test_homography.cpp int NORM_TYPE[COUNT_NORM_TYPES] = {cv::NORM_L1, cv::NORM_L2, cv::NORM_INF}; cv 68 modules/calib3d/test/test_homography.cpp int METHOD[METHODS_COUNT] = {0, cv::RANSAC, cv::LMEDS, cv::RHO}; cv 70 modules/calib3d/test/test_homography.cpp using namespace cv; cv 90 modules/calib3d/test/test_homography.cpp bool check_matrix_size(const cv::Mat& H); cv 91 modules/calib3d/test/test_homography.cpp bool check_matrix_diff(const cv::Mat& original, const cv::Mat& found, const int norm_type, double &diff); cv 115 modules/calib3d/test/test_homography.cpp bool CV_HomographyTest::check_matrix_size(const cv::Mat& H) cv 120 modules/calib3d/test/test_homography.cpp bool CV_HomographyTest::check_matrix_diff(const cv::Mat& original, const cv::Mat& found, const int norm_type, double &diff) cv 147 modules/calib3d/test/test_homography.cpp cout << "Method: "; if (_method == 0) cout << 0; else if (_method == 8) cout << "RANSAC"; else if (_method == cv::RHO) cout << "RHO"; else cout << "LMEDS"; cout << endl; cv 159 modules/calib3d/test/test_homography.cpp cout << "Method: "; if (_method == 0) cout << 0; else if (_method == 8) cout << "RANSAC"; else if (_method == cv::RHO) cout << "RHO"; else cout << "LMEDS"; cout << endl; cv 175 modules/calib3d/test/test_homography.cpp cout << "Method: "; if (_method == RANSAC) cout << "RANSAC" << endl; else if (_method == cv::RHO) cout << "RHO" << endl; else cout << _method << endl; cv 211 modules/calib3d/test/test_homography.cpp cout << "Method: "; if (_method == RANSAC) cout << "RANSAC" << endl; else if (_method == cv::RHO) cout << "RHO" << endl; else cout << _method << endl; cv 224 modules/calib3d/test/test_homography.cpp cout << "Method: "; if (_method == RANSAC) cout << "RANSAC" << endl; else if (_method == cv::RHO) cout << "RHO" << endl; else cout << _method << endl; cv 237 modules/calib3d/test/test_homography.cpp cout << "Method: "; if (_method == RANSAC) cout << "RANSAC" << endl; else if (_method == cv::RHO) cout << "RHO" << endl; else cout << _method << endl; cv 262 modules/calib3d/test/test_homography.cpp cv::Mat src_mat_2f(1, N, CV_32FC2, src_data), cv 265 modules/calib3d/test/test_homography.cpp cv::Mat dst_mat_2f, dst_mat_2d, dst_mat_3d; cv 288 modules/calib3d/test/test_homography.cpp cv::Mat H_64(3, 3, CV_64F, Hdata), H_32; cv 314 modules/calib3d/test/test_homography.cpp Mat H_res_64 [4] = { cv::findHomography(src_mat_2f, dst_mat_2f, method), cv 315 modules/calib3d/test/test_homography.cpp cv::findHomography(src_mat_2f, dst_vec, method), cv 316 modules/calib3d/test/test_homography.cpp cv::findHomography(src_vec, dst_mat_2f, method), cv 317 modules/calib3d/test/test_homography.cpp cv::findHomography(src_vec, dst_vec, method) }; cv 342 modules/calib3d/test/test_homography.cpp case cv::RHO: cv 345 modules/calib3d/test/test_homography.cpp cv::Mat mask [4]; double diff; cv 347 modules/calib3d/test/test_homography.cpp Mat H_res_64 [4] = { cv::findHomography(src_mat_2f, dst_mat_2f, method, reproj_threshold, mask[0]), cv 348 modules/calib3d/test/test_homography.cpp cv::findHomography(src_mat_2f, dst_vec, method, reproj_threshold, mask[1]), cv 349 modules/calib3d/test/test_homography.cpp cv::findHomography(src_vec, dst_mat_2f, method, reproj_threshold, mask[2]), cv 350 modules/calib3d/test/test_homography.cpp cv::findHomography(src_vec, dst_vec, method, reproj_threshold, mask[3]) }; cv 400 modules/calib3d/test/test_homography.cpp cv::Mat mask(N, 1, CV_8UC1); cv 417 modules/calib3d/test/test_homography.cpp Mat H_res_64 [4] = { cv::findHomography(src_mat_2f, dst_mat_2f), cv 418 modules/calib3d/test/test_homography.cpp cv::findHomography(src_mat_2f, dst_vec), cv 419 modules/calib3d/test/test_homography.cpp cv::findHomography(src_vec, dst_mat_2f), cv 420 modules/calib3d/test/test_homography.cpp cv::findHomography(src_vec, dst_vec) }; cv 434 modules/calib3d/test/test_homography.cpp cv::Mat dst_res_3d(3, N, CV_32F), noise_2d(2, N, CV_32F); cv 449 modules/calib3d/test/test_homography.cpp if (cv::norm(tmp_mat_3d, dst_mat_3d.col(k), NORM_TYPE[l]) - cv::norm(noise_2d.col(k), NORM_TYPE[l]) > max_2diff) cv 451 modules/calib3d/test/test_homography.cpp print_information_4(method, j, N, k, l, cv::norm(tmp_mat_3d, dst_mat_3d.col(k), NORM_TYPE[l]) - cv::norm(noise_2d.col(k), NORM_TYPE[l])); cv 459 modules/calib3d/test/test_homography.cpp if (cv::norm(dst_res_3d, dst_mat_3d, NORM_TYPE[l]) - cv::norm(noise_2d, NORM_TYPE[l]) > max_diff) cv 461 modules/calib3d/test/test_homography.cpp print_information_5(method, j, N, l, cv::norm(dst_res_3d, dst_mat_3d, NORM_TYPE[l]) - cv::norm(noise_2d, NORM_TYPE[l])); cv 470 modules/calib3d/test/test_homography.cpp case cv::RHO: cv 473 modules/calib3d/test/test_homography.cpp cv::Mat mask_res [4]; cv 475 modules/calib3d/test/test_homography.cpp Mat H_res_64 [4] = { cv::findHomography(src_mat_2f, dst_mat_2f, method, reproj_threshold, mask_res[0]), cv 476 modules/calib3d/test/test_homography.cpp cv::findHomography(src_mat_2f, dst_vec, method, reproj_threshold, mask_res[1]), cv 477 modules/calib3d/test/test_homography.cpp cv::findHomography(src_vec, dst_mat_2f, method, reproj_threshold, mask_res[2]), cv 478 modules/calib3d/test/test_homography.cpp cv::findHomography(src_vec, dst_vec, method, reproj_threshold, mask_res[3]) }; cv 506 modules/calib3d/test/test_homography.cpp cv::Mat H_res_32; H_res_64[j].convertTo(H_res_32, CV_32F); cv 508 modules/calib3d/test/test_homography.cpp cv::Mat dst_res_3d = H_res_32*src_mat_3d; cv 521 modules/calib3d/test/test_homography.cpp double diff = cv::norm(dst_res_3d.col(k), dst_mat_3d.col(k), NORM_L2); cv 543 modules/calib3d/test/test_homography.cpp cv::Mat noise_2d(2, 1, CV_32F); cv 548 modules/calib3d/test/test_homography.cpp diff = cv::norm(dst_res_3d.col(k), dst_mat_3d.col(k), NORM_TYPE[l]); cv 550 modules/calib3d/test/test_homography.cpp if (diff - cv::norm(noise_2d, NORM_TYPE[l]) > max_2diff) cv 552 modules/calib3d/test/test_homography.cpp print_information_8(method, j, N, k, l, diff - cv::norm(noise_2d, NORM_TYPE[l])); cv 50 modules/calib3d/test/test_homography_decomp.cpp using namespace cv; cv 48 modules/calib3d/test/test_modelest.cpp using namespace cv; cv 45 modules/calib3d/test/test_posit.cpp using namespace cv; cv 48 modules/calib3d/test/test_reproject_image_to_3d.cpp using namespace cv; cv 49 modules/calib3d/test/test_solvepnp_ransac.cpp using namespace cv; cv 271 modules/calib3d/test/test_solvepnp_ransac.cpp Mat dist_coef(1, 8, CV_32F, cv::Scalar::all(0)); cv 273 modules/calib3d/test/test_solvepnp_ransac.cpp vector<cv::Point2f> image_vec; cv 298 modules/calib3d/test/test_solvepnp_ransac.cpp cv::theRNG().state = 20121010; cv 321 modules/calib3d/test/test_solvepnp_ransac.cpp std::vector<cv::Point3d> points3d; cv 322 modules/calib3d/test/test_solvepnp_ransac.cpp std::vector<cv::Point2d> points2d; cv 323 modules/calib3d/test/test_solvepnp_ransac.cpp std::vector<cv::Point3f> points3dF; cv 324 modules/calib3d/test/test_solvepnp_ransac.cpp std::vector<cv::Point2f> points2dF; cv 327 modules/calib3d/test/test_solvepnp_ransac.cpp points3d.push_back(cv::Point3d(i,0,0)); cv 328 modules/calib3d/test/test_solvepnp_ransac.cpp points3dF.push_back(cv::Point3d(i,0,0)); cv 329 modules/calib3d/test/test_solvepnp_ransac.cpp points2d.push_back(cv::Point2d(i,0)); cv 330 modules/calib3d/test/test_solvepnp_ransac.cpp points2dF.push_back(cv::Point2d(i,0)); cv 335 modules/calib3d/test/test_solvepnp_ransac.cpp solvePnPRansac(points3dF, points2dF, intrinsics, cv::Mat(), RF, tF, true, 100, 8.f, 0.999, inliers, cv::SOLVEPNP_P3P); cv 336 modules/calib3d/test/test_solvepnp_ransac.cpp solvePnPRansac(points3d, points2d, intrinsics, cv::Mat(), R, t, true, 100, 8.f, 0.999, inliers, cv::SOLVEPNP_P3P); cv 54 modules/calib3d/test/test_stereomatching.cpp using namespace cv; cv 46 modules/calib3d/test/test_undistort.cpp using namespace cv; cv 60 modules/calib3d/test/test_undistort.cpp cv::Size img_size; cv 61 modules/calib3d/test/test_undistort.cpp cv::Mat camera_mat; cv 62 modules/calib3d/test/test_undistort.cpp cv::Mat new_camera_mat; cv 125 modules/calib3d/test/test_undistort.cpp new_camera_mat = cv::getDefaultNewCameraMatrix(camera_mat,img_size,center_principal_point); cv 185 modules/calib3d/test/test_undistort.cpp cv::Size img_size; cv 186 modules/calib3d/test/test_undistort.cpp cv::Mat dst_points_mat; cv 188 modules/calib3d/test/test_undistort.cpp cv::Mat camera_mat; cv 189 modules/calib3d/test/test_undistort.cpp cv::Mat R; cv 190 modules/calib3d/test/test_undistort.cpp cv::Mat P; cv 191 modules/calib3d/test/test_undistort.cpp cv::Mat distortion_coeffs; cv 192 modules/calib3d/test/test_undistort.cpp cv::Mat src_points; cv 193 modules/calib3d/test/test_undistort.cpp std::vector<cv::Point2f> dst_points; cv 455 modules/calib3d/test/test_undistort.cpp cv::Mat input2,input3,input4; cv 456 modules/calib3d/test/test_undistort.cpp input2 = zero_distortion ? cv::Mat() : cv::Mat(test_mat[INPUT][2]); cv 457 modules/calib3d/test/test_undistort.cpp input3 = zero_R ? cv::Mat() : cv::Mat(test_mat[INPUT][3]); cv 458 modules/calib3d/test/test_undistort.cpp input4 = zero_new_cam ? cv::Mat() : cv::Mat(test_mat[INPUT][4]); cv 463 modules/calib3d/test/test_undistort.cpp cv::undistortPoints(src_points,dst_points_mat,camera_mat,input2,input3,input4); cv 468 modules/calib3d/test/test_undistort.cpp cv::undistortPoints(src_points,dst_points,camera_mat,input2,input3,input4); cv 592 modules/calib3d/test/test_undistort.cpp cv::Size img_size; cv 594 modules/calib3d/test/test_undistort.cpp cv::Mat camera_mat; cv 595 modules/calib3d/test/test_undistort.cpp cv::Mat R; cv 596 modules/calib3d/test/test_undistort.cpp cv::Mat new_camera_mat; cv 597 modules/calib3d/test/test_undistort.cpp cv::Mat distortion_coeffs; cv 598 modules/calib3d/test/test_undistort.cpp cv::Mat mapx; cv 599 modules/calib3d/test/test_undistort.cpp cv::Mat mapy; cv 813 modules/calib3d/test/test_undistort.cpp mapx = cv::Mat(_mapx); cv 814 modules/calib3d/test/test_undistort.cpp mapy = cv::Mat(_mapy); cv 816 modules/calib3d/test/test_undistort.cpp cv::Mat map1,map2; cv 817 modules/calib3d/test/test_undistort.cpp cv::convertMaps(mapx,mapy,map1,map2,CV_32FC1); cv 831 modules/calib3d/test/test_undistort.cpp cv::undistortPoints(_points, ref_points, _camera, cv 870 modules/calib3d/test/test_undistort.cpp mapx = cv::cvarrToMat(_mapx); cv 871 modules/calib3d/test/test_undistort.cpp mapy = cv::cvarrToMat(_mapy); cv 873 modules/calib3d/test/test_undistort.cpp cv::Mat map1,map2; cv 874 modules/calib3d/test/test_undistort.cpp cv::convertMaps(mapx,mapy,map1,map2,CV_32FC1); cv 908 modules/calib3d/test/test_undistort.cpp cv::Mat input2,input3,input4; cv 909 modules/calib3d/test/test_undistort.cpp input2 = zero_distortion ? cv::Mat() : test_mat[INPUT][2]; cv 910 modules/calib3d/test/test_undistort.cpp input3 = zero_R ? cv::Mat() : test_mat[INPUT][3]; cv 911 modules/calib3d/test/test_undistort.cpp input4 = zero_new_cam ? cv::Mat() : test_mat[INPUT][4]; cv 912 modules/calib3d/test/test_undistort.cpp cv::initUndistortRectifyMap(camera_mat,input2,input3,input4,img_size,mat_type,mapx,mapy); cv 55 modules/calib3d/test/test_undistort_badarg.cpp cv::Size img_size; cv 70 modules/calib3d/test/test_undistort_badarg.cpp cv::Mat camera_mat; cv 71 modules/calib3d/test/test_undistort_badarg.cpp cv::Mat R; cv 72 modules/calib3d/test/test_undistort_badarg.cpp cv::Mat P; cv 73 modules/calib3d/test/test_undistort_badarg.cpp cv::Mat distortion_coeffs; cv 74 modules/calib3d/test/test_undistort_badarg.cpp cv::Mat src_points; cv 75 modules/calib3d/test/test_undistort_badarg.cpp std::vector<cv::Point2f> dst_points; cv 89 modules/calib3d/test/test_undistort_badarg.cpp cv::undistortPoints(src_points,dst_points,camera_mat,distortion_coeffs,R,P); cv 252 modules/calib3d/test/test_undistort_badarg.cpp camera_mat = cv::cvarrToMat(&_camera_mat_orig); cv 253 modules/calib3d/test/test_undistort_badarg.cpp distortion_coeffs = cv::cvarrToMat(&_distortion_coeffs_orig); cv 254 modules/calib3d/test/test_undistort_badarg.cpp P = cv::cvarrToMat(&_P_orig); cv 255 modules/calib3d/test/test_undistort_badarg.cpp R = cv::cvarrToMat(&_R_orig); cv 256 modules/calib3d/test/test_undistort_badarg.cpp src_points = cv::cvarrToMat(&_src_points_orig); cv 259 modules/calib3d/test/test_undistort_badarg.cpp src_points = cv::cvarrToMat(temp); cv 261 modules/calib3d/test/test_undistort_badarg.cpp src_points = cv::cvarrToMat(&_src_points_orig); cv 265 modules/calib3d/test/test_undistort_badarg.cpp src_points = cv::cvarrToMat(temp); cv 267 modules/calib3d/test/test_undistort_badarg.cpp src_points = cv::cvarrToMat(&_src_points_orig); cv 270 modules/calib3d/test/test_undistort_badarg.cpp src_points = cv::Mat(); cv 272 modules/calib3d/test/test_undistort_badarg.cpp src_points = cv::cvarrToMat(&_src_points_orig); cv 294 modules/calib3d/test/test_undistort_badarg.cpp cv::Size img_size; cv 307 modules/calib3d/test/test_undistort_badarg.cpp cv::Mat camera_mat; cv 308 modules/calib3d/test/test_undistort_badarg.cpp cv::Mat R; cv 309 modules/calib3d/test/test_undistort_badarg.cpp cv::Mat new_camera_mat; cv 310 modules/calib3d/test/test_undistort_badarg.cpp cv::Mat distortion_coeffs; cv 311 modules/calib3d/test/test_undistort_badarg.cpp cv::Mat mapx; cv 312 modules/calib3d/test/test_undistort_badarg.cpp cv::Mat mapy; cv 327 modules/calib3d/test/test_undistort_badarg.cpp cv::initUndistortRectifyMap(camera_mat,distortion_coeffs,R,new_camera_mat,img_size,mat_type,mapx,mapy); cv 371 modules/calib3d/test/test_undistort_badarg.cpp camera_mat = cv::cvarrToMat(&_camera_mat_orig); cv 372 modules/calib3d/test/test_undistort_badarg.cpp distortion_coeffs = cv::cvarrToMat(&_distortion_coeffs_orig); cv 373 modules/calib3d/test/test_undistort_badarg.cpp new_camera_mat = cv::cvarrToMat(&_new_camera_mat_orig); cv 374 modules/calib3d/test/test_undistort_badarg.cpp R = cv::cvarrToMat(&_R_orig); cv 375 modules/calib3d/test/test_undistort_badarg.cpp mapx = cv::cvarrToMat(&_mapx_orig); cv 376 modules/calib3d/test/test_undistort_badarg.cpp mapy = cv::cvarrToMat(&_mapy_orig); cv 384 modules/calib3d/test/test_undistort_badarg.cpp camera_mat = cv::cvarrToMat(temp); cv 386 modules/calib3d/test/test_undistort_badarg.cpp camera_mat = cv::cvarrToMat(&_camera_mat_orig); cv 390 modules/calib3d/test/test_undistort_badarg.cpp R = cv::cvarrToMat(temp); cv 392 modules/calib3d/test/test_undistort_badarg.cpp R = cv::cvarrToMat(&_R_orig); cv 396 modules/calib3d/test/test_undistort_badarg.cpp distortion_coeffs = cv::cvarrToMat(temp); cv 398 modules/calib3d/test/test_undistort_badarg.cpp distortion_coeffs = cv::cvarrToMat(&_distortion_coeffs_orig); cv 419 modules/calib3d/test/test_undistort_badarg.cpp cv::Size img_size; cv 431 modules/calib3d/test/test_undistort_badarg.cpp cv::Mat camera_mat; cv 432 modules/calib3d/test/test_undistort_badarg.cpp cv::Mat new_camera_mat; cv 433 modules/calib3d/test/test_undistort_badarg.cpp cv::Mat distortion_coeffs; cv 434 modules/calib3d/test/test_undistort_badarg.cpp cv::Mat src; cv 435 modules/calib3d/test/test_undistort_badarg.cpp cv::Mat dst; cv 449 modules/calib3d/test/test_undistort_badarg.cpp cv::undistort(src,dst,camera_mat,distortion_coeffs,new_camera_mat); cv 512 modules/calib3d/test/test_undistort_badarg.cpp camera_mat = cv::cvarrToMat(&_camera_mat_orig); cv 513 modules/calib3d/test/test_undistort_badarg.cpp distortion_coeffs = cv::cvarrToMat(&_distortion_coeffs_orig); cv 514 modules/calib3d/test/test_undistort_badarg.cpp new_camera_mat = cv::cvarrToMat(&_new_camera_mat_orig); cv 515 modules/calib3d/test/test_undistort_badarg.cpp src = cv::cvarrToMat(&_src_orig); cv 516 modules/calib3d/test/test_undistort_badarg.cpp dst = cv::cvarrToMat(&_dst_orig); cv 4 modules/calib3d/test/test_undistort_points.cpp using namespace cv; cv 108 modules/core/include/opencv2/core/affine.hpp Affine3 inv(int method = cv::DECOMP_SVD) const; cv 175 modules/core/include/opencv2/core/affine.hpp cv::Affine3<T>::Affine3() cv 180 modules/core/include/opencv2/core/affine.hpp cv::Affine3<T>::Affine3(const Mat4& affine) cv 185 modules/core/include/opencv2/core/affine.hpp cv::Affine3<T>::Affine3(const Mat3& R, const Vec3& t) cv 194 modules/core/include/opencv2/core/affine.hpp cv::Affine3<T>::Affine3(const Vec3& _rvec, const Vec3& t) cv 203 modules/core/include/opencv2/core/affine.hpp cv::Affine3<T>::Affine3(const cv::Mat& data, const Vec3& t) cv 205 modules/core/include/opencv2/core/affine.hpp CV_Assert(data.type() == cv::DataType<T>::type); cv 226 modules/core/include/opencv2/core/affine.hpp cv::Affine3<T>::Affine3(const float_type* vals) : matrix(vals) cv 230 modules/core/include/opencv2/core/affine.hpp cv::Affine3<T> cv::Affine3<T>::Identity() cv 232 modules/core/include/opencv2/core/affine.hpp return Affine3<T>(cv::Affine3<T>::Mat4::eye()); cv 236 modules/core/include/opencv2/core/affine.hpp void cv::Affine3<T>::rotation(const Mat3& R) cv 242 modules/core/include/opencv2/core/affine.hpp void cv::Affine3<T>::rotation(const Vec3& _rvec) cv 275 modules/core/include/opencv2/core/affine.hpp void cv::Affine3<T>::rotation(const cv::Mat& data) cv 277 modules/core/include/opencv2/core/affine.hpp CV_Assert(data.type() == cv::DataType<T>::type); cv 296 modules/core/include/opencv2/core/affine.hpp void cv::Affine3<T>::linear(const Mat3& L) cv 304 modules/core/include/opencv2/core/affine.hpp void cv::Affine3<T>::translation(const Vec3& t) cv 310 modules/core/include/opencv2/core/affine.hpp typename cv::Affine3<T>::Mat3 cv::Affine3<T>::rotation() const cv 316 modules/core/include/opencv2/core/affine.hpp typename cv::Affine3<T>::Mat3 cv::Affine3<T>::linear() const cv 318 modules/core/include/opencv2/core/affine.hpp typename cv::Affine3<T>::Mat3 R; cv 326 modules/core/include/opencv2/core/affine.hpp typename cv::Affine3<T>::Vec3 cv::Affine3<T>::translation() const cv 332 modules/core/include/opencv2/core/affine.hpp typename cv::Affine3<T>::Vec3 cv::Affine3<T>::rvec() const cv 334 modules/core/include/opencv2/core/affine.hpp cv::Vec3d w; cv 335 modules/core/include/opencv2/core/affine.hpp cv::Matx33d u, vt, R = rotation(); cv 336 modules/core/include/opencv2/core/affine.hpp cv::SVD::compute(R, w, u, vt, cv::SVD::FULL_UV + cv::SVD::MODIFY_A); cv 377 modules/core/include/opencv2/core/affine.hpp return cv::Vec3d(rx, ry, rz); cv 381 modules/core/include/opencv2/core/affine.hpp cv::Affine3<T> cv::Affine3<T>::inv(int method) const cv 387 modules/core/include/opencv2/core/affine.hpp cv::Affine3<T> cv::Affine3<T>::rotate(const Mat3& R) const cv 411 modules/core/include/opencv2/core/affine.hpp cv::Affine3<T> cv::Affine3<T>::rotate(const Vec3& _rvec) const cv 417 modules/core/include/opencv2/core/affine.hpp cv::Affine3<T> cv::Affine3<T>::translate(const Vec3& t) const cv 427 modules/core/include/opencv2/core/affine.hpp cv::Affine3<T> cv::Affine3<T>::concatenate(const Affine3<T>& affine) const cv 433 modules/core/include/opencv2/core/affine.hpp cv::Affine3<T>::operator Affine3<Y>() const cv 439 modules/core/include/opencv2/core/affine.hpp cv::Affine3<Y> cv::Affine3<T>::cast() const cv 445 modules/core/include/opencv2/core/affine.hpp cv::Affine3<T> cv::operator*(const cv::Affine3<T>& affine1, const cv::Affine3<T>& affine2) cv 451 modules/core/include/opencv2/core/affine.hpp V cv::operator*(const cv::Affine3<T>& affine, const V& v) cv 463 modules/core/include/opencv2/core/affine.hpp cv::Vec3f cv::operator*(const cv::Affine3f& affine, const cv::Vec3f& v) cv 465 modules/core/include/opencv2/core/affine.hpp const cv::Matx44f& m = affine.matrix; cv 466 modules/core/include/opencv2/core/affine.hpp cv::Vec3f r; cv 474 modules/core/include/opencv2/core/affine.hpp cv::Vec3d cv::operator*(const cv::Affine3d& affine, const cv::Vec3d& v) cv 476 modules/core/include/opencv2/core/affine.hpp const cv::Matx44d& m = affine.matrix; cv 477 modules/core/include/opencv2/core/affine.hpp cv::Vec3d r; cv 489 modules/core/include/opencv2/core/affine.hpp cv::Affine3<T>::Affine3(const Eigen::Transform<T, 3, Eigen::Affine, (Eigen::RowMajor)>& affine) cv 491 modules/core/include/opencv2/core/affine.hpp cv::Mat(4, 4, cv::DataType<T>::type, affine.matrix().data()).copyTo(matrix); cv 495 modules/core/include/opencv2/core/affine.hpp cv::Affine3<T>::Affine3(const Eigen::Transform<T, 3, Eigen::Affine>& affine) cv 498 modules/core/include/opencv2/core/affine.hpp cv::Mat(4, 4, cv::DataType<T>::type, a.matrix().data()).copyTo(matrix); cv 502 modules/core/include/opencv2/core/affine.hpp cv::Affine3<T>::operator Eigen::Transform<T, 3, Eigen::Affine, (Eigen::RowMajor)>() const cv 505 modules/core/include/opencv2/core/affine.hpp cv::Mat hdr(4, 4, cv::DataType<T>::type, r.matrix().data()); cv 506 modules/core/include/opencv2/core/affine.hpp cv::Mat(matrix, false).copyTo(hdr); cv 511 modules/core/include/opencv2/core/affine.hpp cv::Affine3<T>::operator Eigen::Transform<T, 3, Eigen::Affine>() const cv 281 modules/core/include/opencv2/core/base.hpp typedef cv::CV_StaticAssert_test< sizeof(cv::CV_StaticAssert_failed< static_cast<bool>(condition) >) > CVAUX_CONCAT(CV_StaticAssert_failed_at_, __LINE__) cv 367 modules/core/include/opencv2/core/base.hpp #define CV_Error( code, msg ) cv::error( code, msg, CV_Func, __FILE__, __LINE__ ) cv 381 modules/core/include/opencv2/core/base.hpp #define CV_Error_( code, args ) cv::error( code, cv::format args, CV_Func, __FILE__, __LINE__ ) cv 389 modules/core/include/opencv2/core/base.hpp #define CV_Assert( expr ) if(!!(expr)) ; else cv::error( cv::Error::StsAssert, #expr, CV_Func, __FILE__, __LINE__ ) cv 392 modules/core/include/opencv2/core/base.hpp #define CV_ErrorNoReturn( code, msg ) cv::errorNoReturn( code, msg, CV_Func, __FILE__, __LINE__ ) cv 395 modules/core/include/opencv2/core/base.hpp #define CV_ErrorNoReturn_( code, args ) cv::errorNoReturn( code, cv::format args, CV_Func, __FILE__, __LINE__ ) cv 2757 modules/core/include/opencv2/core/core_c.h namespace cv cv 69 modules/core/include/opencv2/core/cuda/common.hpp cv::error(cv::Error::GpuApiCallError, cudaGetErrorString(err), func, file, line); cv 74 modules/core/include/opencv2/core/cuda/common.hpp #define cudaSafeCall(expr) cv::cuda::checkCudaError(expr, __FILE__, __LINE__, CV_Func) cv 151 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp typedef ::cv::cuda::device::color_detail::RGB2RGB<T, scn, dcn, bidx> functor_type; \ cv 224 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp typedef ::cv::cuda::device::color_detail::RGB2RGB5x5<scn, bidx, green_bits> functor_type; \ cv 305 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp typedef ::cv::cuda::device::color_detail::RGB5x52RGB<dcn, bidx, green_bits> functor_type; \ cv 351 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp typedef ::cv::cuda::device::color_detail::Gray2RGB<T, dcn> functor_type; \ cv 393 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp typedef ::cv::cuda::device::color_detail::Gray2RGB5x5<green_bits> functor_type; \ cv 435 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp typedef ::cv::cuda::device::color_detail::RGB5x52Gray<green_bits> functor_type; \ cv 486 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp typedef ::cv::cuda::device::color_detail::RGB2Gray<T, scn, bidx> functor_type; \ cv 537 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp typedef ::cv::cuda::device::color_detail::RGB2YUV<T, scn, dcn, bidx> functor_type; \ cv 625 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp typedef ::cv::cuda::device::color_detail::YUV2RGB<T, scn, dcn, bidx> functor_type; \ cv 704 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp typedef ::cv::cuda::device::color_detail::RGB2YCrCb<T, scn, dcn, bidx> functor_type; \ cv 783 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp typedef ::cv::cuda::device::color_detail::YCrCb2RGB<T, scn, dcn, bidx> functor_type; \ cv 859 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp typedef ::cv::cuda::device::color_detail::RGB2XYZ<T, scn, dcn, bidx> functor_type; \ cv 934 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp typedef ::cv::cuda::device::color_detail::XYZ2RGB<T, scn, dcn, bidx> functor_type; \ cv 1072 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp typedef ::cv::cuda::device::color_detail::RGB2HSV<T, scn, dcn, bidx, 180> functor_type; \ cv 1080 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp typedef ::cv::cuda::device::color_detail::RGB2HSV<T, scn, dcn, bidx, 256> functor_type; \ cv 1088 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp typedef ::cv::cuda::device::color_detail::RGB2HSV<float, scn, dcn, bidx, 360> functor_type; \ cv 1096 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp typedef ::cv::cuda::device::color_detail::RGB2HSV<float, scn, dcn, bidx, 360> functor_type; \ cv 1212 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp typedef ::cv::cuda::device::color_detail::HSV2RGB<T, scn, dcn, bidx, 180> functor_type; \ cv 1220 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp typedef ::cv::cuda::device::color_detail::HSV2RGB<T, scn, dcn, bidx, 255> functor_type; \ cv 1228 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp typedef ::cv::cuda::device::color_detail::HSV2RGB<float, scn, dcn, bidx, 360> functor_type; \ cv 1236 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp typedef ::cv::cuda::device::color_detail::HSV2RGB<float, scn, dcn, bidx, 360> functor_type; \ cv 1345 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp typedef ::cv::cuda::device::color_detail::RGB2HLS<T, scn, dcn, bidx, 180> functor_type; \ cv 1353 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp typedef ::cv::cuda::device::color_detail::RGB2HLS<T, scn, dcn, bidx, 256> functor_type; \ cv 1361 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp typedef ::cv::cuda::device::color_detail::RGB2HLS<float, scn, dcn, bidx, 360> functor_type; \ cv 1369 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp typedef ::cv::cuda::device::color_detail::RGB2HLS<float, scn, dcn, bidx, 360> functor_type; \ cv 1485 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp typedef ::cv::cuda::device::color_detail::HLS2RGB<T, scn, dcn, bidx, 180> functor_type; \ cv 1493 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp typedef ::cv::cuda::device::color_detail::HLS2RGB<T, scn, dcn, bidx, 255> functor_type; \ cv 1501 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp typedef ::cv::cuda::device::color_detail::HLS2RGB<float, scn, dcn, bidx, 360> functor_type; \ cv 1509 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp typedef ::cv::cuda::device::color_detail::HLS2RGB<float, scn, dcn, bidx, 360> functor_type; \ cv 1654 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp typedef ::cv::cuda::device::color_detail::RGB2Lab<T, scn, dcn, srgb, blueIdx> functor_type; \ cv 1767 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp typedef ::cv::cuda::device::color_detail::Lab2RGB<T, scn, dcn, srgb, blueIdx> functor_type; \ cv 1866 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp typedef ::cv::cuda::device::color_detail::RGB2Luv<T, scn, dcn, srgb, blueIdx> functor_type; \ cv 1967 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp typedef ::cv::cuda::device::color_detail::Luv2RGB<T, scn, dcn, srgb, blueIdx> functor_type; \ cv 183 modules/core/include/opencv2/core/cuda/scan.hpp const unsigned int laneId = cv::cuda::device::Warp::laneId(); cv 189 modules/core/include/opencv2/core/cuda/scan.hpp const T n = cv::cuda::device::shfl_up(idata, i); cv 158 modules/core/include/opencv2/core/cvstd.hpp size_type max_size() const { return cv::max(static_cast<_Tp>(-1)/sizeof(_Tp), 1); } cv 765 modules/core/include/opencv2/core/cvstd.hpp cv::swap(cstr_, str.cstr_); cv 766 modules/core/include/opencv2/core/cvstd.hpp cv::swap(len_, str.len_); cv 1044 modules/core/include/opencv2/core/cvstd.hpp static inline void swap(cv::String& a, cv::String& b) { a.swap(b); } cv 1050 modules/core/include/opencv2/core/cvstd.hpp void swap<cv::String>(cv::String& a, cv::String& b) cv 162 modules/core/include/opencv2/core/cvstd.inl.hpp return fs << cv::String(value); cv 68 modules/core/include/opencv2/core/directx.hpp using namespace cv::ocl; cv 2964 modules/core/include/opencv2/core/mat.inl.hpp return cv::min((const Mat&)a, (const Mat&)b); cv 2970 modules/core/include/opencv2/core/mat.inl.hpp return cv::min((const Mat&)a, s); cv 2976 modules/core/include/opencv2/core/mat.inl.hpp return cv::min((const Mat&)a, s); cv 2982 modules/core/include/opencv2/core/mat.inl.hpp return cv::max((const Mat&)a, (const Mat&)b); cv 2988 modules/core/include/opencv2/core/mat.inl.hpp return cv::max((const Mat&)a, s); cv 2994 modules/core/include/opencv2/core/mat.inl.hpp return cv::max((const Mat&)a, s); cv 3000 modules/core/include/opencv2/core/mat.inl.hpp return cv::abs((const Mat&)m); cv 820 modules/core/include/opencv2/core/matx.hpp return cv::internal::Matx_DetOp<_Tp, m>()(a); cv 963 modules/core/include/opencv2/core/matx.hpp return cv::internal::conjugate(*this); cv 969 modules/core/include/opencv2/core/matx.hpp return cv::internal::conjugate(*this); cv 975 modules/core/include/opencv2/core/matx.hpp return cv::internal::conjugate(*this); cv 981 modules/core/include/opencv2/core/matx.hpp return cv::internal::conjugate(*this); cv 680 modules/core/include/opencv2/core/ocl.hpp #define OCL_PERFORMANCE_CHECK(condition) (cv::ocl::internal::isPerformanceCheckBypassed() || (condition)) cv 16 modules/core/include/opencv2/core/opencl/ocl_defs.hpp if (cv::ocl::useOpenCL() && (condition) && func) \ cv 32 modules/core/include/opencv2/core/opencl/ocl_defs.hpp if (cv::ocl::useOpenCL() && (condition)) \ cv 40 modules/core/include/opencv2/core/opencl/ocl_defs.hpp CV_Error(cv::Error::StsAssert, #func); \ cv 47 modules/core/include/opencv2/core/opencl/ocl_defs.hpp if (cv::ocl::useOpenCL() && (condition) && func) \ cv 90 modules/core/include/opencv2/core/opencl/runtime/opencl_core.hpp #define CV_REQUIRE_OPENCL_1_2_ERROR CV_ErrorNoReturn(cv::Error::OpenCLApiCallError, "OpenCV compiled without OpenCL v1.2 support, so we can't use functionality from OpenCL v1.2") cv 542 modules/core/include/opencv2/core/opengl.hpp cv::ogl::Buffer::Buffer(int arows, int acols, int atype, Target target, bool autoRelease) : rows_(0), cols_(0), type_(0) cv 548 modules/core/include/opencv2/core/opengl.hpp cv::ogl::Buffer::Buffer(Size asize, int atype, Target target, bool autoRelease) : rows_(0), cols_(0), type_(0) cv 554 modules/core/include/opencv2/core/opengl.hpp void cv::ogl::Buffer::create(Size asize, int atype, Target target, bool autoRelease) cv 560 modules/core/include/opencv2/core/opengl.hpp int cv::ogl::Buffer::rows() const cv 566 modules/core/include/opencv2/core/opengl.hpp int cv::ogl::Buffer::cols() const cv 572 modules/core/include/opencv2/core/opengl.hpp cv::Size cv::ogl::Buffer::size() const cv 578 modules/core/include/opencv2/core/opengl.hpp bool cv::ogl::Buffer::empty() const cv 584 modules/core/include/opencv2/core/opengl.hpp int cv::ogl::Buffer::type() const cv 590 modules/core/include/opencv2/core/opengl.hpp int cv::ogl::Buffer::depth() const cv 596 modules/core/include/opencv2/core/opengl.hpp int cv::ogl::Buffer::channels() const cv 602 modules/core/include/opencv2/core/opengl.hpp int cv::ogl::Buffer::elemSize() const cv 608 modules/core/include/opencv2/core/opengl.hpp int cv::ogl::Buffer::elemSize1() const cv 616 modules/core/include/opencv2/core/opengl.hpp cv::ogl::Texture2D::Texture2D(int arows, int acols, Format aformat, bool autoRelease) : rows_(0), cols_(0), format_(NONE) cv 622 modules/core/include/opencv2/core/opengl.hpp cv::ogl::Texture2D::Texture2D(Size asize, Format aformat, bool autoRelease) : rows_(0), cols_(0), format_(NONE) cv 628 modules/core/include/opencv2/core/opengl.hpp void cv::ogl::Texture2D::create(Size asize, Format aformat, bool autoRelease) cv 634 modules/core/include/opencv2/core/opengl.hpp int cv::ogl::Texture2D::rows() const cv 640 modules/core/include/opencv2/core/opengl.hpp int cv::ogl::Texture2D::cols() const cv 646 modules/core/include/opencv2/core/opengl.hpp cv::Size cv::ogl::Texture2D::size() const cv 652 modules/core/include/opencv2/core/opengl.hpp bool cv::ogl::Texture2D::empty() const cv 658 modules/core/include/opencv2/core/opengl.hpp cv::ogl::Texture2D::Format cv::ogl::Texture2D::format() const cv 666 modules/core/include/opencv2/core/opengl.hpp cv::ogl::Arrays::Arrays() : size_(0) cv 671 modules/core/include/opencv2/core/opengl.hpp int cv::ogl::Arrays::size() const cv 677 modules/core/include/opencv2/core/opengl.hpp bool cv::ogl::Arrays::empty() const cv 180 modules/core/include/opencv2/core/operations.hpp cv::randu(M, Scalar(a), Scalar(b)); cv 188 modules/core/include/opencv2/core/operations.hpp cv::randn(M, Scalar(a), Scalar(b)); cv 198 modules/core/include/opencv2/core/operations.hpp ok = cv::internal::Matx_FastInvOp<_Tp, m>()(*this, b, method); cv 214 modules/core/include/opencv2/core/operations.hpp ok = cv::internal::Matx_FastSolveOp<_Tp, m, l>()(*this, rhs, x, method); cv 218 modules/core/include/opencv2/core/operations.hpp ok = cv::solve(A, B, X, method); cv 239 modules/core/include/opencv2/core/operations.hpp CV_MAT_AUG_OPERATOR (+=, cv::add(a,b,a), Mat, Mat) cv 240 modules/core/include/opencv2/core/operations.hpp CV_MAT_AUG_OPERATOR (+=, cv::add(a,b,a), Mat, Scalar) cv 241 modules/core/include/opencv2/core/operations.hpp CV_MAT_AUG_OPERATOR_T(+=, cv::add(a,b,a), Mat_<_Tp>, Mat) cv 242 modules/core/include/opencv2/core/operations.hpp CV_MAT_AUG_OPERATOR_T(+=, cv::add(a,b,a), Mat_<_Tp>, Scalar) cv 243 modules/core/include/opencv2/core/operations.hpp CV_MAT_AUG_OPERATOR_T(+=, cv::add(a,b,a), Mat_<_Tp>, Mat_<_Tp>) cv 245 modules/core/include/opencv2/core/operations.hpp CV_MAT_AUG_OPERATOR (-=, cv::subtract(a,b,a), Mat, Mat) cv 246 modules/core/include/opencv2/core/operations.hpp CV_MAT_AUG_OPERATOR (-=, cv::subtract(a,b,a), Mat, Scalar) cv 247 modules/core/include/opencv2/core/operations.hpp CV_MAT_AUG_OPERATOR_T(-=, cv::subtract(a,b,a), Mat_<_Tp>, Mat) cv 248 modules/core/include/opencv2/core/operations.hpp CV_MAT_AUG_OPERATOR_T(-=, cv::subtract(a,b,a), Mat_<_Tp>, Scalar) cv 249 modules/core/include/opencv2/core/operations.hpp CV_MAT_AUG_OPERATOR_T(-=, cv::subtract(a,b,a), Mat_<_Tp>, Mat_<_Tp>) cv 251 modules/core/include/opencv2/core/operations.hpp CV_MAT_AUG_OPERATOR (*=, cv::gemm(a, b, 1, Mat(), 0, a, 0), Mat, Mat) cv 252 modules/core/include/opencv2/core/operations.hpp CV_MAT_AUG_OPERATOR_T(*=, cv::gemm(a, b, 1, Mat(), 0, a, 0), Mat_<_Tp>, Mat) cv 253 modules/core/include/opencv2/core/operations.hpp CV_MAT_AUG_OPERATOR_T(*=, cv::gemm(a, b, 1, Mat(), 0, a, 0), Mat_<_Tp>, Mat_<_Tp>) cv 257 modules/core/include/opencv2/core/operations.hpp CV_MAT_AUG_OPERATOR (/=, cv::divide(a,b,a), Mat, Mat) cv 258 modules/core/include/opencv2/core/operations.hpp CV_MAT_AUG_OPERATOR_T(/=, cv::divide(a,b,a), Mat_<_Tp>, Mat) cv 259 modules/core/include/opencv2/core/operations.hpp CV_MAT_AUG_OPERATOR_T(/=, cv::divide(a,b,a), Mat_<_Tp>, Mat_<_Tp>) cv 263 modules/core/include/opencv2/core/operations.hpp CV_MAT_AUG_OPERATOR (&=, cv::bitwise_and(a,b,a), Mat, Mat) cv 264 modules/core/include/opencv2/core/operations.hpp CV_MAT_AUG_OPERATOR (&=, cv::bitwise_and(a,b,a), Mat, Scalar) cv 265 modules/core/include/opencv2/core/operations.hpp CV_MAT_AUG_OPERATOR_T(&=, cv::bitwise_and(a,b,a), Mat_<_Tp>, Mat) cv 266 modules/core/include/opencv2/core/operations.hpp CV_MAT_AUG_OPERATOR_T(&=, cv::bitwise_and(a,b,a), Mat_<_Tp>, Scalar) cv 267 modules/core/include/opencv2/core/operations.hpp CV_MAT_AUG_OPERATOR_T(&=, cv::bitwise_and(a,b,a), Mat_<_Tp>, Mat_<_Tp>) cv 269 modules/core/include/opencv2/core/operations.hpp CV_MAT_AUG_OPERATOR (|=, cv::bitwise_or(a,b,a), Mat, Mat) cv 270 modules/core/include/opencv2/core/operations.hpp CV_MAT_AUG_OPERATOR (|=, cv::bitwise_or(a,b,a), Mat, Scalar) cv 271 modules/core/include/opencv2/core/operations.hpp CV_MAT_AUG_OPERATOR_T(|=, cv::bitwise_or(a,b,a), Mat_<_Tp>, Mat) cv 272 modules/core/include/opencv2/core/operations.hpp CV_MAT_AUG_OPERATOR_T(|=, cv::bitwise_or(a,b,a), Mat_<_Tp>, Scalar) cv 273 modules/core/include/opencv2/core/operations.hpp CV_MAT_AUG_OPERATOR_T(|=, cv::bitwise_or(a,b,a), Mat_<_Tp>, Mat_<_Tp>) cv 275 modules/core/include/opencv2/core/operations.hpp CV_MAT_AUG_OPERATOR (^=, cv::bitwise_xor(a,b,a), Mat, Mat) cv 276 modules/core/include/opencv2/core/operations.hpp CV_MAT_AUG_OPERATOR (^=, cv::bitwise_xor(a,b,a), Mat, Scalar) cv 277 modules/core/include/opencv2/core/operations.hpp CV_MAT_AUG_OPERATOR_T(^=, cv::bitwise_xor(a,b,a), Mat_<_Tp>, Mat) cv 278 modules/core/include/opencv2/core/operations.hpp CV_MAT_AUG_OPERATOR_T(^=, cv::bitwise_xor(a,b,a), Mat_<_Tp>, Scalar) cv 279 modules/core/include/opencv2/core/operations.hpp CV_MAT_AUG_OPERATOR_T(^=, cv::bitwise_xor(a,b,a), Mat_<_Tp>, Mat_<_Tp>) cv 414 modules/core/include/opencv2/core/operations.hpp return print(Formatter::get()->format(cv::Mat(matx)), stream); cv 919 modules/core/include/opencv2/core/persistence.hpp cv::internal::VecWriterProxy<_Tp, DataType<_Tp>::fmt != 0> w(&fs); cv 927 modules/core/include/opencv2/core/persistence.hpp cv::internal::WriteStructContext ws(fs, name, FileNode::SEQ+FileNode::FLOW); cv 934 modules/core/include/opencv2/core/persistence.hpp cv::internal::WriteStructContext ws(fs, name, FileNode::SEQ+FileNode::FLOW); cv 941 modules/core/include/opencv2/core/persistence.hpp cv::internal::WriteStructContext ws(fs, name, FileNode::SEQ+FileNode::FLOW); cv 948 modules/core/include/opencv2/core/persistence.hpp cv::internal::WriteStructContext ws(fs, name, FileNode::SEQ+FileNode::FLOW); cv 955 modules/core/include/opencv2/core/persistence.hpp cv::internal::WriteStructContext ws(fs, name, FileNode::SEQ+FileNode::FLOW); cv 962 modules/core/include/opencv2/core/persistence.hpp cv::internal::WriteStructContext ws(fs, name, FileNode::SEQ+FileNode::FLOW); cv 969 modules/core/include/opencv2/core/persistence.hpp cv::internal::WriteStructContext ws(fs, name, FileNode::SEQ+FileNode::FLOW); cv 976 modules/core/include/opencv2/core/persistence.hpp cv::internal::WriteStructContext ws(fs, name, FileNode::SEQ+FileNode::FLOW); cv 983 modules/core/include/opencv2/core/persistence.hpp cv::internal::WriteStructContext ws(fs, name, FileNode::SEQ+(DataType<_Tp>::fmt != 0 ? FileNode::FLOW : 0)); cv 1035 modules/core/include/opencv2/core/persistence.hpp cv::internal::VecReaderProxy<_Tp, DataType<_Tp>::fmt != 0> r(&it); cv 1106 modules/core/include/opencv2/core/persistence.hpp cv::internal::VecReaderProxy<_Tp, DataType<_Tp>::fmt != 0> r(&it); cv 81 modules/core/include/opencv2/core/private.cuda.hpp CV_EXPORTS cv::String getNppErrorMessage(int code); cv 82 modules/core/include/opencv2/core/private.cuda.hpp CV_EXPORTS cv::String getCudaDriverApiErrorMessage(int code); cv 97 modules/core/include/opencv2/core/private.cuda.hpp static inline void throw_no_cuda() { CV_Error(cv::Error::GpuNotSupported, "The library is compiled without CUDA support"); } cv 101 modules/core/include/opencv2/core/private.cuda.hpp static inline void throw_no_cuda() { CV_Error(cv::Error::StsNotImplemented, "The called functionality is disabled for current build or platform"); } cv 122 modules/core/include/opencv2/core/private.cuda.hpp cv::error(cv::Error::GpuApiCallError, getNppErrorMessage(code), func, file, line); cv 128 modules/core/include/opencv2/core/private.cuda.hpp cv::error(cv::Error::GpuApiCallError, getCudaDriverApiErrorMessage(code), func, file, line); cv 165 modules/core/include/opencv2/core/private.cuda.hpp #define nppSafeCall(expr) cv::cuda::checkNppError(expr, __FILE__, __LINE__, CV_Func) cv 166 modules/core/include/opencv2/core/private.cuda.hpp #define cuSafeCall(expr) cv::cuda::checkCudaDriverApiError(expr, __FILE__, __LINE__, CV_Func) cv 156 modules/core/include/opencv2/core/private.hpp static inline cv::Size cvGetMatSize( const CvMat* mat ) cv 158 modules/core/include/opencv2/core/private.hpp return cv::Size(mat->cols, mat->rows); cv 164 modules/core/include/opencv2/core/private.hpp CV_EXPORTS void scalarToRawData(const cv::Scalar& s, void* buf, int type, int unroll_to = 0); cv 200 modules/core/include/opencv2/core/private.hpp #define setIppErrorStatus() cv::ipp::setIppStatus(-1, CV_Func, __FILE__, __LINE__) cv 208 modules/core/include/opencv2/core/private.hpp static inline IppiSize ippiSize(const cv::Size & _size) cv 216 modules/core/include/opencv2/core/private.hpp return borderTypeNI == cv::BORDER_CONSTANT ? ippBorderConst : cv 217 modules/core/include/opencv2/core/private.hpp borderTypeNI == cv::BORDER_WRAP ? ippBorderWrap : cv 218 modules/core/include/opencv2/core/private.hpp borderTypeNI == cv::BORDER_REPLICATE ? ippBorderRepl : cv 219 modules/core/include/opencv2/core/private.hpp borderTypeNI == cv::BORDER_REFLECT_101 ? ippBorderMirror : cv 220 modules/core/include/opencv2/core/private.hpp borderTypeNI == cv::BORDER_REFLECT ? ippBorderMirrorR : (IppiBorderType)-1; cv 238 modules/core/include/opencv2/core/private.hpp #define CV_IPP_CHECK_COND (cv::ipp::useIPP()) cv 1953 modules/core/include/opencv2/core/types.hpp this->val[i] = cv::saturate_cast<_Tp>(v.val[i]); cv 335 modules/core/include/opencv2/core/types_c.h _IplImage(const cv::Mat& m); cv 462 modules/core/include/opencv2/core/types_c.h CvMat(const cv::Mat& m); cv 527 modules/core/include/opencv2/core/types_c.h inline CvMat::CvMat(const cv::Mat& m) cv 532 modules/core/include/opencv2/core/types_c.h type = (type & ~cv::Mat::CONTINUOUS_FLAG) | (m.flags & cv::Mat::CONTINUOUS_FLAG); cv 652 modules/core/include/opencv2/core/types_c.h CvMatND(const cv::Mat& m); cv 692 modules/core/include/opencv2/core/types_c.h void copyToSparseMat(cv::SparseMat& m) const; cv 698 modules/core/include/opencv2/core/types_c.h CV_EXPORTS CvSparseMat* cvCreateSparseMat(const cv::SparseMat& m); cv 788 modules/core/include/opencv2/core/types_c.h CvRect(const cv::Rect_<_Tp>& r): x(cv::saturate_cast<int>(r.x)), y(cv::saturate_cast<int>(r.y)), width(cv::saturate_cast<int>(r.width)), height(cv::saturate_cast<int>(r.height)) {} cv 790 modules/core/include/opencv2/core/types_c.h operator cv::Rect_<_Tp>() const { return cv::Rect_<_Tp>((_Tp)x, (_Tp)y, (_Tp)width, (_Tp)height); } cv 845 modules/core/include/opencv2/core/types_c.h CvTermCriteria(const cv::TermCriteria& t) : type(t.type), max_iter(t.maxCount), epsilon(t.epsilon) {} cv 846 modules/core/include/opencv2/core/types_c.h operator cv::TermCriteria() const { return cv::TermCriteria(type, max_iter, epsilon); } cv 874 modules/core/include/opencv2/core/types_c.h CvPoint(const cv::Point_<_Tp>& pt): x((int)pt.x), y((int)pt.y) {} cv 876 modules/core/include/opencv2/core/types_c.h operator cv::Point_<_Tp>() const { return cv::Point_<_Tp>(cv::saturate_cast<_Tp>(x), cv::saturate_cast<_Tp>(y)); } cv 901 modules/core/include/opencv2/core/types_c.h CvPoint2D32f(const cv::Point_<_Tp>& pt): x((float)pt.x), y((float)pt.y) {} cv 903 modules/core/include/opencv2/core/types_c.h operator cv::Point_<_Tp>() const { return cv::Point_<_Tp>(cv::saturate_cast<_Tp>(x), cv::saturate_cast<_Tp>(y)); } cv 945 modules/core/include/opencv2/core/types_c.h CvPoint3D32f(const cv::Point3_<_Tp>& pt): x((float)pt.x), y((float)pt.y), z((float)pt.z) {} cv 947 modules/core/include/opencv2/core/types_c.h operator cv::Point3_<_Tp>() const { return cv::Point3_<_Tp>(cv::saturate_cast<_Tp>(x), cv::saturate_cast<_Tp>(y), cv::saturate_cast<_Tp>(z)); } cv 1015 modules/core/include/opencv2/core/types_c.h CvSize(const cv::Size_<_Tp>& sz): width(cv::saturate_cast<int>(sz.width)), height(cv::saturate_cast<int>(sz.height)) {} cv 1017 modules/core/include/opencv2/core/types_c.h operator cv::Size_<_Tp>() const { return cv::Size_<_Tp>(cv::saturate_cast<_Tp>(width), cv::saturate_cast<_Tp>(height)); } cv 1041 modules/core/include/opencv2/core/types_c.h CvSize2D32f(const cv::Size_<_Tp>& sz): width(cv::saturate_cast<float>(sz.width)), height(cv::saturate_cast<float>(sz.height)) {} cv 1043 modules/core/include/opencv2/core/types_c.h operator cv::Size_<_Tp>() const { return cv::Size_<_Tp>(cv::saturate_cast<_Tp>(width), cv::saturate_cast<_Tp>(height)); } cv 1070 modules/core/include/opencv2/core/types_c.h CvBox2D(const cv::RotatedRect& rr) : center(rr.center), size(rr.size), angle(rr.angle) {} cv 1071 modules/core/include/opencv2/core/types_c.h operator cv::RotatedRect() const { return cv::RotatedRect(center, size, angle); } cv 1104 modules/core/include/opencv2/core/types_c.h CvSlice(const cv::Range& r) { *this = (r.start != INT_MIN && r.end != INT_MAX) ? CvSlice(r.start, r.end) : CvSlice(0, CV_WHOLE_SEQ_END_INDEX); } cv 1105 modules/core/include/opencv2/core/types_c.h operator cv::Range() const { return (start_index == 0 && end_index == CV_WHOLE_SEQ_END_INDEX ) ? cv::Range::all() : cv::Range(start_index, end_index); } cv 1132 modules/core/include/opencv2/core/types_c.h CvScalar(const cv::Scalar_<_Tp>& s) { val[0] = s.val[0]; val[1] = s.val[1]; val[2] = s.val[2]; val[3] = s.val[3]; } cv 1134 modules/core/include/opencv2/core/types_c.h operator cv::Scalar_<_Tp>() const { return cv::Scalar_<_Tp>(cv::saturate_cast<_Tp>(val[0]), cv::saturate_cast<_Tp>(val[1]), cv::saturate_cast<_Tp>(val[2]), cv::saturate_cast<_Tp>(val[3])); } cv 1136 modules/core/include/opencv2/core/types_c.h CvScalar(const cv::Vec<_Tp, cn>& v) cv 73 modules/core/include/opencv2/core/utility.hpp if(cv::useCollection()) \ cv 75 modules/core/include/opencv2/core/utility.hpp cv::addImpl(impl, CV_Func); \ cv 482 modules/core/include/opencv2/core/utility.hpp parallel_for_(cv::Range(0, LINES), PixelOperationWrapper(reinterpret_cast<Mat_<_Tp>*>(this), operation)); cv 16 modules/core/misc/java/src/cpp/core_manual.cpp cv::redirectError(0); cv 18 modules/core/misc/java/src/cpp/core_manual.cpp cv::redirectError((cv::ErrorCallback)quietCallback); cv 62 modules/core/perf/cuda/perf_gpumat.cpp const cv::Size size = GET_PARAM(0); cv 68 modules/core/perf/cuda/perf_gpumat.cpp const cv::Scalar val(1, 2, 3, 4); cv 72 modules/core/perf/cuda/perf_gpumat.cpp cv::cuda::GpuMat dst(size, type); cv 78 modules/core/perf/cuda/perf_gpumat.cpp cv::Mat dst(size, type); cv 94 modules/core/perf/cuda/perf_gpumat.cpp const cv::Size size = GET_PARAM(0); cv 100 modules/core/perf/cuda/perf_gpumat.cpp cv::Mat src(size, type); cv 101 modules/core/perf/cuda/perf_gpumat.cpp cv::Mat mask(size, CV_8UC1); cv 104 modules/core/perf/cuda/perf_gpumat.cpp const cv::Scalar val(1, 2, 3, 4); cv 108 modules/core/perf/cuda/perf_gpumat.cpp cv::cuda::GpuMat dst(src); cv 109 modules/core/perf/cuda/perf_gpumat.cpp const cv::cuda::GpuMat d_mask(mask); cv 115 modules/core/perf/cuda/perf_gpumat.cpp cv::Mat dst = src; cv 131 modules/core/perf/cuda/perf_gpumat.cpp const cv::Size size = GET_PARAM(0); cv 137 modules/core/perf/cuda/perf_gpumat.cpp cv::Mat src(size, type); cv 138 modules/core/perf/cuda/perf_gpumat.cpp cv::Mat mask(size, CV_8UC1); cv 143 modules/core/perf/cuda/perf_gpumat.cpp const cv::cuda::GpuMat d_src(src); cv 144 modules/core/perf/cuda/perf_gpumat.cpp const cv::cuda::GpuMat d_mask(mask); cv 145 modules/core/perf/cuda/perf_gpumat.cpp cv::cuda::GpuMat dst(d_src.size(), d_src.type(), cv::Scalar::all(0)); cv 151 modules/core/perf/cuda/perf_gpumat.cpp cv::Mat dst(src.size(), src.type(), cv::Scalar::all(0)); cv 162 modules/core/perf/cuda/perf_gpumat.cpp DEF_PARAM_TEST(Sz_2Depth, cv::Size, MatDepth, MatDepth); cv 169 modules/core/perf/cuda/perf_gpumat.cpp const cv::Size size = GET_PARAM(0); cv 173 modules/core/perf/cuda/perf_gpumat.cpp cv::Mat src(size, depth1); cv 181 modules/core/perf/cuda/perf_gpumat.cpp const cv::cuda::GpuMat d_src(src); cv 182 modules/core/perf/cuda/perf_gpumat.cpp cv::cuda::GpuMat dst; cv 188 modules/core/perf/cuda/perf_gpumat.cpp cv::Mat dst; cv 70 modules/core/perf/opencl/perf_arithm.cpp OCL_TEST_CYCLE() cv::LUT(src, lut, dst); cv 92 modules/core/perf/opencl/perf_arithm.cpp OCL_TEST_CYCLE() cv::exp(src, dst); cv 114 modules/core/perf/opencl/perf_arithm.cpp OCL_TEST_CYCLE() cv::log(src, dst); cv 134 modules/core/perf/opencl/perf_arithm.cpp OCL_TEST_CYCLE() cv::add(src1, src2, dst); cv 155 modules/core/perf/opencl/perf_arithm.cpp OCL_TEST_CYCLE() cv::subtract(src1, src2, dst); cv 175 modules/core/perf/opencl/perf_arithm.cpp OCL_TEST_CYCLE() cv::multiply(src1, src2, dst); cv 196 modules/core/perf/opencl/perf_arithm.cpp OCL_TEST_CYCLE() cv::divide(src1, src2, dst); cv 217 modules/core/perf/opencl/perf_arithm.cpp OCL_TEST_CYCLE() cv::absdiff(src1, src2, dst); cv 239 modules/core/perf/opencl/perf_arithm.cpp OCL_TEST_CYCLE() cv::cartToPolar(src1, src2, dst1, dst2); cv 262 modules/core/perf/opencl/perf_arithm.cpp OCL_TEST_CYCLE() cv::polarToCart(src1, src2, dst1, dst2); cv 285 modules/core/perf/opencl/perf_arithm.cpp OCL_TEST_CYCLE() cv::magnitude(src1, src2, dst); cv 306 modules/core/perf/opencl/perf_arithm.cpp OCL_TEST_CYCLE() cv::transpose(src, dst); cv 323 modules/core/perf/opencl/perf_arithm.cpp OCL_TEST_CYCLE() cv::transpose(src, src); cv 354 modules/core/perf/opencl/perf_arithm.cpp OCL_TEST_CYCLE() cv::flip(src, dst, flipType - 1); cv 379 modules/core/perf/opencl/perf_arithm.cpp OCL_TEST_CYCLE() cv::minMaxLoc(src, &min_val, &max_val, onecn ? &min_loc : NULL, cv 413 modules/core/perf/opencl/perf_arithm.cpp OCL_TEST_CYCLE() result = cv::sum(src); cv 440 modules/core/perf/opencl/perf_arithm.cpp OCL_TEST_CYCLE() result = cv::countNonZero(src); cv 462 modules/core/perf/opencl/perf_arithm.cpp OCL_TEST_CYCLE() cv::phase(src1, src2, dst, 1); cv 483 modules/core/perf/opencl/perf_arithm.cpp OCL_TEST_CYCLE() cv::bitwise_and(src1, src2, dst); cv 504 modules/core/perf/opencl/perf_arithm.cpp OCL_TEST_CYCLE() cv::bitwise_xor(src1, src2, dst); cv 525 modules/core/perf/opencl/perf_arithm.cpp OCL_TEST_CYCLE() cv::bitwise_or(src1, src2, dst); cv 546 modules/core/perf/opencl/perf_arithm.cpp OCL_TEST_CYCLE() cv::bitwise_not(src, dst); cv 572 modules/core/perf/opencl/perf_arithm.cpp OCL_TEST_CYCLE() cv::compare(src1, src2, dst, cmpCode); cv 592 modules/core/perf/opencl/perf_arithm.cpp OCL_TEST_CYCLE() cv::compare(src1, 32, dst, cmpCode); cv 614 modules/core/perf/opencl/perf_arithm.cpp OCL_TEST_CYCLE() cv::pow(src, 2.17, dst); cv 636 modules/core/perf/opencl/perf_arithm.cpp OCL_TEST_CYCLE() cv::addWeighted(src1, alpha, src2, beta, gama, dst); cv 661 modules/core/perf/opencl/perf_arithm.cpp OCL_TEST_CYCLE() cv::sqrt(src, dst); cv 682 modules/core/perf/opencl/perf_arithm.cpp OCL_TEST_CYCLE() cv::setIdentity(dst, cv::Scalar::all(181)); cv 706 modules/core/perf/opencl/perf_arithm.cpp OCL_TEST_CYCLE() cv::meanStdDev(src, mean, stddev); cv 736 modules/core/perf/opencl/perf_arithm.cpp OCL_TEST_CYCLE() cv::meanStdDev(src, mean, stddev, mask); cv 773 modules/core/perf/opencl/perf_arithm.cpp OCL_TEST_CYCLE() res = cv::norm(src1, normType); cv 793 modules/core/perf/opencl/perf_arithm.cpp OCL_TEST_CYCLE() res = cv::norm(src1, src2, normType); cv 813 modules/core/perf/opencl/perf_arithm.cpp OCL_TEST_CYCLE() res = cv::norm(src1, src2, normType | cv::NORM_RELATIVE); cv 857 modules/core/perf/opencl/perf_arithm.cpp OCL_TEST_CYCLE() cv::repeat(src, nx, ny, dst); cv 878 modules/core/perf/opencl/perf_arithm.cpp OCL_TEST_CYCLE() cv::min(src1, src2, dst); cv 899 modules/core/perf/opencl/perf_arithm.cpp OCL_TEST_CYCLE() cv::max(src1, src2, dst); cv 920 modules/core/perf/opencl/perf_arithm.cpp OCL_TEST_CYCLE() cv::inRange(src, lb, ub, dst); cv 945 modules/core/perf/opencl/perf_arithm.cpp OCL_TEST_CYCLE() cv::normalize(src, dst, 10, 110, mode); cv 963 modules/core/perf/opencl/perf_arithm.cpp OCL_TEST_CYCLE() cv::normalize(src, dst, 10, 110, mode, -1, mask); cv 984 modules/core/perf/opencl/perf_arithm.cpp OCL_TEST_CYCLE() cv::convertScaleAbs(src, dst, 0.5, 2); cv 1017 modules/core/perf/opencl/perf_arithm.cpp OCL_TEST_CYCLE() cv::patchNaNs(src, 17.7); cv 1039 modules/core/perf/opencl/perf_arithm.cpp OCL_TEST_CYCLE() cv::scaleAdd(src1, 0.6, src2, dst); cv 1061 modules/core/perf/opencl/perf_arithm.cpp OCL_TEST_CYCLE() psnr = cv::PSNR(src1, src2); cv 1094 modules/core/perf/opencl/perf_arithm.cpp OCL_TEST_CYCLE() cv::reduce(src, dst, dim, op, dtype); cv 1125 modules/core/perf/opencl/perf_arithm.cpp OCL_TEST_CYCLE() cv::reduce(src, dst, dim, op, dtype); cv 23 modules/core/perf/opencl/perf_bufferpool.cpp if (!cv::ocl::useOpenCL()) cv 52 modules/core/perf/opencl/perf_bufferpool.cpp BufferPoolState s(cv::ocl::getOpenCLAllocator()->getBufferPoolController(), GetParam()); cv 69 modules/core/perf/opencl/perf_bufferpool.cpp BufferPoolState s(cv::ocl::getOpenCLAllocator()->getBufferPoolController(), GetParam()); cv 87 modules/core/perf/opencl/perf_bufferpool.cpp BufferPoolState s(cv::ocl::getOpenCLAllocator()->getBufferPoolController(), GetParam()); cv 112 modules/core/perf/opencl/perf_bufferpool.cpp BufferPoolState s(cv::ocl::getOpenCLAllocator()->getBufferPoolController(), GetParam()); cv 78 modules/core/perf/opencl/perf_channels.cpp OCL_TEST_CYCLE() cv::merge(src, dst); cv 106 modules/core/perf/opencl/perf_channels.cpp OCL_TEST_CYCLE() cv::split(src, dst); cv 150 modules/core/perf/opencl/perf_channels.cpp OCL_TEST_CYCLE() cv::mixChannels(src, dst, fromTo, 4); cv 174 modules/core/perf/opencl/perf_channels.cpp OCL_TEST_CYCLE() cv::insertChannel(src, dst, 1); cv 196 modules/core/perf/opencl/perf_channels.cpp OCL_TEST_CYCLE() cv::extractChannel(src, dst, 1); cv 81 modules/core/perf/opencl/perf_dxt.cpp case R2R: flags |= cv::DFT_REAL_OUTPUT; in_cn = 1; out_cn = 1; break; cv 82 modules/core/perf/opencl/perf_dxt.cpp case C2R: flags |= cv::DFT_REAL_OUTPUT; in_cn = 2; out_cn = 2; break; cv 83 modules/core/perf/opencl/perf_dxt.cpp case R2C: flags |= cv::DFT_COMPLEX_OUTPUT; in_cn = 1; out_cn = 2; break; cv 84 modules/core/perf/opencl/perf_dxt.cpp case C2C: flags |= cv::DFT_COMPLEX_OUTPUT; in_cn = 2; out_cn = 2; break; cv 90 modules/core/perf/opencl/perf_dxt.cpp OCL_TEST_CYCLE() cv::dft(src, dst, flags); cv 111 modules/core/perf/opencl/perf_dxt.cpp OCL_TEST_CYCLE() cv::mulSpectrums(src1, src2, dst, 0, conj); cv 77 modules/core/perf/opencl/perf_gemm.cpp OCL_TEST_CYCLE() cv::gemm(src1, src2, 0.6, src3, 1.5, dst, flags); cv 142 modules/core/perf/opencl/perf_matop.cpp cv::ocl::finish(); cv 15 modules/core/perf/opencl/perf_usage_flags.cpp typedef TestBaseWithParam<std::tr1::tuple<cv::Size, bool> > UsageFlagsBoolFixture; cv 28 modules/core/perf/opencl/perf_usage_flags.cpp cv::add(src, Scalar::all(1), dst); cv 31 modules/core/perf/opencl/perf_usage_flags.cpp cv::putText(canvas, "Test", Point(20, 20), FONT_HERSHEY_PLAIN, 1, Scalar::all(255)); cv 34 modules/core/perf/opencl/perf_usage_flags.cpp cv::subtract(dst, Scalar::all(1), final); cv 4 modules/core/perf/perf_abs.cpp using namespace cv; cv 18 modules/core/perf/perf_abs.cpp cv::Mat a = Mat(sz, type); cv 19 modules/core/perf/perf_abs.cpp cv::Mat c = Mat(sz, type); cv 23 modules/core/perf/perf_abs.cpp TEST_CYCLE() c = cv::abs(a); cv 4 modules/core/perf/perf_addWeighted.cpp using namespace cv; cv 33 modules/core/perf/perf_addWeighted.cpp TEST_CYCLE() cv::addWeighted( src1, alpha, src2, beta, gamma, dst, dst.type() ); cv 4 modules/core/perf/perf_arithm.cpp using namespace cv; cv 17 modules/core/perf/perf_arithm.cpp cv::Mat a = Mat(sz, type); cv 18 modules/core/perf/perf_arithm.cpp cv::Mat b = Mat(sz, type); cv 19 modules/core/perf/perf_arithm.cpp cv::Mat c = Mat(sz, type); cv 32 modules/core/perf/perf_arithm.cpp cv::Mat a = Mat(sz, type); cv 33 modules/core/perf/perf_arithm.cpp cv::Scalar b; cv 34 modules/core/perf/perf_arithm.cpp cv::Mat c = Mat(sz, type); cv 47 modules/core/perf/perf_arithm.cpp cv::Mat a = Mat(sz, type); cv 48 modules/core/perf/perf_arithm.cpp cv::Mat b = Mat(sz, type); cv 49 modules/core/perf/perf_arithm.cpp cv::Mat c = Mat(sz, type); cv 62 modules/core/perf/perf_arithm.cpp cv::Mat a = Mat(sz, type); cv 63 modules/core/perf/perf_arithm.cpp cv::Scalar b; cv 64 modules/core/perf/perf_arithm.cpp cv::Mat c = Mat(sz, type); cv 77 modules/core/perf/perf_arithm.cpp cv::Mat a = Mat(sz, type); cv 78 modules/core/perf/perf_arithm.cpp cv::Mat b = Mat(sz, type); cv 79 modules/core/perf/perf_arithm.cpp cv::Mat c = Mat(sz, type); cv 99 modules/core/perf/perf_arithm.cpp cv::Mat a = Mat(sz, type); cv 100 modules/core/perf/perf_arithm.cpp cv::Scalar b; cv 101 modules/core/perf/perf_arithm.cpp cv::Mat c = Mat(sz, type); cv 121 modules/core/perf/perf_arithm.cpp cv::Mat a = Mat(sz, type); cv 122 modules/core/perf/perf_arithm.cpp cv::Mat b = Mat(sz, type); cv 123 modules/core/perf/perf_arithm.cpp cv::Mat c = Mat(sz, type); cv 144 modules/core/perf/perf_arithm.cpp cv::Mat a = Mat(sz, type); cv 145 modules/core/perf/perf_arithm.cpp cv::Scalar b; cv 146 modules/core/perf/perf_arithm.cpp cv::Mat c = Mat(sz, type); cv 166 modules/core/perf/perf_arithm.cpp cv::Mat a = Mat(sz, type); cv 167 modules/core/perf/perf_arithm.cpp cv::Mat b = Mat(sz, type); cv 168 modules/core/perf/perf_arithm.cpp cv::Mat c = Mat(sz, type); cv 188 modules/core/perf/perf_arithm.cpp cv::Mat a = Mat(sz, type); cv 189 modules/core/perf/perf_arithm.cpp cv::Scalar b; cv 190 modules/core/perf/perf_arithm.cpp cv::Mat c = Mat(sz, type); cv 210 modules/core/perf/perf_arithm.cpp cv::Mat a(sz, type), b(sz, type), c(sz, type); cv 229 modules/core/perf/perf_arithm.cpp cv::Mat a(sz, type), b(sz, type), c(sz, type); cv 250 modules/core/perf/perf_arithm.cpp cv::Mat a(sz, type), b(sz, type), c(sz, type); cv 264 modules/core/perf/perf_arithm.cpp cv::Mat b(sz, type), c(sz, type); cv 4 modules/core/perf/perf_bitwise.cpp using namespace cv; cv 18 modules/core/perf/perf_bitwise.cpp cv::Mat a = Mat(sz, type); cv 19 modules/core/perf/perf_bitwise.cpp cv::Mat c = Mat(sz, type); cv 24 modules/core/perf/perf_bitwise.cpp TEST_CYCLE() cv::bitwise_not(a, c); cv 33 modules/core/perf/perf_bitwise.cpp cv::Mat a = Mat(sz, type); cv 34 modules/core/perf/perf_bitwise.cpp cv::Mat b = Mat(sz, type); cv 35 modules/core/perf/perf_bitwise.cpp cv::Mat c = Mat(sz, type); cv 49 modules/core/perf/perf_bitwise.cpp cv::Mat a = Mat(sz, type); cv 50 modules/core/perf/perf_bitwise.cpp cv::Mat b = Mat(sz, type); cv 51 modules/core/perf/perf_bitwise.cpp cv::Mat c = Mat(sz, type); cv 65 modules/core/perf/perf_bitwise.cpp cv::Mat a = Mat(sz, type); cv 66 modules/core/perf/perf_bitwise.cpp cv::Mat b = Mat(sz, type); cv 67 modules/core/perf/perf_bitwise.cpp cv::Mat c = Mat(sz, type); cv 4 modules/core/perf/perf_compare.cpp using namespace cv; cv 32 modules/core/perf/perf_compare.cpp TEST_CYCLE() cv::compare(src1, src2, dst, cmpType); cv 56 modules/core/perf/perf_compare.cpp TEST_CYCLE_MULTIRUN(runs) cv::compare(src1, src2, dst, cmpType); cv 4 modules/core/perf/perf_convertTo.cpp using namespace cv; cv 4 modules/core/perf/perf_cvround.cpp using namespace cv; cv 10 modules/core/perf/perf_cvround.cpp static void CvRoundMat(const cv::Mat & src, cv::Mat & dst) cv 29 modules/core/perf/perf_cvround.cpp cv::Mat src(size, type), dst(size, CV_32SC1); cv 4 modules/core/perf/perf_dft.cpp using namespace cv; cv 12 modules/core/perf/perf_dft.cpp #define MAT_SIZES_DFT cv::Size(320, 480), cv::Size(800, 600), cv::Size(1280, 1024), sz1080p, sz2K cv 49 modules/core/perf/perf_dft.cpp testing::Values(cv::Size(320, 240),cv::Size(800, 600), cv 50 modules/core/perf/perf_dft.cpp cv::Size(1024, 768), cv::Size(1280, 1024), cv 4 modules/core/perf/perf_dot.cpp using namespace cv; cv 4 modules/core/perf/perf_inRange.cpp using namespace cv; cv 4 modules/core/perf/perf_mat.cpp using namespace cv; cv 4 modules/core/perf/perf_math.cpp using namespace cv; cv 23 modules/core/perf/perf_math.cpp TEST_CYCLE_N(200) cv::phase(X, Y, angle, true); cv 68 modules/core/perf/perf_math.cpp cv::sort(clusterPointsNumber, sortedClusterPointsNumber, cv::SORT_EVERY_ROW + cv::SORT_ASCENDING); cv 4 modules/core/perf/perf_merge.cpp using namespace cv; cv 4 modules/core/perf/perf_minmaxloc.cpp using namespace cv; cv 4 modules/core/perf/perf_norm.cpp using namespace cv; cv 5 modules/core/perf/perf_reduce.cpp using namespace cv; cv 4 modules/core/perf/perf_sort.cpp using namespace cv; cv 25 modules/core/perf/perf_sort.cpp cv::Mat a(sz, type), b(sz, type); cv 29 modules/core/perf/perf_sort.cpp TEST_CYCLE() cv::sort(a, b, flags); cv 45 modules/core/perf/perf_sort.cpp cv::Mat a(sz, type), b(sz, type); cv 49 modules/core/perf/perf_sort.cpp TEST_CYCLE() cv::sortIdx(a, b, flags); cv 4 modules/core/perf/perf_split.cpp using namespace cv; cv 4 modules/core/perf/perf_stat.cpp using namespace cv; cv 699 modules/core/src/alloc.cpp return cv::fastMalloc( size ); cv 704 modules/core/src/alloc.cpp cv::fastFree( ptr ); cv 1718 modules/core/src/arithm.cpp void cv::bitwise_and(InputArray a, InputArray b, OutputArray c, InputArray mask) cv 1724 modules/core/src/arithm.cpp void cv::bitwise_or(InputArray a, InputArray b, OutputArray c, InputArray mask) cv 1730 modules/core/src/arithm.cpp void cv::bitwise_xor(InputArray a, InputArray b, OutputArray c, InputArray mask) cv 1736 modules/core/src/arithm.cpp void cv::bitwise_not(InputArray a, OutputArray c, InputArray mask) cv 1742 modules/core/src/arithm.cpp void cv::max( InputArray src1, InputArray src2, OutputArray dst ) cv 1747 modules/core/src/arithm.cpp void cv::min( InputArray src1, InputArray src2, OutputArray dst ) cv 1752 modules/core/src/arithm.cpp void cv::max(const Mat& src1, const Mat& src2, Mat& dst) cv 1758 modules/core/src/arithm.cpp void cv::min(const Mat& src1, const Mat& src2, Mat& dst) cv 1764 modules/core/src/arithm.cpp void cv::max(const UMat& src1, const UMat& src2, UMat& dst) cv 1770 modules/core/src/arithm.cpp void cv::min(const UMat& src1, const UMat& src2, UMat& dst) cv 2249 modules/core/src/arithm.cpp void cv::add( InputArray src1, InputArray src2, OutputArray dst, cv 2255 modules/core/src/arithm.cpp void cv::subtract( InputArray _src1, InputArray _src2, OutputArray _dst, cv 2314 modules/core/src/arithm.cpp void cv::absdiff( InputArray src1, InputArray src2, OutputArray dst ) cv 3692 modules/core/src/arithm.cpp void cv::multiply(InputArray src1, InputArray src2, cv 3699 modules/core/src/arithm.cpp void cv::divide(InputArray src1, InputArray src2, cv 3705 modules/core/src/arithm.cpp void cv::divide(double scale, InputArray src2, cv 4140 modules/core/src/arithm.cpp void cv::addWeighted( InputArray src1, double alpha, InputArray src2, cv 4985 modules/core/src/arithm.cpp void cv::compare(InputArray _src1, InputArray _src2, OutputArray _dst, int op) cv 5679 modules/core/src/arithm.cpp void cv::inRange(InputArray _src, InputArray _lowerb, cv 5796 modules/core/src/arithm.cpp cv::Mat src = cv::cvarrToMat(srcarr), dst = cv::cvarrToMat(dstarr); cv 5798 modules/core/src/arithm.cpp cv::bitwise_not( src, dst ); cv 5805 modules/core/src/arithm.cpp cv::Mat src1 = cv::cvarrToMat(srcarr1), src2 = cv::cvarrToMat(srcarr2), cv 5806 modules/core/src/arithm.cpp dst = cv::cvarrToMat(dstarr), mask; cv 5809 modules/core/src/arithm.cpp mask = cv::cvarrToMat(maskarr); cv 5810 modules/core/src/arithm.cpp cv::bitwise_and( src1, src2, dst, mask ); cv 5817 modules/core/src/arithm.cpp cv::Mat src1 = cv::cvarrToMat(srcarr1), src2 = cv::cvarrToMat(srcarr2), cv 5818 modules/core/src/arithm.cpp dst = cv::cvarrToMat(dstarr), mask; cv 5821 modules/core/src/arithm.cpp mask = cv::cvarrToMat(maskarr); cv 5822 modules/core/src/arithm.cpp cv::bitwise_or( src1, src2, dst, mask ); cv 5829 modules/core/src/arithm.cpp cv::Mat src1 = cv::cvarrToMat(srcarr1), src2 = cv::cvarrToMat(srcarr2), cv 5830 modules/core/src/arithm.cpp dst = cv::cvarrToMat(dstarr), mask; cv 5833 modules/core/src/arithm.cpp mask = cv::cvarrToMat(maskarr); cv 5834 modules/core/src/arithm.cpp cv::bitwise_xor( src1, src2, dst, mask ); cv 5841 modules/core/src/arithm.cpp cv::Mat src = cv::cvarrToMat(srcarr), dst = cv::cvarrToMat(dstarr), mask; cv 5844 modules/core/src/arithm.cpp mask = cv::cvarrToMat(maskarr); cv 5845 modules/core/src/arithm.cpp cv::bitwise_and( src, (const cv::Scalar&)s, dst, mask ); cv 5852 modules/core/src/arithm.cpp cv::Mat src = cv::cvarrToMat(srcarr), dst = cv::cvarrToMat(dstarr), mask; cv 5855 modules/core/src/arithm.cpp mask = cv::cvarrToMat(maskarr); cv 5856 modules/core/src/arithm.cpp cv::bitwise_or( src, (const cv::Scalar&)s, dst, mask ); cv 5863 modules/core/src/arithm.cpp cv::Mat src = cv::cvarrToMat(srcarr), dst = cv::cvarrToMat(dstarr), mask; cv 5866 modules/core/src/arithm.cpp mask = cv::cvarrToMat(maskarr); cv 5867 modules/core/src/arithm.cpp cv::bitwise_xor( src, (const cv::Scalar&)s, dst, mask ); cv 5873 modules/core/src/arithm.cpp cv::Mat src1 = cv::cvarrToMat(srcarr1), src2 = cv::cvarrToMat(srcarr2), cv 5874 modules/core/src/arithm.cpp dst = cv::cvarrToMat(dstarr), mask; cv 5877 modules/core/src/arithm.cpp mask = cv::cvarrToMat(maskarr); cv 5878 modules/core/src/arithm.cpp cv::add( src1, src2, dst, mask, dst.type() ); cv 5884 modules/core/src/arithm.cpp cv::Mat src1 = cv::cvarrToMat(srcarr1), src2 = cv::cvarrToMat(srcarr2), cv 5885 modules/core/src/arithm.cpp dst = cv::cvarrToMat(dstarr), mask; cv 5888 modules/core/src/arithm.cpp mask = cv::cvarrToMat(maskarr); cv 5889 modules/core/src/arithm.cpp cv::subtract( src1, src2, dst, mask, dst.type() ); cv 5895 modules/core/src/arithm.cpp cv::Mat src1 = cv::cvarrToMat(srcarr1), cv 5896 modules/core/src/arithm.cpp dst = cv::cvarrToMat(dstarr), mask; cv 5899 modules/core/src/arithm.cpp mask = cv::cvarrToMat(maskarr); cv 5900 modules/core/src/arithm.cpp cv::add( src1, (const cv::Scalar&)value, dst, mask, dst.type() ); cv 5906 modules/core/src/arithm.cpp cv::Mat src1 = cv::cvarrToMat(srcarr1), cv 5907 modules/core/src/arithm.cpp dst = cv::cvarrToMat(dstarr), mask; cv 5910 modules/core/src/arithm.cpp mask = cv::cvarrToMat(maskarr); cv 5911 modules/core/src/arithm.cpp cv::subtract( (const cv::Scalar&)value, src1, dst, mask, dst.type() ); cv 5918 modules/core/src/arithm.cpp cv::Mat src1 = cv::cvarrToMat(srcarr1), src2 = cv::cvarrToMat(srcarr2), cv 5919 modules/core/src/arithm.cpp dst = cv::cvarrToMat(dstarr); cv 5921 modules/core/src/arithm.cpp cv::multiply( src1, src2, dst, scale, dst.type() ); cv 5928 modules/core/src/arithm.cpp cv::Mat src2 = cv::cvarrToMat(srcarr2), cv 5929 modules/core/src/arithm.cpp dst = cv::cvarrToMat(dstarr), mask; cv 5933 modules/core/src/arithm.cpp cv::divide( cv::cvarrToMat(srcarr1), src2, dst, scale, dst.type() ); cv 5935 modules/core/src/arithm.cpp cv::divide( scale, src2, dst, dst.type() ); cv 5944 modules/core/src/arithm.cpp cv::Mat src1 = cv::cvarrToMat(srcarr1), src2 = cv::cvarrToMat(srcarr2), cv 5945 modules/core/src/arithm.cpp dst = cv::cvarrToMat(dstarr); cv 5947 modules/core/src/arithm.cpp cv::addWeighted( src1, alpha, src2, beta, gamma, dst, dst.type() ); cv 5954 modules/core/src/arithm.cpp cv::Mat src1 = cv::cvarrToMat(srcarr1), dst = cv::cvarrToMat(dstarr); cv 5957 modules/core/src/arithm.cpp cv::absdiff( src1, cv::cvarrToMat(srcarr2), dst ); cv 5964 modules/core/src/arithm.cpp cv::Mat src1 = cv::cvarrToMat(srcarr1), dst = cv::cvarrToMat(dstarr); cv 5967 modules/core/src/arithm.cpp cv::absdiff( src1, (const cv::Scalar&)scalar, dst ); cv 5975 modules/core/src/arithm.cpp cv::Mat src1 = cv::cvarrToMat(srcarr1), dst = cv::cvarrToMat(dstarr); cv 5978 modules/core/src/arithm.cpp cv::inRange( src1, cv::cvarrToMat(srcarr2), cv::cvarrToMat(srcarr3), dst ); cv 5985 modules/core/src/arithm.cpp cv::Mat src1 = cv::cvarrToMat(srcarr1), dst = cv::cvarrToMat(dstarr); cv 5988 modules/core/src/arithm.cpp cv::inRange( src1, (const cv::Scalar&)lowerb, (const cv::Scalar&)upperb, dst ); cv 5995 modules/core/src/arithm.cpp cv::Mat src1 = cv::cvarrToMat(srcarr1), dst = cv::cvarrToMat(dstarr); cv 5998 modules/core/src/arithm.cpp cv::compare( src1, cv::cvarrToMat(srcarr2), dst, cmp_op ); cv 6005 modules/core/src/arithm.cpp cv::Mat src1 = cv::cvarrToMat(srcarr1), dst = cv::cvarrToMat(dstarr); cv 6008 modules/core/src/arithm.cpp cv::compare( src1, value, dst, cmp_op ); cv 6015 modules/core/src/arithm.cpp cv::Mat src1 = cv::cvarrToMat(srcarr1), dst = cv::cvarrToMat(dstarr); cv 6018 modules/core/src/arithm.cpp cv::min( src1, cv::cvarrToMat(srcarr2), dst ); cv 6025 modules/core/src/arithm.cpp cv::Mat src1 = cv::cvarrToMat(srcarr1), dst = cv::cvarrToMat(dstarr); cv 6028 modules/core/src/arithm.cpp cv::max( src1, cv::cvarrToMat(srcarr2), dst ); cv 6035 modules/core/src/arithm.cpp cv::Mat src1 = cv::cvarrToMat(srcarr1), dst = cv::cvarrToMat(dstarr); cv 6038 modules/core/src/arithm.cpp cv::min( src1, value, dst ); cv 6045 modules/core/src/arithm.cpp cv::Mat src1 = cv::cvarrToMat(srcarr1), dst = cv::cvarrToMat(dstarr); cv 6048 modules/core/src/arithm.cpp cv::max( src1, value, dst ); cv 314 modules/core/src/array.cpp cv::Mat _src = cv::cvarrToMat(src); cv 315 modules/core/src/array.cpp cv::Mat _dst = cv::cvarrToMat(dst); cv 647 modules/core/src/array.cpp #define ICV_SPARSE_MAT_HASH_MULTIPLIER cv::SparseMat::HASH_SCALE cv 1476 modules/core/src/array.cpp ((uchar*)data)[cn] = cv::saturate_cast<uchar>(t); cv 1483 modules/core/src/array.cpp ((char*)data)[cn] = cv::saturate_cast<schar>(t); cv 1490 modules/core/src/array.cpp ((ushort*)data)[cn] = cv::saturate_cast<ushort>(t); cv 1497 modules/core/src/array.cpp ((short*)data)[cn] = cv::saturate_cast<short>(t); cv 1614 modules/core/src/array.cpp *(uchar*)data = cv::saturate_cast<uchar>(ivalue); cv 1617 modules/core/src/array.cpp *(schar*)data = cv::saturate_cast<schar>(ivalue); cv 1620 modules/core/src/array.cpp *(ushort*)data = cv::saturate_cast<ushort>(ivalue); cv 1623 modules/core/src/array.cpp *(short*)data = cv::saturate_cast<short>(ivalue); cv 1626 modules/core/src/array.cpp *(int*)data = cv::saturate_cast<int>(ivalue); cv 81 modules/core/src/command_line_parser.cpp throw cv::Exception(CV_StsBadArg, "unknown/unsupported parameter type", "", __FILE__, __LINE__); cv 88 modules/core/src/command_line_parser.cpp throw cv::Exception(CV_StsBadArg, err_msg, "", __FILE__, __LINE__); cv 434 modules/core/src/command_line_parser.cpp throw cv::Exception(CV_StsParseError, cv 454 modules/core/src/command_line_parser.cpp throw cv::Exception(CV_StsParseError, cv 478 modules/core/src/command_line_parser.cpp throw cv::Exception(CV_StsParseError, cv 822 modules/core/src/convert.cpp void cv::split(const Mat& src, Mat* mv) cv 913 modules/core/src/convert.cpp void cv::split(InputArray _m, OutputArrayOfArrays _mv) cv 939 modules/core/src/convert.cpp void cv::merge(const Mat* mv, size_t n, OutputArray _dst) cv 1080 modules/core/src/convert.cpp void cv::merge(InputArrayOfArrays _mv, OutputArray _dst) cv 1174 modules/core/src/convert.cpp void cv::mixChannels( const Mat* src, size_t nsrcs, Mat* dst, size_t ndsts, const int* fromTo, size_t npairs ) cv 1349 modules/core/src/convert.cpp void cv::mixChannels(InputArrayOfArrays src, InputOutputArrayOfArrays dst, cv 1369 modules/core/src/convert.cpp cv::AutoBuffer<Mat> _buf(nsrc + ndst); cv 1378 modules/core/src/convert.cpp void cv::mixChannels(InputArrayOfArrays src, InputOutputArrayOfArrays dst, cv 1398 modules/core/src/convert.cpp cv::AutoBuffer<Mat> _buf(nsrc + ndst); cv 1407 modules/core/src/convert.cpp void cv::extractChannel(InputArray _src, OutputArray _dst, int coi) cv 1428 modules/core/src/convert.cpp void cv::insertChannel(InputArray _src, InputOutputArray _dst, int coi) cv 5538 modules/core/src/convert.cpp void cv::convertScaleAbs( InputArray _src, OutputArray _dst, double alpha, double beta ) cv 5568 modules/core/src/convert.cpp void cv::Mat::convertTo(OutputArray _dst, int _type, double alpha, double beta) const cv 5737 modules/core/src/convert.cpp void operator()( const cv::Range& range ) const cv 5824 modules/core/src/convert.cpp void operator()( const cv::Range& range ) const cv 5882 modules/core/src/convert.cpp void operator()( const cv::Range& range ) const cv 5910 modules/core/src/convert.cpp void cv::LUT( InputArray _src, InputArray _lut, OutputArray _dst ) cv 6072 modules/core/src/convert.cpp void cv::normalize( InputArray _src, InputOutputArray _dst, double a, double b, cv 6116 modules/core/src/convert.cpp cv::Mat src = cv::cvarrToMat(srcarr); cv 6121 modules/core/src/convert.cpp std::vector<cv::Mat> dvec(nz); cv 6128 modules/core/src/convert.cpp dvec[j] = cv::cvarrToMat(dptrs[i]); cv 6139 modules/core/src/convert.cpp cv::split( src, dvec ); cv 6142 modules/core/src/convert.cpp cv::mixChannels( &src, 1, &dvec[0], nz, &pairs[0], nz ); cv 6152 modules/core/src/convert.cpp cv::Mat dst = cv::cvarrToMat(dstarr); cv 6157 modules/core/src/convert.cpp std::vector<cv::Mat> svec(nz); cv 6164 modules/core/src/convert.cpp svec[j] = cv::cvarrToMat(sptrs[i]); cv 6175 modules/core/src/convert.cpp cv::merge( svec, dst ); cv 6178 modules/core/src/convert.cpp cv::mixChannels( &svec[0], nz, &dst, 1, &pairs[0], nz ); cv 6188 modules/core/src/convert.cpp cv::AutoBuffer<cv::Mat> buf(src_count + dst_count); cv 6192 modules/core/src/convert.cpp buf[i] = cv::cvarrToMat(src[i]); cv 6194 modules/core/src/convert.cpp buf[i+src_count] = cv::cvarrToMat(dst[i]); cv 6195 modules/core/src/convert.cpp cv::mixChannels(&buf[0], src_count, &buf[src_count], dst_count, from_to, pair_count); cv 6202 modules/core/src/convert.cpp cv::Mat src = cv::cvarrToMat(srcarr), dst = cv::cvarrToMat(dstarr); cv 6204 modules/core/src/convert.cpp cv::convertScaleAbs( src, dst, scale, shift ); cv 6211 modules/core/src/convert.cpp cv::Mat src = cv::cvarrToMat(srcarr), dst = cv::cvarrToMat(dstarr); cv 6219 modules/core/src/convert.cpp cv::Mat src = cv::cvarrToMat(srcarr), dst = cv::cvarrToMat(dstarr), lut = cv::cvarrToMat(lutarr); cv 6222 modules/core/src/convert.cpp cv::LUT( src, lut, dst ); cv 6228 modules/core/src/convert.cpp cv::Mat src = cv::cvarrToMat(srcarr), dst = cv::cvarrToMat(dstarr), mask; cv 6230 modules/core/src/convert.cpp mask = cv::cvarrToMat(maskarr); cv 6232 modules/core/src/convert.cpp cv::normalize( src, dst, a, b, norm_type, dst.type(), mask ); cv 919 modules/core/src/copy.cpp int cv::borderInterpolate( int p, int len, int borderType ) cv 957 modules/core/src/copy.cpp void copyMakeBorder_8u( const uchar* src, size_t srcstep, cv::Size srcroi, cv 958 modules/core/src/copy.cpp uchar* dst, size_t dststep, cv::Size dstroi, cv 972 modules/core/src/copy.cpp cv::AutoBuffer<int> _tab((dstroi.width - srcroi.width)*cn); cv 979 modules/core/src/copy.cpp j = cv::borderInterpolate(i - left, srcroi.width, borderType)*cn; cv 986 modules/core/src/copy.cpp j = cv::borderInterpolate(srcroi.width + i, srcroi.width, borderType)*cn; cv 1026 modules/core/src/copy.cpp j = cv::borderInterpolate(i - top, srcroi.height, borderType); cv 1032 modules/core/src/copy.cpp j = cv::borderInterpolate(i + srcroi.height, srcroi.height, borderType); cv 1038 modules/core/src/copy.cpp void copyMakeConstBorder_8u( const uchar* src, size_t srcstep, cv::Size srcroi, cv 1039 modules/core/src/copy.cpp uchar* dst, size_t dststep, cv::Size dstroi, cv 1043 modules/core/src/copy.cpp cv::AutoBuffer<uchar> _constBuf(dstroi.width*cn); cv 1090 modules/core/src/copy.cpp borderType &= ~cv::BORDER_ISOLATED; cv 1147 modules/core/src/copy.cpp void cv::copyMakeBorder( InputArray _src, OutputArray _dst, int top, int bottom, cv 1360 modules/core/src/copy.cpp cv::Mat src = cv::cvarrToMat(srcarr, false, true, 1), dst = cv::cvarrToMat(dstarr, false, true, 1); cv 1375 modules/core/src/copy.cpp cv::mixChannels( &src, 1, &dst, 1, pair, 1 ); cv 1384 modules/core/src/copy.cpp src.copyTo(dst, cv::cvarrToMat(maskarr)); cv 1390 modules/core/src/copy.cpp cv::Mat m = cv::cvarrToMat(arr); cv 1394 modules/core/src/copy.cpp m.setTo(cv::Scalar(value), cv::cvarrToMat(maskarr)); cv 1408 modules/core/src/copy.cpp cv::Mat m = cv::cvarrToMat(arr); cv 1409 modules/core/src/copy.cpp m = cv::Scalar(0); cv 1415 modules/core/src/copy.cpp cv::Mat src = cv::cvarrToMat(srcarr); cv 1416 modules/core/src/copy.cpp cv::Mat dst; cv 1421 modules/core/src/copy.cpp dst = cv::cvarrToMat(dstarr); cv 1424 modules/core/src/copy.cpp cv::flip( src, dst, flip_mode ); cv 1430 modules/core/src/copy.cpp cv::Mat src = cv::cvarrToMat(srcarr), dst = cv::cvarrToMat(dstarr); cv 1433 modules/core/src/copy.cpp cv::repeat(src, dst.rows/src.rows, dst.cols/src.cols, dst); cv 46 modules/core/src/cuda_gpu_mat.cpp using namespace cv; cv 47 modules/core/src/cuda_gpu_mat.cpp using namespace cv::cuda; cv 49 modules/core/src/cuda_gpu_mat.cpp cv::cuda::GpuMat::GpuMat(int rows_, int cols_, int type_, void* data_, size_t step_) : cv 75 modules/core/src/cuda_gpu_mat.cpp cv::cuda::GpuMat::GpuMat(Size size_, int type_, void* data_, size_t step_) : cv 101 modules/core/src/cuda_gpu_mat.cpp cv::cuda::GpuMat::GpuMat(const GpuMat& m, Range rowRange_, Range colRange_) cv 143 modules/core/src/cuda_gpu_mat.cpp cv::cuda::GpuMat::GpuMat(const GpuMat& m, Rect roi) : cv 161 modules/core/src/cuda_gpu_mat.cpp GpuMat cv::cuda::GpuMat::reshape(int new_cn, int new_rows) const cv 179 modules/core/src/cuda_gpu_mat.cpp CV_Error(cv::Error::BadStep, "The matrix is not continuous, thus its number of rows can not be changed"); cv 182 modules/core/src/cuda_gpu_mat.cpp CV_Error(cv::Error::StsOutOfRange, "Bad new number of rows"); cv 187 modules/core/src/cuda_gpu_mat.cpp CV_Error(cv::Error::StsBadArg, "The total number of matrix elements is not divisible by the new number of rows"); cv 196 modules/core/src/cuda_gpu_mat.cpp CV_Error(cv::Error::BadNumChannels, "The total width is not divisible by the new number of channels"); cv 204 modules/core/src/cuda_gpu_mat.cpp void cv::cuda::GpuMat::locateROI(Size& wholeSize, Point& ofs) const cv 230 modules/core/src/cuda_gpu_mat.cpp GpuMat& cv::cuda::GpuMat::adjustROI(int dtop, int dbottom, int dleft, int dright) cv 270 modules/core/src/cuda_gpu_mat.cpp void cv::cuda::createContinuous(int rows, int cols, int type, OutputArray arr) cv 324 modules/core/src/cuda_gpu_mat.cpp void cv::cuda::ensureSizeIsEnough(int rows, int cols, int type, OutputArray arr) cv 345 modules/core/src/cuda_gpu_mat.cpp GpuMat cv::cuda::getInputMat(InputArray _src, Stream& stream) cv 369 modules/core/src/cuda_gpu_mat.cpp GpuMat cv::cuda::getOutputMat(OutputArray _dst, int rows, int cols, int type, Stream& stream) cv 396 modules/core/src/cuda_gpu_mat.cpp void cv::cuda::syncOutput(const GpuMat& dst, OutputArray _dst, Stream& stream) cv 416 modules/core/src/cuda_gpu_mat.cpp GpuMat::Allocator* cv::cuda::GpuMat::defaultAllocator() cv 421 modules/core/src/cuda_gpu_mat.cpp void cv::cuda::GpuMat::setDefaultAllocator(Allocator* allocator) cv 427 modules/core/src/cuda_gpu_mat.cpp void cv::cuda::GpuMat::create(int _rows, int _cols, int _type) cv 435 modules/core/src/cuda_gpu_mat.cpp void cv::cuda::GpuMat::release() cv 439 modules/core/src/cuda_gpu_mat.cpp void cv::cuda::GpuMat::upload(InputArray arr) cv 445 modules/core/src/cuda_gpu_mat.cpp void cv::cuda::GpuMat::upload(InputArray arr, Stream& _stream) cv 452 modules/core/src/cuda_gpu_mat.cpp void cv::cuda::GpuMat::download(OutputArray _dst) const cv 458 modules/core/src/cuda_gpu_mat.cpp void cv::cuda::GpuMat::download(OutputArray _dst, Stream& _stream) const cv 465 modules/core/src/cuda_gpu_mat.cpp void cv::cuda::GpuMat::copyTo(OutputArray _dst) const cv 471 modules/core/src/cuda_gpu_mat.cpp void cv::cuda::GpuMat::copyTo(OutputArray _dst, Stream& _stream) const cv 478 modules/core/src/cuda_gpu_mat.cpp void cv::cuda::GpuMat::copyTo(OutputArray _dst, InputArray _mask, Stream& _stream) const cv 486 modules/core/src/cuda_gpu_mat.cpp GpuMat& cv::cuda::GpuMat::setTo(Scalar s, Stream& _stream) cv 494 modules/core/src/cuda_gpu_mat.cpp GpuMat& cv::cuda::GpuMat::setTo(Scalar s, InputArray _mask, Stream& _stream) cv 503 modules/core/src/cuda_gpu_mat.cpp void cv::cuda::GpuMat::convertTo(OutputArray _dst, int rtype, Stream& _stream) const cv 511 modules/core/src/cuda_gpu_mat.cpp void cv::cuda::GpuMat::convertTo(OutputArray _dst, int rtype, double alpha, double beta, Stream& _stream) const cv 47 modules/core/src/cuda_host_mem.cpp using namespace cv; cv 48 modules/core/src/cuda_host_mem.cpp using namespace cv::cuda; cv 136 modules/core/src/cuda_host_mem.cpp MatAllocator* cv::cuda::HostMem::getAllocator(AllocType alloc_type) cv 152 modules/core/src/cuda_host_mem.cpp default: CV_Error(cv::Error::StsBadFlag, "Invalid alloc type"); cv 179 modules/core/src/cuda_host_mem.cpp void cv::cuda::HostMem::create(int rows_, int cols_, int type_) cv 220 modules/core/src/cuda_host_mem.cpp CV_Error(cv::Error::StsNoMem, "Too big buffer is allocated"); cv 231 modules/core/src/cuda_host_mem.cpp default: CV_Error(cv::Error::StsBadFlag, "Invalid alloc type"); cv 237 modules/core/src/cuda_host_mem.cpp refcount = (int*)cv::fastMalloc(sizeof(*refcount)); cv 243 modules/core/src/cuda_host_mem.cpp HostMem cv::cuda::HostMem::reshape(int new_cn, int new_rows) const cv 261 modules/core/src/cuda_host_mem.cpp CV_Error(cv::Error::BadStep, "The matrix is not continuous, thus its number of rows can not be changed"); cv 264 modules/core/src/cuda_host_mem.cpp CV_Error(cv::Error::StsOutOfRange, "Bad new number of rows"); cv 269 modules/core/src/cuda_host_mem.cpp CV_Error(cv::Error::StsBadArg, "The total number of matrix elements is not divisible by the new number of rows"); cv 278 modules/core/src/cuda_host_mem.cpp CV_Error(cv::Error::BadNumChannels, "The total width is not divisible by the new number of channels"); cv 286 modules/core/src/cuda_host_mem.cpp void cv::cuda::HostMem::release() cv 301 modules/core/src/cuda_host_mem.cpp GpuMat cv::cuda::HostMem::createGpuMatHeader() const cv 316 modules/core/src/cuda_host_mem.cpp void cv::cuda::registerPageLocked(Mat& m) cv 327 modules/core/src/cuda_host_mem.cpp void cv::cuda::unregisterPageLocked(Mat& m) cv 45 modules/core/src/cuda_info.cpp using namespace cv; cv 46 modules/core/src/cuda_info.cpp using namespace cv::cuda; cv 48 modules/core/src/cuda_info.cpp int cv::cuda::getCudaEnabledDeviceCount() cv 67 modules/core/src/cuda_info.cpp void cv::cuda::setDevice(int device) cv 77 modules/core/src/cuda_info.cpp int cv::cuda::getDevice() cv 89 modules/core/src/cuda_info.cpp void cv::cuda::resetDevice() cv 98 modules/core/src/cuda_info.cpp bool cv::cuda::deviceSupports(FeatureSet feature_set) cv 228 modules/core/src/cuda_info.cpp bool cv::cuda::TargetArchs::builtWith(cv::cuda::FeatureSet feature_set) cv 239 modules/core/src/cuda_info.cpp bool cv::cuda::TargetArchs::hasPtx(int major, int minor) cv 251 modules/core/src/cuda_info.cpp bool cv::cuda::TargetArchs::hasBin(int major, int minor) cv 263 modules/core/src/cuda_info.cpp bool cv::cuda::TargetArchs::hasEqualOrLessPtx(int major, int minor) cv 275 modules/core/src/cuda_info.cpp bool cv::cuda::TargetArchs::hasEqualOrGreaterPtx(int major, int minor) cv 287 modules/core/src/cuda_info.cpp bool cv::cuda::TargetArchs::hasEqualOrGreaterBin(int major, int minor) cv 348 modules/core/src/cuda_info.cpp const char* cv::cuda::DeviceInfo::name() const cv 358 modules/core/src/cuda_info.cpp size_t cv::cuda::DeviceInfo::totalGlobalMem() const cv 368 modules/core/src/cuda_info.cpp size_t cv::cuda::DeviceInfo::sharedMemPerBlock() const cv 378 modules/core/src/cuda_info.cpp int cv::cuda::DeviceInfo::regsPerBlock() const cv 388 modules/core/src/cuda_info.cpp int cv::cuda::DeviceInfo::warpSize() const cv 398 modules/core/src/cuda_info.cpp size_t cv::cuda::DeviceInfo::memPitch() const cv 408 modules/core/src/cuda_info.cpp int cv::cuda::DeviceInfo::maxThreadsPerBlock() const cv 418 modules/core/src/cuda_info.cpp Vec3i cv::cuda::DeviceInfo::maxThreadsDim() const cv 428 modules/core/src/cuda_info.cpp Vec3i cv::cuda::DeviceInfo::maxGridSize() const cv 438 modules/core/src/cuda_info.cpp int cv::cuda::DeviceInfo::clockRate() const cv 448 modules/core/src/cuda_info.cpp size_t cv::cuda::DeviceInfo::totalConstMem() const cv 458 modules/core/src/cuda_info.cpp int cv::cuda::DeviceInfo::majorVersion() const cv 468 modules/core/src/cuda_info.cpp int cv::cuda::DeviceInfo::minorVersion() const cv 478 modules/core/src/cuda_info.cpp size_t cv::cuda::DeviceInfo::textureAlignment() const cv 488 modules/core/src/cuda_info.cpp size_t cv::cuda::DeviceInfo::texturePitchAlignment() const cv 498 modules/core/src/cuda_info.cpp int cv::cuda::DeviceInfo::multiProcessorCount() const cv 508 modules/core/src/cuda_info.cpp bool cv::cuda::DeviceInfo::kernelExecTimeoutEnabled() const cv 518 modules/core/src/cuda_info.cpp bool cv::cuda::DeviceInfo::integrated() const cv 528 modules/core/src/cuda_info.cpp bool cv::cuda::DeviceInfo::canMapHostMemory() const cv 538 modules/core/src/cuda_info.cpp DeviceInfo::ComputeMode cv::cuda::DeviceInfo::computeMode() const cv 556 modules/core/src/cuda_info.cpp int cv::cuda::DeviceInfo::maxTexture1D() const cv 566 modules/core/src/cuda_info.cpp int cv::cuda::DeviceInfo::maxTexture1DMipmap() const cv 581 modules/core/src/cuda_info.cpp int cv::cuda::DeviceInfo::maxTexture1DLinear() const cv 591 modules/core/src/cuda_info.cpp Vec2i cv::cuda::DeviceInfo::maxTexture2D() const cv 601 modules/core/src/cuda_info.cpp Vec2i cv::cuda::DeviceInfo::maxTexture2DMipmap() const cv 616 modules/core/src/cuda_info.cpp Vec3i cv::cuda::DeviceInfo::maxTexture2DLinear() const cv 626 modules/core/src/cuda_info.cpp Vec2i cv::cuda::DeviceInfo::maxTexture2DGather() const cv 636 modules/core/src/cuda_info.cpp Vec3i cv::cuda::DeviceInfo::maxTexture3D() const cv 646 modules/core/src/cuda_info.cpp int cv::cuda::DeviceInfo::maxTextureCubemap() const cv 656 modules/core/src/cuda_info.cpp Vec2i cv::cuda::DeviceInfo::maxTexture1DLayered() const cv 666 modules/core/src/cuda_info.cpp Vec3i cv::cuda::DeviceInfo::maxTexture2DLayered() const cv 676 modules/core/src/cuda_info.cpp Vec2i cv::cuda::DeviceInfo::maxTextureCubemapLayered() const cv 686 modules/core/src/cuda_info.cpp int cv::cuda::DeviceInfo::maxSurface1D() const cv 696 modules/core/src/cuda_info.cpp Vec2i cv::cuda::DeviceInfo::maxSurface2D() const cv 706 modules/core/src/cuda_info.cpp Vec3i cv::cuda::DeviceInfo::maxSurface3D() const cv 716 modules/core/src/cuda_info.cpp Vec2i cv::cuda::DeviceInfo::maxSurface1DLayered() const cv 726 modules/core/src/cuda_info.cpp Vec3i cv::cuda::DeviceInfo::maxSurface2DLayered() const cv 736 modules/core/src/cuda_info.cpp int cv::cuda::DeviceInfo::maxSurfaceCubemap() const cv 746 modules/core/src/cuda_info.cpp Vec2i cv::cuda::DeviceInfo::maxSurfaceCubemapLayered() const cv 756 modules/core/src/cuda_info.cpp size_t cv::cuda::DeviceInfo::surfaceAlignment() const cv 766 modules/core/src/cuda_info.cpp bool cv::cuda::DeviceInfo::concurrentKernels() const cv 776 modules/core/src/cuda_info.cpp bool cv::cuda::DeviceInfo::ECCEnabled() const cv 786 modules/core/src/cuda_info.cpp int cv::cuda::DeviceInfo::pciBusID() const cv 796 modules/core/src/cuda_info.cpp int cv::cuda::DeviceInfo::pciDeviceID() const cv 806 modules/core/src/cuda_info.cpp int cv::cuda::DeviceInfo::pciDomainID() const cv 816 modules/core/src/cuda_info.cpp bool cv::cuda::DeviceInfo::tccDriver() const cv 826 modules/core/src/cuda_info.cpp int cv::cuda::DeviceInfo::asyncEngineCount() const cv 836 modules/core/src/cuda_info.cpp bool cv::cuda::DeviceInfo::unifiedAddressing() const cv 846 modules/core/src/cuda_info.cpp int cv::cuda::DeviceInfo::memoryClockRate() const cv 856 modules/core/src/cuda_info.cpp int cv::cuda::DeviceInfo::memoryBusWidth() const cv 866 modules/core/src/cuda_info.cpp int cv::cuda::DeviceInfo::l2CacheSize() const cv 876 modules/core/src/cuda_info.cpp int cv::cuda::DeviceInfo::maxThreadsPerMultiProcessor() const cv 886 modules/core/src/cuda_info.cpp void cv::cuda::DeviceInfo::queryMemory(size_t& _totalMemory, size_t& _freeMemory) const cv 904 modules/core/src/cuda_info.cpp bool cv::cuda::DeviceInfo::isCompatible() const cv 954 modules/core/src/cuda_info.cpp void cv::cuda::printCudaDeviceInfo(int device) cv 1040 modules/core/src/cuda_info.cpp void cv::cuda::printShortCudaDeviceInfo(int device) cv 1241 modules/core/src/cuda_info.cpp cv::String getErrorString(int code, const ErrorEntry* errors, size_t n) cv 1246 modules/core/src/cuda_info.cpp cv::String str = cv::format("%s [Code = %d]", msg, code); cv 1254 modules/core/src/cuda_info.cpp String cv::cuda::getNppErrorMessage(int code) cv 1264 modules/core/src/cuda_info.cpp String cv::cuda::getCudaDriverApiErrorMessage(int code) cv 45 modules/core/src/cuda_stream.cpp using namespace cv; cv 46 modules/core/src/cuda_stream.cpp using namespace cv::cuda; cv 262 modules/core/src/cuda_stream.cpp class cv::cuda::Stream::Impl cv 279 modules/core/src/cuda_stream.cpp class cv::cuda::Stream::Impl cv 291 modules/core/src/cuda_stream.cpp cv::cuda::Stream::Impl::Impl() : stream(0) cv 298 modules/core/src/cuda_stream.cpp cv::cuda::Stream::Impl::Impl(cudaStream_t stream_) : stream(stream_) cv 303 modules/core/src/cuda_stream.cpp cv::cuda::Stream::Impl::~Impl() cv 406 modules/core/src/cuda_stream.cpp cv::cuda::Stream::Stream() cv 415 modules/core/src/cuda_stream.cpp bool cv::cuda::Stream::queryIfComplete() const cv 431 modules/core/src/cuda_stream.cpp void cv::cuda::Stream::waitForCompletion() cv 440 modules/core/src/cuda_stream.cpp void cv::cuda::Stream::waitEvent(const Event& event) cv 472 modules/core/src/cuda_stream.cpp void cv::cuda::Stream::enqueueHostCallback(StreamCallback callback, void* userData) cv 482 modules/core/src/cuda_stream.cpp CV_Error(cv::Error::StsNotImplemented, "This function requires CUDA >= 5.0"); cv 491 modules/core/src/cuda_stream.cpp Stream& cv::cuda::Stream::Null() cv 503 modules/core/src/cuda_stream.cpp cv::cuda::Stream::operator bool_type() const cv 514 modules/core/src/cuda_stream.cpp cudaStream_t cv::cuda::StreamAccessor::getStream(const Stream& stream) cv 621 modules/core/src/cuda_stream.cpp void cv::cuda::setBufferPoolUsage(bool on) cv 631 modules/core/src/cuda_stream.cpp void cv::cuda::setBufferPoolConfig(int deviceId, size_t stackSize, int stackCount) cv 663 modules/core/src/cuda_stream.cpp cv::cuda::BufferPool::BufferPool(Stream& stream) : allocator_(stream.impl_->stackAllocator_.get()) cv 667 modules/core/src/cuda_stream.cpp GpuMat cv::cuda::BufferPool::getBuffer(int rows, int cols, int type) cv 681 modules/core/src/cuda_stream.cpp class cv::cuda::Event::Impl cv 692 modules/core/src/cuda_stream.cpp class cv::cuda::Event::Impl cv 701 modules/core/src/cuda_stream.cpp cv::cuda::Event::Impl::Impl(unsigned int flags) : event(0) cv 706 modules/core/src/cuda_stream.cpp cv::cuda::Event::Impl::~Impl() cv 712 modules/core/src/cuda_stream.cpp cudaEvent_t cv::cuda::EventAccessor::getEvent(const Event& event) cv 719 modules/core/src/cuda_stream.cpp cv::cuda::Event::Event(CreateFlags flags) cv 729 modules/core/src/cuda_stream.cpp void cv::cuda::Event::record(Stream& stream) cv 739 modules/core/src/cuda_stream.cpp bool cv::cuda::Event::queryIfComplete() const cv 755 modules/core/src/cuda_stream.cpp void cv::cuda::Event::waitForCompletion() cv 764 modules/core/src/cuda_stream.cpp float cv::cuda::Event::elapsedTime(const Event& start, const Event& end) cv 52 modules/core/src/directx.cpp #define NO_DIRECTX_SUPPORT_ERROR CV_ErrorNoReturn(cv::Error::StsBadFunc, "OpenCV was build without DirectX support") cv 56 modules/core/src/directx.cpp # define NO_OPENCL_SUPPORT_ERROR CV_ErrorNoReturn(cv::Error::StsBadFunc, "OpenCV was build without OpenCL support") cv 250 modules/core/src/directx.cpp CV_Error(cv::Error::OpenCLInitError, "OpenCL: Can't get number of platforms"); cv 252 modules/core/src/directx.cpp CV_Error(cv::Error::OpenCLInitError, "OpenCL: No available platforms"); cv 257 modules/core/src/directx.cpp CV_Error(cv::Error::OpenCLInitError, "OpenCL: Can't get number of platforms"); cv 337 modules/core/src/directx.cpp CV_Error(cv::Error::OpenCLInitError, "OpenCL: Can't create context for DirectX interop"); cv 358 modules/core/src/directx.cpp CV_Error(cv::Error::OpenCLInitError, "OpenCL: Can't get number of platforms"); cv 360 modules/core/src/directx.cpp CV_Error(cv::Error::OpenCLInitError, "OpenCL: No available platforms"); cv 365 modules/core/src/directx.cpp CV_Error(cv::Error::OpenCLInitError, "OpenCL: Can't get number of platforms"); cv 445 modules/core/src/directx.cpp CV_Error(cv::Error::OpenCLInitError, "OpenCL: Can't create context for DirectX interop"); cv 466 modules/core/src/directx.cpp CV_Error(cv::Error::OpenCLInitError, "OpenCL: Can't get number of platforms"); cv 468 modules/core/src/directx.cpp CV_Error(cv::Error::OpenCLInitError, "OpenCL: No available platforms"); cv 473 modules/core/src/directx.cpp CV_Error(cv::Error::OpenCLInitError, "OpenCL: Can't get number of platforms"); cv 555 modules/core/src/directx.cpp CV_Error(cv::Error::OpenCLInitError, "OpenCL: Can't create context for DirectX interop"); cv 576 modules/core/src/directx.cpp CV_Error(cv::Error::OpenCLInitError, "OpenCL: Can't get number of platforms"); cv 578 modules/core/src/directx.cpp CV_Error(cv::Error::OpenCLInitError, "OpenCL: No available platforms"); cv 583 modules/core/src/directx.cpp CV_Error(cv::Error::OpenCLInitError, "OpenCL: Can't get number of platforms"); cv 665 modules/core/src/directx.cpp CV_Error(cv::Error::OpenCLInitError, "OpenCL: Can't create context for DirectX interop"); cv 684 modules/core/src/directx.cpp using namespace cv::ocl; cv 699 modules/core/src/directx.cpp CV_Error(cv::Error::OpenCLInitError, "OpenCL: Can't find functions for D3D11"); cv 722 modules/core/src/directx.cpp using namespace cv::ocl; cv 735 modules/core/src/directx.cpp CV_Error(cv::Error::OpenCLApiCallError, "OpenCL: clCreateFromD3D11Texture2DKHR failed"); cv 742 modules/core/src/directx.cpp CV_Error(cv::Error::OpenCLApiCallError, "OpenCL: clEnqueueAcquireD3D11ObjectsKHR failed"); cv 748 modules/core/src/directx.cpp CV_Error(cv::Error::OpenCLApiCallError, "OpenCL: clEnqueueCopyBufferToImage failed"); cv 751 modules/core/src/directx.cpp CV_Error(cv::Error::OpenCLApiCallError, "OpenCL: clEnqueueReleaseD3D11ObjectsKHR failed"); cv 755 modules/core/src/directx.cpp CV_Error(cv::Error::OpenCLApiCallError, "OpenCL: clFinish failed"); cv 759 modules/core/src/directx.cpp CV_Error(cv::Error::OpenCLApiCallError, "OpenCL: clReleaseMem failed"); cv 779 modules/core/src/directx.cpp using namespace cv::ocl; cv 794 modules/core/src/directx.cpp CV_Error(cv::Error::OpenCLApiCallError, "OpenCL: clCreateFromD3D11Texture2DKHR failed"); cv 801 modules/core/src/directx.cpp CV_Error(cv::Error::OpenCLApiCallError, "OpenCL: clEnqueueAcquireD3D11ObjectsKHR failed"); cv 807 modules/core/src/directx.cpp CV_Error(cv::Error::OpenCLApiCallError, "OpenCL: clEnqueueCopyImageToBuffer failed"); cv 810 modules/core/src/directx.cpp CV_Error(cv::Error::OpenCLApiCallError, "OpenCL: clEnqueueReleaseD3D11ObjectsKHR failed"); cv 814 modules/core/src/directx.cpp CV_Error(cv::Error::OpenCLApiCallError, "OpenCL: clFinish failed"); cv 818 modules/core/src/directx.cpp CV_Error(cv::Error::OpenCLApiCallError, "OpenCL: clReleaseMem failed"); cv 832 modules/core/src/directx.cpp using namespace cv::ocl; cv 847 modules/core/src/directx.cpp CV_Error(cv::Error::OpenCLInitError, "OpenCL: Can't find functions for D3D10"); cv 870 modules/core/src/directx.cpp using namespace cv::ocl; cv 883 modules/core/src/directx.cpp CV_Error(cv::Error::OpenCLApiCallError, "OpenCL: clCreateFromD3D10Texture2DKHR failed"); cv 890 modules/core/src/directx.cpp CV_Error(cv::Error::OpenCLApiCallError, "OpenCL: clEnqueueAcquireD3D10ObjectsKHR failed"); cv 896 modules/core/src/directx.cpp CV_Error(cv::Error::OpenCLApiCallError, "OpenCL: clEnqueueCopyBufferToImage failed"); cv 899 modules/core/src/directx.cpp CV_Error(cv::Error::OpenCLApiCallError, "OpenCL: clEnqueueReleaseD3D10ObjectsKHR failed"); cv 903 modules/core/src/directx.cpp CV_Error(cv::Error::OpenCLApiCallError, "OpenCL: clFinish failed"); cv 907 modules/core/src/directx.cpp CV_Error(cv::Error::OpenCLApiCallError, "OpenCL: clReleaseMem failed"); cv 927 modules/core/src/directx.cpp using namespace cv::ocl; cv 942 modules/core/src/directx.cpp CV_Error(cv::Error::OpenCLApiCallError, "OpenCL: clCreateFromD3D10Texture2DKHR failed"); cv 949 modules/core/src/directx.cpp CV_Error(cv::Error::OpenCLApiCallError, "OpenCL: clEnqueueAcquireD3D10ObjectsKHR failed"); cv 955 modules/core/src/directx.cpp CV_Error(cv::Error::OpenCLApiCallError, "OpenCL: clEnqueueCopyImageToBuffer failed"); cv 958 modules/core/src/directx.cpp CV_Error(cv::Error::OpenCLApiCallError, "OpenCL: clEnqueueReleaseD3D10ObjectsKHR failed"); cv 962 modules/core/src/directx.cpp CV_Error(cv::Error::OpenCLApiCallError, "OpenCL: clFinish failed"); cv 966 modules/core/src/directx.cpp CV_Error(cv::Error::OpenCLApiCallError, "OpenCL: clReleaseMem failed"); cv 980 modules/core/src/directx.cpp using namespace cv::ocl; cv 995 modules/core/src/directx.cpp CV_Error(cv::Error::OpenCLInitError, "OpenCL: Can't find functions for D3D9"); cv 1011 modules/core/src/directx.cpp CV_Error(cv::Error::OpenCLApiCallError, "OpenCL: Can't get D3D surface description"); cv 1021 modules/core/src/directx.cpp using namespace cv::ocl; cv 1037 modules/core/src/directx.cpp CV_Error(cv::Error::OpenCLApiCallError, "OpenCL: clCreateFromDX9MediaSurfaceKHR failed"); cv 1044 modules/core/src/directx.cpp CV_Error(cv::Error::OpenCLApiCallError, "OpenCL: clEnqueueAcquireDX9MediaSurfacesKHR failed"); cv 1050 modules/core/src/directx.cpp CV_Error(cv::Error::OpenCLApiCallError, "OpenCL: clEnqueueCopyBufferToImage failed"); cv 1053 modules/core/src/directx.cpp CV_Error(cv::Error::OpenCLApiCallError, "OpenCL: clEnqueueReleaseDX9MediaSurfacesKHR failed"); cv 1057 modules/core/src/directx.cpp CV_Error(cv::Error::OpenCLApiCallError, "OpenCL: clFinish failed"); cv 1061 modules/core/src/directx.cpp CV_Error(cv::Error::OpenCLApiCallError, "OpenCL: clReleaseMem failed"); cv 1079 modules/core/src/directx.cpp CV_Error(cv::Error::OpenCLApiCallError, "OpenCL: Can't get D3D surface description"); cv 1085 modules/core/src/directx.cpp using namespace cv::ocl; cv 1103 modules/core/src/directx.cpp CV_Error(cv::Error::OpenCLApiCallError, "OpenCL: clCreateFromDX9MediaSurfaceKHR failed"); cv 1110 modules/core/src/directx.cpp CV_Error(cv::Error::OpenCLApiCallError, "OpenCL: clEnqueueAcquireDX9MediaSurfacesKHR failed"); cv 1116 modules/core/src/directx.cpp CV_Error(cv::Error::OpenCLApiCallError, "OpenCL: clEnqueueCopyImageToBuffer failed"); cv 1119 modules/core/src/directx.cpp CV_Error(cv::Error::OpenCLApiCallError, "OpenCL: clEnqueueReleaseDX9MediaSurfacesKHR failed"); cv 1123 modules/core/src/directx.cpp CV_Error(cv::Error::OpenCLApiCallError, "OpenCL: clFinish failed"); cv 1127 modules/core/src/directx.cpp CV_Error(cv::Error::OpenCLApiCallError, "OpenCL: clReleaseMem failed"); cv 2470 modules/core/src/dxt.cpp void cv::dft( InputArray _src0, OutputArray _dst, int flags, int nonzero_rows ) cv 2904 modules/core/src/dxt.cpp void cv::idft( InputArray src, OutputArray dst, int flags, int nonzero_rows ) cv 2947 modules/core/src/dxt.cpp void cv::mulSpectrums( InputArray _srcA, InputArray _srcB, cv 3448 modules/core/src/dxt.cpp void cv::dct( InputArray _src0, OutputArray _dst, int flags ) cv 3599 modules/core/src/dxt.cpp void cv::idct( InputArray src, OutputArray dst, int flags ) cv 3790 modules/core/src/dxt.cpp int cv::getOptimalDFTSize( int size0 ) cv 3811 modules/core/src/dxt.cpp cv::Mat src = cv::cvarrToMat(srcarr), dst0 = cv::cvarrToMat(dstarr), dst = dst0; cv 3812 modules/core/src/dxt.cpp int _flags = ((flags & CV_DXT_INVERSE) ? cv::DFT_INVERSE : 0) | cv 3813 modules/core/src/dxt.cpp ((flags & CV_DXT_SCALE) ? cv::DFT_SCALE : 0) | cv 3814 modules/core/src/dxt.cpp ((flags & CV_DXT_ROWS) ? cv::DFT_ROWS : 0); cv 3821 modules/core/src/dxt.cpp _flags |= cv::DFT_COMPLEX_OUTPUT; cv 3823 modules/core/src/dxt.cpp _flags |= cv::DFT_REAL_OUTPUT; cv 3826 modules/core/src/dxt.cpp cv::dft( src, dst, _flags, nonzero_rows ); cv 3835 modules/core/src/dxt.cpp cv::Mat srcA = cv::cvarrToMat(srcAarr), cv 3836 modules/core/src/dxt.cpp srcB = cv::cvarrToMat(srcBarr), cv 3837 modules/core/src/dxt.cpp dst = cv::cvarrToMat(dstarr); cv 3840 modules/core/src/dxt.cpp cv::mulSpectrums(srcA, srcB, dst, cv 3841 modules/core/src/dxt.cpp (flags & CV_DXT_ROWS) ? cv::DFT_ROWS : 0, cv 3849 modules/core/src/dxt.cpp cv::Mat src = cv::cvarrToMat(srcarr), dst = cv::cvarrToMat(dstarr); cv 3851 modules/core/src/dxt.cpp int _flags = ((flags & CV_DXT_INVERSE) ? cv::DCT_INVERSE : 0) | cv 3852 modules/core/src/dxt.cpp ((flags & CV_DXT_ROWS) ? cv::DCT_ROWS : 0); cv 3853 modules/core/src/dxt.cpp cv::dct( src, dst, _flags ); cv 3860 modules/core/src/dxt.cpp return cv::getOptimalDFTSize(size0); cv 141 modules/core/src/gl_core_3_1.cpp CV_Error(cv::Error::OpenGlApiCallError, cv::format("Can't load OpenGL extension [%s]", name) ); cv 148 modules/core/src/gl_core_3_1.cpp CV_Error(cv::Error::OpenGlNotSupported, "The library is compiled without OpenGL support"); cv 81 modules/core/src/glob.cpp cv::String full_path = cv::String(path) + "\\*"; cv 88 modules/core/src/glob.cpp dir->handle = ::FindFirstFileExA((cv::String(path) + "\\*").c_str(), cv 140 modules/core/src/glob.cpp static bool isDir(const cv::String& path, DIR* dir) cv 220 modules/core/src/glob.cpp static void glob_rec(const cv::String& directory, const cv::String& wildchart, std::vector<cv::String>& result, bool recursive) cv 236 modules/core/src/glob.cpp cv::String path = directory + native_separator + name; cv 257 modules/core/src/glob.cpp else CV_Error(CV_StsObjectNotFound, cv::format("could not open directory: %s", directory.c_str())); cv 260 modules/core/src/glob.cpp void cv::glob(String pattern, std::vector<String>& result, bool recursive) cv 75 modules/core/src/kmeans.cpp void operator()( const cv::Range& range ) const cv 217 modules/core/src/kmeans.cpp double cv::kmeans( InputArray _data, int K, cv 714 modules/core/src/lapack.cpp double cv::determinant( InputArray _mat ) cv 792 modules/core/src/lapack.cpp double cv::invert( InputArray _src, OutputArray _dst, int method ) cv 1050 modules/core/src/lapack.cpp bool cv::solve( InputArray _src, InputArray _src2arg, OutputArray _dst, int method ) cv 1326 modules/core/src/lapack.cpp bool cv::eigen( InputArray _src, OutputArray _evals, OutputArray _evects ) cv 1487 modules/core/src/lapack.cpp void cv::SVDecomp(InputArray src, OutputArray w, OutputArray u, OutputArray vt, int flags) cv 1492 modules/core/src/lapack.cpp void cv::SVBackSubst(InputArray w, InputArray u, InputArray vt, InputArray rhs, OutputArray dst) cv 1528 modules/core/src/lapack.cpp return cv::determinant(cv::cvarrToMat(arr)); cv 1535 modules/core/src/lapack.cpp cv::Mat src = cv::cvarrToMat(srcarr), dst = cv::cvarrToMat(dstarr); cv 1538 modules/core/src/lapack.cpp return cv::invert( src, dst, method == CV_CHOLESKY ? cv::DECOMP_CHOLESKY : cv 1539 modules/core/src/lapack.cpp method == CV_SVD ? cv::DECOMP_SVD : cv 1540 modules/core/src/lapack.cpp method == CV_SVD_SYM ? cv::DECOMP_EIG : cv::DECOMP_LU ); cv 1547 modules/core/src/lapack.cpp cv::Mat A = cv::cvarrToMat(Aarr), b = cv::cvarrToMat(barr), x = cv::cvarrToMat(xarr); cv 1552 modules/core/src/lapack.cpp return cv::solve( A, b, x, (method == CV_CHOLESKY ? cv::DECOMP_CHOLESKY : cv 1553 modules/core/src/lapack.cpp method == CV_SVD ? cv::DECOMP_SVD : cv 1554 modules/core/src/lapack.cpp method == CV_SVD_SYM ? cv::DECOMP_EIG : cv 1555 modules/core/src/lapack.cpp A.rows > A.cols ? cv::DECOMP_QR : cv::DECOMP_LU) + (is_normal ? cv::DECOMP_NORMAL : 0) ); cv 1563 modules/core/src/lapack.cpp cv::Mat src = cv::cvarrToMat(srcarr), evals0 = cv::cvarrToMat(evalsarr), evals = evals0; cv 1566 modules/core/src/lapack.cpp cv::Mat evects0 = cv::cvarrToMat(evectsarr), evects = evects0; cv 1583 modules/core/src/lapack.cpp cv::transpose(evals, evals0); cv 1585 modules/core/src/lapack.cpp cv::Mat(evals.t()).convertTo(evals0, evals0.type()); cv 1594 modules/core/src/lapack.cpp cv::Mat a = cv::cvarrToMat(aarr), w = cv::cvarrToMat(warr), u, v; cv 1598 modules/core/src/lapack.cpp (w.size() == cv::Size(nm,1) || w.size() == cv::Size(1, nm) || cv 1599 modules/core/src/lapack.cpp w.size() == cv::Size(nm, nm) || w.size() == cv::Size(n, m)) ); cv 1601 modules/core/src/lapack.cpp cv::SVD svd; cv 1603 modules/core/src/lapack.cpp if( w.size() == cv::Size(nm, 1) ) cv 1604 modules/core/src/lapack.cpp svd.w = cv::Mat(nm, 1, type, w.ptr() ); cv 1610 modules/core/src/lapack.cpp u = cv::cvarrToMat(uarr); cv 1617 modules/core/src/lapack.cpp v = cv::cvarrToMat(varr); cv 1622 modules/core/src/lapack.cpp svd(a, ((flags & CV_SVD_MODIFY_A) ? cv::SVD::MODIFY_A : 0) | cv 1623 modules/core/src/lapack.cpp ((!svd.u.data && !svd.vt.data) ? cv::SVD::NO_UV : 0) | cv 1624 modules/core/src/lapack.cpp ((m != n && (svd.u.size() == cv::Size(mn, mn) || cv 1625 modules/core/src/lapack.cpp svd.vt.size() == cv::Size(mn, mn))) ? cv::SVD::FULL_UV : 0)); cv 1630 modules/core/src/lapack.cpp cv::transpose( svd.u, u ); cv 1641 modules/core/src/lapack.cpp cv::transpose( svd.vt, v ); cv 1655 modules/core/src/lapack.cpp w = cv::Scalar(0); cv 1656 modules/core/src/lapack.cpp cv::Mat wd = w.diag(); cv 1668 modules/core/src/lapack.cpp cv::Mat w = cv::cvarrToMat(warr), u = cv::cvarrToMat(uarr), cv 1669 modules/core/src/lapack.cpp v = cv::cvarrToMat(varr), rhs, cv 1670 modules/core/src/lapack.cpp dst = cv::cvarrToMat(dstarr), dst0 = dst; cv 1673 modules/core/src/lapack.cpp cv::Mat tmp; cv 1679 modules/core/src/lapack.cpp cv::Mat tmp; cv 1684 modules/core/src/lapack.cpp rhs = cv::cvarrToMat(rhsarr); cv 1686 modules/core/src/lapack.cpp cv::SVD::backSubst(w, u, v, rhs, dst); cv 903 modules/core/src/lda.cpp cv::eigen(src, _eigenvalues, _eigenvectors); cv 220 modules/core/src/mathfuncs.cpp cv::AutoBuffer<float> _buf; cv 355 modules/core/src/mathfuncs.cpp cv::AutoBuffer<float> _buf; cv 662 modules/core/src/mathfuncs.cpp cv::AutoBuffer<float> _buf; cv 1526 modules/core/src/mathfuncs.cpp cv::pow(a, 0.5, b); cv 1569 modules/core/src/mathfuncs.cpp bool checkIntegerRange(cv::Mat src, Point& bad_pt, int minVal, int maxVal, double& bad_value) cv 1579 modules/core/src/mathfuncs.cpp bad_pt = cv::Point(0,0); cv 1582 modules/core/src/mathfuncs.cpp cv::Mat as_one_channel = src.reshape(1,0); cv 1600 modules/core/src/mathfuncs.cpp typedef bool (*check_range_function)(cv::Mat src, Point& bad_pt, int minVal, int maxVal, double& bad_value); cv 1800 modules/core/src/mathfuncs.cpp CV_IMPL float cvCbrt(float value) { return cv::cubeRoot(value); } cv 1801 modules/core/src/mathfuncs.cpp CV_IMPL float cvFastArctan(float y, float x) { return cv::fastAtan2(y, x); } cv 1808 modules/core/src/mathfuncs.cpp cv::Mat X = cv::cvarrToMat(xarr), Y = cv::cvarrToMat(yarr), Mag, Angle; cv 1811 modules/core/src/mathfuncs.cpp Mag = cv::cvarrToMat(magarr); cv 1816 modules/core/src/mathfuncs.cpp Angle = cv::cvarrToMat(anglearr); cv 1822 modules/core/src/mathfuncs.cpp cv::cartToPolar( X, Y, Mag, Angle, angle_in_degrees != 0 ); cv 1824 modules/core/src/mathfuncs.cpp cv::magnitude( X, Y, Mag ); cv 1827 modules/core/src/mathfuncs.cpp cv::phase( X, Y, Angle, angle_in_degrees != 0 ); cv 1834 modules/core/src/mathfuncs.cpp cv::Mat X, Y, Angle = cv::cvarrToMat(anglearr), Mag; cv 1837 modules/core/src/mathfuncs.cpp Mag = cv::cvarrToMat(magarr); cv 1842 modules/core/src/mathfuncs.cpp X = cv::cvarrToMat(xarr); cv 1847 modules/core/src/mathfuncs.cpp Y = cv::cvarrToMat(yarr); cv 1851 modules/core/src/mathfuncs.cpp cv::polarToCart( Mag, Angle, X, Y, angle_in_degrees != 0 ); cv 1856 modules/core/src/mathfuncs.cpp cv::Mat src = cv::cvarrToMat(srcarr), dst = cv::cvarrToMat(dstarr); cv 1858 modules/core/src/mathfuncs.cpp cv::exp( src, dst ); cv 1863 modules/core/src/mathfuncs.cpp cv::Mat src = cv::cvarrToMat(srcarr), dst = cv::cvarrToMat(dstarr); cv 1865 modules/core/src/mathfuncs.cpp cv::log( src, dst ); cv 1870 modules/core/src/mathfuncs.cpp cv::Mat src = cv::cvarrToMat(srcarr), dst = cv::cvarrToMat(dstarr); cv 1872 modules/core/src/mathfuncs.cpp cv::pow( src, power, dst ); cv 1880 modules/core/src/mathfuncs.cpp return cv::checkRange(cv::cvarrToMat(arr), (flags & CV_CHECK_QUIET) != 0, 0, minVal, maxVal ); cv 1908 modules/core/src/mathfuncs.cpp int cv::solveCubic( InputArray _coeffs, OutputArray _roots ) cv 2037 modules/core/src/mathfuncs.cpp double cv::solvePoly( InputArray _coeffs0, OutputArray _roots0, int maxIters ) cv 2095 modules/core/src/mathfuncs.cpp maxDiff = std::max(maxDiff, cv::abs(num)); cv 2120 modules/core/src/mathfuncs.cpp cv::Mat _coeffs = cv::cvarrToMat(coeffs), _roots = cv::cvarrToMat(roots), _roots0 = _roots; cv 2121 modules/core/src/mathfuncs.cpp int nroots = cv::solveCubic(_coeffs, _roots); cv 2129 modules/core/src/mathfuncs.cpp cv::Mat _a = cv::cvarrToMat(a); cv 2130 modules/core/src/mathfuncs.cpp cv::Mat _r = cv::cvarrToMat(r); cv 2131 modules/core/src/mathfuncs.cpp cv::Mat _r0 = _r; cv 2132 modules/core/src/mathfuncs.cpp cv::solvePoly(_a, _r, maxiter); cv 140 modules/core/src/matmul.cpp cv::AutoBuffer<T> _a_buf; cv 171 modules/core/src/matmul.cpp cv::AutoBuffer<T> _b_buf; cv 325 modules/core/src/matmul.cpp cv::AutoBuffer<WT> _d_buf(m); cv 387 modules/core/src/matmul.cpp cv::AutoBuffer<T> _a_buf; cv 701 modules/core/src/matmul.cpp bool haveC = matC.kind() != cv::_InputArray::NONE; cv 805 modules/core/src/matmul.cpp bool haveC = matC.kind() != cv::_InputArray::NONE; cv 847 modules/core/src/matmul.cpp ocl::Kernel k("gemm", cv::ocl::core::gemm_oclsrc, opts); cv 869 modules/core/src/matmul.cpp void cv::gemm( InputArray matA, InputArray matB, double alpha, cv 1943 modules/core/src/matmul.cpp void cv::transform( InputArray _src, OutputArray _dst, InputArray _mtx ) cv 2121 modules/core/src/matmul.cpp void cv::perspectiveTransform( InputArray _src, OutputArray _dst, InputArray _mtx ) cv 2315 modules/core/src/matmul.cpp void cv::scaleAdd( InputArray _src1, double alpha, InputArray _src2, OutputArray _dst ) cv 2360 modules/core/src/matmul.cpp void cv::calcCovarMatrix( const Mat* data, int nsamples, Mat& covar, Mat& _mean, int flags, int ctype ) cv 2400 modules/core/src/matmul.cpp void cv::calcCovarMatrix( InputArray _src, OutputArray _covar, InputOutputArray _mean, int flags, int ctype ) cv 2404 modules/core/src/matmul.cpp std::vector<cv::Mat> src; cv 2417 modules/core/src/matmul.cpp for(std::vector<cv::Mat>::iterator each = src.begin(); each != src.end(); each++, i++ ) cv 2487 modules/core/src/matmul.cpp double cv::Mahalanobis( InputArray _v1, InputArray _v2, InputArray _icovar ) cv 2776 modules/core/src/matmul.cpp void cv::mulTransposed( InputArray _src, OutputArray _dst, bool ata, cv 3274 modules/core/src/matmul.cpp cv::Mat A = cv::cvarrToMat(Aarr), B = cv::cvarrToMat(Barr); cv 3275 modules/core/src/matmul.cpp cv::Mat C, D = cv::cvarrToMat(Darr); cv 3278 modules/core/src/matmul.cpp C = cv::cvarrToMat(Carr); cv 3292 modules/core/src/matmul.cpp cv::Mat m = cv::cvarrToMat(transmat), src = cv::cvarrToMat(srcarr), dst = cv::cvarrToMat(dstarr); cv 3296 modules/core/src/matmul.cpp cv::Mat v = cv::cvarrToMat(shiftvec).reshape(1,m.rows), cv 3304 modules/core/src/matmul.cpp cv::transform( src, dst, m ); cv 3311 modules/core/src/matmul.cpp cv::Mat m = cv::cvarrToMat(mat), src = cv::cvarrToMat(srcarr), dst = cv::cvarrToMat(dstarr); cv 3314 modules/core/src/matmul.cpp cv::perspectiveTransform( src, dst, m ); cv 3321 modules/core/src/matmul.cpp cv::Mat src1 = cv::cvarrToMat(srcarr1), dst = cv::cvarrToMat(dstarr); cv 3324 modules/core/src/matmul.cpp cv::scaleAdd( src1, scale.val[0], cv::cvarrToMat(srcarr2), dst ); cv 3332 modules/core/src/matmul.cpp cv::Mat cov0 = cv::cvarrToMat(covarr), cov = cov0, mean0, mean; cv 3336 modules/core/src/matmul.cpp mean = mean0 = cv::cvarrToMat(avgarr); cv 3341 modules/core/src/matmul.cpp cv::Mat data = cv::cvarrToMat(vecarr[0]); cv 3342 modules/core/src/matmul.cpp cv::calcCovarMatrix( data, cov, mean, flags, cov.type() ); cv 3346 modules/core/src/matmul.cpp std::vector<cv::Mat> data(count); cv 3348 modules/core/src/matmul.cpp data[i] = cv::cvarrToMat(vecarr[i]); cv 3349 modules/core/src/matmul.cpp cv::calcCovarMatrix( &data[0], count, cov, mean, flags, cov.type() ); cv 3363 modules/core/src/matmul.cpp return cv::Mahalanobis(cv::cvarrToMat(srcAarr), cv 3364 modules/core/src/matmul.cpp cv::cvarrToMat(srcBarr), cv::cvarrToMat(matarr)); cv 3371 modules/core/src/matmul.cpp cv::Mat src = cv::cvarrToMat(srcarr), dst0 = cv::cvarrToMat(dstarr), dst = dst0, delta; cv 3373 modules/core/src/matmul.cpp delta = cv::cvarrToMat(deltaarr); cv 3374 modules/core/src/matmul.cpp cv::mulTransposed( src, dst, order != 0, delta, scale, dst.type()); cv 3381 modules/core/src/matmul.cpp return cv::cvarrToMat(srcAarr).dot(cv::cvarrToMat(srcBarr)); cv 3388 modules/core/src/matmul.cpp cv::Mat data = cv::cvarrToMat(data_arr), mean0 = cv::cvarrToMat(avg_arr); cv 3389 modules/core/src/matmul.cpp cv::Mat evals0 = cv::cvarrToMat(eigenvals), evects0 = cv::cvarrToMat(eigenvects); cv 3390 modules/core/src/matmul.cpp cv::Mat mean = mean0, evals = evals0, evects = evects0; cv 3392 modules/core/src/matmul.cpp cv::PCA pca; cv 3397 modules/core/src/matmul.cpp pca(data, (flags & CV_PCA_USE_AVG) ? mean : cv::Mat(), cv 3404 modules/core/src/matmul.cpp cv::Mat temp; pca.mean.convertTo( temp, mean.type() ); cv 3418 modules/core/src/matmul.cpp cv::Mat temp = evals0; cv 3436 modules/core/src/matmul.cpp cv::Mat data = cv::cvarrToMat(data_arr), mean = cv::cvarrToMat(avg_arr); cv 3437 modules/core/src/matmul.cpp cv::Mat evects = cv::cvarrToMat(eigenvects), dst0 = cv::cvarrToMat(result_arr), dst = dst0; cv 3439 modules/core/src/matmul.cpp cv::PCA pca; cv 3454 modules/core/src/matmul.cpp cv::Mat result = pca.project(data); cv 3467 modules/core/src/matmul.cpp cv::Mat data = cv::cvarrToMat(proj_arr), mean = cv::cvarrToMat(avg_arr); cv 3468 modules/core/src/matmul.cpp cv::Mat evects = cv::cvarrToMat(eigenvects), dst0 = cv::cvarrToMat(result_arr), dst = dst0; cv 3470 modules/core/src/matmul.cpp cv::PCA pca; cv 3485 modules/core/src/matmul.cpp cv::Mat result = pca.backProject(data); cv 1221 modules/core/src/matop.cpp cv::add(e.a, e.b, dst); cv 1223 modules/core/src/matop.cpp cv::subtract(e.a, e.b, dst); cv 1225 modules/core/src/matop.cpp cv::scaleAdd(e.b, e.beta, e.a, dst); cv 1230 modules/core/src/matop.cpp cv::subtract(e.b, e.a, dst); cv 1232 modules/core/src/matop.cpp cv::scaleAdd(e.a, e.alpha, e.b, dst); cv 1235 modules/core/src/matop.cpp cv::addWeighted(e.a, e.alpha, e.b, e.beta, 0, dst); cv 1238 modules/core/src/matop.cpp cv::add(dst, e.s, dst); cv 1241 modules/core/src/matop.cpp cv::addWeighted(e.a, e.alpha, e.b, e.beta, e.s[0], dst); cv 1249 modules/core/src/matop.cpp cv::add(e.a, e.s, dst); cv 1251 modules/core/src/matop.cpp cv::subtract(e.s, e.a, dst); cv 1255 modules/core/src/matop.cpp cv::add(dst, e.s, dst); cv 1325 modules/core/src/matop.cpp cv::multiply(e.a, e.b, dst, e.alpha); cv 1327 modules/core/src/matop.cpp cv::divide(e.a, e.b, dst, e.alpha); cv 1329 modules/core/src/matop.cpp cv::divide(e.alpha, e.a, dst ); cv 1345 modules/core/src/matop.cpp cv::min(e.a, e.b, dst); cv 1347 modules/core/src/matop.cpp cv::min(e.a, e.s[0], dst); cv 1349 modules/core/src/matop.cpp cv::max(e.a, e.b, dst); cv 1351 modules/core/src/matop.cpp cv::max(e.a, e.s[0], dst); cv 1353 modules/core/src/matop.cpp cv::absdiff(e.a, e.b, dst); cv 1355 modules/core/src/matop.cpp cv::absdiff(e.a, e.s, dst); cv 1399 modules/core/src/matop.cpp cv::compare(e.a, e.b, dst, e.flags); cv 1401 modules/core/src/matop.cpp cv::compare(e.a, e.alpha, dst, e.flags); cv 1423 modules/core/src/matop.cpp cv::transpose(e.a, dst); cv 1454 modules/core/src/matop.cpp cv::gemm(e.a, e.b, e.alpha, e.c, e.beta, dst, e.flags); cv 1521 modules/core/src/matop.cpp cv::invert(e.a, dst, e.flags); cv 1547 modules/core/src/matop.cpp cv::solve(e.a, e.b, dst, e.flags); cv 925 modules/core/src/matrix.cpp void cv::extractImageCOI(const CvArr* arr, OutputArray _ch, int coi) cv 940 modules/core/src/matrix.cpp void cv::insertImageCOI(InputArray _ch, CvArr* arr, int coi) cv 1204 modules/core/src/matrix.cpp CV_Error(cv::Error::StsNotImplemented, "You should explicitly call mapHost/unmapHost methods for ogl::Buffer object"); cv 1211 modules/core/src/matrix.cpp CV_Error(cv::Error::StsNotImplemented, "You should explicitly call download method for cuda::GpuMat object"); cv 1426 modules/core/src/matrix.cpp CV_Error(cv::Error::StsNotImplemented, "You should explicitly call mapDevice/unmapDevice methods for ogl::Buffer object"); cv 1433 modules/core/src/matrix.cpp CV_Error(cv::Error::StsNotImplemented, "getGpuMat is available only for cuda::GpuMat and cuda::HostMem"); cv 2724 modules/core/src/matrix.cpp void cv::hconcat(const Mat* src, size_t nsrc, OutputArray _dst) cv 2751 modules/core/src/matrix.cpp void cv::hconcat(InputArray src1, InputArray src2, OutputArray dst) cv 2757 modules/core/src/matrix.cpp void cv::hconcat(InputArray _src, OutputArray dst) cv 2764 modules/core/src/matrix.cpp void cv::vconcat(const Mat* src, size_t nsrc, OutputArray _dst) cv 2791 modules/core/src/matrix.cpp void cv::vconcat(InputArray src1, InputArray src2, OutputArray dst) cv 2797 modules/core/src/matrix.cpp void cv::vconcat(InputArray _src, OutputArray dst) cv 2846 modules/core/src/matrix.cpp void cv::setIdentity( InputOutputArray _m, const Scalar& s ) cv 2891 modules/core/src/matrix.cpp cv::Scalar cv::trace( InputArray _m ) cv 2918 modules/core/src/matrix.cpp return cv::sum(m.diag()); cv 3093 modules/core/src/matrix.cpp void cv::transpose( InputArray _src, OutputArray _dst ) cv 3208 modules/core/src/matrix.cpp void cv::completeSymm( InputOutputArray _m, bool LtoR ) cv 3227 modules/core/src/matrix.cpp cv::Mat cv::Mat::cross(InputArray _m) const cv 3379 modules/core/src/matrix.cpp static inline void reduceSumC_8u16u16s32f_64f(const cv::Mat& srcmat, cv::Mat& dstmat) cv 3381 modules/core/src/matrix.cpp cv::Size size = srcmat.size(); cv 3390 modules/core/src/matrix.cpp cv::ReduceFunc func = 0; cv 3409 modules/core/src/matrix.cpp sdepth == CV_8U ? (cv::ReduceFunc)cv::reduceC_<uchar, double, cv::OpAdd<double> > : cv 3410 modules/core/src/matrix.cpp sdepth == CV_16U ? (cv::ReduceFunc)cv::reduceC_<ushort, double, cv::OpAdd<double> > : cv 3411 modules/core/src/matrix.cpp sdepth == CV_16S ? (cv::ReduceFunc)cv::reduceC_<short, double, cv::OpAdd<double> > : cv 3412 modules/core/src/matrix.cpp sdepth == CV_32F ? (cv::ReduceFunc)cv::reduceC_<float, double, cv::OpAdd<double> > : 0; cv 3424 modules/core/src/matrix.cpp cv::Mat dstroi = dstmat.rowRange(y, y + 1); cv 3436 modules/core/src/matrix.cpp cv::Mat dstroi = dstmat.rowRange(y, y + 1); cv 3470 modules/core/src/matrix.cpp static inline void reduce##optype##C##favor(const cv::Mat& srcmat, cv::Mat& dstmat) \ cv 3473 modules/core/src/matrix.cpp cv::Size size = srcmat.size(); \ cv 3483 modules/core/src/matrix.cpp cv::Mat dstroi = dstmat.rowRange(y, y + 1); \ cv 3484 modules/core/src/matrix.cpp cv::reduceC_ < type1, type2, cv::Op##optype < type2 > >(srcmat.rowRange(y, y + 1), dstroi); \ cv 3492 modules/core/src/matrix.cpp cv::reduceC_ < type1, type2, cv::Op##optype < type2 > >(srcmat, dstmat); \ cv 3559 modules/core/src/matrix.cpp cv::String build_opt = format("-D OP_REDUCE_PRE -D BUF_COLS=%d -D TILE_HEIGHT=%d -D %s -D dim=1" cv 3593 modules/core/src/matrix.cpp cv::String build_opt = format("-D %s -D dim=%d -D cn=%d -D ddepth=%d" cv 3629 modules/core/src/matrix.cpp void cv::reduce(InputArray _src, OutputArray _dst, int dim, int op, int dtype) cv 4039 modules/core/src/matrix.cpp void cv::sort( InputArray _src, OutputArray _dst, int flags ) cv 4054 modules/core/src/matrix.cpp void cv::sortIdx( InputArray _src, OutputArray _dst, int flags ) cv 4076 modules/core/src/matrix.cpp cv::Mat m = cv::cvarrToMat(arr); cv 4077 modules/core/src/matrix.cpp cv::setIdentity(m, value); cv 4083 modules/core/src/matrix.cpp return cv::trace(cv::cvarrToMat(arr)); cv 4089 modules/core/src/matrix.cpp cv::Mat src = cv::cvarrToMat(srcarr), dst = cv::cvarrToMat(dstarr); cv 4098 modules/core/src/matrix.cpp cv::Mat m = cv::cvarrToMat(matrix); cv 4099 modules/core/src/matrix.cpp cv::completeSymm( m, LtoR != 0 ); cv 4105 modules/core/src/matrix.cpp cv::Mat srcA = cv::cvarrToMat(srcAarr), dst = cv::cvarrToMat(dstarr); cv 4108 modules/core/src/matrix.cpp srcA.cross(cv::cvarrToMat(srcBarr)).copyTo(dst); cv 4115 modules/core/src/matrix.cpp cv::Mat src = cv::cvarrToMat(srcarr), dst = cv::cvarrToMat(dstarr); cv 4130 modules/core/src/matrix.cpp cv::reduce(src, dst, dim, op, dst.type()); cv 4200 modules/core/src/matrix.cpp cv::Mat src = cv::cvarrToMat(_src); cv 4204 modules/core/src/matrix.cpp cv::Mat idx0 = cv::cvarrToMat(_idx), idx = idx0; cv 4206 modules/core/src/matrix.cpp cv::sortIdx( src, idx, flags ); cv 4212 modules/core/src/matrix.cpp cv::Mat dst0 = cv::cvarrToMat(_dst), dst = dst0; cv 4214 modules/core/src/matrix.cpp cv::sort( src, dst, flags ); cv 4225 modules/core/src/matrix.cpp cv::Mat data = cv::cvarrToMat(_samples), labels = cv::cvarrToMat(_labels), centers; cv 4228 modules/core/src/matrix.cpp centers = cv::cvarrToMat(_centers); cv 4242 modules/core/src/matrix.cpp double compactness = cv::kmeans(data, cluster_count, labels, termcrit, attempts, cv 4243 modules/core/src/matrix.cpp flags, _centers ? cv::_OutputArray(centers) : cv::_OutputArray() ); cv 5400 modules/core/src/matrix.cpp CvMatND::CvMatND(const cv::Mat& m) cv 5406 modules/core/src/matrix.cpp type |= m.flags & cv::Mat::CONTINUOUS_FLAG; cv 5409 modules/core/src/matrix.cpp _IplImage::_IplImage(const cv::Mat& m) cv 5416 modules/core/src/matrix.cpp CvSparseMat* cvCreateSparseMat(const cv::SparseMat& sm) cv 5423 modules/core/src/matrix.cpp cv::SparseMatConstIterator from = sm.begin(); cv 5428 modules/core/src/matrix.cpp const cv::SparseMat::Node* n = from.node(); cv 5430 modules/core/src/matrix.cpp cv::copyElem(from.ptr, to, esz); cv 5435 modules/core/src/matrix.cpp void CvSparseMat::copyToSparseMat(cv::SparseMat& m) const cv 5447 modules/core/src/matrix.cpp cv::copyElem((const uchar*)CV_NODE_VAL(this, n), to, esz); cv 80 modules/core/src/ocl.cpp cv::String value = envValue; cv 89 modules/core/src/ocl.cpp CV_ErrorNoReturn(cv::Error::StsBadArg, cv::format("Invalid value for %s parameter: %s", name, value.c_str())); cv 105 modules/core/src/ocl.cpp cv::String value = envValue; cv 112 modules/core/src/ocl.cpp cv::String valueStr = value.substr(0, pos); cv 113 modules/core/src/ocl.cpp cv::String suffixStr = value.substr(pos, value.length() - pos); cv 121 modules/core/src/ocl.cpp CV_ErrorNoReturn(cv::Error::StsBadArg, cv::format("Invalid value for %s parameter: %s", name, value.c_str())); cv 1677 modules/core/src/ocl.cpp void release() { if( CV_XADD(&refcount, -1) == 1 && !cv::__termination) delete this; } \ cv 2976 modules/core/src/ocl.cpp if (!cv::__termination) cv 3159 modules/core/src/ocl.cpp ((cv::ocl::Kernel::Impl*)p)->finit(); cv 3589 modules/core/src/ocl.cpp if (!cv::__termination) cv 5155 modules/core/src/ocl.cpp CV_ErrorNoReturn(cv::Error::StsBadArg, "getBufferPoolController(): unknown BufferPool ID\n"); cv 5417 modules/core/src/ocl.cpp return cv::format(" -D %s=%s", name ? name : "COEFF", func(kernel).c_str()); cv 121 modules/core/src/opencl/runtime/opencl_clamdblas.cpp throw cv::Exception(cv::Error::OpenCLApiCallError, cv 122 modules/core/src/opencl/runtime/opencl_clamdblas.cpp cv::format("OpenCL AMD BLAS function is not available: [%s]", e->fnName), cv 121 modules/core/src/opencl/runtime/opencl_clamdfft.cpp throw cv::Exception(cv::Error::OpenCLApiCallError, cv 122 modules/core/src/opencl/runtime/opencl_clamdfft.cpp cv::format("OpenCL AMD FFT function is not available: [%s]", e->fnName), cv 269 modules/core/src/opencl/runtime/opencl_core.cpp CV_ErrorNoReturn(cv::Error::StsBadArg, "Invalid function ID"); cv 274 modules/core/src/opencl/runtime/opencl_core.cpp throw cv::Exception(cv::Error::OpenCLApiCallError, cv 275 modules/core/src/opencl/runtime/opencl_core.cpp cv::format("OpenCL function is not available: [%s]", e->fnName), cv 55 modules/core/src/opencl/runtime/runtime_common.hpp using namespace cv::ocl::runtime; cv 52 modules/core/src/opengl.cpp using namespace cv; cv 53 modules/core/src/opengl.cpp using namespace cv::cuda; cv 58 modules/core/src/opengl.cpp inline void throw_no_ogl() { CV_Error(cv::Error::OpenGlNotSupported, "The library is compiled without OpenGL support"); } cv 60 modules/core/src/opengl.cpp inline void throw_no_ogl() { CV_Error(cv::Error::OpenGlApiCallError, "OpenGL context doesn't exist"); } cv 114 modules/core/src/opengl.cpp void cv::cuda::setGlDevice(int device) cv 290 modules/core/src/opengl.cpp class cv::ogl::Buffer::Impl cv 296 modules/core/src/opengl.cpp class cv::ogl::Buffer::Impl cv 338 modules/core/src/opengl.cpp const Ptr<cv::ogl::Buffer::Impl>& cv::ogl::Buffer::Impl::empty() cv 344 modules/core/src/opengl.cpp cv::ogl::Buffer::Impl::Impl() : bufId_(0), autoRelease_(false) cv 348 modules/core/src/opengl.cpp cv::ogl::Buffer::Impl::Impl(GLuint abufId, bool autoRelease) : bufId_(abufId), autoRelease_(autoRelease) cv 353 modules/core/src/opengl.cpp cv::ogl::Buffer::Impl::Impl(GLsizeiptr size, const GLvoid* data, GLenum target, bool autoRelease) : bufId_(0), autoRelease_(autoRelease) cv 370 modules/core/src/opengl.cpp cv::ogl::Buffer::Impl::~Impl() cv 376 modules/core/src/opengl.cpp void cv::ogl::Buffer::Impl::bind(GLenum target) const cv 382 modules/core/src/opengl.cpp void cv::ogl::Buffer::Impl::copyFrom(GLuint srcBuf, GLsizeiptr size) cv 394 modules/core/src/opengl.cpp void cv::ogl::Buffer::Impl::copyFrom(GLsizeiptr size, const GLvoid* data) cv 403 modules/core/src/opengl.cpp void cv::ogl::Buffer::Impl::copyTo(GLsizeiptr size, GLvoid* data) const cv 412 modules/core/src/opengl.cpp void* cv::ogl::Buffer::Impl::mapHost(GLenum access) cv 423 modules/core/src/opengl.cpp void cv::ogl::Buffer::Impl::unmapHost() cv 430 modules/core/src/opengl.cpp void cv::ogl::Buffer::Impl::copyFrom(const void* src, size_t spitch, size_t width, size_t height, cudaStream_t stream) cv 436 modules/core/src/opengl.cpp void cv::ogl::Buffer::Impl::copyTo(void* dst, size_t dpitch, size_t width, size_t height, cudaStream_t stream) const cv 442 modules/core/src/opengl.cpp void* cv::ogl::Buffer::Impl::mapDevice(cudaStream_t stream) cv 448 modules/core/src/opengl.cpp void cv::ogl::Buffer::Impl::unmapDevice(cudaStream_t stream) cv 457 modules/core/src/opengl.cpp cv::ogl::Buffer::Buffer() : rows_(0), cols_(0), type_(0) cv 466 modules/core/src/opengl.cpp cv::ogl::Buffer::Buffer(int arows, int acols, int atype, unsigned int abufId, bool autoRelease) : rows_(0), cols_(0), type_(0) cv 483 modules/core/src/opengl.cpp cv::ogl::Buffer::Buffer(Size asize, int atype, unsigned int abufId, bool autoRelease) : rows_(0), cols_(0), type_(0) cv 499 modules/core/src/opengl.cpp cv::ogl::Buffer::Buffer(InputArray arr, Target target, bool autoRelease) : rows_(0), cols_(0), type_(0) cv 531 modules/core/src/opengl.cpp void cv::ogl::Buffer::create(int arows, int acols, int atype, Target target, bool autoRelease) cv 552 modules/core/src/opengl.cpp void cv::ogl::Buffer::release() cv 564 modules/core/src/opengl.cpp void cv::ogl::Buffer::setAutoRelease(bool flag) cv 574 modules/core/src/opengl.cpp void cv::ogl::Buffer::copyFrom(InputArray arr, Target target, bool autoRelease) cv 619 modules/core/src/opengl.cpp void cv::ogl::Buffer::copyFrom(InputArray arr, cuda::Stream& stream, Target target, bool autoRelease) cv 644 modules/core/src/opengl.cpp void cv::ogl::Buffer::copyTo(OutputArray arr) const cv 684 modules/core/src/opengl.cpp void cv::ogl::Buffer::copyTo(OutputArray arr, cuda::Stream& stream) const cv 703 modules/core/src/opengl.cpp cv::ogl::Buffer cv::ogl::Buffer::clone(Target target, bool autoRelease) const cv 709 modules/core/src/opengl.cpp return cv::ogl::Buffer(); cv 717 modules/core/src/opengl.cpp void cv::ogl::Buffer::bind(Target target) const cv 727 modules/core/src/opengl.cpp void cv::ogl::Buffer::unbind(Target target) cv 738 modules/core/src/opengl.cpp Mat cv::ogl::Buffer::mapHost(Access access) cv 749 modules/core/src/opengl.cpp void cv::ogl::Buffer::unmapHost() cv 758 modules/core/src/opengl.cpp GpuMat cv::ogl::Buffer::mapDevice() cv 773 modules/core/src/opengl.cpp void cv::ogl::Buffer::unmapDevice() cv 786 modules/core/src/opengl.cpp cuda::GpuMat cv::ogl::Buffer::mapDevice(cuda::Stream& stream) cv 803 modules/core/src/opengl.cpp void cv::ogl::Buffer::unmapDevice(cuda::Stream& stream) cv 818 modules/core/src/opengl.cpp unsigned int cv::ogl::Buffer::bufId() const cv 834 modules/core/src/opengl.cpp class cv::ogl::Texture2D::Impl cv 840 modules/core/src/opengl.cpp class cv::ogl::Texture2D::Impl cv 865 modules/core/src/opengl.cpp const Ptr<cv::ogl::Texture2D::Impl> cv::ogl::Texture2D::Impl::empty() cv 871 modules/core/src/opengl.cpp cv::ogl::Texture2D::Impl::Impl() : texId_(0), autoRelease_(false) cv 875 modules/core/src/opengl.cpp cv::ogl::Texture2D::Impl::Impl(GLuint atexId, bool autoRelease) : texId_(atexId), autoRelease_(autoRelease) cv 880 modules/core/src/opengl.cpp cv::ogl::Texture2D::Impl::Impl(GLint internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid* pixels, bool autoRelease) : texId_(0), autoRelease_(autoRelease) cv 900 modules/core/src/opengl.cpp cv::ogl::Texture2D::Impl::~Impl() cv 906 modules/core/src/opengl.cpp void cv::ogl::Texture2D::Impl::copyFrom(GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels) cv 921 modules/core/src/opengl.cpp void cv::ogl::Texture2D::Impl::copyTo(GLenum format, GLenum type, GLvoid* pixels) const cv 933 modules/core/src/opengl.cpp void cv::ogl::Texture2D::Impl::bind() const cv 941 modules/core/src/opengl.cpp cv::ogl::Texture2D::Texture2D() : rows_(0), cols_(0), format_(NONE) cv 950 modules/core/src/opengl.cpp cv::ogl::Texture2D::Texture2D(int arows, int acols, Format aformat, unsigned int atexId, bool autoRelease) : rows_(0), cols_(0), format_(NONE) cv 967 modules/core/src/opengl.cpp cv::ogl::Texture2D::Texture2D(Size asize, Format aformat, unsigned int atexId, bool autoRelease) : rows_(0), cols_(0), format_(NONE) cv 983 modules/core/src/opengl.cpp cv::ogl::Texture2D::Texture2D(InputArray arr, bool autoRelease) : rows_(0), cols_(0), format_(NONE) cv 1053 modules/core/src/opengl.cpp void cv::ogl::Texture2D::create(int arows, int acols, Format aformat, bool autoRelease) cv 1073 modules/core/src/opengl.cpp void cv::ogl::Texture2D::release() cv 1085 modules/core/src/opengl.cpp void cv::ogl::Texture2D::setAutoRelease(bool flag) cv 1095 modules/core/src/opengl.cpp void cv::ogl::Texture2D::copyFrom(InputArray arr, bool autoRelease) cv 1162 modules/core/src/opengl.cpp void cv::ogl::Texture2D::copyTo(OutputArray arr, int ddepth, bool autoRelease) const cv 1215 modules/core/src/opengl.cpp void cv::ogl::Texture2D::bind() const cv 1224 modules/core/src/opengl.cpp unsigned int cv::ogl::Texture2D::texId() const cv 1238 modules/core/src/opengl.cpp void cv::ogl::Arrays::setVertexArray(InputArray vertex) cv 1254 modules/core/src/opengl.cpp void cv::ogl::Arrays::resetVertexArray() cv 1260 modules/core/src/opengl.cpp void cv::ogl::Arrays::setColorArray(InputArray color) cv 1272 modules/core/src/opengl.cpp void cv::ogl::Arrays::resetColorArray() cv 1277 modules/core/src/opengl.cpp void cv::ogl::Arrays::setNormalArray(InputArray normal) cv 1291 modules/core/src/opengl.cpp void cv::ogl::Arrays::resetNormalArray() cv 1296 modules/core/src/opengl.cpp void cv::ogl::Arrays::setTexCoordArray(InputArray texCoord) cv 1310 modules/core/src/opengl.cpp void cv::ogl::Arrays::resetTexCoordArray() cv 1315 modules/core/src/opengl.cpp void cv::ogl::Arrays::release() cv 1323 modules/core/src/opengl.cpp void cv::ogl::Arrays::setAutoRelease(bool flag) cv 1331 modules/core/src/opengl.cpp void cv::ogl::Arrays::bind() const cv 1413 modules/core/src/opengl.cpp void cv::ogl::render(const ogl::Texture2D& tex, Rect_<double> wndRect, Rect_<double> texRect) cv 1485 modules/core/src/opengl.cpp void cv::ogl::render(const ogl::Arrays& arr, int mode, Scalar color) cv 1504 modules/core/src/opengl.cpp void cv::ogl::render(const ogl::Arrays& arr, InputArray indices, int mode, Scalar color) cv 334 modules/core/src/out.cpp cv::format("], dtype='%s')", numpyTypes[mtx.depth()]), mtx, &*braces, cv 143 modules/core/src/parallel.cpp ParallelLoopBodyWrapper(const cv::ParallelLoopBody& _body, const cv::Range& _r, double _nstripes) cv 150 modules/core/src/parallel.cpp void operator()(const cv::Range& sr) const cv 152 modules/core/src/parallel.cpp cv::Range r; cv 159 modules/core/src/parallel.cpp cv::Range stripeRange() const { return cv::Range(0, nstripes); } cv 162 modules/core/src/parallel.cpp const cv::ParallelLoopBody* body; cv 163 modules/core/src/parallel.cpp cv::Range wholeRange; cv 171 modules/core/src/parallel.cpp ProxyLoopBody(const cv::ParallelLoopBody& _body, const cv::Range& _r, double _nstripes) cv 177 modules/core/src/parallel.cpp this->ParallelLoopBodyWrapper::operator()(cv::Range(range.begin(), range.end())); cv 187 modules/core/src/parallel.cpp (*ptr_body)(cv::Range((int)index, (int)index + 1)); cv 193 modules/core/src/parallel.cpp ProxyLoopBody(const cv::ParallelLoopBody& _body, const cv::Range& _r, double _nstripes) cv 199 modules/core/src/parallel.cpp this->ParallelLoopBodyWrapper::operator()(cv::Range(i, i + 1)); cv 246 modules/core/src/parallel.cpp void cv::parallel_for_(const cv::Range& range, const cv::ParallelLoopBody& body, double nstripes) cv 253 modules/core/src/parallel.cpp cv::Range stripeRange = pbody.stripeRange(); cv 323 modules/core/src/parallel.cpp int cv::getNumThreads(void) cv 342 modules/core/src/parallel.cpp : cv::getNumberOfCPUs(); cv 375 modules/core/src/parallel.cpp void cv::setNumThreads( int threads ) cv 435 modules/core/src/parallel.cpp int cv::getThreadNum(void) cv 498 modules/core/src/parallel.cpp int cv::getNumberOfCPUs(void) cv 541 modules/core/src/parallel.cpp const char* cv::currentParallelFramework() { cv 551 modules/core/src/parallel.cpp cv::setNumThreads(nt); cv 556 modules/core/src/parallel.cpp return cv::getNumThreads(); cv 561 modules/core/src/parallel.cpp return cv::getThreadNum(); cv 78 modules/core/src/parallel_pthreads.cpp work_load(const cv::Range& range, const cv::ParallelLoopBody& body, int nstripes) cv 83 modules/core/src/parallel_pthreads.cpp void set(const cv::Range& range, const cv::ParallelLoopBody& body, int nstripes) cv 91 modules/core/src/parallel_pthreads.cpp const cv::ParallelLoopBody* m_body; cv 92 modules/core/src/parallel_pthreads.cpp const cv::Range* m_range; cv 183 modules/core/src/parallel_pthreads.cpp void run(const cv::Range& range, const cv::ParallelLoopBody& body, double nstripes); cv 242 modules/core/src/parallel_pthreads.cpp cv::TLSData<work_thread_t> m_is_work_thread; cv 339 modules/core/src/parallel_pthreads.cpp load.m_body->operator()(cv::Range(start, end)); cv 407 modules/core/src/parallel_pthreads.cpp void ThreadManager::run(const cv::Range& range, const cv::ParallelLoopBody& body, double nstripes) cv 570 modules/core/src/parallel_pthreads.cpp void parallel_for_pthreads(const cv::Range& range, const cv::ParallelLoopBody& body, double nstripes); cv 591 modules/core/src/parallel_pthreads.cpp void parallel_for_pthreads(const cv::Range& range, const cv::ParallelLoopBody& body, double nstripes) cv 167 modules/core/src/pca.cpp cv::read(fs["vectors"], eigenvectors); cv 168 modules/core/src/pca.cpp cv::read(fs["values"], eigenvalues); cv 169 modules/core/src/pca.cpp cv::read(fs["mean"], mean); cv 352 modules/core/src/pca.cpp void cv::PCACompute(InputArray data, InputOutputArray mean, cv 361 modules/core/src/pca.cpp void cv::PCACompute(InputArray data, InputOutputArray mean, cv 370 modules/core/src/pca.cpp void cv::PCAProject(InputArray data, InputArray mean, cv 379 modules/core/src/pca.cpp void cv::PCABackProject(InputArray data, InputArray mean, cv 118 modules/core/src/persistence.cpp cv::String cv::FileStorage::getDefaultObjectName(const cv::String& _filename) cv 124 modules/core/src/persistence.cpp cv::AutoBuffer<char> name_buf(_filename.size()+1); cv 513 modules/core/src/persistence.cpp icvClose( CvFileStorage* fs, cv::String* out ) cv 540 modules/core/src/persistence.cpp *out = cv::String(fs->outbuf->begin(), fs->outbuf->end()); cv 3259 modules/core/src/persistence.cpp *(uchar*)data = cv::saturate_cast<uchar>(ival); cv 3263 modules/core/src/persistence.cpp *(char*)data = cv::saturate_cast<schar>(ival); cv 3267 modules/core/src/persistence.cpp *(ushort*)data = cv::saturate_cast<ushort>(ival); cv 3271 modules/core/src/persistence.cpp *(short*)data = cv::saturate_cast<short>(ival); cv 3304 modules/core/src/persistence.cpp *(uchar*)data = cv::saturate_cast<uchar>(ival); cv 3309 modules/core/src/persistence.cpp *(char*)data = cv::saturate_cast<schar>(ival); cv 3314 modules/core/src/persistence.cpp *(ushort*)data = cv::saturate_cast<ushort>(ival); cv 3319 modules/core/src/persistence.cpp *(short*)data = cv::saturate_cast<short>(ival); cv 5023 modules/core/src/persistence.cpp cv::String name = _name ? cv::String(_name) : cv::FileStorage::getDefaultObjectName(filename); cv 5037 modules/core/src/persistence.cpp cv::FileStorage fs(cvOpenFileStorage(filename, memstorage, CV_STORAGE_READ)); cv 5568 modules/core/src/persistence.cpp cv::internal::WriteStructContext ws(fs, objname, CV_NODE_SEQ + CV_NODE_FLOW); cv 5574 modules/core/src/persistence.cpp cv::write(fs, kpt.pt.x); cv 5575 modules/core/src/persistence.cpp cv::write(fs, kpt.pt.y); cv 5576 modules/core/src/persistence.cpp cv::write(fs, kpt.size); cv 5577 modules/core/src/persistence.cpp cv::write(fs, kpt.angle); cv 5578 modules/core/src/persistence.cpp cv::write(fs, kpt.response); cv 5579 modules/core/src/persistence.cpp cv::write(fs, kpt.octave); cv 5580 modules/core/src/persistence.cpp cv::write(fs, kpt.class_id); cv 5600 modules/core/src/persistence.cpp cv::internal::WriteStructContext ws(fs, objname, CV_NODE_SEQ + CV_NODE_FLOW); cv 5606 modules/core/src/persistence.cpp cv::write(fs, m.queryIdx); cv 5607 modules/core/src/persistence.cpp cv::write(fs, m.trainIdx); cv 5608 modules/core/src/persistence.cpp cv::write(fs, m.imgIdx); cv 5609 modules/core/src/persistence.cpp cv::write(fs, m.distance); cv 99 modules/core/src/precomp.hpp #define CV_8TO32F(x) cv::g_8x32fTab[(x)+128] cv 102 modules/core/src/precomp.hpp #define CV_SQR_8U(x) cv::g_8x16uSqrTab[(x)+255] cv 105 modules/core/src/precomp.hpp #define CV_FAST_CAST_8U(t) (assert(-256 <= (t) && (t) <= 512), cv::g_Saturate8u[(t)+256]) cv 258 modules/core/src/precomp.hpp cv::Mutex mutex; cv 732 modules/core/src/rand.cpp cv::RNG& cv::theRNG() cv 737 modules/core/src/rand.cpp void cv::randu(InputOutputArray dst, InputArray low, InputArray high) cv 742 modules/core/src/rand.cpp void cv::randn(InputOutputArray dst, InputArray mean, InputArray stddev) cv 788 modules/core/src/rand.cpp void cv::randShuffle( InputOutputArray _dst, double iterFactor, RNG* _rng ) cv 822 modules/core/src/rand.cpp cv::Mat mat = cv::cvarrToMat(arr); cv 824 modules/core/src/rand.cpp cv::RNG& rng = _rng ? (cv::RNG&)*_rng : cv::theRNG(); cv 826 modules/core/src/rand.cpp cv::RNG::NORMAL : cv::RNG::UNIFORM, cv::Scalar(param1), cv::Scalar(param2) ); cv 831 modules/core/src/rand.cpp cv::Mat dst = cv::cvarrToMat(arr); cv 832 modules/core/src/rand.cpp cv::RNG& rng = _rng ? (cv::RNG&)*_rng : cv::theRNG(); cv 833 modules/core/src/rand.cpp cv::randShuffle( dst, iter_factor, &rng ); cv 882 modules/core/src/rand.cpp cv::RNG_MT19937::RNG_MT19937(unsigned s) { seed(s); } cv 884 modules/core/src/rand.cpp cv::RNG_MT19937::RNG_MT19937() { seed(5489U); } cv 886 modules/core/src/rand.cpp void cv::RNG_MT19937::seed(unsigned s) cv 896 modules/core/src/rand.cpp unsigned cv::RNG_MT19937::next() cv 938 modules/core/src/rand.cpp cv::RNG_MT19937::operator unsigned() { return next(); } cv 940 modules/core/src/rand.cpp cv::RNG_MT19937::operator int() { return (int)next();} cv 942 modules/core/src/rand.cpp cv::RNG_MT19937::operator float() { return next() * (1.f / 4294967296.f); } cv 944 modules/core/src/rand.cpp cv::RNG_MT19937::operator double() cv 951 modules/core/src/rand.cpp int cv::RNG_MT19937::uniform(int a, int b) { return (int)(next() % (b - a) + a); } cv 953 modules/core/src/rand.cpp float cv::RNG_MT19937::uniform(float a, float b) { return ((float)*this)*(b - a) + a; } cv 955 modules/core/src/rand.cpp double cv::RNG_MT19937::uniform(double a, double b) { return ((double)*this)*(b - a) + a; } cv 957 modules/core/src/rand.cpp unsigned cv::RNG_MT19937::operator ()(unsigned b) { return next() % b; } cv 959 modules/core/src/rand.cpp unsigned cv::RNG_MT19937::operator ()() { return next(); } cv 1143 modules/core/src/stat.cpp cv::Scalar cv::sum( InputArray _src ) cv 1286 modules/core/src/stat.cpp return res = saturate_cast<int>(cv::sum(db.getMat(ACCESS_READ))[0]), true; cv 1294 modules/core/src/stat.cpp int cv::countNonZero( InputArray _src ) cv 1354 modules/core/src/stat.cpp cv::Scalar cv::mean( InputArray _src, InputArray _mask ) cv 1621 modules/core/src/stat.cpp void cv::meanStdDev( InputArray _src, OutputArray _mean, OutputArray _sdv, InputArray _mask ) cv 2186 modules/core/src/stat.cpp void cv::minMaxIdx(InputArray _src, double* minVal, cv 2335 modules/core/src/stat.cpp void cv::minMaxLoc( InputArray _img, double* minVal, double* maxVal, cv 2488 modules/core/src/stat.cpp return cv::hal::normHamming(a, b, size); cv 2616 modules/core/src/stat.cpp double cv::norm( InputArray _src, int normType, InputArray _mask ) cv 2995 modules/core/src/stat.cpp double cv::norm( InputArray _src1, InputArray _src2, int normType, InputArray _mask ) cv 3647 modules/core/src/stat.cpp void cv::batchDistance( InputArray _src1, InputArray _src2, cv 3759 modules/core/src/stat.cpp void cv::findNonZero( InputArray _src, OutputArray _idx ) cv 3785 modules/core/src/stat.cpp double cv::PSNR(InputArray _src1, InputArray _src2) cv 3795 modules/core/src/stat.cpp cv::Scalar sum = cv::sum(cv::cvarrToMat(srcarr, false, true, 1)); cv 3802 modules/core/src/stat.cpp sum = cv::Scalar(sum[coi-1]); cv 3810 modules/core/src/stat.cpp cv::Mat img = cv::cvarrToMat(imgarr, false, true, 1); cv 3812 modules/core/src/stat.cpp cv::extractImageCOI(imgarr, img); cv 3820 modules/core/src/stat.cpp cv::Mat img = cv::cvarrToMat(imgarr, false, true, 1); cv 3821 modules/core/src/stat.cpp cv::Scalar mean = !maskarr ? cv::mean(img) : cv::mean(img, cv::cvarrToMat(maskarr)); cv 3828 modules/core/src/stat.cpp mean = cv::Scalar(mean[coi-1]); cv 3838 modules/core/src/stat.cpp cv::Scalar mean, sdv; cv 3840 modules/core/src/stat.cpp cv::Mat mask; cv 3842 modules/core/src/stat.cpp mask = cv::cvarrToMat(maskarr); cv 3844 modules/core/src/stat.cpp cv::meanStdDev(cv::cvarrToMat(imgarr, false, true, 1), mean, sdv, mask ); cv 3852 modules/core/src/stat.cpp mean = cv::Scalar(mean[coi-1]); cv 3853 modules/core/src/stat.cpp sdv = cv::Scalar(sdv[coi-1]); cv 3858 modules/core/src/stat.cpp *(cv::Scalar*)_mean = mean; cv 3860 modules/core/src/stat.cpp *(cv::Scalar*)_sdv = sdv; cv 3868 modules/core/src/stat.cpp cv::Mat mask, img = cv::cvarrToMat(imgarr, false, true, 1); cv 3870 modules/core/src/stat.cpp mask = cv::cvarrToMat(maskarr); cv 3872 modules/core/src/stat.cpp cv::extractImageCOI(imgarr, img); cv 3874 modules/core/src/stat.cpp cv::minMaxLoc( img, _minVal, _maxVal, cv 3875 modules/core/src/stat.cpp (cv::Point*)_minLoc, (cv::Point*)_maxLoc, mask ); cv 3882 modules/core/src/stat.cpp cv::Mat a, mask; cv 3889 modules/core/src/stat.cpp a = cv::cvarrToMat(imgA, false, true, 1); cv 3891 modules/core/src/stat.cpp mask = cv::cvarrToMat(maskarr); cv 3894 modules/core/src/stat.cpp cv::extractImageCOI(imgA, a); cv 3897 modules/core/src/stat.cpp return !maskarr ? cv::norm(a, normType) : cv::norm(a, normType, mask); cv 3899 modules/core/src/stat.cpp cv::Mat b = cv::cvarrToMat(imgB, false, true, 1); cv 3901 modules/core/src/stat.cpp cv::extractImageCOI(imgB, b); cv 3903 modules/core/src/stat.cpp return !maskarr ? cv::norm(a, b, normType) : cv::norm(a, b, normType, mask); cv 47 modules/core/src/stl.cpp char* cv::String::allocate(size_t len) cv 50 modules/core/src/stl.cpp int* data = (int*)cv::fastMalloc(totalsize + sizeof(int)); cv 59 modules/core/src/stl.cpp void cv::String::deallocate() cv 67 modules/core/src/stl.cpp cv::fastFree(data-1); cv 660 modules/core/src/system.cpp error(cv::Exception(_code, _err, _func, _file, _line)); cv 682 modules/core/src/system.cpp return cv::currentFeatures->have[feature]; cv 687 modules/core/src/system.cpp int prevMode = cv::useOptimizedFlag; cv 688 modules/core/src/system.cpp cv::setUseOptimized( flag != 0 ); cv 694 modules/core/src/system.cpp return cv::getTickCount(); cv 699 modules/core/src/system.cpp return cv::getTickFrequency()*1e-6; cv 705 modules/core/src/system.cpp return cv::redirectError(errCallback, userdata, prevUserdata); cv 800 modules/core/src/system.cpp cv::error(cv::Exception(code, err_msg, func_name, file_name, line)); cv 1019 modules/core/src/system.cpp cv::__termination = true; cv 1025 modules/core/src/system.cpp cv::deleteThreadAllocData(); cv 1026 modules/core/src/system.cpp cv::deleteThreadData(); cv 1063 modules/core/src/system.cpp cv::Mutex mutex_; cv 1078 modules/core/src/system.cpp cv::AutoLock lock(mutex_); cv 1084 modules/core/src/system.cpp cv::AutoLock lock(mutex_); cv 1092 modules/core/src/system.cpp cv::AutoLock lock(mutex_); cv 1174 modules/core/src/system.cpp cv::AutoLock lock(getImplData().mutex); cv 1183 modules/core/src/system.cpp cv::AutoLock lock(getImplData().mutex); cv 1199 modules/core/src/system.cpp cv::AutoLock lock(getImplData().mutex); cv 1213 modules/core/src/system.cpp cv::AutoLock lock(getImplData().mutex); cv 1251 modules/core/src/system.cpp if(pIppEnv && (cv::String(pIppEnv) == "disabled")) cv 1283 modules/core/src/system.cpp cv::CoreTLSData* data = cv::getCoreTlsData().get(); cv 1288 modules/core/src/system.cpp if (pTegraEnv && (cv::String(pTegraEnv) == "disabled")) cv 1299 modules/core/src/system.cpp cv::CoreTLSData* data = cv::getCoreTlsData().get(); cv 107 modules/core/test/ocl/test_arithm.cpp OCL_OFF(cv::LUT(src_roi, lut_roi, dst_roi)); cv 108 modules/core/test/ocl/test_arithm.cpp OCL_ON(cv::LUT(usrc_roi, ulut_roi, udst_roi)); cv 121 modules/core/test/ocl/test_arithm.cpp cv::Scalar val; cv 122 modules/core/test/ocl/test_arithm.cpp cv::Scalar val_in_range; cv 159 modules/core/test/ocl/test_arithm.cpp cv::threshold(mask, mask, 0.5, 255., CV_8UC1); cv 162 modules/core/test/ocl/test_arithm.cpp val = cv::Scalar(rng.uniform(-100.0, 100.0), rng.uniform(-100.0, 100.0), cv 167 modules/core/test/ocl/test_arithm.cpp val_in_range = cv::Scalar(rng.uniform(minV, maxV), rng.uniform(minV, maxV), cv 202 modules/core/test/ocl/test_arithm.cpp OCL_OFF(cv::add(src1_roi, src2_roi, dst1_roi)); cv 203 modules/core/test/ocl/test_arithm.cpp OCL_ON(cv::add(usrc1_roi, usrc2_roi, udst1_roi)); cv 214 modules/core/test/ocl/test_arithm.cpp OCL_OFF(cv::add(src1_roi, src2_roi, dst1_roi, mask_roi)); cv 215 modules/core/test/ocl/test_arithm.cpp OCL_ON(cv::add(usrc1_roi, usrc2_roi, udst1_roi, umask_roi)); cv 226 modules/core/test/ocl/test_arithm.cpp OCL_OFF(cv::add(src1_roi, val, dst1_roi)); cv 227 modules/core/test/ocl/test_arithm.cpp OCL_ON(cv::add(val, usrc1_roi, udst1_roi)); cv 238 modules/core/test/ocl/test_arithm.cpp OCL_OFF(cv::add(src1_roi, val, dst1_roi, mask_roi)); cv 239 modules/core/test/ocl/test_arithm.cpp OCL_ON(cv::add(usrc1_roi, val, udst1_roi, umask_roi)); cv 254 modules/core/test/ocl/test_arithm.cpp OCL_OFF(cv::subtract(src1_roi, src2_roi, dst1_roi)); cv 255 modules/core/test/ocl/test_arithm.cpp OCL_ON(cv::subtract(usrc1_roi, usrc2_roi, udst1_roi)); cv 266 modules/core/test/ocl/test_arithm.cpp OCL_OFF(cv::subtract(src1_roi, src2_roi, dst1_roi, mask_roi)); cv 267 modules/core/test/ocl/test_arithm.cpp OCL_ON(cv::subtract(usrc1_roi, usrc2_roi, udst1_roi, umask_roi)); cv 278 modules/core/test/ocl/test_arithm.cpp OCL_OFF(cv::subtract(val, src1_roi, dst1_roi)); cv 279 modules/core/test/ocl/test_arithm.cpp OCL_ON(cv::subtract(val, usrc1_roi, udst1_roi)); cv 290 modules/core/test/ocl/test_arithm.cpp OCL_OFF(cv::subtract(src1_roi, val, dst1_roi, mask_roi)); cv 291 modules/core/test/ocl/test_arithm.cpp OCL_ON(cv::subtract(usrc1_roi, val, udst1_roi, umask_roi)); cv 306 modules/core/test/ocl/test_arithm.cpp OCL_OFF(cv::multiply(src1_roi, src2_roi, dst1_roi)); cv 307 modules/core/test/ocl/test_arithm.cpp OCL_ON(cv::multiply(usrc1_roi, usrc2_roi, udst1_roi)); cv 318 modules/core/test/ocl/test_arithm.cpp OCL_OFF(cv::multiply(src1_roi, val, dst1_roi)); cv 319 modules/core/test/ocl/test_arithm.cpp OCL_ON(cv::multiply(val, usrc1_roi, udst1_roi)); cv 331 modules/core/test/ocl/test_arithm.cpp OCL_OFF(cv::multiply(src1_roi, src2_roi, dst1_roi, val[0])); cv 332 modules/core/test/ocl/test_arithm.cpp OCL_ON(cv::multiply(usrc1_roi, usrc2_roi, udst1_roi, val[0])); cv 348 modules/core/test/ocl/test_arithm.cpp OCL_OFF(cv::multiply(src1_roi, val, dst1_roi, val[0])); cv 349 modules/core/test/ocl/test_arithm.cpp OCL_ON(cv::multiply(usrc1_roi, val, udst1_roi, val[0])); cv 369 modules/core/test/ocl/test_arithm.cpp OCL_OFF(cv::divide(src1_roi, src2_roi, dst1_roi)); cv 370 modules/core/test/ocl/test_arithm.cpp OCL_ON(cv::divide(usrc1_roi, usrc2_roi, udst1_roi)); cv 381 modules/core/test/ocl/test_arithm.cpp OCL_OFF(cv::divide(val, src1_roi, dst1_roi)); cv 382 modules/core/test/ocl/test_arithm.cpp OCL_ON(cv::divide(val, usrc1_roi, udst1_roi)); cv 394 modules/core/test/ocl/test_arithm.cpp OCL_OFF(cv::divide(src1_roi, val, dst1_roi)); cv 395 modules/core/test/ocl/test_arithm.cpp OCL_ON(cv::divide(usrc1_roi, val, udst1_roi)); cv 407 modules/core/test/ocl/test_arithm.cpp OCL_OFF(cv::divide(src1_roi, src2_roi, dst1_roi, val[0])); cv 408 modules/core/test/ocl/test_arithm.cpp OCL_ON(cv::divide(usrc1_roi, usrc2_roi, udst1_roi, val[0])); cv 420 modules/core/test/ocl/test_arithm.cpp OCL_OFF(cv::divide(src1_roi, val, dst1_roi, val[0])); cv 421 modules/core/test/ocl/test_arithm.cpp OCL_ON(cv::divide(usrc1_roi, val, udst1_roi, val[0])); cv 433 modules/core/test/ocl/test_arithm.cpp OCL_OFF(cv::divide(val[0], src1_roi, dst1_roi)); cv 434 modules/core/test/ocl/test_arithm.cpp OCL_ON(cv::divide(val[0], usrc1_roi, udst1_roi)); cv 450 modules/core/test/ocl/test_arithm.cpp OCL_OFF(cv::max(src1_roi, src2_roi, dst1_roi)); cv 451 modules/core/test/ocl/test_arithm.cpp OCL_ON(cv::max(usrc1_roi, usrc2_roi, udst1_roi)); cv 464 modules/core/test/ocl/test_arithm.cpp OCL_OFF(cv::min(src1_roi, src2_roi, dst1_roi)); cv 465 modules/core/test/ocl/test_arithm.cpp OCL_ON(cv::min(usrc1_roi, usrc2_roi, udst1_roi)); cv 480 modules/core/test/ocl/test_arithm.cpp OCL_OFF(cv::absdiff(src1_roi, src2_roi, dst1_roi)); cv 481 modules/core/test/ocl/test_arithm.cpp OCL_ON(cv::absdiff(usrc1_roi, usrc2_roi, udst1_roi)); cv 492 modules/core/test/ocl/test_arithm.cpp OCL_OFF(cv::absdiff(src1_roi, val, dst1_roi)); cv 493 modules/core/test/ocl/test_arithm.cpp OCL_ON(cv::absdiff(usrc1_roi, val, udst1_roi)); cv 508 modules/core/test/ocl/test_arithm.cpp OCL_OFF(cv::cartToPolar(src1_roi, src2_roi, dst1_roi, dst2_roi, true)); cv 509 modules/core/test/ocl/test_arithm.cpp OCL_ON(cv::cartToPolar(usrc1_roi, usrc2_roi, udst1_roi, udst2_roi, true)); cv 521 modules/core/test/ocl/test_arithm.cpp OCL_OFF(cv::cartToPolar(src1_roi, src2_roi, dst1_roi, dst2_roi)); cv 522 modules/core/test/ocl/test_arithm.cpp OCL_ON(cv::cartToPolar(usrc1_roi, usrc2_roi, udst1_roi, udst2_roi)); cv 538 modules/core/test/ocl/test_arithm.cpp OCL_OFF(cv::polarToCart(src1_roi, src2_roi, dst1_roi, dst2_roi, true)); cv 539 modules/core/test/ocl/test_arithm.cpp OCL_ON(cv::polarToCart(usrc1_roi, usrc2_roi, udst1_roi, udst2_roi, true)); cv 552 modules/core/test/ocl/test_arithm.cpp OCL_OFF(cv::polarToCart(src1_roi, src2_roi, dst1_roi, dst2_roi)); cv 553 modules/core/test/ocl/test_arithm.cpp OCL_ON(cv::polarToCart(usrc1_roi, usrc2_roi, udst1_roi, udst2_roi)); cv 576 modules/core/test/ocl/test_arithm.cpp OCL_OFF(cv::transpose(src1_roi, dst1_roi)); cv 577 modules/core/test/ocl/test_arithm.cpp OCL_ON(cv::transpose(usrc1_roi, udst1_roi)); cv 597 modules/core/test/ocl/test_arithm.cpp OCL_OFF(cv::transpose(src1_roi, src1_roi)); cv 598 modules/core/test/ocl/test_arithm.cpp OCL_ON(cv::transpose(usrc1_roi, usrc1_roi)); cv 614 modules/core/test/ocl/test_arithm.cpp OCL_OFF(cv::bitwise_and(src1_roi, src2_roi, dst1_roi)); cv 615 modules/core/test/ocl/test_arithm.cpp OCL_ON(cv::bitwise_and(usrc1_roi, usrc2_roi, udst1_roi)); cv 626 modules/core/test/ocl/test_arithm.cpp OCL_OFF(cv::bitwise_and(src1_roi, src2_roi, dst1_roi, mask_roi)); cv 627 modules/core/test/ocl/test_arithm.cpp OCL_ON(cv::bitwise_and(usrc1_roi, usrc2_roi, udst1_roi, umask_roi)); cv 638 modules/core/test/ocl/test_arithm.cpp OCL_OFF(cv::bitwise_and(src1_roi, val, dst1_roi)); cv 639 modules/core/test/ocl/test_arithm.cpp OCL_ON(cv::bitwise_and(usrc1_roi, val, udst1_roi)); cv 650 modules/core/test/ocl/test_arithm.cpp OCL_OFF(cv::bitwise_and(src1_roi, val, dst1_roi, mask_roi)); cv 651 modules/core/test/ocl/test_arithm.cpp OCL_ON(cv::bitwise_and(usrc1_roi, val, udst1_roi, umask_roi)); cv 666 modules/core/test/ocl/test_arithm.cpp OCL_OFF(cv::bitwise_or(src1_roi, src2_roi, dst1_roi)); cv 667 modules/core/test/ocl/test_arithm.cpp OCL_ON(cv::bitwise_or(usrc1_roi, usrc2_roi, udst1_roi)); cv 678 modules/core/test/ocl/test_arithm.cpp OCL_OFF(cv::bitwise_or(src1_roi, src2_roi, dst1_roi, mask_roi)); cv 679 modules/core/test/ocl/test_arithm.cpp OCL_ON(cv::bitwise_or(usrc1_roi, usrc2_roi, udst1_roi, umask_roi)); cv 690 modules/core/test/ocl/test_arithm.cpp OCL_OFF(cv::bitwise_or(src1_roi, val, dst1_roi)); cv 691 modules/core/test/ocl/test_arithm.cpp OCL_ON(cv::bitwise_or(usrc1_roi, val, udst1_roi)); cv 702 modules/core/test/ocl/test_arithm.cpp OCL_OFF(cv::bitwise_or(src1_roi, val, dst1_roi, mask_roi)); cv 703 modules/core/test/ocl/test_arithm.cpp OCL_ON(cv::bitwise_or(val, usrc1_roi, udst1_roi, umask_roi)); cv 718 modules/core/test/ocl/test_arithm.cpp OCL_OFF(cv::bitwise_xor(src1_roi, src2_roi, dst1_roi)); cv 719 modules/core/test/ocl/test_arithm.cpp OCL_ON(cv::bitwise_xor(usrc1_roi, usrc2_roi, udst1_roi)); cv 730 modules/core/test/ocl/test_arithm.cpp OCL_OFF(cv::bitwise_xor(src1_roi, src2_roi, dst1_roi, mask_roi)); cv 731 modules/core/test/ocl/test_arithm.cpp OCL_ON(cv::bitwise_xor(usrc1_roi, usrc2_roi, udst1_roi, umask_roi)); cv 742 modules/core/test/ocl/test_arithm.cpp OCL_OFF(cv::bitwise_xor(src1_roi, val, dst1_roi)); cv 743 modules/core/test/ocl/test_arithm.cpp OCL_ON(cv::bitwise_xor(usrc1_roi, val, udst1_roi)); cv 754 modules/core/test/ocl/test_arithm.cpp OCL_OFF(cv::bitwise_xor(src1_roi, val, dst1_roi, mask_roi)); cv 755 modules/core/test/ocl/test_arithm.cpp OCL_ON(cv::bitwise_xor(usrc1_roi, val, udst1_roi, umask_roi)); cv 770 modules/core/test/ocl/test_arithm.cpp OCL_OFF(cv::bitwise_not(src1_roi, dst1_roi)); cv 771 modules/core/test/ocl/test_arithm.cpp OCL_ON(cv::bitwise_not(usrc1_roi, udst1_roi)); cv 793 modules/core/test/ocl/test_arithm.cpp OCL_OFF(cv::compare(src1_roi, src2_roi, dst1_roi, cmp_codes[i])); cv 794 modules/core/test/ocl/test_arithm.cpp OCL_ON(cv::compare(usrc1_roi, usrc2_roi, udst1_roi, cmp_codes[i])); cv 810 modules/core/test/ocl/test_arithm.cpp OCL_OFF(cv::compare(src1_roi, val_in_range, dst1_roi, cmp_codes[i])); cv 811 modules/core/test/ocl/test_arithm.cpp OCL_ON(cv::compare(usrc1_roi, val_in_range, udst1_roi, cmp_codes[i])); cv 827 modules/core/test/ocl/test_arithm.cpp OCL_OFF(cv::compare(val_in_range, src1_roi, dst1_roi, cmp_codes[i])); cv 828 modules/core/test/ocl/test_arithm.cpp OCL_ON(cv::compare(val_in_range, usrc1_roi, udst1_roi, cmp_codes[i])); cv 850 modules/core/test/ocl/test_arithm.cpp OCL_OFF(cv::pow(src1_roi, pows[k], dst1_roi)); cv 851 modules/core/test/ocl/test_arithm.cpp OCL_ON(cv::pow(usrc1_roi, pows[k], udst1_roi)); cv 869 modules/core/test/ocl/test_arithm.cpp OCL_OFF(cv::addWeighted(src1_roi, alpha, src2_roi, beta, gama, dst1_roi)); cv 870 modules/core/test/ocl/test_arithm.cpp OCL_ON(cv::addWeighted(usrc1_roi, alpha, usrc2_roi, beta, gama, udst1_roi)); cv 886 modules/core/test/ocl/test_arithm.cpp OCL_OFF(cv::setIdentity(dst1_roi, val)); cv 887 modules/core/test/ocl/test_arithm.cpp OCL_ON(cv::setIdentity(udst1_roi, val)); cv 928 modules/core/test/ocl/test_arithm.cpp OCL_OFF(cv::repeat(src1_roi, ny, nx, dst1_roi)); cv 929 modules/core/test/ocl/test_arithm.cpp OCL_ON(cv::repeat(usrc1_roi, ny, nx, udst1_roi)); cv 946 modules/core/test/ocl/test_arithm.cpp OCL_OFF(cpures = cv::countNonZero(src1_roi)); cv 947 modules/core/test/ocl/test_arithm.cpp OCL_ON(gpures = cv::countNonZero(usrc1_roi)); cv 964 modules/core/test/ocl/test_arithm.cpp OCL_OFF(cpures = cv::sum(src1_roi)); cv 965 modules/core/test/ocl/test_arithm.cpp OCL_ON(gpures = cv::sum(usrc1_roi)); cv 985 modules/core/test/ocl/test_arithm.cpp OCL_OFF(cv::meanStdDev(src1_roi, cpu_mean, cpu_stddev)); cv 986 modules/core/test/ocl/test_arithm.cpp OCL_ON(cv::meanStdDev(usrc1_roi, gpu_mean, gpu_stddev)); cv 1005 modules/core/test/ocl/test_arithm.cpp OCL_OFF(cv::meanStdDev(src1_roi, cpu_mean, cpu_stddev, mask_roi)); cv 1006 modules/core/test/ocl/test_arithm.cpp OCL_ON(cv::meanStdDev(usrc1_roi, gpu_mean, gpu_stddev, umask_roi)); cv 1025 modules/core/test/ocl/test_arithm.cpp OCL_OFF(cv::meanStdDev(m, cpu_mean, cpu_stddev, mask)); cv 1026 modules/core/test/ocl/test_arithm.cpp OCL_ON(cv::meanStdDev(um, gpu_mean, gpu_stddev, umask)); cv 1045 modules/core/test/ocl/test_arithm.cpp OCL_OFF(cv::log(src1_roi, dst1_roi)); cv 1046 modules/core/test/ocl/test_arithm.cpp OCL_ON(cv::log(usrc1_roi, udst1_roi)); cv 1061 modules/core/test/ocl/test_arithm.cpp OCL_OFF(cv::exp(src1_roi, dst1_roi)); cv 1062 modules/core/test/ocl/test_arithm.cpp OCL_ON(cv::exp(usrc1_roi, udst1_roi)); cv 1077 modules/core/test/ocl/test_arithm.cpp OCL_OFF(cv::phase(src1_roi, src2_roi, dst1_roi, true)); cv 1078 modules/core/test/ocl/test_arithm.cpp OCL_ON(cv::phase(usrc1_roi, usrc2_roi, udst1_roi, true)); cv 1089 modules/core/test/ocl/test_arithm.cpp OCL_OFF(cv::phase(src1_roi, src2_roi, dst1_roi)); cv 1090 modules/core/test/ocl/test_arithm.cpp OCL_ON(cv::phase(usrc1_roi, usrc2_roi, udst1_roi)); cv 1105 modules/core/test/ocl/test_arithm.cpp OCL_OFF(cv::magnitude(src1_roi, src2_roi, dst1_roi)); cv 1106 modules/core/test/ocl/test_arithm.cpp OCL_ON(cv::magnitude(usrc1_roi, usrc2_roi, udst1_roi)); cv 1121 modules/core/test/ocl/test_arithm.cpp OCL_OFF(cv::flip(src1_roi, dst1_roi, 0)); cv 1122 modules/core/test/ocl/test_arithm.cpp OCL_ON(cv::flip(usrc1_roi, udst1_roi, 0)); cv 1133 modules/core/test/ocl/test_arithm.cpp OCL_OFF(cv::flip(src1_roi, dst1_roi, 1)); cv 1134 modules/core/test/ocl/test_arithm.cpp OCL_ON(cv::flip(usrc1_roi, udst1_roi, 1)); cv 1145 modules/core/test/ocl/test_arithm.cpp OCL_OFF(cv::flip(src1_roi, dst1_roi, -1)); cv 1146 modules/core/test/ocl/test_arithm.cpp OCL_ON(cv::flip(usrc1_roi, udst1_roi, -1)); cv 1165 modules/core/test/ocl/test_arithm.cpp OCL_OFF(cv::minMaxIdx(src2_roi, &minv, &maxv) ); cv 1166 modules/core/test/ocl/test_arithm.cpp OCL_ON(cv::minMaxIdx(usrc2_roi, &uminv, &umaxv)); cv 1173 modules/core/test/ocl/test_arithm.cpp OCL_OFF(cv::minMaxIdx(src2_roi, &minv, &maxv, p1, p2, noArray())); cv 1174 modules/core/test/ocl/test_arithm.cpp OCL_ON(cv::minMaxIdx(usrc2_roi, &uminv, &umaxv, up1, up2, noArray())); cv 1199 modules/core/test/ocl/test_arithm.cpp OCL_OFF(cv::minMaxIdx(src2_roi, &minv, &maxv, p1, p2, mask_roi)); cv 1200 modules/core/test/ocl/test_arithm.cpp OCL_ON(cv::minMaxIdx(usrc2_roi, &uminv, &umaxv, up1, up2, umask_roi)); cv 1228 modules/core/test/ocl/test_arithm.cpp OCL_OFF(const double cpuRes = cv::norm(src1_roi, NORM_INF)); cv 1229 modules/core/test/ocl/test_arithm.cpp OCL_ON(const double gpuRes = cv::norm(usrc1_roi, NORM_INF)); cv 1241 modules/core/test/ocl/test_arithm.cpp OCL_OFF(const double cpuRes = cv::norm(src1_roi, NORM_INF, mask_roi)); cv 1242 modules/core/test/ocl/test_arithm.cpp OCL_ON(const double gpuRes = cv::norm(usrc1_roi, NORM_INF, umask_roi)); cv 1254 modules/core/test/ocl/test_arithm.cpp OCL_OFF(const double cpuRes = cv::norm(src1_roi, NORM_L1)); cv 1255 modules/core/test/ocl/test_arithm.cpp OCL_ON(const double gpuRes = cv::norm(usrc1_roi, NORM_L1)); cv 1267 modules/core/test/ocl/test_arithm.cpp OCL_OFF(const double cpuRes = cv::norm(src1_roi, NORM_L1, mask_roi)); cv 1268 modules/core/test/ocl/test_arithm.cpp OCL_ON(const double gpuRes = cv::norm(usrc1_roi, NORM_L1, umask_roi)); cv 1280 modules/core/test/ocl/test_arithm.cpp OCL_OFF(const double cpuRes = cv::norm(src1_roi, NORM_L2)); cv 1281 modules/core/test/ocl/test_arithm.cpp OCL_ON(const double gpuRes = cv::norm(usrc1_roi, NORM_L2)); cv 1293 modules/core/test/ocl/test_arithm.cpp OCL_OFF(const double cpuRes = cv::norm(src1_roi, NORM_L2, mask_roi)); cv 1294 modules/core/test/ocl/test_arithm.cpp OCL_ON(const double gpuRes = cv::norm(usrc1_roi, NORM_L2, umask_roi)); cv 1313 modules/core/test/ocl/test_arithm.cpp OCL_OFF(const double cpuRes = cv::norm(src1_roi, src2_roi, type)); cv 1314 modules/core/test/ocl/test_arithm.cpp OCL_ON(const double gpuRes = cv::norm(usrc1_roi, usrc2_roi, type)); cv 1333 modules/core/test/ocl/test_arithm.cpp OCL_OFF(const double cpuRes = cv::norm(src1_roi, src2_roi, type, mask_roi)); cv 1334 modules/core/test/ocl/test_arithm.cpp OCL_ON(const double gpuRes = cv::norm(usrc1_roi, usrc2_roi, type, umask_roi)); cv 1353 modules/core/test/ocl/test_arithm.cpp OCL_OFF(const double cpuRes = cv::norm(src1_roi, src2_roi, type)); cv 1354 modules/core/test/ocl/test_arithm.cpp OCL_ON(const double gpuRes = cv::norm(usrc1_roi, usrc2_roi, type)); cv 1373 modules/core/test/ocl/test_arithm.cpp OCL_OFF(const double cpuRes = cv::norm(src1_roi, src2_roi, type, mask_roi)); cv 1374 modules/core/test/ocl/test_arithm.cpp OCL_ON(const double gpuRes = cv::norm(usrc1_roi, usrc2_roi, type, umask_roi)); cv 1393 modules/core/test/ocl/test_arithm.cpp OCL_OFF(const double cpuRes = cv::norm(src1_roi, src2_roi, type)); cv 1394 modules/core/test/ocl/test_arithm.cpp OCL_ON(const double gpuRes = cv::norm(usrc1_roi, usrc2_roi, type)); cv 1413 modules/core/test/ocl/test_arithm.cpp OCL_OFF(const double cpuRes = cv::norm(src1_roi, src2_roi, type, mask_roi)); cv 1414 modules/core/test/ocl/test_arithm.cpp OCL_ON(const double gpuRes = cv::norm(usrc1_roi, usrc2_roi, type, umask_roi)); cv 1447 modules/core/test/ocl/test_arithm.cpp OCL_OFF(cv::sqrt(src1_roi, dst1_roi)); cv 1448 modules/core/test/ocl/test_arithm.cpp OCL_ON(cv::sqrt(usrc1_roi, udst1_roi)); cv 1468 modules/core/test/ocl/test_arithm.cpp OCL_OFF(cv::normalize(src1_roi, dst1_roi, 10, 110, modes[i], src1_roi.type(), mask_roi)); cv 1469 modules/core/test/ocl/test_arithm.cpp OCL_ON(cv::normalize(usrc1_roi, udst1_roi, 10, 110, modes[i], src1_roi.type(), umask_roi)); cv 1483 modules/core/test/ocl/test_arithm.cpp cv::Scalar val1, val2; cv 1515 modules/core/test/ocl/test_arithm.cpp val1 = cv::Scalar(rng.uniform(-100.0, 100.0), rng.uniform(-100.0, 100.0), cv 1517 modules/core/test/ocl/test_arithm.cpp val2 = cv::Scalar(rng.uniform(-100.0, 100.0), rng.uniform(-100.0, 100.0), cv 1538 modules/core/test/ocl/test_arithm.cpp OCL_OFF(cv::inRange(src1_roi, src2_roi, src3_roi, dst_roi)); cv 1539 modules/core/test/ocl/test_arithm.cpp OCL_ON(cv::inRange(usrc1_roi, usrc2_roi, usrc3_roi, udst_roi)); cv 1551 modules/core/test/ocl/test_arithm.cpp OCL_OFF(cv::inRange(src1_roi, val1, val2, dst_roi)); cv 1552 modules/core/test/ocl/test_arithm.cpp OCL_ON(cv::inRange(usrc1_roi, val1, val2, udst_roi)); cv 1565 modules/core/test/ocl/test_arithm.cpp cv::Scalar val; cv 1589 modules/core/test/ocl/test_arithm.cpp val = cv::Scalar(rng.uniform(-100.0, 100.0), rng.uniform(-100.0, 100.0), cv 1610 modules/core/test/ocl/test_arithm.cpp OCL_OFF(cv::convertScaleAbs(src_roi, dst_roi, val[0], val[1])); cv 1611 modules/core/test/ocl/test_arithm.cpp OCL_ON(cv::convertScaleAbs(usrc_roi, udst_roi, val[0], val[1])); cv 1627 modules/core/test/ocl/test_arithm.cpp OCL_OFF(cv::scaleAdd(src1_roi, val[0], src2_roi, dst1_roi)); cv 1628 modules/core/test/ocl/test_arithm.cpp OCL_ON(cv::scaleAdd(usrc1_roi, val[0], usrc2_roi, udst1_roi)); cv 1684 modules/core/test/ocl/test_arithm.cpp OCL_OFF(cv::patchNaNs(src_roi, value)); cv 1685 modules/core/test/ocl/test_arithm.cpp OCL_ON(cv::patchNaNs(usrc_roi, value)); cv 1703 modules/core/test/ocl/test_arithm.cpp OCL_OFF(cpuRes = cv::PSNR(src1_roi, src2_roi)); cv 1704 modules/core/test/ocl/test_arithm.cpp OCL_ON(gpuRes = cv::PSNR(usrc1_roi, usrc2_roi)); cv 1756 modules/core/test/ocl/test_arithm.cpp OCL_OFF(cv::reduce(src_roi, dst_roi, dim, CV_REDUCE_SUM, dtype)); cv 1757 modules/core/test/ocl/test_arithm.cpp OCL_ON(cv::reduce(usrc_roi, udst_roi, dim, CV_REDUCE_SUM, dtype)); cv 1772 modules/core/test/ocl/test_arithm.cpp OCL_OFF(cv::reduce(src_roi, dst_roi, dim, CV_REDUCE_MAX, dtype)); cv 1773 modules/core/test/ocl/test_arithm.cpp OCL_ON(cv::reduce(usrc_roi, udst_roi, dim, CV_REDUCE_MAX, dtype)); cv 1787 modules/core/test/ocl/test_arithm.cpp OCL_OFF(cv::reduce(src_roi, dst_roi, dim, CV_REDUCE_MIN, dtype)); cv 1788 modules/core/test/ocl/test_arithm.cpp OCL_ON(cv::reduce(usrc_roi, udst_roi, dim, CV_REDUCE_MIN, dtype)); cv 1802 modules/core/test/ocl/test_arithm.cpp OCL_OFF(cv::reduce(src_roi, dst_roi, dim, CV_REDUCE_AVG, dtype)); cv 1803 modules/core/test/ocl/test_arithm.cpp OCL_ON(cv::reduce(usrc_roi, udst_roi, dim, CV_REDUCE_AVG, dtype)); cv 139 modules/core/test/ocl/test_channels.cpp OCL_OFF(cv::merge(src_roi, dst_roi)); cv 140 modules/core/test/ocl/test_channels.cpp OCL_ON(cv::merge(usrc_roi, udst_roi)); cv 217 modules/core/test/ocl/test_channels.cpp OCL_OFF(cv::split(src_roi, dst_roi)); cv 218 modules/core/test/ocl/test_channels.cpp OCL_ON(cv::split(usrc_roi, udst_roi)); cv 356 modules/core/test/ocl/test_channels.cpp OCL_OFF(cv::mixChannels(src_roi, dst_roi, fromTo)); cv 357 modules/core/test/ocl/test_channels.cpp OCL_ON(cv::mixChannels(usrc_roi, udst_roi, fromTo)); cv 406 modules/core/test/ocl/test_channels.cpp OCL_OFF(cv::insertChannel(src_roi, dst_roi, coi)); cv 407 modules/core/test/ocl/test_channels.cpp OCL_ON(cv::insertChannel(usrc_roi, udst_roi, coi)); cv 452 modules/core/test/ocl/test_channels.cpp OCL_OFF(cv::extractChannel(src_roi, dst_roi, coi)); cv 453 modules/core/test/ocl/test_channels.cpp OCL_ON(cv::extractChannel(usrc_roi, udst_roi, coi)); cv 65 modules/core/test/ocl/test_dft.cpp PARAM_TEST_CASE(Dft, cv::Size, OCL_FFT_TYPE, MatDepth, bool, bool, bool, bool) cv 67 modules/core/test/ocl/test_dft.cpp cv::Size dft_size; cv 84 modules/core/test/ocl/test_dft.cpp case R2R: dft_flags |= cv::DFT_REAL_OUTPUT; cn = 1; break; cv 85 modules/core/test/ocl/test_dft.cpp case C2R: dft_flags |= cv::DFT_REAL_OUTPUT; cn = 2; break; cv 86 modules/core/test/ocl/test_dft.cpp case R2C: dft_flags |= cv::DFT_COMPLEX_OUTPUT; cn = 1; break; cv 87 modules/core/test/ocl/test_dft.cpp case C2C: dft_flags |= cv::DFT_COMPLEX_OUTPUT; cn = 2; break; cv 91 modules/core/test/ocl/test_dft.cpp dft_flags |= cv::DFT_INVERSE; cv 93 modules/core/test/ocl/test_dft.cpp dft_flags |= cv::DFT_ROWS; cv 95 modules/core/test/ocl/test_dft.cpp dft_flags |= cv::DFT_SCALE; cv 112 modules/core/test/ocl/test_dft.cpp OCL_OFF(cv::dft(src, dst, dft_flags, nonzero_rows)); cv 113 modules/core/test/ocl/test_dft.cpp OCL_ON(cv::dft(usrc, udst, dft_flags, nonzero_rows)); cv 117 modules/core/test/ocl/test_dft.cpp if (dft_type == R2C && is1d && (dft_flags & cv::DFT_INVERSE) == 0) cv 119 modules/core/test/ocl/test_dft.cpp dst = dst(cv::Range(0, dst.rows), cv::Range(0, dst.cols/2 + 1)); cv 120 modules/core/test/ocl/test_dft.cpp udst = udst(cv::Range(0, udst.rows), cv::Range(0, udst.cols/2 + 1)); cv 169 modules/core/test/ocl/test_dft.cpp OCL_OFF(cv::mulSpectrums(src1_roi, src2_roi, dst_roi, 0, ccorr)); cv 170 modules/core/test/ocl/test_dft.cpp OCL_ON(cv::mulSpectrums(usrc1_roi, usrc2_roi, udst_roi, 0, ccorr)); cv 178 modules/core/test/ocl/test_dft.cpp OCL_INSTANTIATE_TEST_CASE_P(Core, Dft, Combine(Values(cv::Size(45, 72), cv::Size(36, 36), cv::Size(512, 1), cv::Size(1280, 768)), cv 136 modules/core/test/ocl/test_gemm.cpp OCL_OFF(cv::gemm(A_roi, B_roi, alpha, C_roi, beta, D_roi, flags)); cv 137 modules/core/test/ocl/test_gemm.cpp OCL_ON(cv::gemm(uA_roi, uB_roi, alpha, uC_roi, beta, uD_roi, flags)); cv 18 modules/core/test/ocl/test_image2d.cpp if (cv::ocl::haveOpenCL()) cv 21 modules/core/test/ocl/test_image2d.cpp EXPECT_FALSE(cv::ocl::Image2D::canCreateAlias(um)); cv 29 modules/core/test/ocl/test_image2d.cpp if (cv::ocl::haveOpenCL()) cv 32 modules/core/test/ocl/test_image2d.cpp EXPECT_ANY_THROW(cv::ocl::Image2D image(um)); cv 40 modules/core/test/ocl/test_image2d.cpp if (cv::ocl::haveOpenCL()) cv 42 modules/core/test/ocl/test_image2d.cpp const cv::ocl::Device & d = cv::ocl::Device::getDefault(); cv 51 modules/core/test/ocl/test_image2d.cpp EXPECT_NO_THROW(isFormatSupported = cv::ocl::Image2D::isFormatSupported(CV_8U, 1, false)); cv 52 modules/core/test/ocl/test_image2d.cpp EXPECT_NO_THROW(canCreateAlias = cv::ocl::Image2D::canCreateAlias(um)); cv 56 modules/core/test/ocl/test_image2d.cpp EXPECT_NO_THROW(cv::ocl::Image2D image(um, false, true)); cv 68 modules/core/test/ocl/test_image2d.cpp if (cv::ocl::haveOpenCL()) cv 71 modules/core/test/ocl/test_image2d.cpp bool useOCL = cv::ocl::useOpenCL(); cv 74 modules/core/test/ocl/test_image2d.cpp cv::ocl::setUseOpenCL(true); cv 77 modules/core/test/ocl/test_image2d.cpp cv::ocl::setUseOpenCL(false); cv 78 modules/core/test/ocl/test_image2d.cpp EXPECT_NO_THROW(isFormatSupported = cv::ocl::Image2D::isFormatSupported(CV_8U, 1, true)); cv 82 modules/core/test/ocl/test_image2d.cpp EXPECT_NO_THROW(cv::ocl::Image2D image(um)); cv 88 modules/core/test/ocl/test_image2d.cpp cv::ocl::setUseOpenCL(useOCL); cv 139 modules/core/test/ocl/test_matrix_operation.cpp cv::threshold(mask, mask, 0.5, 255., THRESH_BINARY); cv 3 modules/core/test/test_arithm.cpp using namespace cv; cv 206 modules/core/test/test_arithm.cpp cv::multiply(src[0], src[1], dst, alpha); cv 223 modules/core/test/test_arithm.cpp cv::divide(src[0], src[1], dst, alpha); cv 240 modules/core/test/test_arithm.cpp cv::divide(alpha, src[0], dst); cv 346 modules/core/test/test_arithm.cpp cv::min(src[0], src[1], dst); cv 363 modules/core/test/test_arithm.cpp cv::max(src[0], src[1], dst); cv 380 modules/core/test/test_arithm.cpp cv::min(src[0], gamma[0], dst); cv 397 modules/core/test/test_arithm.cpp cv::max(src[0], gamma[0], dst); cv 419 modules/core/test/test_arithm.cpp cv::compare(src[0], src[1], dst, cmpop); cv 449 modules/core/test/test_arithm.cpp cv::compare(src[0], gamma[0], dst, cmpop); cv 655 modules/core/test/test_arithm.cpp cv::inRange(src[0], gamma, gamma1, dst); cv 689 modules/core/test/test_arithm.cpp cv::inRange(src[0], lb, rb, dst); cv 746 modules/core/test/test_arithm.cpp cv::convertScaleAbs(src[0], dst, alpha, gamma[0]); cv 818 modules/core/test/test_arithm.cpp cv::flip(src[0], dst, flipcode); cv 844 modules/core/test/test_arithm.cpp cv::transpose(src[0], dst); cv 865 modules/core/test/test_arithm.cpp cv::setIdentity(dst, gamma); cv 967 modules/core/test/test_arithm.cpp cv::exp(src[0], dst); cv 996 modules/core/test/test_arithm.cpp cv::log(temp, dst); cv 1077 modules/core/test/test_arithm.cpp cv::cartToPolar(src[0], src[1], mag, angle, angleInDegrees); cv 1078 modules/core/test/test_arithm.cpp cv::polarToCart(mag, angle, x, y, angleInDegrees); cv 1083 modules/core/test/test_arithm.cpp cv::mixChannels(msrc, 4, &dst, 1, pairs, 4); cv 1092 modules/core/test/test_arithm.cpp cv::mixChannels(msrc, 4, &dst, 1, pairs, 4); cv 1115 modules/core/test/test_arithm.cpp dst.at<Scalar>(0,0) = cv::mean(src[0], mask); cv 1138 modules/core/test/test_arithm.cpp dst.at<Scalar>(0,0) = cv::sum(src[0]); cv 1167 modules/core/test/test_arithm.cpp dst.at<int>(0,0) = cv::countNonZero(temp); cv 1198 modules/core/test/test_arithm.cpp cv::meanStdDev(src[0], dst.at<Scalar>(0,0), dst.at<Scalar>(0,1), mask); cv 1256 modules/core/test/test_arithm.cpp dst.at<double>(0,0) = cv::norm(src[0], normType, mask); cv 1257 modules/core/test/test_arithm.cpp dst.at<double>(0,1) = cv::norm(src[0], src[1], normType, mask); cv 1305 modules/core/test/test_arithm.cpp cv::minMaxIdx(src[0], &minval, &maxval, &minidx[0], &maxidx[0], mask); cv 1525 modules/core/test/test_arithm.cpp cv::Mat src(1, 1, CV_8UC1, cv::Scalar::all(110)), dst; cv 1526 modules/core/test/test_arithm.cpp cv::Scalar s(147.286359696927, 1, 1 ,1); cv 1528 modules/core/test/test_arithm.cpp cv::multiply(src, s, dst, 1, CV_16U); cv 1535 modules/core/test/test_arithm.cpp cv::Mat m1 = (cv::Mat_<double>(3, 2) << 1, 2, 3, 4, 5, 6); cv 1538 modules/core/test/test_arithm.cpp cv::Mat m2 = (cv::Mat_<double>(3, 2) << 1, 12, 3, 14, 5, 16); cv 1545 modules/core/test/test_arithm.cpp cv::Mat m1 = (cv::Mat_<double>(4, 2) << 1, 2, 3, 4, 5, 6, 7, 8); cv 1548 modules/core/test/test_arithm.cpp cv::Mat m2 = (cv::Mat_<double>(4, 2) << 1, 12, 3, 14, 5, 16, 7, 18); cv 1572 modules/core/test/test_arithm.cpp cv::Mat src(size, CV_32FC1, cv::Scalar::all(2)), dst, cv 1573 modules/core/test/test_arithm.cpp ref_dst(size, CV_32FC1, cv::Scalar::all(6)); cv 1575 modules/core/test/test_arithm.cpp cv::multiply(3, src, dst); cv 1577 modules/core/test/test_arithm.cpp ASSERT_EQ(0, cvtest::norm(dst, ref_dst, cv::NORM_INF)); cv 1582 modules/core/test/test_arithm.cpp class SubtractOutputMatNotEmpty : public testing::TestWithParam< std::tr1::tuple<cv::Size, perf::MatType, perf::MatDepth, bool> > cv 1585 modules/core/test/test_arithm.cpp cv::Size size; cv 1601 modules/core/test/test_arithm.cpp cv::Mat src1(size, src_type, cv::Scalar::all(16)); cv 1602 modules/core/test/test_arithm.cpp cv::Mat src2(size, src_type, cv::Scalar::all(16)); cv 1604 modules/core/test/test_arithm.cpp cv::Mat dst; cv 1608 modules/core/test/test_arithm.cpp cv::subtract(src1, src2, dst, cv::noArray(), dst_depth); cv 1612 modules/core/test/test_arithm.cpp const cv::Mat fixed_dst(size, CV_MAKE_TYPE((dst_depth > 0 ? dst_depth : CV_16S), src1.channels())); cv 1613 modules/core/test/test_arithm.cpp cv::subtract(src1, src2, fixed_dst, cv::noArray(), dst_depth); cv 1621 modules/core/test/test_arithm.cpp ASSERT_EQ(0, cv::countNonZero(dst.reshape(1))); cv 1626 modules/core/test/test_arithm.cpp cv::Mat src1(size, src_type, cv::Scalar::all(16)); cv 1627 modules/core/test/test_arithm.cpp cv::Mat src2(size, src_type, cv::Scalar::all(16)); cv 1628 modules/core/test/test_arithm.cpp cv::Mat mask(size, CV_8UC1, cv::Scalar::all(255)); cv 1630 modules/core/test/test_arithm.cpp cv::Mat dst; cv 1634 modules/core/test/test_arithm.cpp cv::subtract(src1, src2, dst, mask, dst_depth); cv 1638 modules/core/test/test_arithm.cpp const cv::Mat fixed_dst(size, CV_MAKE_TYPE((dst_depth > 0 ? dst_depth : CV_16S), src1.channels())); cv 1639 modules/core/test/test_arithm.cpp cv::subtract(src1, src2, fixed_dst, mask, dst_depth); cv 1647 modules/core/test/test_arithm.cpp ASSERT_EQ(0, cv::countNonZero(dst.reshape(1))); cv 1652 modules/core/test/test_arithm.cpp cv::Mat src1(size, src_type, cv::Scalar::all(16)); cv 1653 modules/core/test/test_arithm.cpp cv::Mat src2(size, src_type, cv::Scalar::all(16)); cv 1655 modules/core/test/test_arithm.cpp cv::Mat dst = src1 - src2; cv 1660 modules/core/test/test_arithm.cpp ASSERT_EQ(0, cv::countNonZero(dst.reshape(1))); cv 1665 modules/core/test/test_arithm.cpp cv::Mat src(size, src_type, cv::Scalar::all(16)); cv 1667 modules/core/test/test_arithm.cpp cv::Mat dst; cv 1671 modules/core/test/test_arithm.cpp cv::subtract(src, cv::Scalar::all(16), dst, cv::noArray(), dst_depth); cv 1675 modules/core/test/test_arithm.cpp const cv::Mat fixed_dst(size, CV_MAKE_TYPE((dst_depth > 0 ? dst_depth : CV_16S), src.channels())); cv 1676 modules/core/test/test_arithm.cpp cv::subtract(src, cv::Scalar::all(16), fixed_dst, cv::noArray(), dst_depth); cv 1684 modules/core/test/test_arithm.cpp ASSERT_EQ(0, cv::countNonZero(dst.reshape(1))); cv 1689 modules/core/test/test_arithm.cpp cv::Mat src(size, src_type, cv::Scalar::all(16)); cv 1690 modules/core/test/test_arithm.cpp cv::Mat mask(size, CV_8UC1, cv::Scalar::all(255)); cv 1692 modules/core/test/test_arithm.cpp cv::Mat dst; cv 1696 modules/core/test/test_arithm.cpp cv::subtract(src, cv::Scalar::all(16), dst, mask, dst_depth); cv 1700 modules/core/test/test_arithm.cpp const cv::Mat fixed_dst(size, CV_MAKE_TYPE((dst_depth > 0 ? dst_depth : CV_16S), src.channels())); cv 1701 modules/core/test/test_arithm.cpp cv::subtract(src, cv::Scalar::all(16), fixed_dst, mask, dst_depth); cv 1709 modules/core/test/test_arithm.cpp ASSERT_EQ(0, cv::countNonZero(dst.reshape(1))); cv 1714 modules/core/test/test_arithm.cpp cv::Mat src(size, src_type, cv::Scalar::all(16)); cv 1716 modules/core/test/test_arithm.cpp cv::Mat dst; cv 1720 modules/core/test/test_arithm.cpp cv::subtract(cv::Scalar::all(16), src, dst, cv::noArray(), dst_depth); cv 1724 modules/core/test/test_arithm.cpp const cv::Mat fixed_dst(size, CV_MAKE_TYPE((dst_depth > 0 ? dst_depth : CV_16S), src.channels())); cv 1725 modules/core/test/test_arithm.cpp cv::subtract(cv::Scalar::all(16), src, fixed_dst, cv::noArray(), dst_depth); cv 1733 modules/core/test/test_arithm.cpp ASSERT_EQ(0, cv::countNonZero(dst.reshape(1))); cv 1738 modules/core/test/test_arithm.cpp cv::Mat src(size, src_type, cv::Scalar::all(16)); cv 1739 modules/core/test/test_arithm.cpp cv::Mat mask(size, CV_8UC1, cv::Scalar::all(255)); cv 1741 modules/core/test/test_arithm.cpp cv::Mat dst; cv 1745 modules/core/test/test_arithm.cpp cv::subtract(cv::Scalar::all(16), src, dst, mask, dst_depth); cv 1749 modules/core/test/test_arithm.cpp const cv::Mat fixed_dst(size, CV_MAKE_TYPE((dst_depth > 0 ? dst_depth : CV_16S), src.channels())); cv 1750 modules/core/test/test_arithm.cpp cv::subtract(cv::Scalar::all(16), src, fixed_dst, mask, dst_depth); cv 1758 modules/core/test/test_arithm.cpp ASSERT_EQ(0, cv::countNonZero(dst.reshape(1))); cv 1765 modules/core/test/test_arithm.cpp cv::Mat src1(3, dims, src_type, cv::Scalar::all(16)); cv 1766 modules/core/test/test_arithm.cpp cv::Mat src2(3, dims, src_type, cv::Scalar::all(16)); cv 1768 modules/core/test/test_arithm.cpp cv::Mat dst; cv 1772 modules/core/test/test_arithm.cpp cv::subtract(src1, src2, dst, cv::noArray(), dst_depth); cv 1776 modules/core/test/test_arithm.cpp const cv::Mat fixed_dst(3, dims, CV_MAKE_TYPE((dst_depth > 0 ? dst_depth : CV_16S), src1.channels())); cv 1777 modules/core/test/test_arithm.cpp cv::subtract(src1, src2, fixed_dst, cv::noArray(), dst_depth); cv 1786 modules/core/test/test_arithm.cpp ASSERT_EQ(0, cv::countNonZero(dst.reshape(1))); cv 1790 modules/core/test/test_arithm.cpp testing::Values(cv::Size(16, 16), cv::Size(13, 13), cv::Size(16, 13), cv::Size(13, 16)), cv 44 modules/core/test/test_concatenation.cpp using namespace cv; cv 101 modules/core/test/test_concatenation.cpp cv::hconcat((firstEmpty ? mat5x0 : mat5x10), cv 105 modules/core/test/test_concatenation.cpp cv::vconcat((firstEmpty ? mat0x5 : mat10x5), cv 44 modules/core/test/test_conjugate_gradient.cpp static void mytest(cv::Ptr<cv::ConjGradSolver> solver,cv::Ptr<cv::MinProblemSolver::Function> ptr_F,cv::Mat& x, cv 45 modules/core/test/test_conjugate_gradient.cpp cv::Mat& etalon_x,double etalon_res){ cv 61 modules/core/test/test_conjugate_gradient.cpp class SphereF_CG:public cv::MinProblemSolver::Function{ cv 74 modules/core/test/test_conjugate_gradient.cpp class RosenbrockF_CG:public cv::MinProblemSolver::Function{ cv 86 modules/core/test/test_conjugate_gradient.cpp cv::Ptr<cv::ConjGradSolver> solver=cv::ConjGradSolver::create(); cv 89 modules/core/test/test_conjugate_gradient.cpp cv::Ptr<cv::MinProblemSolver::Function> ptr_F(new SphereF_CG()); cv 90 modules/core/test/test_conjugate_gradient.cpp cv::Mat x=(cv::Mat_<double>(4,1)<<50.0,10.0,1.0,-10.0), cv 91 modules/core/test/test_conjugate_gradient.cpp etalon_x=(cv::Mat_<double>(1,4)<<0.0,0.0,0.0,0.0); cv 98 modules/core/test/test_conjugate_gradient.cpp cv::Ptr<cv::MinProblemSolver::Function> ptr_F(new RosenbrockF_CG()); cv 99 modules/core/test/test_conjugate_gradient.cpp cv::Mat x=(cv::Mat_<double>(2,1)<<0.0,0.0), cv 100 modules/core/test/test_conjugate_gradient.cpp etalon_x=(cv::Mat_<double>(2,1)<<1.0,1.0); cv 46 modules/core/test/test_countnonzero.cpp using namespace cv; cv 73 modules/core/test/test_countnonzero.cpp void generate_src_data(cv::Size size, int type); cv 74 modules/core/test/test_countnonzero.cpp void generate_src_data(cv::Size size, int type, int count_non_zero); cv 75 modules/core/test/test_countnonzero.cpp void generate_src_stat_data(cv::Size size, int type, int distribution); cv 85 modules/core/test/test_countnonzero.cpp void CV_CountNonZeroTest::generate_src_data(cv::Size size, int type) cv 93 modules/core/test/test_countnonzero.cpp case CV_8U: { src.at<uchar>(i, j) = cv::randu<uchar>(); break; } cv 94 modules/core/test/test_countnonzero.cpp case CV_8S: { src.at<char>(i, j) = cv::randu<uchar>() - 128; break; } cv 95 modules/core/test/test_countnonzero.cpp case CV_16U: { src.at<ushort>(i, j) = cv::randu<ushort>(); break; } cv 96 modules/core/test/test_countnonzero.cpp case CV_16S: { src.at<short>(i, j) = cv::randu<short>(); break; } cv 97 modules/core/test/test_countnonzero.cpp case CV_32S: { src.at<int>(i, j) = cv::randu<int>(); break; } cv 98 modules/core/test/test_countnonzero.cpp case CV_32F: { src.at<float>(i, j) = cv::randu<float>(); break; } cv 99 modules/core/test/test_countnonzero.cpp case CV_64F: { src.at<double>(i, j) = cv::randu<double>(); break; } cv 104 modules/core/test/test_countnonzero.cpp void CV_CountNonZeroTest::generate_src_data(cv::Size size, int type, int count_non_zero) cv 116 modules/core/test/test_countnonzero.cpp case CV_8U: { if (!src.at<uchar>(i, j)) {src.at<uchar>(i, j) = cv::randu<uchar>(); n += (src.at<uchar>(i, j) > 0);} break; } cv 117 modules/core/test/test_countnonzero.cpp case CV_8S: { if (!src.at<char>(i, j)) {src.at<char>(i, j) = cv::randu<uchar>() - 128; n += abs(sign(src.at<char>(i, j)));} break; } cv 118 modules/core/test/test_countnonzero.cpp case CV_16U: { if (!src.at<ushort>(i, j)) {src.at<ushort>(i, j) = cv::randu<ushort>(); n += (src.at<ushort>(i, j) > 0);} break; } cv 119 modules/core/test/test_countnonzero.cpp case CV_16S: { if (!src.at<short>(i, j)) {src.at<short>(i, j) = cv::randu<short>(); n += abs(sign(src.at<short>(i, j)));} break; } cv 120 modules/core/test/test_countnonzero.cpp case CV_32S: { if (!src.at<int>(i, j)) {src.at<int>(i, j) = cv::randu<int>(); n += abs(sign(src.at<int>(i, j)));} break; } cv 121 modules/core/test/test_countnonzero.cpp case CV_32F: { if (fabs(src.at<float>(i, j)) <= eps_32) {src.at<float>(i, j) = cv::randu<float>(); n += (fabs(src.at<float>(i, j)) > eps_32);} break; } cv 122 modules/core/test/test_countnonzero.cpp case CV_64F: { if (fabs(src.at<double>(i, j)) <= eps_64) {src.at<double>(i, j) = cv::randu<double>(); n += (fabs(src.at<double>(i, j)) > eps_64);} break; } cv 130 modules/core/test/test_countnonzero.cpp void CV_CountNonZeroTest::generate_src_stat_data(cv::Size size, int type, int distribution) cv 232 modules/core/test/test_countnonzero.cpp int distribution = cv::randu<uchar>()%2; cv 46 modules/core/test/test_downhill_simplex.cpp static void mytest(cv::Ptr<cv::DownhillSolver> solver,cv::Ptr<cv::MinProblemSolver::Function> ptr_F,cv::Mat& x,cv::Mat& step, cv 47 modules/core/test/test_downhill_simplex.cpp cv::Mat& etalon_x,double etalon_res){ cv 51 modules/core/test/test_downhill_simplex.cpp cv::Mat settedStep; cv 69 modules/core/test/test_downhill_simplex.cpp class SphereF:public cv::MinProblemSolver::Function{ cv 76 modules/core/test/test_downhill_simplex.cpp class RosenbrockF:public cv::MinProblemSolver::Function{ cv 84 modules/core/test/test_downhill_simplex.cpp cv::Ptr<cv::DownhillSolver> solver=cv::DownhillSolver::create(); cv 87 modules/core/test/test_downhill_simplex.cpp cv::Ptr<cv::MinProblemSolver::Function> ptr_F = cv::makePtr<SphereF>(); cv 88 modules/core/test/test_downhill_simplex.cpp cv::Mat x=(cv::Mat_<double>(1,2)<<1.0,1.0), cv 89 modules/core/test/test_downhill_simplex.cpp step=(cv::Mat_<double>(2,1)<<-0.5,-0.5), cv 90 modules/core/test/test_downhill_simplex.cpp etalon_x=(cv::Mat_<double>(1,2)<<-0.0,0.0); cv 97 modules/core/test/test_downhill_simplex.cpp cv::Ptr<cv::MinProblemSolver::Function> ptr_F = cv::makePtr<RosenbrockF>(); cv 98 modules/core/test/test_downhill_simplex.cpp cv::Mat x=(cv::Mat_<double>(2,1)<<0.0,0.0), cv 99 modules/core/test/test_downhill_simplex.cpp step=(cv::Mat_<double>(2,1)<<0.5,+0.5), cv 100 modules/core/test/test_downhill_simplex.cpp etalon_x=(cv::Mat_<double>(2,1)<<1.0,1.0); cv 3 modules/core/test/test_ds.cpp using namespace cv; cv 430 modules/core/test/test_ds.cpp cpu_freq = cv::getTickFrequency(); cv 431 modules/core/test/test_ds.cpp start_time = cv::getTickCount(); cv 434 modules/core/test/test_ds.cpp t = cv::getTickCount(); cv 3 modules/core/test/test_dxt.cpp using namespace cv; cv 152 modules/core/test/test_dxt.cpp cv::transpose( wave, wave ); cv 690 modules/core/test/test_dxt.cpp cv::dft( src, dst, flags ); cv 692 modules/core/test/test_dxt.cpp cv::idft(src, dst, flags & ~CV_DXT_INVERSE); cv 755 modules/core/test/test_dxt.cpp cv::dct( src, dst, flags ); cv 757 modules/core/test/test_dxt.cpp cv::idct( src, dst, flags & ~CV_DXT_INVERSE); cv 803 modules/core/test/test_dxt.cpp cv::mulSpectrums( *src1, *src2, dst, flags, (flags & CV_DXT_MUL_CONJ) != 0 ); cv 46 modules/core/test/test_eigen.cpp using namespace cv; cv 65 modules/core/test/test_eigen.cpp const int NORM_TYPE[COUNT_NORM_TYPES] = {cv::NORM_L1, cv::NORM_L2, cv::NORM_INF}; cv 78 modules/core/test/test_eigen.cpp bool test_values(const cv::Mat& src); // complex test for eigen without vectors cv 88 modules/core/test/test_eigen.cpp bool check_pair_count(const cv::Mat& src, const cv::Mat& evalues, int low_index = -1, int high_index = -1); cv 89 modules/core/test/test_eigen.cpp bool check_pair_count(const cv::Mat& src, const cv::Mat& evalues, const cv::Mat& evectors, int low_index = -1, int high_index = -1); cv 90 modules/core/test/test_eigen.cpp bool check_pairs_order(const cv::Mat& eigen_values); // checking order of eigen values & vectors (it should be none up) cv 91 modules/core/test/test_eigen.cpp bool check_orthogonality(const cv::Mat& U); // checking is matrix of eigen vectors orthogonal cv 92 modules/core/test/test_eigen.cpp bool test_pairs(const cv::Mat& src); // complex test for eigen with vectors cv 94 modules/core/test/test_eigen.cpp void print_information(const size_t norm_idx, const cv::Mat& src, double diff, double max_diff); cv 147 modules/core/test/test_eigen.cpp float value = cv::randu<float>(); cv 148 modules/core/test/test_eigen.cpp cv::Mat src(1, 1, CV_32FC1, Scalar::all((float)value)); cv 157 modules/core/test/test_eigen.cpp float value = cv::randu<float>(); cv 158 modules/core/test/test_eigen.cpp cv::Mat src(1, 1, CV_64FC1, Scalar::all((double)value)); cv 171 modules/core/test/test_eigen.cpp bool Core_EigenTest::check_pair_count(const cv::Mat& src, const cv::Mat& evalues, int low_index, int high_index) cv 185 modules/core/test/test_eigen.cpp bool Core_EigenTest::check_pair_count(const cv::Mat& src, const cv::Mat& evalues, const cv::Mat& evectors, int low_index, int high_index) cv 211 modules/core/test/test_eigen.cpp void Core_EigenTest::print_information(const size_t norm_idx, const cv::Mat& src, double diff, double max_diff) cv 215 modules/core/test/test_eigen.cpp case cv::NORM_L1: std::cout << "L1"; break; cv 216 modules/core/test/test_eigen.cpp case cv::NORM_L2: std::cout << "L2"; break; cv 217 modules/core/test/test_eigen.cpp case cv::NORM_INF: std::cout << "INF"; break; cv 227 modules/core/test/test_eigen.cpp bool Core_EigenTest::check_orthogonality(const cv::Mat& U) cv 231 modules/core/test/test_eigen.cpp cv::Mat UUt; cv::mulTransposed(U, UUt, false); cv 233 modules/core/test/test_eigen.cpp cv::Mat E = Mat::eye(U.rows, U.cols, type); cv 250 modules/core/test/test_eigen.cpp bool Core_EigenTest::check_pairs_order(const cv::Mat& eigen_values) cv 290 modules/core/test/test_eigen.cpp bool Core_EigenTest::test_pairs(const cv::Mat& src) cv 295 modules/core/test/test_eigen.cpp cv::Mat eigen_values, eigen_vectors; cv 297 modules/core/test/test_eigen.cpp cv::eigen(src, eigen_values, eigen_vectors); cv 308 modules/core/test/test_eigen.cpp cv::Mat eigen_vectors_t; cv::transpose(eigen_vectors, eigen_vectors_t); cv 310 modules/core/test/test_eigen.cpp cv::Mat src_evec(src.rows, src.cols, type); cv 313 modules/core/test/test_eigen.cpp cv::Mat eval_evec(src.rows, src.cols, type); cv 321 modules/core/test/test_eigen.cpp cv::Mat tmp = eigen_values.at<float>(i, 0) * eigen_vectors_t.col(i); cv 332 modules/core/test/test_eigen.cpp cv::Mat tmp = eigen_values.at<double>(i, 0) * eigen_vectors_t.col(i); cv 342 modules/core/test/test_eigen.cpp cv::Mat disparity = src_evec - eval_evec; cv 359 modules/core/test/test_eigen.cpp bool Core_EigenTest::test_values(const cv::Mat& src) cv 364 modules/core/test/test_eigen.cpp cv::Mat eigen_values_1, eigen_values_2, eigen_vectors; cv 368 modules/core/test/test_eigen.cpp cv::eigen(src, eigen_values_1, eigen_vectors); cv 369 modules/core/test/test_eigen.cpp cv::eigen(src, eigen_values_2); cv 398 modules/core/test/test_eigen.cpp cv::Mat src(src_size, src_size, type); cv 402 modules/core/test/test_eigen.cpp if (type == CV_32FC1) src.at<float>(k, j) = src.at<float>(j, k) = cv::randu<float>(); cv 403 modules/core/test/test_eigen.cpp else src.at<double>(k, j) = src.at<double>(j, k) = cv::randu<double>(); cv 45 modules/core/test/test_hal_core.cpp using namespace cv; cv 3 modules/core/test/test_io.cpp using namespace cv; cv 222 modules/core/test/test_io.cpp cvtest::cmpEps( cv::cvarrToMat(&stub1), cv::cvarrToMat(&_test_stub1), &max_diff, 0, &pt, true) < 0 ) cv 252 modules/core/test/test_io.cpp cvtest::cmpEps( cv::cvarrToMat(&stub1), cv::cvarrToMat(&_test_stub1), &max_diff, 0, &pt, true) < 0 ) cv 270 modules/core/test/test_io.cpp cvtest::cmpEps( cv::cvarrToMat(&stub1), cv::cvarrToMat(&_test_stub1), &max_diff, 0, &pt, true) < 0 ) cv 435 modules/core/test/test_io.cpp string fname = cv::tempfile(".xml"); cv 549 modules/core/test/test_io.cpp cv::glob(patternLena, lenas, true); cv 550 modules/core/test/test_io.cpp cv::glob(patternLenaPng, pngLenas, true); cv 562 modules/core/test/test_io.cpp std::string file = cv::tempfile(".xml"); cv 563 modules/core/test/test_io.cpp cv::FileStorage f(file, cv::FileStorage::WRITE); cv 7 modules/core/test/test_ippasync.cpp using namespace cv; cv 45 modules/core/test/test_lpsolver.cpp cv::Mat A,B,z,etalon_z; cv 49 modules/core/test/test_lpsolver.cpp A=(cv::Mat_<double>(3,1)<<3,1,2); cv 50 modules/core/test/test_lpsolver.cpp B=(cv::Mat_<double>(3,4)<<1,1,3,30,2,2,5,24,4,1,2,36); cv 52 modules/core/test/test_lpsolver.cpp cv::solveLP(A,B,z); cv 54 modules/core/test/test_lpsolver.cpp etalon_z=(cv::Mat_<double>(3,1)<<8,4,0); cv 55 modules/core/test/test_lpsolver.cpp ASSERT_LT(cvtest::norm(z, etalon_z, cv::NORM_L1), 1e-12); cv 60 modules/core/test/test_lpsolver.cpp A=(cv::Mat_<double>(1,2)<<18,12.5); cv 61 modules/core/test/test_lpsolver.cpp B=(cv::Mat_<double>(3,3)<<1,1,20,1,0,20,0,1,16); cv 63 modules/core/test/test_lpsolver.cpp cv::solveLP(A,B,z); cv 65 modules/core/test/test_lpsolver.cpp etalon_z=(cv::Mat_<double>(2,1)<<20,0); cv 66 modules/core/test/test_lpsolver.cpp ASSERT_LT(cvtest::norm(z, etalon_z, cv::NORM_L1), 1e-12); cv 71 modules/core/test/test_lpsolver.cpp A=(cv::Mat_<double>(1,2)<<5,-3); cv 72 modules/core/test/test_lpsolver.cpp B=(cv::Mat_<double>(2,3)<<1,-1,1,2,1,2); cv 74 modules/core/test/test_lpsolver.cpp cv::solveLP(A,B,z); cv 76 modules/core/test/test_lpsolver.cpp etalon_z=(cv::Mat_<double>(2,1)<<1,0); cv 77 modules/core/test/test_lpsolver.cpp ASSERT_LT(cvtest::norm(z, etalon_z, cv::NORM_L1), 1e-12); cv 82 modules/core/test/test_lpsolver.cpp cv::Mat A,B,z,etalon_z; cv 86 modules/core/test/test_lpsolver.cpp A=(cv::Mat_<double>(1,3)<<-1,-1,-1); cv 87 modules/core/test/test_lpsolver.cpp B=(cv::Mat_<double>(2,4)<<-2,-7.5,-3,-10000,-20,-5,-10,-30000); cv 89 modules/core/test/test_lpsolver.cpp cv::solveLP(A,B,z); cv 91 modules/core/test/test_lpsolver.cpp etalon_z=(cv::Mat_<double>(3,1)<<1250,1000,0); cv 92 modules/core/test/test_lpsolver.cpp ASSERT_LT(cvtest::norm(z, etalon_z, cv::NORM_L1), 1e-12); cv 97 modules/core/test/test_lpsolver.cpp cv::Mat A,B,z,etalon_z; cv 101 modules/core/test/test_lpsolver.cpp A=(cv::Mat_<double>(1,1)<<1); cv 102 modules/core/test/test_lpsolver.cpp B=(cv::Mat_<double>(2,2)<<1,-1); cv 104 modules/core/test/test_lpsolver.cpp int res=cv::solveLP(A,B,z); cv 110 modules/core/test/test_lpsolver.cpp cv::Mat A,B,z,etalon_z; cv 114 modules/core/test/test_lpsolver.cpp A=(cv::Mat_<double>(2,1)<<1,1); cv 115 modules/core/test/test_lpsolver.cpp B=(cv::Mat_<double>(1,3)<<1,1,1); cv 117 modules/core/test/test_lpsolver.cpp int res=cv::solveLP(A,B,z); cv 127 modules/core/test/test_lpsolver.cpp cv::Mat A,B,z,etalon_z; cv 131 modules/core/test/test_lpsolver.cpp A=(cv::Mat_<double>(4,1)<<10,-57,-9,-24); cv 132 modules/core/test/test_lpsolver.cpp B=(cv::Mat_<double>(3,5)<<0.5,-5.5,-2.5,9,0,0.5,-1.5,-0.5,1,0,1,0,0,0,1); cv 134 modules/core/test/test_lpsolver.cpp int res=cv::solveLP(A,B,z); cv 5 modules/core/test/test_mat.cpp using namespace cv; cv 415 modules/core/test/test_mat.cpp err = cvtest::norm(cv::abs(ocvPrjTestPoints), cv::abs(rPrjTestPoints.t()), CV_RELATIVE_L2 ); cv 436 modules/core/test/test_mat.cpp err = cvtest::norm(cv::abs(rvPrjTestPoints.rowRange(0,maxComponents)), cv::abs(rPrjTestPoints.t()), CV_RELATIVE_L2 ); cv 438 modules/core/test/test_mat.cpp err = cvtest::norm(cv::abs(rvPrjTestPoints), cv::abs(rPrjTestPoints.colRange(0,cPCA.eigenvectors.rows).t()), CV_RELATIVE_L2 ); cv 498 modules/core/test/test_mat.cpp err = cvtest::norm(cv::abs(prjTestPoints), cv::abs(rPrjTestPoints.t()), CV_RELATIVE_L2 ); cv 702 modules/core/test/test_mat.cpp typedef cv::Point3i Pixel; cv 704 modules/core/test/test_mat.cpp cv::Mat a = cv::Mat::zeros(3, dims, CV_32SC3); cv 1162 modules/core/test/test_mat.cpp EXPECT_THROW( B.colRange(0,3).copyTo(A.row(0)), cv::Exception ); cv 1177 modules/core/test/test_mat.cpp EXPECT_THROW( OutputArray_create1(A.row(0)), cv::Exception ); cv 1178 modules/core/test/test_mat.cpp EXPECT_THROW( OutputArray_create2(A.row(0)), cv::Exception ); cv 1183 modules/core/test/test_mat.cpp cv::Mat A = (cv::Mat_<float>(2,3) << 3.4884074, 1.4159607, 0.78737736, 2.3456569, -0.88010466, 0.3009364); cv 1186 modules/core/test/test_mat.cpp cv::Mat_<float> M = A.reshape(3); cv 1194 modules/core/test/test_mat.cpp cv::Mat_<uchar> src(5, 1); cv 1195 modules/core/test/test_mat.cpp cv::Mat_<uchar> ref_dst8; cv 1196 modules/core/test/test_mat.cpp cv::Mat_<ushort> ref_dst16; cv 1205 modules/core/test/test_mat.cpp ASSERT_PRED_FORMAT2(cvtest::MatComparator(0, 0), ref_dst8, cv::Mat_<uchar>(dst8)); cv 1210 modules/core/test/test_mat.cpp ASSERT_PRED_FORMAT2(cvtest::MatComparator(0, 0), ref_dst16, cv::Mat_<ushort>(dst16)); cv 9 modules/core/test/test_math.cpp using namespace cv; cv 167 modules/core/test/test_math.cpp b.at<float>(i,j) = (float)fabs(cv::cubeRoot(a.at<float>(i,j))); cv 178 modules/core/test/test_math.cpp cv::sqrt(a, b); cv 180 modules/core/test/test_math.cpp cv::pow(a, power, b); cv 790 modules/core/test/test_math.cpp cv::repeat( delta, src.rows/delta.rows, src.cols/delta.cols, temp); cv 1300 modules/core/test/test_math.cpp cv::repeat( avg, temp0.rows/avg.rows, temp0.cols/avg.cols, temp0 ); cv 1639 modules/core/test/test_math.cpp cv::setIdentity( dst0, Scalar::all(1) ); cv 1946 modules/core/test/test_math.cpp cv::setIdentity( test_mat[REF_OUTPUT][1], Scalar::all(1.) ); cv 1954 modules/core/test/test_math.cpp cv::setIdentity( test_mat[REF_OUTPUT][2], Scalar::all(1.) ); cv 2156 modules/core/test/test_math.cpp double threshold = cv::sum(w)[0]*(DBL_EPSILON*2);//(is_float ? FLT_EPSILON*10 : DBL_EPSILON*2); cv 2292 modules/core/test/test_math.cpp cv::Mat _umat2(3, 1, CV_64F, &ar2[0]), umat2 = _umat2; cv 2296 modules/core/test/test_math.cpp nr2 = cv::solveCubic(cv::cvarrToMat(&amat),umat2); cv 2298 modules/core/test/test_math.cpp nr2 = cv::solveCubic(cv::Mat_<float>(cv::cvarrToMat(&amat)), umat2); cv 2456 modules/core/test/test_math.cpp cv::Mat m; cv 2457 modules/core/test/test_math.cpp ASSERT_TRUE( cv::checkRange(m) ); cv 2473 modules/core/test/test_math.cpp cv::Mat m(3, 3, CV_32SC1, cv::Scalar(INT_MAX)); cv 2474 modules/core/test/test_math.cpp ASSERT_FALSE( cv::checkRange(m, true, 0, 0, INT_MAX) ); cv 2475 modules/core/test/test_math.cpp ASSERT_TRUE( cv::checkRange(m) ); cv 2490 modules/core/test/test_math.cpp cv::Mat src = cv::Mat(3,3, cv::DataDepth<TypeParam>::value, data); cv 2492 modules/core/test/test_math.cpp cv::Point bad_pt(0, 0); cv 2505 modules/core/test/test_math.cpp cv::Mat src = cv::Mat(3,3, cv::DataDepth<TypeParam>::value, data); cv 2507 modules/core/test/test_math.cpp cv::Point bad_pt(0, 0); cv 2520 modules/core/test/test_math.cpp cv::Mat src = cv::Mat(3,3, cv::DataDepth<TypeParam>::value, data); cv 2522 modules/core/test/test_math.cpp cv::Point bad_pt(0, 0); cv 2534 modules/core/test/test_math.cpp cv::Mat src1 = cv::Mat::zeros(3, 3, cv::DataDepth<TypeParam>::value); cv 2537 modules/core/test/test_math.cpp cv::Mat src2 = cv::Mat::zeros(3, sizes, cv::DataDepth<TypeParam>::value); cv 2548 modules/core/test/test_math.cpp cv::Mat src1 = cv::Mat::ones(3, 3, cv::DataDepth<TypeParam>::value); cv 2551 modules/core/test/test_math.cpp cv::Mat src2 = cv::Mat::ones(3, sizes, cv::DataDepth<TypeParam>::value); cv 2564 modules/core/test/test_math.cpp cv::Mat a = (cv::Mat_<float>(3,3) << 2.42104644730331, 1.81444796521479, -3.98072565304758, 0, 7.08389214348967e-3, 5.55326770986007e-3, 0,0, 7.44556154284261e-3); cv 2567 modules/core/test/test_math.cpp cv::Mat b = a.t()*a; cv 2568 modules/core/test/test_math.cpp cv::Mat c, i = Mat_<float>::eye(3, 3); cv 2569 modules/core/test/test_math.cpp cv::invert(b, c, cv::DECOMP_LU); //std::cout << b*c << std::endl; cv 2571 modules/core/test/test_math.cpp cv::invert(b, c, cv::DECOMP_SVD); //std::cout << b*c << std::endl; cv 2573 modules/core/test/test_math.cpp cv::invert(b, c, cv::DECOMP_CHOLESKY); //std::cout << b*c << std::endl; cv 2665 modules/core/test/test_math.cpp std::vector<cv::Point2f> data0(N0); cv 2668 modules/core/test/test_math.cpp std::vector<cv::Point2f> data(N); cv 2760 modules/core/test/test_math.cpp cv::Mat src(vector_size, col_problem_size * row_problem_size, CV_32F); cv 2763 modules/core/test/test_math.cpp cv::Mat gold; cv 2764 modules/core/test/test_math.cpp cv::Mat goldMean; cv 2765 modules/core/test/test_math.cpp cv::randu(src,cv::Scalar(-128), cv::Scalar(128)); cv 2766 modules/core/test/test_math.cpp cv::calcCovarMatrix(src,gold,goldMean,singleMatFlags,CV_32F); cv 2767 modules/core/test/test_math.cpp std::vector<cv::Mat> srcVec; cv 2773 modules/core/test/test_math.cpp cv::Mat actual; cv 2774 modules/core/test/test_math.cpp cv::Mat actualMean; cv 2775 modules/core/test/test_math.cpp cv::calcCovarMatrix(srcVec, actual, actualMean,singleMatFlags,CV_32F); cv 2777 modules/core/test/test_math.cpp cv::Mat diff; cv 2778 modules/core/test/test_math.cpp cv::absdiff(gold, actual, diff); cv 2779 modules/core/test/test_math.cpp cv::Scalar s = cv::sum(diff); cv 2782 modules/core/test/test_math.cpp cv::Mat meanDiff; cv 2783 modules/core/test/test_math.cpp cv::absdiff(goldMean, actualMean.reshape(0,1), meanDiff); cv 2784 modules/core/test/test_math.cpp cv::Scalar sDiff = cv::sum(meanDiff); cv 2791 modules/core/test/test_math.cpp cv::Mat src(vector_size, col_problem_size * row_problem_size, CV_32F); cv 2794 modules/core/test/test_math.cpp cv::Mat gold; cv 2795 modules/core/test/test_math.cpp cv::randu(src,cv::Scalar(-128), cv::Scalar(128)); cv 2796 modules/core/test/test_math.cpp cv::Mat goldMean; cv 2798 modules/core/test/test_math.cpp cv::reduce(src,goldMean,0 ,CV_REDUCE_AVG, CV_32F); cv 2800 modules/core/test/test_math.cpp cv::calcCovarMatrix(src,gold,goldMean,singleMatFlags,CV_32F); cv 2802 modules/core/test/test_math.cpp std::vector<cv::Mat> srcVec; cv 2808 modules/core/test/test_math.cpp cv::Mat actual; cv 2809 modules/core/test/test_math.cpp cv::Mat actualMean = goldMean.reshape(0, row_problem_size); cv 2810 modules/core/test/test_math.cpp cv::calcCovarMatrix(srcVec, actual, actualMean,singleMatFlags,CV_32F); cv 2812 modules/core/test/test_math.cpp cv::Mat diff; cv 2813 modules/core/test/test_math.cpp cv::absdiff(gold, actual, diff); cv 2814 modules/core/test/test_math.cpp cv::Scalar s = cv::sum(diff); cv 2817 modules/core/test/test_math.cpp cv::Mat meanDiff; cv 2818 modules/core/test/test_math.cpp cv::absdiff(goldMean, actualMean.reshape(0,1), meanDiff); cv 2819 modules/core/test/test_math.cpp cv::Scalar sDiff = cv::sum(meanDiff); cv 2840 modules/core/test/test_math.cpp cv::pow(mtx, power, result); cv 3 modules/core/test/test_misc.cpp using namespace cv; cv 25 modules/core/test/test_misc.cpp unsigned int val = cv::saturate_cast<unsigned int>(d); cv 52 modules/core/test/test_operations.cpp using namespace cv; cv 114 modules/core/test/test_operations.cpp cv::Mat_<_Tp> m(sz); cv 804 modules/core/test/test_operations.cpp cv::Vec3f val1 = 1.f; cv 805 modules/core/test/test_operations.cpp TestType<cv::Vec3f>(size, val1); cv 806 modules/core/test/test_operations.cpp cv::Matx31f val2 = 1.f; cv 807 modules/core/test/test_operations.cpp TestType<cv::Matx31f>(size, val2); cv 808 modules/core/test/test_operations.cpp cv::Matx41f val3 = 1.f; cv 809 modules/core/test/test_operations.cpp TestType<cv::Matx41f>(size, val3); cv 810 modules/core/test/test_operations.cpp cv::Matx32f val4 = 1.f; cv 811 modules/core/test/test_operations.cpp TestType<cv::Matx32f>(size, val4); cv 825 modules/core/test/test_operations.cpp cv::MatND nd(3, sizes, CV_32F); cv 922 modules/core/test/test_operations.cpp cv::Mat hsvImage_f(5, 5, CV_32FC3), hsvImage_b(5, 5, CV_8UC3); cv 924 modules/core/test/test_operations.cpp cv::Vec3f a; cv 927 modules/core/test/test_operations.cpp cv::Vec3b b = a; cv 928 modules/core/test/test_operations.cpp hsvImage_f.at<cv::Vec3f>(i,j) = cv::Vec3f((float)i,0,1); cv 929 modules/core/test/test_operations.cpp hsvImage_b.at<cv::Vec3b>(i,j) = cv::Vec3b(cv::Vec3f((float)i,0,1)); cv 932 modules/core/test/test_operations.cpp b = cv::Vec3f(1,0,0); cv 933 modules/core/test/test_operations.cpp cv::Vec3b c; cv 934 modules/core/test/test_operations.cpp c = cv::Vec3f(0,0,1); cv 935 modules/core/test/test_operations.cpp hsvImage_b.at<cv::Vec3b>(i,j) = cv::Vec3f((float)i,0,1); cv 936 modules/core/test/test_operations.cpp hsvImage_b.at<cv::Vec3b>(i,j) = a; cv 937 modules/core/test/test_operations.cpp hsvImage_b.at<cv::Vec3b>(i,j) = cv::Vec3f(1,2,3); cv 44 modules/core/test/test_ptr.cpp using namespace cv; cv 3 modules/core/test/test_rand.cpp using namespace cv; cv 163 modules/core/test/test_rand.cpp cv::RNG saved_rng = tested_rng; cv 345 modules/core/test/test_rand.cpp cv::RNG_MT19937 rng; cv 44 modules/core/test/test_rotatedrect.cpp using namespace cv; cv 47 modules/core/test/test_umat.cpp using namespace cv; cv 52 modules/core/test/test_umat.cpp #define UMAT_TEST_SIZES testing::Values(cv::Size(1, 1), cv::Size(1,128), cv::Size(128, 1), \ cv 53 modules/core/test/test_umat.cpp cv::Size(128, 128), cv::Size(640, 480), cv::Size(751, 373), cv::Size(1200, 1200)) cv 263 modules/core/test/test_umat.cpp testing::Values(cv::Size(1, 1), cv::Size(1, 128), cv::Size(128, 1), cv::Size(128, 128), cv::Size(640, 480)), Bool())); cv 519 modules/core/test/test_umat.cpp ua = cv::UMat::diag(ub); cv 535 modules/core/test/test_umat.cpp BufferPoolController* c = cv::ocl::getOpenCLAllocator()->getBufferPoolController(); cv 637 modules/core/test/test_umat.cpp cv::max(ra, rb, rc); cv 638 modules/core/test/test_umat.cpp cv::max(ura, urb, urc); cv 649 modules/core/test/test_umat.cpp cv::max(ura, urb, tmp); cv 654 modules/core/test/test_umat.cpp cv::max(urc, urb, urc); cv 659 modules/core/test/test_umat.cpp cv::bitwise_xor(ura, urb, urc); cv 669 modules/core/test/test_umat.cpp cv::add(ura, urb, urc); cv 674 modules/core/test/test_umat.cpp cv::subtract(ra, Scalar::all(5), rc); cv 675 modules/core/test/test_umat.cpp cv::subtract(ura, Scalar::all(5), urc); cv 692 modules/core/test/test_umat.cpp cv::ocl::useOpenCL() ? "TRUE" : "FALSE", cv 693 modules/core/test/test_umat.cpp cv::ocl::haveOpenCL() ? "TRUE" : "FALSE" ); cv 746 modules/core/test/test_umat.cpp m.setTo(cv::Scalar::all(17)); cv 749 modules/core/test/test_umat.cpp um.setTo(cv::Scalar::all(19)); cv 751 modules/core/test/test_umat.cpp EXPECT_EQ(0, cvtest::norm(um.getMat(ACCESS_READ), cv::Mat(um.size(), um.type(), 19), NORM_INF)); cv 775 modules/core/test/test_umat.cpp bool useOCL = cv::ocl::useOpenCL(); cv 779 modules/core/test/test_umat.cpp cv::ocl::setUseOpenCL(true); cv 783 modules/core/test/test_umat.cpp cv::ocl::setUseOpenCL(false); cv 787 modules/core/test/test_umat.cpp cv::ocl::setUseOpenCL(true); cv 798 modules/core/test/test_umat.cpp cv::ocl::setUseOpenCL(false); cv 810 modules/core/test/test_umat.cpp cv::ocl::setUseOpenCL(useOCL); cv 825 modules/core/test/test_umat.cpp class TestParallelLoopBody : public cv::ParallelLoopBody cv 830 modules/core/test/test_umat.cpp void operator() (const cv::Range& range) const cv 836 modules/core/test/test_umat.cpp Mat m = u_.getMat(cv::ACCESS_READ); cv 847 modules/core/test/test_umat.cpp parallel_for_(cv::Range(0, 2), TestParallelLoopBody(u)); cv 849 modules/core/test/test_umat.cpp catch (const cv::Exception& e) cv 875 modules/core/test/test_umat.cpp catch (const cv::Exception& e) cv 917 modules/core/test/test_umat.cpp catch (const cv::Exception& e) cv 54 modules/cudaarithm/perf/perf_arithm.cpp CV_FLAGS(GemmFlags, 0, cv::GEMM_1_T, cv::GEMM_2_T, cv::GEMM_3_T) cv 55 modules/cudaarithm/perf/perf_arithm.cpp #define ALL_GEMM_FLAGS Values(GemmFlags(0), GemmFlags(cv::GEMM_1_T), GemmFlags(cv::GEMM_2_T), GemmFlags(cv::GEMM_3_T), \ cv 56 modules/cudaarithm/perf/perf_arithm.cpp GemmFlags(cv::GEMM_1_T | cv::GEMM_2_T), GemmFlags(cv::GEMM_1_T | cv::GEMM_3_T), GemmFlags(cv::GEMM_1_T | cv::GEMM_2_T | cv::GEMM_3_T)) cv 58 modules/cudaarithm/perf/perf_arithm.cpp DEF_PARAM_TEST(Sz_Type_Flags, cv::Size, MatType, GemmFlags); cv 61 modules/cudaarithm/perf/perf_arithm.cpp Combine(Values(cv::Size(512, 512), cv::Size(1024, 1024)), cv 65 modules/cudaarithm/perf/perf_arithm.cpp const cv::Size size = GET_PARAM(0); cv 69 modules/cudaarithm/perf/perf_arithm.cpp cv::Mat src1(size, type); cv 72 modules/cudaarithm/perf/perf_arithm.cpp cv::Mat src2(size, type); cv 75 modules/cudaarithm/perf/perf_arithm.cpp cv::Mat src3(size, type); cv 82 modules/cudaarithm/perf/perf_arithm.cpp const cv::cuda::GpuMat d_src1(src1); cv 83 modules/cudaarithm/perf/perf_arithm.cpp const cv::cuda::GpuMat d_src2(src2); cv 84 modules/cudaarithm/perf/perf_arithm.cpp const cv::cuda::GpuMat d_src3(src3); cv 85 modules/cudaarithm/perf/perf_arithm.cpp cv::cuda::GpuMat dst; cv 87 modules/cudaarithm/perf/perf_arithm.cpp TEST_CYCLE() cv::cuda::gemm(d_src1, d_src2, 1.0, d_src3, 1.0, dst, flags); cv 95 modules/cudaarithm/perf/perf_arithm.cpp cv::Mat dst; cv 97 modules/cudaarithm/perf/perf_arithm.cpp TEST_CYCLE() cv::gemm(src1, src2, 1.0, src3, 1.0, dst, flags); cv 108 modules/cudaarithm/perf/perf_arithm.cpp CV_FLAGS(DftFlags, 0, cv::DFT_INVERSE, cv::DFT_SCALE, cv::DFT_ROWS, cv::DFT_COMPLEX_OUTPUT, cv::DFT_REAL_OUTPUT) cv 110 modules/cudaarithm/perf/perf_arithm.cpp DEF_PARAM_TEST(Sz_Flags, cv::Size, DftFlags); cv 114 modules/cudaarithm/perf/perf_arithm.cpp Values(0, DftFlags(cv::DFT_ROWS)))) cv 116 modules/cudaarithm/perf/perf_arithm.cpp const cv::Size size = GET_PARAM(0); cv 119 modules/cudaarithm/perf/perf_arithm.cpp cv::Mat a(size, CV_32FC2); cv 120 modules/cudaarithm/perf/perf_arithm.cpp cv::Mat b(size, CV_32FC2); cv 125 modules/cudaarithm/perf/perf_arithm.cpp const cv::cuda::GpuMat d_a(a); cv 126 modules/cudaarithm/perf/perf_arithm.cpp const cv::cuda::GpuMat d_b(b); cv 127 modules/cudaarithm/perf/perf_arithm.cpp cv::cuda::GpuMat dst; cv 129 modules/cudaarithm/perf/perf_arithm.cpp TEST_CYCLE() cv::cuda::mulSpectrums(d_a, d_b, dst, flag); cv 135 modules/cudaarithm/perf/perf_arithm.cpp cv::Mat dst; cv 137 modules/cudaarithm/perf/perf_arithm.cpp TEST_CYCLE() cv::mulSpectrums(a, b, dst, flag); cv 149 modules/cudaarithm/perf/perf_arithm.cpp const cv::Size size = GetParam(); cv 153 modules/cudaarithm/perf/perf_arithm.cpp cv::Mat src1(size, CV_32FC2); cv 154 modules/cudaarithm/perf/perf_arithm.cpp cv::Mat src2(size, CV_32FC2); cv 159 modules/cudaarithm/perf/perf_arithm.cpp const cv::cuda::GpuMat d_src1(src1); cv 160 modules/cudaarithm/perf/perf_arithm.cpp const cv::cuda::GpuMat d_src2(src2); cv 161 modules/cudaarithm/perf/perf_arithm.cpp cv::cuda::GpuMat dst; cv 163 modules/cudaarithm/perf/perf_arithm.cpp TEST_CYCLE() cv::cuda::mulAndScaleSpectrums(d_src1, d_src2, dst, cv::DFT_ROWS, scale, false); cv 178 modules/cudaarithm/perf/perf_arithm.cpp Values(0, DftFlags(cv::DFT_ROWS), DftFlags(cv::DFT_INVERSE)))) cv 182 modules/cudaarithm/perf/perf_arithm.cpp const cv::Size size = GET_PARAM(0); cv 185 modules/cudaarithm/perf/perf_arithm.cpp cv::Mat src(size, CV_32FC2); cv 190 modules/cudaarithm/perf/perf_arithm.cpp const cv::cuda::GpuMat d_src(src); cv 191 modules/cudaarithm/perf/perf_arithm.cpp cv::cuda::GpuMat dst; cv 193 modules/cudaarithm/perf/perf_arithm.cpp TEST_CYCLE() cv::cuda::dft(d_src, dst, size, flag); cv 199 modules/cudaarithm/perf/perf_arithm.cpp cv::Mat dst; cv 201 modules/cudaarithm/perf/perf_arithm.cpp TEST_CYCLE() cv::dft(src, dst, flag); cv 210 modules/cudaarithm/perf/perf_arithm.cpp DEF_PARAM_TEST(Sz_KernelSz_Ccorr, cv::Size, int, bool); cv 219 modules/cudaarithm/perf/perf_arithm.cpp const cv::Size size = GET_PARAM(0); cv 223 modules/cudaarithm/perf/perf_arithm.cpp const cv::Mat image(size, CV_32FC1); cv 224 modules/cudaarithm/perf/perf_arithm.cpp const cv::Mat templ(templ_size, templ_size, CV_32FC1); cv 229 modules/cudaarithm/perf/perf_arithm.cpp cv::cuda::GpuMat d_image = cv::cuda::createContinuous(size, CV_32FC1); cv 232 modules/cudaarithm/perf/perf_arithm.cpp cv::cuda::GpuMat d_templ = cv::cuda::createContinuous(templ_size, templ_size, CV_32FC1); cv 235 modules/cudaarithm/perf/perf_arithm.cpp cv::Ptr<cv::cuda::Convolution> convolution = cv::cuda::createConvolution(); cv 237 modules/cudaarithm/perf/perf_arithm.cpp cv::cuda::GpuMat dst; cv 248 modules/cudaarithm/perf/perf_arithm.cpp cv::Mat dst; cv 250 modules/cudaarithm/perf/perf_arithm.cpp TEST_CYCLE() cv::filter2D(image, dst, image.depth(), templ); cv 59 modules/cudaarithm/perf/perf_core.cpp const cv::Size size = GET_PARAM(0); cv 63 modules/cudaarithm/perf/perf_core.cpp std::vector<cv::Mat> src(channels); cv 72 modules/cudaarithm/perf/perf_core.cpp std::vector<cv::cuda::GpuMat> d_src(channels); cv 76 modules/cudaarithm/perf/perf_core.cpp cv::cuda::GpuMat dst; cv 78 modules/cudaarithm/perf/perf_core.cpp TEST_CYCLE() cv::cuda::merge(d_src, dst); cv 84 modules/cudaarithm/perf/perf_core.cpp cv::Mat dst; cv 86 modules/cudaarithm/perf/perf_core.cpp TEST_CYCLE() cv::merge(src, dst); cv 100 modules/cudaarithm/perf/perf_core.cpp const cv::Size size = GET_PARAM(0); cv 104 modules/cudaarithm/perf/perf_core.cpp cv::Mat src(size, CV_MAKE_TYPE(depth, channels)); cv 109 modules/cudaarithm/perf/perf_core.cpp const cv::cuda::GpuMat d_src(src); cv 110 modules/cudaarithm/perf/perf_core.cpp std::vector<cv::cuda::GpuMat> dst; cv 112 modules/cudaarithm/perf/perf_core.cpp TEST_CYCLE() cv::cuda::split(d_src, dst); cv 114 modules/cudaarithm/perf/perf_core.cpp const cv::cuda::GpuMat& dst0 = dst[0]; cv 115 modules/cudaarithm/perf/perf_core.cpp const cv::cuda::GpuMat& dst1 = dst[1]; cv 122 modules/cudaarithm/perf/perf_core.cpp std::vector<cv::Mat> dst; cv 124 modules/cudaarithm/perf/perf_core.cpp TEST_CYCLE() cv::split(src, dst); cv 126 modules/cudaarithm/perf/perf_core.cpp const cv::Mat& dst0 = dst[0]; cv 127 modules/cudaarithm/perf/perf_core.cpp const cv::Mat& dst1 = dst[1]; cv 141 modules/cudaarithm/perf/perf_core.cpp const cv::Size size = GET_PARAM(0); cv 144 modules/cudaarithm/perf/perf_core.cpp cv::Mat src(size, type); cv 149 modules/cudaarithm/perf/perf_core.cpp const cv::cuda::GpuMat d_src(src); cv 150 modules/cudaarithm/perf/perf_core.cpp cv::cuda::GpuMat dst; cv 152 modules/cudaarithm/perf/perf_core.cpp TEST_CYCLE() cv::cuda::transpose(d_src, dst); cv 158 modules/cudaarithm/perf/perf_core.cpp cv::Mat dst; cv 160 modules/cudaarithm/perf/perf_core.cpp TEST_CYCLE() cv::transpose(src, dst); cv 172 modules/cudaarithm/perf/perf_core.cpp DEF_PARAM_TEST(Sz_Depth_Cn_Code, cv::Size, MatDepth, MatCn, FlipCode); cv 180 modules/cudaarithm/perf/perf_core.cpp const cv::Size size = GET_PARAM(0); cv 187 modules/cudaarithm/perf/perf_core.cpp cv::Mat src(size, type); cv 192 modules/cudaarithm/perf/perf_core.cpp const cv::cuda::GpuMat d_src(src); cv 193 modules/cudaarithm/perf/perf_core.cpp cv::cuda::GpuMat dst; cv 195 modules/cudaarithm/perf/perf_core.cpp TEST_CYCLE() cv::cuda::flip(d_src, dst, flipCode); cv 201 modules/cudaarithm/perf/perf_core.cpp cv::Mat dst; cv 203 modules/cudaarithm/perf/perf_core.cpp TEST_CYCLE() cv::flip(src, dst, flipCode); cv 216 modules/cudaarithm/perf/perf_core.cpp const cv::Size size = GET_PARAM(0); cv 219 modules/cudaarithm/perf/perf_core.cpp cv::Mat src(size, type); cv 222 modules/cudaarithm/perf/perf_core.cpp cv::Mat lut(1, 256, CV_8UC1); cv 227 modules/cudaarithm/perf/perf_core.cpp cv::Ptr<cv::cuda::LookUpTable> lutAlg = cv::cuda::createLookUpTable(lut); cv 229 modules/cudaarithm/perf/perf_core.cpp const cv::cuda::GpuMat d_src(src); cv 230 modules/cudaarithm/perf/perf_core.cpp cv::cuda::GpuMat dst; cv 238 modules/cudaarithm/perf/perf_core.cpp cv::Mat dst; cv 240 modules/cudaarithm/perf/perf_core.cpp TEST_CYCLE() cv::LUT(src, lut, dst); cv 253 modules/cudaarithm/perf/perf_core.cpp const cv::Size size = GET_PARAM(0); cv 256 modules/cudaarithm/perf/perf_core.cpp cv::Mat src(size, type); cv 259 modules/cudaarithm/perf/perf_core.cpp cv::Mat lut(1, 256, CV_MAKE_TYPE(CV_8U, src.channels())); cv 264 modules/cudaarithm/perf/perf_core.cpp cv::Ptr<cv::cuda::LookUpTable> lutAlg = cv::cuda::createLookUpTable(lut); cv 266 modules/cudaarithm/perf/perf_core.cpp const cv::cuda::GpuMat d_src(src); cv 267 modules/cudaarithm/perf/perf_core.cpp cv::cuda::GpuMat dst; cv 275 modules/cudaarithm/perf/perf_core.cpp cv::Mat dst; cv 277 modules/cudaarithm/perf/perf_core.cpp TEST_CYCLE() cv::LUT(src, lut, dst); cv 286 modules/cudaarithm/perf/perf_core.cpp DEF_PARAM_TEST(Sz_Depth_Cn_Border, cv::Size, MatDepth, MatCn, BorderMode); cv 294 modules/cudaarithm/perf/perf_core.cpp const cv::Size size = GET_PARAM(0); cv 301 modules/cudaarithm/perf/perf_core.cpp cv::Mat src(size, type); cv 306 modules/cudaarithm/perf/perf_core.cpp const cv::cuda::GpuMat d_src(src); cv 307 modules/cudaarithm/perf/perf_core.cpp cv::cuda::GpuMat dst; cv 309 modules/cudaarithm/perf/perf_core.cpp TEST_CYCLE() cv::cuda::copyMakeBorder(d_src, dst, 5, 5, 5, 5, borderMode); cv 315 modules/cudaarithm/perf/perf_core.cpp cv::Mat dst; cv 317 modules/cudaarithm/perf/perf_core.cpp TEST_CYCLE() cv::copyMakeBorder(src, dst, 5, 5, 5, 5, borderMode); cv 58 modules/cudaarithm/perf/perf_element_operations.cpp const cv::Size size = GET_PARAM(0); cv 61 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src1(size, depth); cv 64 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src2(size, depth); cv 69 modules/cudaarithm/perf/perf_element_operations.cpp const cv::cuda::GpuMat d_src1(src1); cv 70 modules/cudaarithm/perf/perf_element_operations.cpp const cv::cuda::GpuMat d_src2(src2); cv 71 modules/cudaarithm/perf/perf_element_operations.cpp cv::cuda::GpuMat dst; cv 73 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::cuda::add(d_src1, d_src2, dst); cv 79 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat dst; cv 81 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::add(src1, src2, dst); cv 94 modules/cudaarithm/perf/perf_element_operations.cpp const cv::Size size = GET_PARAM(0); cv 97 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src(size, depth); cv 100 modules/cudaarithm/perf/perf_element_operations.cpp cv::Scalar s; cv 105 modules/cudaarithm/perf/perf_element_operations.cpp const cv::cuda::GpuMat d_src(src); cv 106 modules/cudaarithm/perf/perf_element_operations.cpp cv::cuda::GpuMat dst; cv 108 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::cuda::add(d_src, s, dst); cv 114 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat dst; cv 116 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::add(src, s, dst); cv 129 modules/cudaarithm/perf/perf_element_operations.cpp const cv::Size size = GET_PARAM(0); cv 132 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src1(size, depth); cv 135 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src2(size, depth); cv 140 modules/cudaarithm/perf/perf_element_operations.cpp const cv::cuda::GpuMat d_src1(src1); cv 141 modules/cudaarithm/perf/perf_element_operations.cpp const cv::cuda::GpuMat d_src2(src2); cv 142 modules/cudaarithm/perf/perf_element_operations.cpp cv::cuda::GpuMat dst; cv 144 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::cuda::subtract(d_src1, d_src2, dst); cv 150 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat dst; cv 152 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::subtract(src1, src2, dst); cv 165 modules/cudaarithm/perf/perf_element_operations.cpp const cv::Size size = GET_PARAM(0); cv 168 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src(size, depth); cv 171 modules/cudaarithm/perf/perf_element_operations.cpp cv::Scalar s; cv 176 modules/cudaarithm/perf/perf_element_operations.cpp const cv::cuda::GpuMat d_src(src); cv 177 modules/cudaarithm/perf/perf_element_operations.cpp cv::cuda::GpuMat dst; cv 179 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::cuda::subtract(d_src, s, dst); cv 185 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat dst; cv 187 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::subtract(src, s, dst); cv 200 modules/cudaarithm/perf/perf_element_operations.cpp const cv::Size size = GET_PARAM(0); cv 203 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src1(size, depth); cv 206 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src2(size, depth); cv 211 modules/cudaarithm/perf/perf_element_operations.cpp const cv::cuda::GpuMat d_src1(src1); cv 212 modules/cudaarithm/perf/perf_element_operations.cpp const cv::cuda::GpuMat d_src2(src2); cv 213 modules/cudaarithm/perf/perf_element_operations.cpp cv::cuda::GpuMat dst; cv 215 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::cuda::multiply(d_src1, d_src2, dst); cv 221 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat dst; cv 223 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::multiply(src1, src2, dst); cv 236 modules/cudaarithm/perf/perf_element_operations.cpp const cv::Size size = GET_PARAM(0); cv 239 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src(size, depth); cv 242 modules/cudaarithm/perf/perf_element_operations.cpp cv::Scalar s; cv 247 modules/cudaarithm/perf/perf_element_operations.cpp const cv::cuda::GpuMat d_src(src); cv 248 modules/cudaarithm/perf/perf_element_operations.cpp cv::cuda::GpuMat dst; cv 250 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::cuda::multiply(d_src, s, dst); cv 256 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat dst; cv 258 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::multiply(src, s, dst); cv 271 modules/cudaarithm/perf/perf_element_operations.cpp const cv::Size size = GET_PARAM(0); cv 274 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src1(size, depth); cv 277 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src2(size, depth); cv 282 modules/cudaarithm/perf/perf_element_operations.cpp const cv::cuda::GpuMat d_src1(src1); cv 283 modules/cudaarithm/perf/perf_element_operations.cpp const cv::cuda::GpuMat d_src2(src2); cv 284 modules/cudaarithm/perf/perf_element_operations.cpp cv::cuda::GpuMat dst; cv 286 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::cuda::divide(d_src1, d_src2, dst); cv 292 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat dst; cv 294 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::divide(src1, src2, dst); cv 307 modules/cudaarithm/perf/perf_element_operations.cpp const cv::Size size = GET_PARAM(0); cv 310 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src(size, depth); cv 313 modules/cudaarithm/perf/perf_element_operations.cpp cv::Scalar s; cv 318 modules/cudaarithm/perf/perf_element_operations.cpp const cv::cuda::GpuMat d_src(src); cv 319 modules/cudaarithm/perf/perf_element_operations.cpp cv::cuda::GpuMat dst; cv 321 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::cuda::divide(d_src, s, dst); cv 327 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat dst; cv 329 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::divide(src, s, dst); cv 342 modules/cudaarithm/perf/perf_element_operations.cpp const cv::Size size = GET_PARAM(0); cv 345 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src(size, depth); cv 348 modules/cudaarithm/perf/perf_element_operations.cpp cv::Scalar s; cv 353 modules/cudaarithm/perf/perf_element_operations.cpp const cv::cuda::GpuMat d_src(src); cv 354 modules/cudaarithm/perf/perf_element_operations.cpp cv::cuda::GpuMat dst; cv 356 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::cuda::divide(s[0], d_src, dst); cv 362 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat dst; cv 364 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::divide(s, src, dst); cv 377 modules/cudaarithm/perf/perf_element_operations.cpp const cv::Size size = GET_PARAM(0); cv 380 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src1(size, depth); cv 383 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src2(size, depth); cv 388 modules/cudaarithm/perf/perf_element_operations.cpp const cv::cuda::GpuMat d_src1(src1); cv 389 modules/cudaarithm/perf/perf_element_operations.cpp const cv::cuda::GpuMat d_src2(src2); cv 390 modules/cudaarithm/perf/perf_element_operations.cpp cv::cuda::GpuMat dst; cv 392 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::cuda::absdiff(d_src1, d_src2, dst); cv 398 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat dst; cv 400 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::absdiff(src1, src2, dst); cv 413 modules/cudaarithm/perf/perf_element_operations.cpp const cv::Size size = GET_PARAM(0); cv 416 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src(size, depth); cv 419 modules/cudaarithm/perf/perf_element_operations.cpp cv::Scalar s; cv 424 modules/cudaarithm/perf/perf_element_operations.cpp const cv::cuda::GpuMat d_src(src); cv 425 modules/cudaarithm/perf/perf_element_operations.cpp cv::cuda::GpuMat dst; cv 427 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::cuda::absdiff(d_src, s, dst); cv 433 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat dst; cv 435 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::absdiff(src, s, dst); cv 448 modules/cudaarithm/perf/perf_element_operations.cpp const cv::Size size = GET_PARAM(0); cv 451 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src(size, depth); cv 456 modules/cudaarithm/perf/perf_element_operations.cpp const cv::cuda::GpuMat d_src(src); cv 457 modules/cudaarithm/perf/perf_element_operations.cpp cv::cuda::GpuMat dst; cv 459 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::cuda::abs(d_src, dst); cv 476 modules/cudaarithm/perf/perf_element_operations.cpp const cv::Size size = GET_PARAM(0); cv 479 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src(size, depth); cv 484 modules/cudaarithm/perf/perf_element_operations.cpp const cv::cuda::GpuMat d_src(src); cv 485 modules/cudaarithm/perf/perf_element_operations.cpp cv::cuda::GpuMat dst; cv 487 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::cuda::sqr(d_src, dst); cv 504 modules/cudaarithm/perf/perf_element_operations.cpp const cv::Size size = GET_PARAM(0); cv 507 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src(size, depth); cv 508 modules/cudaarithm/perf/perf_element_operations.cpp cv::randu(src, 0, 100000); cv 512 modules/cudaarithm/perf/perf_element_operations.cpp const cv::cuda::GpuMat d_src(src); cv 513 modules/cudaarithm/perf/perf_element_operations.cpp cv::cuda::GpuMat dst; cv 515 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::cuda::sqrt(d_src, dst); cv 521 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat dst; cv 523 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::sqrt(src, dst); cv 536 modules/cudaarithm/perf/perf_element_operations.cpp const cv::Size size = GET_PARAM(0); cv 539 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src(size, depth); cv 540 modules/cudaarithm/perf/perf_element_operations.cpp cv::randu(src, 0, 100000); cv 544 modules/cudaarithm/perf/perf_element_operations.cpp const cv::cuda::GpuMat d_src(src); cv 545 modules/cudaarithm/perf/perf_element_operations.cpp cv::cuda::GpuMat dst; cv 547 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::cuda::log(d_src, dst); cv 553 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat dst; cv 555 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::log(src, dst); cv 568 modules/cudaarithm/perf/perf_element_operations.cpp const cv::Size size = GET_PARAM(0); cv 571 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src(size, depth); cv 572 modules/cudaarithm/perf/perf_element_operations.cpp cv::randu(src, 0, 10); cv 576 modules/cudaarithm/perf/perf_element_operations.cpp const cv::cuda::GpuMat d_src(src); cv 577 modules/cudaarithm/perf/perf_element_operations.cpp cv::cuda::GpuMat dst; cv 579 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::cuda::exp(d_src, dst); cv 585 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat dst; cv 587 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::exp(src, dst); cv 596 modules/cudaarithm/perf/perf_element_operations.cpp DEF_PARAM_TEST(Sz_Depth_Power, cv::Size, MatDepth, double); cv 603 modules/cudaarithm/perf/perf_element_operations.cpp const cv::Size size = GET_PARAM(0); cv 607 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src(size, depth); cv 612 modules/cudaarithm/perf/perf_element_operations.cpp const cv::cuda::GpuMat d_src(src); cv 613 modules/cudaarithm/perf/perf_element_operations.cpp cv::cuda::GpuMat dst; cv 615 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::cuda::pow(d_src, power, dst); cv 621 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat dst; cv 623 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::pow(src, power, dst); cv 632 modules/cudaarithm/perf/perf_element_operations.cpp CV_ENUM(CmpCode, cv::CMP_EQ, cv::CMP_GT, cv::CMP_GE, cv::CMP_LT, cv::CMP_LE, cv::CMP_NE) cv 634 modules/cudaarithm/perf/perf_element_operations.cpp DEF_PARAM_TEST(Sz_Depth_Code, cv::Size, MatDepth, CmpCode); cv 641 modules/cudaarithm/perf/perf_element_operations.cpp const cv::Size size = GET_PARAM(0); cv 645 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src1(size, depth); cv 648 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src2(size, depth); cv 653 modules/cudaarithm/perf/perf_element_operations.cpp const cv::cuda::GpuMat d_src1(src1); cv 654 modules/cudaarithm/perf/perf_element_operations.cpp const cv::cuda::GpuMat d_src2(src2); cv 655 modules/cudaarithm/perf/perf_element_operations.cpp cv::cuda::GpuMat dst; cv 657 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::cuda::compare(d_src1, d_src2, dst, cmp_code); cv 663 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat dst; cv 665 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::compare(src1, src2, dst, cmp_code); cv 679 modules/cudaarithm/perf/perf_element_operations.cpp const cv::Size size = GET_PARAM(0); cv 683 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src(size, depth); cv 686 modules/cudaarithm/perf/perf_element_operations.cpp cv::Scalar s; cv 691 modules/cudaarithm/perf/perf_element_operations.cpp const cv::cuda::GpuMat d_src(src); cv 692 modules/cudaarithm/perf/perf_element_operations.cpp cv::cuda::GpuMat dst; cv 694 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::cuda::compare(d_src, s, dst, cmp_code); cv 700 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat dst; cv 702 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::compare(src, s, dst, cmp_code); cv 715 modules/cudaarithm/perf/perf_element_operations.cpp const cv::Size size = GET_PARAM(0); cv 718 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src(size, depth); cv 723 modules/cudaarithm/perf/perf_element_operations.cpp const cv::cuda::GpuMat d_src(src); cv 724 modules/cudaarithm/perf/perf_element_operations.cpp cv::cuda::GpuMat dst; cv 726 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::cuda::bitwise_not(d_src, dst); cv 732 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat dst; cv 734 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::bitwise_not(src, dst); cv 747 modules/cudaarithm/perf/perf_element_operations.cpp const cv::Size size = GET_PARAM(0); cv 750 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src1(size, depth); cv 753 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src2(size, depth); cv 758 modules/cudaarithm/perf/perf_element_operations.cpp const cv::cuda::GpuMat d_src1(src1); cv 759 modules/cudaarithm/perf/perf_element_operations.cpp const cv::cuda::GpuMat d_src2(src2); cv 760 modules/cudaarithm/perf/perf_element_operations.cpp cv::cuda::GpuMat dst; cv 762 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::cuda::bitwise_and(d_src1, d_src2, dst); cv 768 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat dst; cv 770 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::bitwise_and(src1, src2, dst); cv 784 modules/cudaarithm/perf/perf_element_operations.cpp const cv::Size size = GET_PARAM(0); cv 790 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src(size, type); cv 793 modules/cudaarithm/perf/perf_element_operations.cpp cv::Scalar s; cv 795 modules/cudaarithm/perf/perf_element_operations.cpp cv::Scalar_<int> is = s; cv 799 modules/cudaarithm/perf/perf_element_operations.cpp const cv::cuda::GpuMat d_src(src); cv 800 modules/cudaarithm/perf/perf_element_operations.cpp cv::cuda::GpuMat dst; cv 802 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::cuda::bitwise_and(d_src, is, dst); cv 808 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat dst; cv 810 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::bitwise_and(src, is, dst); cv 823 modules/cudaarithm/perf/perf_element_operations.cpp const cv::Size size = GET_PARAM(0); cv 826 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src1(size, depth); cv 829 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src2(size, depth); cv 834 modules/cudaarithm/perf/perf_element_operations.cpp const cv::cuda::GpuMat d_src1(src1); cv 835 modules/cudaarithm/perf/perf_element_operations.cpp const cv::cuda::GpuMat d_src2(src2); cv 836 modules/cudaarithm/perf/perf_element_operations.cpp cv::cuda::GpuMat dst; cv 838 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::cuda::bitwise_or(d_src1, d_src2, dst); cv 844 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat dst; cv 846 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::bitwise_or(src1, src2, dst); cv 860 modules/cudaarithm/perf/perf_element_operations.cpp const cv::Size size = GET_PARAM(0); cv 866 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src(size, type); cv 869 modules/cudaarithm/perf/perf_element_operations.cpp cv::Scalar s; cv 871 modules/cudaarithm/perf/perf_element_operations.cpp cv::Scalar_<int> is = s; cv 875 modules/cudaarithm/perf/perf_element_operations.cpp const cv::cuda::GpuMat d_src(src); cv 876 modules/cudaarithm/perf/perf_element_operations.cpp cv::cuda::GpuMat dst; cv 878 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::cuda::bitwise_or(d_src, is, dst); cv 884 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat dst; cv 886 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::bitwise_or(src, is, dst); cv 899 modules/cudaarithm/perf/perf_element_operations.cpp const cv::Size size = GET_PARAM(0); cv 902 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src1(size, depth); cv 905 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src2(size, depth); cv 910 modules/cudaarithm/perf/perf_element_operations.cpp const cv::cuda::GpuMat d_src1(src1); cv 911 modules/cudaarithm/perf/perf_element_operations.cpp const cv::cuda::GpuMat d_src2(src2); cv 912 modules/cudaarithm/perf/perf_element_operations.cpp cv::cuda::GpuMat dst; cv 914 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::cuda::bitwise_xor(d_src1, d_src2, dst); cv 920 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat dst; cv 922 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::bitwise_xor(src1, src2, dst); cv 936 modules/cudaarithm/perf/perf_element_operations.cpp const cv::Size size = GET_PARAM(0); cv 942 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src(size, type); cv 945 modules/cudaarithm/perf/perf_element_operations.cpp cv::Scalar s; cv 947 modules/cudaarithm/perf/perf_element_operations.cpp cv::Scalar_<int> is = s; cv 951 modules/cudaarithm/perf/perf_element_operations.cpp const cv::cuda::GpuMat d_src(src); cv 952 modules/cudaarithm/perf/perf_element_operations.cpp cv::cuda::GpuMat dst; cv 954 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::cuda::bitwise_xor(d_src, is, dst); cv 960 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat dst; cv 962 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::bitwise_xor(src, is, dst); cv 976 modules/cudaarithm/perf/perf_element_operations.cpp const cv::Size size = GET_PARAM(0); cv 982 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src(size, type); cv 985 modules/cudaarithm/perf/perf_element_operations.cpp const cv::Scalar_<int> val = cv::Scalar_<int>::all(4); cv 989 modules/cudaarithm/perf/perf_element_operations.cpp const cv::cuda::GpuMat d_src(src); cv 990 modules/cudaarithm/perf/perf_element_operations.cpp cv::cuda::GpuMat dst; cv 992 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::cuda::rshift(d_src, val, dst); cv 1010 modules/cudaarithm/perf/perf_element_operations.cpp const cv::Size size = GET_PARAM(0); cv 1016 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src(size, type); cv 1019 modules/cudaarithm/perf/perf_element_operations.cpp const cv::Scalar_<int> val = cv::Scalar_<int>::all(4); cv 1023 modules/cudaarithm/perf/perf_element_operations.cpp const cv::cuda::GpuMat d_src(src); cv 1024 modules/cudaarithm/perf/perf_element_operations.cpp cv::cuda::GpuMat dst; cv 1026 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::cuda::lshift(d_src, val, dst); cv 1043 modules/cudaarithm/perf/perf_element_operations.cpp const cv::Size size = GET_PARAM(0); cv 1046 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src1(size, depth); cv 1049 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src2(size, depth); cv 1054 modules/cudaarithm/perf/perf_element_operations.cpp const cv::cuda::GpuMat d_src1(src1); cv 1055 modules/cudaarithm/perf/perf_element_operations.cpp const cv::cuda::GpuMat d_src2(src2); cv 1056 modules/cudaarithm/perf/perf_element_operations.cpp cv::cuda::GpuMat dst; cv 1058 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::cuda::min(d_src1, d_src2, dst); cv 1064 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat dst; cv 1066 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::min(src1, src2, dst); cv 1079 modules/cudaarithm/perf/perf_element_operations.cpp const cv::Size size = GET_PARAM(0); cv 1082 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src(size, depth); cv 1085 modules/cudaarithm/perf/perf_element_operations.cpp cv::Scalar val; cv 1090 modules/cudaarithm/perf/perf_element_operations.cpp const cv::cuda::GpuMat d_src(src); cv 1091 modules/cudaarithm/perf/perf_element_operations.cpp cv::cuda::GpuMat dst; cv 1093 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::cuda::min(d_src, val[0], dst); cv 1099 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat dst; cv 1101 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::min(src, val[0], dst); cv 1114 modules/cudaarithm/perf/perf_element_operations.cpp const cv::Size size = GET_PARAM(0); cv 1117 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src1(size, depth); cv 1120 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src2(size, depth); cv 1125 modules/cudaarithm/perf/perf_element_operations.cpp const cv::cuda::GpuMat d_src1(src1); cv 1126 modules/cudaarithm/perf/perf_element_operations.cpp const cv::cuda::GpuMat d_src2(src2); cv 1127 modules/cudaarithm/perf/perf_element_operations.cpp cv::cuda::GpuMat dst; cv 1129 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::cuda::max(d_src1, d_src2, dst); cv 1135 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat dst; cv 1137 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::max(src1, src2, dst); cv 1150 modules/cudaarithm/perf/perf_element_operations.cpp const cv::Size size = GET_PARAM(0); cv 1153 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src(size, depth); cv 1156 modules/cudaarithm/perf/perf_element_operations.cpp cv::Scalar val; cv 1161 modules/cudaarithm/perf/perf_element_operations.cpp const cv::cuda::GpuMat d_src(src); cv 1162 modules/cudaarithm/perf/perf_element_operations.cpp cv::cuda::GpuMat dst; cv 1164 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::cuda::max(d_src, val[0], dst); cv 1170 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat dst; cv 1172 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::max(src, val[0], dst); cv 1181 modules/cudaarithm/perf/perf_element_operations.cpp DEF_PARAM_TEST(Sz_3Depth, cv::Size, MatDepth, MatDepth, MatDepth); cv 1189 modules/cudaarithm/perf/perf_element_operations.cpp const cv::Size size = GET_PARAM(0); cv 1194 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src1(size, depth1); cv 1197 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src2(size, depth2); cv 1202 modules/cudaarithm/perf/perf_element_operations.cpp const cv::cuda::GpuMat d_src1(src1); cv 1203 modules/cudaarithm/perf/perf_element_operations.cpp const cv::cuda::GpuMat d_src2(src2); cv 1204 modules/cudaarithm/perf/perf_element_operations.cpp cv::cuda::GpuMat dst; cv 1206 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::cuda::addWeighted(d_src1, 0.5, d_src2, 0.5, 10.0, dst, dst_depth); cv 1212 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat dst; cv 1214 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::addWeighted(src1, 0.5, src2, 0.5, 10.0, dst, dst_depth); cv 1226 modules/cudaarithm/perf/perf_element_operations.cpp const cv::Size size = GetParam(); cv 1228 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src(size, CV_32FC2); cv 1233 modules/cudaarithm/perf/perf_element_operations.cpp const cv::cuda::GpuMat d_src(src); cv 1234 modules/cudaarithm/perf/perf_element_operations.cpp cv::cuda::GpuMat dst; cv 1236 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::cuda::magnitude(d_src, dst); cv 1242 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat xy[2]; cv 1243 modules/cudaarithm/perf/perf_element_operations.cpp cv::split(src, xy); cv 1245 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat dst; cv 1247 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::magnitude(xy[0], xy[1], dst); cv 1259 modules/cudaarithm/perf/perf_element_operations.cpp const cv::Size size = GetParam(); cv 1261 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src(size, CV_32FC2); cv 1266 modules/cudaarithm/perf/perf_element_operations.cpp const cv::cuda::GpuMat d_src(src); cv 1267 modules/cudaarithm/perf/perf_element_operations.cpp cv::cuda::GpuMat dst; cv 1269 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::cuda::magnitudeSqr(d_src, dst); cv 1285 modules/cudaarithm/perf/perf_element_operations.cpp const cv::Size size = GetParam(); cv 1287 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src1(size, CV_32FC1); cv 1290 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src2(size, CV_32FC1); cv 1295 modules/cudaarithm/perf/perf_element_operations.cpp const cv::cuda::GpuMat d_src1(src1); cv 1296 modules/cudaarithm/perf/perf_element_operations.cpp const cv::cuda::GpuMat d_src2(src2); cv 1297 modules/cudaarithm/perf/perf_element_operations.cpp cv::cuda::GpuMat dst; cv 1299 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::cuda::magnitude(d_src1, d_src2, dst); cv 1305 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat dst; cv 1307 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::magnitude(src1, src2, dst); cv 1319 modules/cudaarithm/perf/perf_element_operations.cpp const cv::Size size = GetParam(); cv 1321 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src1(size, CV_32FC1); cv 1324 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src2(size, CV_32FC1); cv 1329 modules/cudaarithm/perf/perf_element_operations.cpp const cv::cuda::GpuMat d_src1(src1); cv 1330 modules/cudaarithm/perf/perf_element_operations.cpp const cv::cuda::GpuMat d_src2(src2); cv 1331 modules/cudaarithm/perf/perf_element_operations.cpp cv::cuda::GpuMat dst; cv 1333 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::cuda::magnitudeSqr(d_src1, d_src2, dst); cv 1346 modules/cudaarithm/perf/perf_element_operations.cpp DEF_PARAM_TEST(Sz_AngleInDegrees, cv::Size, bool); cv 1352 modules/cudaarithm/perf/perf_element_operations.cpp const cv::Size size = GET_PARAM(0); cv 1355 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src1(size, CV_32FC1); cv 1358 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src2(size, CV_32FC1); cv 1363 modules/cudaarithm/perf/perf_element_operations.cpp const cv::cuda::GpuMat d_src1(src1); cv 1364 modules/cudaarithm/perf/perf_element_operations.cpp const cv::cuda::GpuMat d_src2(src2); cv 1365 modules/cudaarithm/perf/perf_element_operations.cpp cv::cuda::GpuMat dst; cv 1367 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::cuda::phase(d_src1, d_src2, dst, angleInDegrees); cv 1373 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat dst; cv 1375 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::phase(src1, src2, dst, angleInDegrees); cv 1388 modules/cudaarithm/perf/perf_element_operations.cpp const cv::Size size = GET_PARAM(0); cv 1391 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src1(size, CV_32FC1); cv 1394 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src2(size, CV_32FC1); cv 1399 modules/cudaarithm/perf/perf_element_operations.cpp const cv::cuda::GpuMat d_src1(src1); cv 1400 modules/cudaarithm/perf/perf_element_operations.cpp const cv::cuda::GpuMat d_src2(src2); cv 1401 modules/cudaarithm/perf/perf_element_operations.cpp cv::cuda::GpuMat magnitude; cv 1402 modules/cudaarithm/perf/perf_element_operations.cpp cv::cuda::GpuMat angle; cv 1404 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::cuda::cartToPolar(d_src1, d_src2, magnitude, angle, angleInDegrees); cv 1411 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat magnitude; cv 1412 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat angle; cv 1414 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::cartToPolar(src1, src2, magnitude, angle, angleInDegrees); cv 1428 modules/cudaarithm/perf/perf_element_operations.cpp const cv::Size size = GET_PARAM(0); cv 1431 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat magnitude(size, CV_32FC1); cv 1434 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat angle(size, CV_32FC1); cv 1439 modules/cudaarithm/perf/perf_element_operations.cpp const cv::cuda::GpuMat d_magnitude(magnitude); cv 1440 modules/cudaarithm/perf/perf_element_operations.cpp const cv::cuda::GpuMat d_angle(angle); cv 1441 modules/cudaarithm/perf/perf_element_operations.cpp cv::cuda::GpuMat x; cv 1442 modules/cudaarithm/perf/perf_element_operations.cpp cv::cuda::GpuMat y; cv 1444 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::cuda::polarToCart(d_magnitude, d_angle, x, y, angleInDegrees); cv 1451 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat x; cv 1452 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat y; cv 1454 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::polarToCart(magnitude, angle, x, y, angleInDegrees); cv 1464 modules/cudaarithm/perf/perf_element_operations.cpp CV_ENUM(ThreshOp, cv::THRESH_BINARY, cv::THRESH_BINARY_INV, cv::THRESH_TRUNC, cv::THRESH_TOZERO, cv::THRESH_TOZERO_INV) cv 1466 modules/cudaarithm/perf/perf_element_operations.cpp DEF_PARAM_TEST(Sz_Depth_Op, cv::Size, MatDepth, ThreshOp); cv 1473 modules/cudaarithm/perf/perf_element_operations.cpp const cv::Size size = GET_PARAM(0); cv 1477 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src(size, depth); cv 1482 modules/cudaarithm/perf/perf_element_operations.cpp const cv::cuda::GpuMat d_src(src); cv 1483 modules/cudaarithm/perf/perf_element_operations.cpp cv::cuda::GpuMat dst; cv 1485 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::cuda::threshold(d_src, dst, 100.0, 255.0, threshOp); cv 1491 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat dst; cv 1493 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::threshold(src, dst, 100.0, 255.0, threshOp); cv 52 modules/cudaarithm/perf/perf_reductions.cpp DEF_PARAM_TEST(Sz_Depth_Norm, cv::Size, MatDepth, NormType); cv 57 modules/cudaarithm/perf/perf_reductions.cpp Values(NormType(cv::NORM_INF), NormType(cv::NORM_L1), NormType(cv::NORM_L2)))) cv 59 modules/cudaarithm/perf/perf_reductions.cpp const cv::Size size = GET_PARAM(0); cv 63 modules/cudaarithm/perf/perf_reductions.cpp cv::Mat src(size, depth); cv 65 modules/cudaarithm/perf/perf_reductions.cpp cv::randu(src, 0, 254); cv 71 modules/cudaarithm/perf/perf_reductions.cpp const cv::cuda::GpuMat d_src(src); cv 72 modules/cudaarithm/perf/perf_reductions.cpp cv::cuda::GpuMat d_buf; cv 75 modules/cudaarithm/perf/perf_reductions.cpp TEST_CYCLE() gpu_dst = cv::cuda::norm(d_src, normType, d_buf); cv 83 modules/cudaarithm/perf/perf_reductions.cpp TEST_CYCLE() cpu_dst = cv::norm(src, normType); cv 92 modules/cudaarithm/perf/perf_reductions.cpp DEF_PARAM_TEST(Sz_Norm, cv::Size, NormType); cv 96 modules/cudaarithm/perf/perf_reductions.cpp Values(NormType(cv::NORM_INF), NormType(cv::NORM_L1), NormType(cv::NORM_L2)))) cv 98 modules/cudaarithm/perf/perf_reductions.cpp const cv::Size size = GET_PARAM(0); cv 101 modules/cudaarithm/perf/perf_reductions.cpp cv::Mat src1(size, CV_8UC1); cv 104 modules/cudaarithm/perf/perf_reductions.cpp cv::Mat src2(size, CV_8UC1); cv 109 modules/cudaarithm/perf/perf_reductions.cpp const cv::cuda::GpuMat d_src1(src1); cv 110 modules/cudaarithm/perf/perf_reductions.cpp const cv::cuda::GpuMat d_src2(src2); cv 113 modules/cudaarithm/perf/perf_reductions.cpp TEST_CYCLE() gpu_dst = cv::cuda::norm(d_src1, d_src2, normType); cv 122 modules/cudaarithm/perf/perf_reductions.cpp TEST_CYCLE() cpu_dst = cv::norm(src1, src2, normType); cv 136 modules/cudaarithm/perf/perf_reductions.cpp const cv::Size size = GET_PARAM(0); cv 142 modules/cudaarithm/perf/perf_reductions.cpp cv::Mat src(size, type); cv 147 modules/cudaarithm/perf/perf_reductions.cpp const cv::cuda::GpuMat d_src(src); cv 148 modules/cudaarithm/perf/perf_reductions.cpp cv::Scalar gpu_dst; cv 150 modules/cudaarithm/perf/perf_reductions.cpp TEST_CYCLE() gpu_dst = cv::cuda::sum(d_src); cv 156 modules/cudaarithm/perf/perf_reductions.cpp cv::Scalar cpu_dst; cv 158 modules/cudaarithm/perf/perf_reductions.cpp TEST_CYCLE() cpu_dst = cv::sum(src); cv 172 modules/cudaarithm/perf/perf_reductions.cpp const cv::Size size = GET_PARAM(0); cv 178 modules/cudaarithm/perf/perf_reductions.cpp cv::Mat src(size, type); cv 183 modules/cudaarithm/perf/perf_reductions.cpp const cv::cuda::GpuMat d_src(src); cv 184 modules/cudaarithm/perf/perf_reductions.cpp cv::Scalar gpu_dst; cv 186 modules/cudaarithm/perf/perf_reductions.cpp TEST_CYCLE() gpu_dst = cv::cuda::absSum(d_src); cv 204 modules/cudaarithm/perf/perf_reductions.cpp const cv::Size size = GET_PARAM(0); cv 210 modules/cudaarithm/perf/perf_reductions.cpp cv::Mat src(size, type); cv 215 modules/cudaarithm/perf/perf_reductions.cpp const cv::cuda::GpuMat d_src(src); cv 216 modules/cudaarithm/perf/perf_reductions.cpp cv::Scalar gpu_dst; cv 218 modules/cudaarithm/perf/perf_reductions.cpp TEST_CYCLE() gpu_dst = cv::cuda::sqrSum(d_src); cv 235 modules/cudaarithm/perf/perf_reductions.cpp const cv::Size size = GET_PARAM(0); cv 238 modules/cudaarithm/perf/perf_reductions.cpp cv::Mat src(size, depth); cv 240 modules/cudaarithm/perf/perf_reductions.cpp cv::randu(src, 0, 254); cv 246 modules/cudaarithm/perf/perf_reductions.cpp const cv::cuda::GpuMat d_src(src); cv 249 modules/cudaarithm/perf/perf_reductions.cpp TEST_CYCLE() cv::cuda::minMax(d_src, &gpu_minVal, &gpu_maxVal, cv::cuda::GpuMat()); cv 258 modules/cudaarithm/perf/perf_reductions.cpp TEST_CYCLE() cv::minMaxLoc(src, &cpu_minVal, &cpu_maxVal); cv 272 modules/cudaarithm/perf/perf_reductions.cpp const cv::Size size = GET_PARAM(0); cv 275 modules/cudaarithm/perf/perf_reductions.cpp cv::Mat src(size, depth); cv 277 modules/cudaarithm/perf/perf_reductions.cpp cv::randu(src, 0, 254); cv 283 modules/cudaarithm/perf/perf_reductions.cpp const cv::cuda::GpuMat d_src(src); cv 285 modules/cudaarithm/perf/perf_reductions.cpp cv::Point gpu_minLoc, gpu_maxLoc; cv 287 modules/cudaarithm/perf/perf_reductions.cpp TEST_CYCLE() cv::cuda::minMaxLoc(d_src, &gpu_minVal, &gpu_maxVal, &gpu_minLoc, &gpu_maxLoc); cv 295 modules/cudaarithm/perf/perf_reductions.cpp cv::Point cpu_minLoc, cpu_maxLoc; cv 297 modules/cudaarithm/perf/perf_reductions.cpp TEST_CYCLE() cv::minMaxLoc(src, &cpu_minVal, &cpu_maxVal, &cpu_minLoc, &cpu_maxLoc); cv 311 modules/cudaarithm/perf/perf_reductions.cpp const cv::Size size = GET_PARAM(0); cv 314 modules/cudaarithm/perf/perf_reductions.cpp cv::Mat src(size, depth); cv 319 modules/cudaarithm/perf/perf_reductions.cpp const cv::cuda::GpuMat d_src(src); cv 322 modules/cudaarithm/perf/perf_reductions.cpp TEST_CYCLE() gpu_dst = cv::cuda::countNonZero(d_src); cv 330 modules/cudaarithm/perf/perf_reductions.cpp TEST_CYCLE() cpu_dst = cv::countNonZero(src); cv 344 modules/cudaarithm/perf/perf_reductions.cpp DEF_PARAM_TEST(Sz_Depth_Cn_Code_Dim, cv::Size, MatDepth, MatCn, ReduceCode, ReduceDim); cv 353 modules/cudaarithm/perf/perf_reductions.cpp const cv::Size size = GET_PARAM(0); cv 361 modules/cudaarithm/perf/perf_reductions.cpp cv::Mat src(size, type); cv 366 modules/cudaarithm/perf/perf_reductions.cpp const cv::cuda::GpuMat d_src(src); cv 367 modules/cudaarithm/perf/perf_reductions.cpp cv::cuda::GpuMat dst; cv 369 modules/cudaarithm/perf/perf_reductions.cpp TEST_CYCLE() cv::cuda::reduce(d_src, dst, dim, reduceOp, CV_32F); cv 375 modules/cudaarithm/perf/perf_reductions.cpp cv::Mat dst; cv 377 modules/cudaarithm/perf/perf_reductions.cpp TEST_CYCLE() cv::reduce(src, dst, dim, reduceOp, CV_32F); cv 386 modules/cudaarithm/perf/perf_reductions.cpp DEF_PARAM_TEST(Sz_Depth_NormType, cv::Size, MatDepth, NormType); cv 391 modules/cudaarithm/perf/perf_reductions.cpp Values(NormType(cv::NORM_INF), cv 392 modules/cudaarithm/perf/perf_reductions.cpp NormType(cv::NORM_L1), cv 393 modules/cudaarithm/perf/perf_reductions.cpp NormType(cv::NORM_L2), cv 394 modules/cudaarithm/perf/perf_reductions.cpp NormType(cv::NORM_MINMAX)))) cv 396 modules/cudaarithm/perf/perf_reductions.cpp const cv::Size size = GET_PARAM(0); cv 403 modules/cudaarithm/perf/perf_reductions.cpp cv::Mat src(size, type); cv 408 modules/cudaarithm/perf/perf_reductions.cpp const cv::cuda::GpuMat d_src(src); cv 409 modules/cudaarithm/perf/perf_reductions.cpp cv::cuda::GpuMat dst; cv 411 modules/cudaarithm/perf/perf_reductions.cpp TEST_CYCLE() cv::cuda::normalize(d_src, dst, alpha, beta, norm_type, type, cv::cuda::GpuMat()); cv 417 modules/cudaarithm/perf/perf_reductions.cpp cv::Mat dst; cv 419 modules/cudaarithm/perf/perf_reductions.cpp TEST_CYCLE() cv::normalize(src, dst, alpha, beta, norm_type, type); cv 431 modules/cudaarithm/perf/perf_reductions.cpp const cv::Size size = GetParam(); cv 433 modules/cudaarithm/perf/perf_reductions.cpp cv::Mat src(size, CV_8UC1); cv 439 modules/cudaarithm/perf/perf_reductions.cpp const cv::cuda::GpuMat d_src(src); cv 440 modules/cudaarithm/perf/perf_reductions.cpp cv::Scalar gpu_mean; cv 441 modules/cudaarithm/perf/perf_reductions.cpp cv::Scalar gpu_stddev; cv 443 modules/cudaarithm/perf/perf_reductions.cpp TEST_CYCLE() cv::cuda::meanStdDev(d_src, gpu_mean, gpu_stddev); cv 450 modules/cudaarithm/perf/perf_reductions.cpp cv::Scalar cpu_mean; cv 451 modules/cudaarithm/perf/perf_reductions.cpp cv::Scalar cpu_stddev; cv 453 modules/cudaarithm/perf/perf_reductions.cpp TEST_CYCLE() cv::meanStdDev(src, cpu_mean, cpu_stddev); cv 466 modules/cudaarithm/perf/perf_reductions.cpp const cv::Size size = GetParam(); cv 468 modules/cudaarithm/perf/perf_reductions.cpp cv::Mat src(size, CV_8UC1); cv 473 modules/cudaarithm/perf/perf_reductions.cpp const cv::cuda::GpuMat d_src(src); cv 474 modules/cudaarithm/perf/perf_reductions.cpp cv::cuda::GpuMat dst; cv 476 modules/cudaarithm/perf/perf_reductions.cpp TEST_CYCLE() cv::cuda::integral(d_src, dst); cv 482 modules/cudaarithm/perf/perf_reductions.cpp cv::Mat dst; cv 484 modules/cudaarithm/perf/perf_reductions.cpp TEST_CYCLE() cv::integral(src, dst); cv 496 modules/cudaarithm/perf/perf_reductions.cpp const cv::Size size = GetParam(); cv 498 modules/cudaarithm/perf/perf_reductions.cpp cv::Mat src(size, CV_8UC1); cv 503 modules/cudaarithm/perf/perf_reductions.cpp const cv::cuda::GpuMat d_src(src); cv 504 modules/cudaarithm/perf/perf_reductions.cpp cv::cuda::GpuMat dst; cv 506 modules/cudaarithm/perf/perf_reductions.cpp TEST_CYCLE() cv::cuda::sqrIntegral(d_src, dst); cv 45 modules/cudaarithm/src/arithm.cpp using namespace cv; cv 46 modules/cudaarithm/src/arithm.cpp using namespace cv::cuda; cv 50 modules/cudaarithm/src/arithm.cpp void cv::cuda::gemm(InputArray, InputArray, double, InputArray, double, OutputArray, int, Stream&) { throw_no_cuda(); } cv 52 modules/cudaarithm/src/arithm.cpp void cv::cuda::mulSpectrums(InputArray, InputArray, OutputArray, int, bool, Stream&) { throw_no_cuda(); } cv 53 modules/cudaarithm/src/arithm.cpp void cv::cuda::mulAndScaleSpectrums(InputArray, InputArray, OutputArray, int, float, bool, Stream&) { throw_no_cuda(); } cv 55 modules/cudaarithm/src/arithm.cpp void cv::cuda::dft(InputArray, OutputArray, Size, int, Stream&) { throw_no_cuda(); } cv 57 modules/cudaarithm/src/arithm.cpp Ptr<Convolution> cv::cuda::createConvolution(Size) { throw_no_cuda(); return Ptr<Convolution>(); } cv 83 modules/cudaarithm/src/arithm.cpp String str = cv::format("%s [Code = %d]", msg, code); cv 111 modules/cudaarithm/src/arithm.cpp cv::error(cv::Error::GpuApiCallError, msg, func, file, line); cv 145 modules/cudaarithm/src/arithm.cpp cv::error(cv::Error::GpuApiCallError, msg, func, file, line); cv 157 modules/cudaarithm/src/arithm.cpp void cv::cuda::gemm(InputArray _src1, InputArray _src2, double alpha, InputArray _src3, double beta, OutputArray _dst, int flags, Stream& stream) cv 182 modules/cudaarithm/src/arithm.cpp CV_Error(cv::Error::StsUnsupportedFormat, "The device doesn't support double"); cv 192 modules/cudaarithm/src/arithm.cpp CV_Error(cv::Error::StsNotImplemented, "transpose operation doesn't implemented for CV_64FC2 type"); cv 291 modules/cudaarithm/src/arithm.cpp void cv::cuda::dft(InputArray _src, OutputArray _dst, Size dft_size, int flags, Stream& stream) cv 537 modules/cudaarithm/src/arithm.cpp Ptr<Convolution> cv::cuda::createConvolution(Size user_block_size) cv 45 modules/cudaarithm/src/core.cpp using namespace cv; cv 46 modules/cudaarithm/src/core.cpp using namespace cv::cuda; cv 50 modules/cudaarithm/src/core.cpp void cv::cuda::merge(const GpuMat*, size_t, OutputArray, Stream&) { throw_no_cuda(); } cv 51 modules/cudaarithm/src/core.cpp void cv::cuda::merge(const std::vector<GpuMat>&, OutputArray, Stream&) { throw_no_cuda(); } cv 53 modules/cudaarithm/src/core.cpp void cv::cuda::split(InputArray, GpuMat*, Stream&) { throw_no_cuda(); } cv 54 modules/cudaarithm/src/core.cpp void cv::cuda::split(InputArray, std::vector<GpuMat>&, Stream&) { throw_no_cuda(); } cv 56 modules/cudaarithm/src/core.cpp void cv::cuda::transpose(InputArray, OutputArray, Stream&) { throw_no_cuda(); } cv 58 modules/cudaarithm/src/core.cpp void cv::cuda::flip(InputArray, OutputArray, int, Stream&) { throw_no_cuda(); } cv 60 modules/cudaarithm/src/core.cpp Ptr<LookUpTable> cv::cuda::createLookUpTable(InputArray) { throw_no_cuda(); return Ptr<LookUpTable>(); } cv 62 modules/cudaarithm/src/core.cpp void cv::cuda::copyMakeBorder(InputArray, OutputArray, int, int, int, int, int, Scalar, Stream&) { throw_no_cuda(); } cv 109 modules/cudaarithm/src/core.cpp void cv::cuda::flip(InputArray _src, OutputArray _dst, int flipCode, Stream& stream) cv 45 modules/cudaarithm/src/element_operations.cpp using namespace cv; cv 46 modules/cudaarithm/src/element_operations.cpp using namespace cv::cuda; cv 50 modules/cudaarithm/src/element_operations.cpp void cv::cuda::add(InputArray, InputArray, OutputArray, InputArray, int, Stream&) { throw_no_cuda(); } cv 51 modules/cudaarithm/src/element_operations.cpp void cv::cuda::subtract(InputArray, InputArray, OutputArray, InputArray, int, Stream&) { throw_no_cuda(); } cv 52 modules/cudaarithm/src/element_operations.cpp void cv::cuda::multiply(InputArray, InputArray, OutputArray, double, int, Stream&) { throw_no_cuda(); } cv 53 modules/cudaarithm/src/element_operations.cpp void cv::cuda::divide(InputArray, InputArray, OutputArray, double, int, Stream&) { throw_no_cuda(); } cv 54 modules/cudaarithm/src/element_operations.cpp void cv::cuda::absdiff(InputArray, InputArray, OutputArray, Stream&) { throw_no_cuda(); } cv 56 modules/cudaarithm/src/element_operations.cpp void cv::cuda::abs(InputArray, OutputArray, Stream&) { throw_no_cuda(); } cv 57 modules/cudaarithm/src/element_operations.cpp void cv::cuda::sqr(InputArray, OutputArray, Stream&) { throw_no_cuda(); } cv 58 modules/cudaarithm/src/element_operations.cpp void cv::cuda::sqrt(InputArray, OutputArray, Stream&) { throw_no_cuda(); } cv 59 modules/cudaarithm/src/element_operations.cpp void cv::cuda::exp(InputArray, OutputArray, Stream&) { throw_no_cuda(); } cv 60 modules/cudaarithm/src/element_operations.cpp void cv::cuda::log(InputArray, OutputArray, Stream&) { throw_no_cuda(); } cv 61 modules/cudaarithm/src/element_operations.cpp void cv::cuda::pow(InputArray, double, OutputArray, Stream&) { throw_no_cuda(); } cv 63 modules/cudaarithm/src/element_operations.cpp void cv::cuda::compare(InputArray, InputArray, OutputArray, int, Stream&) { throw_no_cuda(); } cv 65 modules/cudaarithm/src/element_operations.cpp void cv::cuda::bitwise_not(InputArray, OutputArray, InputArray, Stream&) { throw_no_cuda(); } cv 66 modules/cudaarithm/src/element_operations.cpp void cv::cuda::bitwise_or(InputArray, InputArray, OutputArray, InputArray, Stream&) { throw_no_cuda(); } cv 67 modules/cudaarithm/src/element_operations.cpp void cv::cuda::bitwise_and(InputArray, InputArray, OutputArray, InputArray, Stream&) { throw_no_cuda(); } cv 68 modules/cudaarithm/src/element_operations.cpp void cv::cuda::bitwise_xor(InputArray, InputArray, OutputArray, InputArray, Stream&) { throw_no_cuda(); } cv 70 modules/cudaarithm/src/element_operations.cpp void cv::cuda::rshift(InputArray, Scalar_<int>, OutputArray, Stream&) { throw_no_cuda(); } cv 71 modules/cudaarithm/src/element_operations.cpp void cv::cuda::lshift(InputArray, Scalar_<int>, OutputArray, Stream&) { throw_no_cuda(); } cv 73 modules/cudaarithm/src/element_operations.cpp void cv::cuda::min(InputArray, InputArray, OutputArray, Stream&) { throw_no_cuda(); } cv 74 modules/cudaarithm/src/element_operations.cpp void cv::cuda::max(InputArray, InputArray, OutputArray, Stream&) { throw_no_cuda(); } cv 76 modules/cudaarithm/src/element_operations.cpp void cv::cuda::addWeighted(InputArray, double, InputArray, double, double, OutputArray, int, Stream&) { throw_no_cuda(); } cv 78 modules/cudaarithm/src/element_operations.cpp double cv::cuda::threshold(InputArray, OutputArray, double, double, int, Stream&) {throw_no_cuda(); return 0.0;} cv 80 modules/cudaarithm/src/element_operations.cpp void cv::cuda::magnitude(InputArray, OutputArray, Stream&) { throw_no_cuda(); } cv 81 modules/cudaarithm/src/element_operations.cpp void cv::cuda::magnitude(InputArray, InputArray, OutputArray, Stream&) { throw_no_cuda(); } cv 82 modules/cudaarithm/src/element_operations.cpp void cv::cuda::magnitudeSqr(InputArray, OutputArray, Stream&) { throw_no_cuda(); } cv 83 modules/cudaarithm/src/element_operations.cpp void cv::cuda::magnitudeSqr(InputArray, InputArray, OutputArray, Stream&) { throw_no_cuda(); } cv 84 modules/cudaarithm/src/element_operations.cpp void cv::cuda::phase(InputArray, InputArray, OutputArray, bool, Stream&) { throw_no_cuda(); } cv 85 modules/cudaarithm/src/element_operations.cpp void cv::cuda::cartToPolar(InputArray, InputArray, OutputArray, OutputArray, bool, Stream&) { throw_no_cuda(); } cv 86 modules/cudaarithm/src/element_operations.cpp void cv::cuda::polarToCart(InputArray, InputArray, OutputArray, OutputArray, bool, Stream&) { throw_no_cuda(); } cv 170 modules/cudaarithm/src/element_operations.cpp void cv::cuda::add(InputArray src1, InputArray src2, OutputArray dst, InputArray mask, int dtype, Stream& stream) cv 182 modules/cudaarithm/src/element_operations.cpp void cv::cuda::subtract(InputArray src1, InputArray src2, OutputArray dst, InputArray mask, int dtype, Stream& stream) cv 194 modules/cudaarithm/src/element_operations.cpp void mulScalar(const GpuMat& src, cv::Scalar val, bool, GpuMat& dst, const GpuMat& mask, double scale, Stream& stream, int); cv 196 modules/cudaarithm/src/element_operations.cpp void cv::cuda::multiply(InputArray _src1, InputArray _src2, OutputArray _dst, double scale, int dtype, Stream& stream) cv 237 modules/cudaarithm/src/element_operations.cpp void divScalar(const GpuMat& src, cv::Scalar val, bool inv, GpuMat& dst, const GpuMat& mask, double scale, Stream& stream, int); cv 239 modules/cudaarithm/src/element_operations.cpp void cv::cuda::divide(InputArray _src1, InputArray _src2, OutputArray _dst, double scale, int dtype, Stream& stream) cv 278 modules/cudaarithm/src/element_operations.cpp void absDiffScalar(const GpuMat& src, cv::Scalar val, bool, GpuMat& dst, const GpuMat&, double, Stream& stream, int); cv 280 modules/cudaarithm/src/element_operations.cpp void cv::cuda::absdiff(InputArray src1, InputArray src2, OutputArray dst, Stream& stream) cv 292 modules/cudaarithm/src/element_operations.cpp void cv::cuda::compare(InputArray src1, InputArray src2, OutputArray dst, int cmpop, Stream& stream) cv 312 modules/cudaarithm/src/element_operations.cpp void bitScalar(const GpuMat& src, cv::Scalar value, bool, GpuMat& dst, const GpuMat& mask, double, Stream& stream, int op); cv 314 modules/cudaarithm/src/element_operations.cpp void cv::cuda::bitwise_or(InputArray src1, InputArray src2, OutputArray dst, InputArray mask, Stream& stream) cv 319 modules/cudaarithm/src/element_operations.cpp void cv::cuda::bitwise_and(InputArray src1, InputArray src2, OutputArray dst, InputArray mask, Stream& stream) cv 324 modules/cudaarithm/src/element_operations.cpp void cv::cuda::bitwise_xor(InputArray src1, InputArray src2, OutputArray dst, InputArray mask, Stream& stream) cv 385 modules/cudaarithm/src/element_operations.cpp void cv::cuda::rshift(InputArray _src, Scalar_<int> val, OutputArray _dst, Stream& stream) cv 409 modules/cudaarithm/src/element_operations.cpp void cv::cuda::lshift(InputArray _src, Scalar_<int> val, OutputArray _dst, Stream& stream) cv 447 modules/cudaarithm/src/element_operations.cpp void minMaxScalar(const GpuMat& src, cv::Scalar value, bool, GpuMat& dst, const GpuMat&, double, Stream& stream, int op); cv 449 modules/cudaarithm/src/element_operations.cpp void cv::cuda::min(InputArray src1, InputArray src2, OutputArray dst, Stream& stream) cv 454 modules/cudaarithm/src/element_operations.cpp void cv::cuda::max(InputArray src1, InputArray src2, OutputArray dst, Stream& stream) cv 483 modules/cudaarithm/src/element_operations.cpp void cv::cuda::magnitude(InputArray _src, OutputArray _dst, Stream& stream) cv 494 modules/cudaarithm/src/element_operations.cpp void cv::cuda::magnitudeSqr(InputArray _src, OutputArray _dst, Stream& stream) cv 45 modules/cudaarithm/src/reductions.cpp using namespace cv; cv 46 modules/cudaarithm/src/reductions.cpp using namespace cv::cuda; cv 50 modules/cudaarithm/src/reductions.cpp double cv::cuda::norm(InputArray, int, InputArray) { throw_no_cuda(); return 0.0; } cv 51 modules/cudaarithm/src/reductions.cpp void cv::cuda::calcNorm(InputArray, OutputArray, int, InputArray, Stream&) { throw_no_cuda(); } cv 52 modules/cudaarithm/src/reductions.cpp double cv::cuda::norm(InputArray, InputArray, int) { throw_no_cuda(); return 0.0; } cv 53 modules/cudaarithm/src/reductions.cpp void cv::cuda::calcNormDiff(InputArray, InputArray, OutputArray, int, Stream&) { throw_no_cuda(); } cv 55 modules/cudaarithm/src/reductions.cpp Scalar cv::cuda::sum(InputArray, InputArray) { throw_no_cuda(); return Scalar(); } cv 56 modules/cudaarithm/src/reductions.cpp void cv::cuda::calcSum(InputArray, OutputArray, InputArray, Stream&) { throw_no_cuda(); } cv 57 modules/cudaarithm/src/reductions.cpp Scalar cv::cuda::absSum(InputArray, InputArray) { throw_no_cuda(); return Scalar(); } cv 58 modules/cudaarithm/src/reductions.cpp void cv::cuda::calcAbsSum(InputArray, OutputArray, InputArray, Stream&) { throw_no_cuda(); } cv 59 modules/cudaarithm/src/reductions.cpp Scalar cv::cuda::sqrSum(InputArray, InputArray) { throw_no_cuda(); return Scalar(); } cv 60 modules/cudaarithm/src/reductions.cpp void cv::cuda::calcSqrSum(InputArray, OutputArray, InputArray, Stream&) { throw_no_cuda(); } cv 62 modules/cudaarithm/src/reductions.cpp void cv::cuda::minMax(InputArray, double*, double*, InputArray) { throw_no_cuda(); } cv 63 modules/cudaarithm/src/reductions.cpp void cv::cuda::findMinMax(InputArray, OutputArray, InputArray, Stream&) { throw_no_cuda(); } cv 64 modules/cudaarithm/src/reductions.cpp void cv::cuda::minMaxLoc(InputArray, double*, double*, Point*, Point*, InputArray) { throw_no_cuda(); } cv 65 modules/cudaarithm/src/reductions.cpp void cv::cuda::findMinMaxLoc(InputArray, OutputArray, OutputArray, InputArray, Stream&) { throw_no_cuda(); } cv 67 modules/cudaarithm/src/reductions.cpp int cv::cuda::countNonZero(InputArray) { throw_no_cuda(); return 0; } cv 68 modules/cudaarithm/src/reductions.cpp void cv::cuda::countNonZero(InputArray, OutputArray, Stream&) { throw_no_cuda(); } cv 70 modules/cudaarithm/src/reductions.cpp void cv::cuda::reduce(InputArray, OutputArray, int, int, int, Stream&) { throw_no_cuda(); } cv 72 modules/cudaarithm/src/reductions.cpp void cv::cuda::meanStdDev(InputArray, Scalar&, Scalar&) { throw_no_cuda(); } cv 73 modules/cudaarithm/src/reductions.cpp void cv::cuda::meanStdDev(InputArray, OutputArray, Stream&) { throw_no_cuda(); } cv 75 modules/cudaarithm/src/reductions.cpp void cv::cuda::rectStdDev(InputArray, InputArray, OutputArray, Rect, Stream&) { throw_no_cuda(); } cv 77 modules/cudaarithm/src/reductions.cpp void cv::cuda::normalize(InputArray, OutputArray, double, double, int, int, InputArray, Stream&) { throw_no_cuda(); } cv 79 modules/cudaarithm/src/reductions.cpp void cv::cuda::integral(InputArray, OutputArray, Stream&) { throw_no_cuda(); } cv 80 modules/cudaarithm/src/reductions.cpp void cv::cuda::sqrIntegral(InputArray, OutputArray, Stream&) { throw_no_cuda(); } cv 89 modules/cudaarithm/src/reductions.cpp void normL2(cv::InputArray _src, cv::OutputArray _dst, cv::InputArray _mask, Stream& stream); cv 91 modules/cudaarithm/src/reductions.cpp void findMaxAbs(cv::InputArray _src, cv::OutputArray _dst, cv::InputArray _mask, Stream& stream); cv 95 modules/cudaarithm/src/reductions.cpp void cv::cuda::calcNorm(InputArray _src, OutputArray dst, int normType, InputArray mask, Stream& stream) cv 109 modules/cudaarithm/src/reductions.cpp cv::cuda::device::normL2(src_single_channel, dst, mask, stream); cv 113 modules/cudaarithm/src/reductions.cpp cv::cuda::device::findMaxAbs(src_single_channel, dst, mask, stream); cv 117 modules/cudaarithm/src/reductions.cpp double cv::cuda::norm(InputArray _src, int normType, InputArray _mask) cv 135 modules/cudaarithm/src/reductions.cpp void cv::cuda::meanStdDev(InputArray _src, OutputArray _dst, Stream& stream) cv 138 modules/cudaarithm/src/reductions.cpp CV_Error(cv::Error::StsNotImplemented, "Not sufficient compute capebility"); cv 167 modules/cudaarithm/src/reductions.cpp void cv::cuda::meanStdDev(InputArray _src, Scalar& mean, Scalar& stddev) cv 186 modules/cudaarithm/src/reductions.cpp void cv::cuda::rectStdDev(InputArray _src, InputArray _sqr, OutputArray _dst, Rect rect, Stream& _stream) cv 54 modules/cudaarithm/test/test_arithm.cpp CV_FLAGS(GemmFlags, 0, cv::GEMM_1_T, cv::GEMM_2_T, cv::GEMM_3_T); cv 55 modules/cudaarithm/test/test_arithm.cpp #define ALL_GEMM_FLAGS testing::Values(GemmFlags(0), GemmFlags(cv::GEMM_1_T), GemmFlags(cv::GEMM_2_T), GemmFlags(cv::GEMM_3_T), GemmFlags(cv::GEMM_1_T | cv::GEMM_2_T), GemmFlags(cv::GEMM_1_T | cv::GEMM_3_T), GemmFlags(cv::GEMM_1_T | cv::GEMM_2_T | cv::GEMM_3_T)) cv 57 modules/cudaarithm/test/test_arithm.cpp PARAM_TEST_CASE(GEMM, cv::cuda::DeviceInfo, cv::Size, MatType, GemmFlags, UseRoi) cv 59 modules/cudaarithm/test/test_arithm.cpp cv::cuda::DeviceInfo devInfo; cv 60 modules/cudaarithm/test/test_arithm.cpp cv::Size size; cv 73 modules/cudaarithm/test/test_arithm.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 79 modules/cudaarithm/test/test_arithm.cpp cv::Mat src1 = randomMat(size, type, -10.0, 10.0); cv 80 modules/cudaarithm/test/test_arithm.cpp cv::Mat src2 = randomMat(size, type, -10.0, 10.0); cv 81 modules/cudaarithm/test/test_arithm.cpp cv::Mat src3 = randomMat(size, type, -10.0, 10.0); cv 85 modules/cudaarithm/test/test_arithm.cpp if (CV_MAT_DEPTH(type) == CV_64F && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) cv 89 modules/cudaarithm/test/test_arithm.cpp cv::cuda::GpuMat dst; cv 90 modules/cudaarithm/test/test_arithm.cpp cv::cuda::gemm(loadMat(src1), loadMat(src2), alpha, loadMat(src3), beta, dst, flags); cv 92 modules/cudaarithm/test/test_arithm.cpp catch (const cv::Exception& e) cv 94 modules/cudaarithm/test/test_arithm.cpp ASSERT_EQ(cv::Error::StsUnsupportedFormat, e.code); cv 101 modules/cudaarithm/test/test_arithm.cpp cv::cuda::GpuMat dst; cv 102 modules/cudaarithm/test/test_arithm.cpp cv::cuda::gemm(loadMat(src1), loadMat(src2), alpha, loadMat(src3), beta, dst, flags); cv 104 modules/cudaarithm/test/test_arithm.cpp catch (const cv::Exception& e) cv 106 modules/cudaarithm/test/test_arithm.cpp ASSERT_EQ(cv::Error::StsNotImplemented, e.code); cv 111 modules/cudaarithm/test/test_arithm.cpp cv::cuda::GpuMat dst = createMat(size, type, useRoi); cv 112 modules/cudaarithm/test/test_arithm.cpp cv::cuda::gemm(loadMat(src1, useRoi), loadMat(src2, useRoi), alpha, loadMat(src3, useRoi), beta, dst, flags); cv 114 modules/cudaarithm/test/test_arithm.cpp cv::Mat dst_gold; cv 115 modules/cudaarithm/test/test_arithm.cpp cv::gemm(src1, src2, alpha, src3, beta, dst_gold, flags); cv 131 modules/cudaarithm/test/test_arithm.cpp CV_FLAGS(DftFlags, 0, cv::DFT_INVERSE, cv::DFT_SCALE, cv::DFT_ROWS, cv::DFT_COMPLEX_OUTPUT, cv::DFT_REAL_OUTPUT) cv 133 modules/cudaarithm/test/test_arithm.cpp PARAM_TEST_CASE(MulSpectrums, cv::cuda::DeviceInfo, cv::Size, DftFlags) cv 135 modules/cudaarithm/test/test_arithm.cpp cv::cuda::DeviceInfo devInfo; cv 136 modules/cudaarithm/test/test_arithm.cpp cv::Size size; cv 139 modules/cudaarithm/test/test_arithm.cpp cv::Mat a, b; cv 147 modules/cudaarithm/test/test_arithm.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 156 modules/cudaarithm/test/test_arithm.cpp cv::cuda::GpuMat c; cv 157 modules/cudaarithm/test/test_arithm.cpp cv::cuda::mulSpectrums(loadMat(a), loadMat(b), c, flag, false); cv 159 modules/cudaarithm/test/test_arithm.cpp cv::Mat c_gold; cv 160 modules/cudaarithm/test/test_arithm.cpp cv::mulSpectrums(a, b, c_gold, flag, false); cv 169 modules/cudaarithm/test/test_arithm.cpp cv::cuda::GpuMat c; cv 170 modules/cudaarithm/test/test_arithm.cpp cv::cuda::mulAndScaleSpectrums(loadMat(a), loadMat(b), c, flag, scale, false); cv 172 modules/cudaarithm/test/test_arithm.cpp cv::Mat c_gold; cv 173 modules/cudaarithm/test/test_arithm.cpp cv::mulSpectrums(a, b, c_gold, flag, false); cv 182 modules/cudaarithm/test/test_arithm.cpp testing::Values(DftFlags(0), DftFlags(cv::DFT_ROWS)))); cv 187 modules/cudaarithm/test/test_arithm.cpp struct Dft : testing::TestWithParam<cv::cuda::DeviceInfo> cv 189 modules/cudaarithm/test/test_arithm.cpp cv::cuda::DeviceInfo devInfo; cv 195 modules/cudaarithm/test/test_arithm.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 205 modules/cudaarithm/test/test_arithm.cpp cv::Mat a = randomMat(cv::Size(cols, rows), CV_32FC2, 0.0, 10.0); cv 207 modules/cudaarithm/test/test_arithm.cpp cv::Mat b_gold; cv 208 modules/cudaarithm/test/test_arithm.cpp cv::dft(a, b_gold, flags); cv 210 modules/cudaarithm/test/test_arithm.cpp cv::cuda::GpuMat d_b; cv 211 modules/cudaarithm/test/test_arithm.cpp cv::cuda::GpuMat d_b_data; cv 215 modules/cudaarithm/test/test_arithm.cpp d_b = cv::cuda::GpuMat(a.rows, a.cols, CV_32FC2, d_b_data.ptr(), a.cols * d_b_data.elemSize()); cv 217 modules/cudaarithm/test/test_arithm.cpp cv::cuda::dft(loadMat(a), d_b, cv::Size(cols, rows), flags); cv 222 modules/cudaarithm/test/test_arithm.cpp EXPECT_MAT_NEAR(b_gold, cv::Mat(d_b), rows * cols * 1e-4); cv 239 modules/cudaarithm/test/test_arithm.cpp testC2C("DFT_INVERSE", cols, rows, cv::DFT_INVERSE, inplace); cv 240 modules/cudaarithm/test/test_arithm.cpp testC2C("DFT_ROWS", cols, rows, cv::DFT_ROWS, inplace); cv 243 modules/cudaarithm/test/test_arithm.cpp testC2C("single col inversed", 1, rows, cv::DFT_INVERSE, inplace); cv 244 modules/cudaarithm/test/test_arithm.cpp testC2C("single row inversed", cols, 1, cv::DFT_INVERSE, inplace); cv 245 modules/cudaarithm/test/test_arithm.cpp testC2C("single row DFT_ROWS", cols, 1, cv::DFT_ROWS, inplace); cv 257 modules/cudaarithm/test/test_arithm.cpp cv::Mat a = randomMat(cv::Size(cols, rows), CV_32FC1, 0.0, 10.0); cv 259 modules/cudaarithm/test/test_arithm.cpp cv::cuda::GpuMat d_b, d_c; cv 260 modules/cudaarithm/test/test_arithm.cpp cv::cuda::GpuMat d_b_data, d_c_data; cv 266 modules/cudaarithm/test/test_arithm.cpp d_b = cv::cuda::GpuMat(a.rows / 2 + 1, a.cols, CV_32FC2, d_b_data.ptr(), a.cols * d_b_data.elemSize()); cv 271 modules/cudaarithm/test/test_arithm.cpp d_b = cv::cuda::GpuMat(a.rows, a.cols / 2 + 1, CV_32FC2, d_b_data.ptr(), (a.cols / 2 + 1) * d_b_data.elemSize()); cv 274 modules/cudaarithm/test/test_arithm.cpp d_c = cv::cuda::GpuMat(a.rows, a.cols, CV_32F, d_c_data.ptr(), a.cols * d_c_data.elemSize()); cv 277 modules/cudaarithm/test/test_arithm.cpp cv::cuda::dft(loadMat(a), d_b, cv::Size(cols, rows), 0); cv 278 modules/cudaarithm/test/test_arithm.cpp cv::cuda::dft(d_b, d_c, cv::Size(cols, rows), cv::DFT_REAL_OUTPUT | cv::DFT_SCALE); cv 285 modules/cudaarithm/test/test_arithm.cpp cv::Mat c(d_c); cv 319 modules/cudaarithm/test/test_arithm.cpp void convolveDFT(const cv::Mat& A, const cv::Mat& B, cv::Mat& C, bool ccorr = false) cv 323 modules/cudaarithm/test/test_arithm.cpp cv::Size dftSize; cv 326 modules/cudaarithm/test/test_arithm.cpp dftSize.width = cv::getOptimalDFTSize(A.cols + B.cols - 1); cv 327 modules/cudaarithm/test/test_arithm.cpp dftSize.height = cv::getOptimalDFTSize(A.rows + B.rows - 1); cv 330 modules/cudaarithm/test/test_arithm.cpp cv::Mat tempA(dftSize, A.type(), cv::Scalar::all(0)); cv 331 modules/cudaarithm/test/test_arithm.cpp cv::Mat tempB(dftSize, B.type(), cv::Scalar::all(0)); cv 334 modules/cudaarithm/test/test_arithm.cpp cv::Mat roiA(tempA, cv::Rect(0, 0, A.cols, A.rows)); cv 336 modules/cudaarithm/test/test_arithm.cpp cv::Mat roiB(tempB, cv::Rect(0, 0, B.cols, B.rows)); cv 341 modules/cudaarithm/test/test_arithm.cpp cv::dft(tempA, tempA, 0, A.rows); cv 342 modules/cudaarithm/test/test_arithm.cpp cv::dft(tempB, tempB, 0, B.rows); cv 346 modules/cudaarithm/test/test_arithm.cpp cv::mulSpectrums(tempA, tempB, tempA, 0, ccorr); cv 352 modules/cudaarithm/test/test_arithm.cpp cv::dft(tempA, tempA, cv::DFT_INVERSE + cv::DFT_SCALE, C.rows); cv 355 modules/cudaarithm/test/test_arithm.cpp tempA(cv::Rect(0, 0, C.cols, C.rows)).copyTo(C); cv 362 modules/cudaarithm/test/test_arithm.cpp PARAM_TEST_CASE(Convolve, cv::cuda::DeviceInfo, cv::Size, KSize, Ccorr) cv 364 modules/cudaarithm/test/test_arithm.cpp cv::cuda::DeviceInfo devInfo; cv 365 modules/cudaarithm/test/test_arithm.cpp cv::Size size; cv 376 modules/cudaarithm/test/test_arithm.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 382 modules/cudaarithm/test/test_arithm.cpp cv::Mat src = randomMat(size, CV_32FC1, 0.0, 100.0); cv 383 modules/cudaarithm/test/test_arithm.cpp cv::Mat kernel = randomMat(cv::Size(ksize, ksize), CV_32FC1, 0.0, 1.0); cv 385 modules/cudaarithm/test/test_arithm.cpp cv::Ptr<cv::cuda::Convolution> conv = cv::cuda::createConvolution(); cv 387 modules/cudaarithm/test/test_arithm.cpp cv::cuda::GpuMat dst; cv 390 modules/cudaarithm/test/test_arithm.cpp cv::Mat dst_gold; cv 52 modules/cudaarithm/test/test_buffer_pool.cpp using namespace cv; cv 53 modules/cudaarithm/test/test_buffer_pool.cpp using namespace cv::cuda; cv 52 modules/cudaarithm/test/test_core.cpp PARAM_TEST_CASE(Merge, cv::cuda::DeviceInfo, cv::Size, MatDepth, Channels, UseRoi) cv 54 modules/cudaarithm/test/test_core.cpp cv::cuda::DeviceInfo devInfo; cv 55 modules/cudaarithm/test/test_core.cpp cv::Size size; cv 68 modules/cudaarithm/test/test_core.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 74 modules/cudaarithm/test/test_core.cpp std::vector<cv::Mat> src; cv 77 modules/cudaarithm/test/test_core.cpp src.push_back(cv::Mat(size, depth, cv::Scalar::all(i))); cv 79 modules/cudaarithm/test/test_core.cpp std::vector<cv::cuda::GpuMat> d_src; cv 83 modules/cudaarithm/test/test_core.cpp if (depth == CV_64F && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) cv 87 modules/cudaarithm/test/test_core.cpp cv::cuda::GpuMat dst; cv 88 modules/cudaarithm/test/test_core.cpp cv::cuda::merge(d_src, dst); cv 90 modules/cudaarithm/test/test_core.cpp catch (const cv::Exception& e) cv 92 modules/cudaarithm/test/test_core.cpp ASSERT_EQ(cv::Error::StsUnsupportedFormat, e.code); cv 97 modules/cudaarithm/test/test_core.cpp cv::cuda::GpuMat dst; cv 98 modules/cudaarithm/test/test_core.cpp cv::cuda::merge(d_src, dst); cv 100 modules/cudaarithm/test/test_core.cpp cv::Mat dst_gold; cv 101 modules/cudaarithm/test/test_core.cpp cv::merge(src, dst_gold); cv 117 modules/cudaarithm/test/test_core.cpp PARAM_TEST_CASE(Split, cv::cuda::DeviceInfo, cv::Size, MatDepth, Channels, UseRoi) cv 119 modules/cudaarithm/test/test_core.cpp cv::cuda::DeviceInfo devInfo; cv 120 modules/cudaarithm/test/test_core.cpp cv::Size size; cv 135 modules/cudaarithm/test/test_core.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 143 modules/cudaarithm/test/test_core.cpp cv::Mat src = randomMat(size, type); cv 145 modules/cudaarithm/test/test_core.cpp if (depth == CV_64F && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) cv 149 modules/cudaarithm/test/test_core.cpp std::vector<cv::cuda::GpuMat> dst; cv 150 modules/cudaarithm/test/test_core.cpp cv::cuda::split(loadMat(src), dst); cv 152 modules/cudaarithm/test/test_core.cpp catch (const cv::Exception& e) cv 154 modules/cudaarithm/test/test_core.cpp ASSERT_EQ(cv::Error::StsUnsupportedFormat, e.code); cv 159 modules/cudaarithm/test/test_core.cpp std::vector<cv::cuda::GpuMat> dst; cv 160 modules/cudaarithm/test/test_core.cpp cv::cuda::split(loadMat(src, useRoi), dst); cv 162 modules/cudaarithm/test/test_core.cpp std::vector<cv::Mat> dst_gold; cv 163 modules/cudaarithm/test/test_core.cpp cv::split(src, dst_gold); cv 184 modules/cudaarithm/test/test_core.cpp PARAM_TEST_CASE(Transpose, cv::cuda::DeviceInfo, cv::Size, MatType, UseRoi) cv 186 modules/cudaarithm/test/test_core.cpp cv::cuda::DeviceInfo devInfo; cv 187 modules/cudaarithm/test/test_core.cpp cv::Size size; cv 198 modules/cudaarithm/test/test_core.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 204 modules/cudaarithm/test/test_core.cpp cv::Mat src = randomMat(size, type); cv 206 modules/cudaarithm/test/test_core.cpp if (CV_MAT_DEPTH(type) == CV_64F && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) cv 210 modules/cudaarithm/test/test_core.cpp cv::cuda::GpuMat dst; cv 211 modules/cudaarithm/test/test_core.cpp cv::cuda::transpose(loadMat(src), dst); cv 213 modules/cudaarithm/test/test_core.cpp catch (const cv::Exception& e) cv 215 modules/cudaarithm/test/test_core.cpp ASSERT_EQ(cv::Error::StsUnsupportedFormat, e.code); cv 220 modules/cudaarithm/test/test_core.cpp cv::cuda::GpuMat dst = createMat(cv::Size(size.height, size.width), type, useRoi); cv 221 modules/cudaarithm/test/test_core.cpp cv::cuda::transpose(loadMat(src, useRoi), dst); cv 223 modules/cudaarithm/test/test_core.cpp cv::Mat dst_gold; cv 224 modules/cudaarithm/test/test_core.cpp cv::transpose(src, dst_gold); cv 249 modules/cudaarithm/test/test_core.cpp PARAM_TEST_CASE(Flip, cv::cuda::DeviceInfo, cv::Size, MatType, FlipCode, UseRoi) cv 251 modules/cudaarithm/test/test_core.cpp cv::cuda::DeviceInfo devInfo; cv 252 modules/cudaarithm/test/test_core.cpp cv::Size size; cv 265 modules/cudaarithm/test/test_core.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 271 modules/cudaarithm/test/test_core.cpp cv::Mat src = randomMat(size, type); cv 273 modules/cudaarithm/test/test_core.cpp cv::cuda::GpuMat dst = createMat(size, type, useRoi); cv 274 modules/cudaarithm/test/test_core.cpp cv::cuda::flip(loadMat(src, useRoi), dst, flip_code); cv 276 modules/cudaarithm/test/test_core.cpp cv::Mat dst_gold; cv 277 modules/cudaarithm/test/test_core.cpp cv::flip(src, dst_gold, flip_code); cv 303 modules/cudaarithm/test/test_core.cpp PARAM_TEST_CASE(LUT, cv::cuda::DeviceInfo, cv::Size, MatType, UseRoi) cv 305 modules/cudaarithm/test/test_core.cpp cv::cuda::DeviceInfo devInfo; cv 306 modules/cudaarithm/test/test_core.cpp cv::Size size; cv 317 modules/cudaarithm/test/test_core.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 323 modules/cudaarithm/test/test_core.cpp cv::Mat src = randomMat(size, type); cv 324 modules/cudaarithm/test/test_core.cpp cv::Mat lut = randomMat(cv::Size(256, 1), CV_8UC1); cv 326 modules/cudaarithm/test/test_core.cpp cv::Ptr<cv::cuda::LookUpTable> lutAlg = cv::cuda::createLookUpTable(lut); cv 328 modules/cudaarithm/test/test_core.cpp cv::cuda::GpuMat dst = createMat(size, CV_MAKE_TYPE(lut.depth(), src.channels())); cv 331 modules/cudaarithm/test/test_core.cpp cv::Mat dst_gold; cv 332 modules/cudaarithm/test/test_core.cpp cv::LUT(src, lut, dst_gold); cv 339 modules/cudaarithm/test/test_core.cpp cv::Mat src = randomMat(size, type); cv 340 modules/cudaarithm/test/test_core.cpp cv::Mat lut = randomMat(cv::Size(256, 1), CV_MAKE_TYPE(CV_8U, src.channels())); cv 342 modules/cudaarithm/test/test_core.cpp cv::Ptr<cv::cuda::LookUpTable> lutAlg = cv::cuda::createLookUpTable(lut); cv 344 modules/cudaarithm/test/test_core.cpp cv::cuda::GpuMat dst = createMat(size, CV_MAKE_TYPE(lut.depth(), src.channels()), useRoi); cv 347 modules/cudaarithm/test/test_core.cpp cv::Mat dst_gold; cv 348 modules/cudaarithm/test/test_core.cpp cv::LUT(src, lut, dst_gold); cv 367 modules/cudaarithm/test/test_core.cpp PARAM_TEST_CASE(CopyMakeBorder, cv::cuda::DeviceInfo, cv::Size, MatType, Border, BorderType, UseRoi) cv 369 modules/cudaarithm/test/test_core.cpp cv::cuda::DeviceInfo devInfo; cv 370 modules/cudaarithm/test/test_core.cpp cv::Size size; cv 385 modules/cudaarithm/test/test_core.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 391 modules/cudaarithm/test/test_core.cpp cv::Mat src = randomMat(size, type); cv 392 modules/cudaarithm/test/test_core.cpp cv::Scalar val = randomScalar(0, 255); cv 394 modules/cudaarithm/test/test_core.cpp cv::cuda::GpuMat dst = createMat(cv::Size(size.width + 2 * border, size.height + 2 * border), type, useRoi); cv 395 modules/cudaarithm/test/test_core.cpp cv::cuda::copyMakeBorder(loadMat(src, useRoi), dst, border, border, border, border, borderType, val); cv 397 modules/cudaarithm/test/test_core.cpp cv::Mat dst_gold; cv 398 modules/cudaarithm/test/test_core.cpp cv::copyMakeBorder(src, dst_gold, border, border, border, border, borderType, val); cv 52 modules/cudaarithm/test/test_element_operations.cpp PARAM_TEST_CASE(Add_Array, cv::cuda::DeviceInfo, cv::Size, std::pair<MatDepth, MatDepth>, Channels, UseRoi) cv 54 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::DeviceInfo devInfo; cv 55 modules/cudaarithm/test/test_element_operations.cpp cv::Size size; cv 71 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 80 modules/cudaarithm/test/test_element_operations.cpp cv::Mat mat1 = randomMat(size, stype); cv 81 modules/cudaarithm/test/test_element_operations.cpp cv::Mat mat2 = randomMat(size, stype); cv 83 modules/cudaarithm/test/test_element_operations.cpp if ((depth.first == CV_64F || depth.second == CV_64F) && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) cv 87 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst; cv 88 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::add(loadMat(mat1), loadMat(mat2), dst, cv::cuda::GpuMat(), depth.second); cv 90 modules/cudaarithm/test/test_element_operations.cpp catch (const cv::Exception& e) cv 92 modules/cudaarithm/test/test_element_operations.cpp ASSERT_EQ(cv::Error::StsUnsupportedFormat, e.code); cv 97 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, dtype, useRoi); cv 98 modules/cudaarithm/test/test_element_operations.cpp dst.setTo(cv::Scalar::all(0)); cv 99 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::add(loadMat(mat1, useRoi), loadMat(mat2, useRoi), dst, cv::cuda::GpuMat(), depth.second); cv 101 modules/cudaarithm/test/test_element_operations.cpp cv::Mat dst_gold(size, dtype, cv::Scalar::all(0)); cv 102 modules/cudaarithm/test/test_element_operations.cpp cv::add(mat1, mat2, dst_gold, cv::noArray(), depth.second); cv 115 modules/cudaarithm/test/test_element_operations.cpp PARAM_TEST_CASE(Add_Array_Mask, cv::cuda::DeviceInfo, cv::Size, std::pair<MatDepth, MatDepth>, UseRoi) cv 117 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::DeviceInfo devInfo; cv 118 modules/cudaarithm/test/test_element_operations.cpp cv::Size size; cv 132 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 141 modules/cudaarithm/test/test_element_operations.cpp cv::Mat mat1 = randomMat(size, stype); cv 142 modules/cudaarithm/test/test_element_operations.cpp cv::Mat mat2 = randomMat(size, stype); cv 143 modules/cudaarithm/test/test_element_operations.cpp cv::Mat mask = randomMat(size, CV_8UC1, 0, 2); cv 145 modules/cudaarithm/test/test_element_operations.cpp if ((depth.first == CV_64F || depth.second == CV_64F) && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) cv 149 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst; cv 150 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::add(loadMat(mat1), loadMat(mat2), dst, cv::cuda::GpuMat(), depth.second); cv 152 modules/cudaarithm/test/test_element_operations.cpp catch (const cv::Exception& e) cv 154 modules/cudaarithm/test/test_element_operations.cpp ASSERT_EQ(cv::Error::StsUnsupportedFormat, e.code); cv 159 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, dtype, useRoi); cv 160 modules/cudaarithm/test/test_element_operations.cpp dst.setTo(cv::Scalar::all(0)); cv 161 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::add(loadMat(mat1, useRoi), loadMat(mat2, useRoi), dst, loadMat(mask, useRoi), depth.second); cv 163 modules/cudaarithm/test/test_element_operations.cpp cv::Mat dst_gold(size, dtype, cv::Scalar::all(0)); cv 164 modules/cudaarithm/test/test_element_operations.cpp cv::add(mat1, mat2, dst_gold, mask, depth.second); cv 179 modules/cudaarithm/test/test_element_operations.cpp PARAM_TEST_CASE(Add_Scalar, cv::cuda::DeviceInfo, cv::Size, std::pair<MatDepth, MatDepth>, UseRoi) cv 181 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::DeviceInfo devInfo; cv 182 modules/cudaarithm/test/test_element_operations.cpp cv::Size size; cv 193 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 199 modules/cudaarithm/test/test_element_operations.cpp cv::Mat mat = randomMat(size, depth.first); cv 200 modules/cudaarithm/test/test_element_operations.cpp cv::Scalar val = randomScalar(0, 255); cv 202 modules/cudaarithm/test/test_element_operations.cpp if ((depth.first == CV_64F || depth.second == CV_64F) && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) cv 206 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst; cv 207 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::add(loadMat(mat), val, dst, cv::cuda::GpuMat(), depth.second); cv 209 modules/cudaarithm/test/test_element_operations.cpp catch (const cv::Exception& e) cv 211 modules/cudaarithm/test/test_element_operations.cpp ASSERT_EQ(cv::Error::StsUnsupportedFormat, e.code); cv 216 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, depth.second, useRoi); cv 217 modules/cudaarithm/test/test_element_operations.cpp dst.setTo(cv::Scalar::all(0)); cv 218 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::add(loadMat(mat, useRoi), val, dst, cv::cuda::GpuMat(), depth.second); cv 220 modules/cudaarithm/test/test_element_operations.cpp cv::Mat dst_gold(size, depth.second, cv::Scalar::all(0)); cv 221 modules/cudaarithm/test/test_element_operations.cpp cv::add(mat, val, dst_gold, cv::noArray(), depth.second); cv 229 modules/cudaarithm/test/test_element_operations.cpp cv::Mat mat = randomMat(size, depth.first); cv 230 modules/cudaarithm/test/test_element_operations.cpp cv::Scalar val = randomScalar(0, 255); cv 231 modules/cudaarithm/test/test_element_operations.cpp cv::Mat mask = randomMat(size, CV_8UC1, 0.0, 2.0); cv 233 modules/cudaarithm/test/test_element_operations.cpp if ((depth.first == CV_64F || depth.second == CV_64F) && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) cv 237 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst; cv 238 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::add(loadMat(mat), val, dst, cv::cuda::GpuMat(), depth.second); cv 240 modules/cudaarithm/test/test_element_operations.cpp catch (const cv::Exception& e) cv 242 modules/cudaarithm/test/test_element_operations.cpp ASSERT_EQ(cv::Error::StsUnsupportedFormat, e.code); cv 247 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, depth.second, useRoi); cv 248 modules/cudaarithm/test/test_element_operations.cpp dst.setTo(cv::Scalar::all(0)); cv 249 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::add(loadMat(mat, useRoi), val, dst, loadMat(mask, useRoi), depth.second); cv 251 modules/cudaarithm/test/test_element_operations.cpp cv::Mat dst_gold(size, depth.second, cv::Scalar::all(0)); cv 252 modules/cudaarithm/test/test_element_operations.cpp cv::add(mat, val, dst_gold, mask, depth.second); cv 267 modules/cudaarithm/test/test_element_operations.cpp PARAM_TEST_CASE(Add_Scalar_First, cv::cuda::DeviceInfo, cv::Size, std::pair<MatDepth, MatDepth>, UseRoi) cv 269 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::DeviceInfo devInfo; cv 270 modules/cudaarithm/test/test_element_operations.cpp cv::Size size; cv 281 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 287 modules/cudaarithm/test/test_element_operations.cpp cv::Mat mat = randomMat(size, depth.first); cv 288 modules/cudaarithm/test/test_element_operations.cpp cv::Scalar val = randomScalar(0, 255); cv 290 modules/cudaarithm/test/test_element_operations.cpp if ((depth.first == CV_64F || depth.second == CV_64F) && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) cv 294 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst; cv 295 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::add(val, loadMat(mat), dst, cv::cuda::GpuMat(), depth.second); cv 297 modules/cudaarithm/test/test_element_operations.cpp catch (const cv::Exception& e) cv 299 modules/cudaarithm/test/test_element_operations.cpp ASSERT_EQ(cv::Error::StsUnsupportedFormat, e.code); cv 304 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, depth.second, useRoi); cv 305 modules/cudaarithm/test/test_element_operations.cpp dst.setTo(cv::Scalar::all(0)); cv 306 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::add(val, loadMat(mat, useRoi), dst, cv::cuda::GpuMat(), depth.second); cv 308 modules/cudaarithm/test/test_element_operations.cpp cv::Mat dst_gold(size, depth.second, cv::Scalar::all(0)); cv 309 modules/cudaarithm/test/test_element_operations.cpp cv::add(val, mat, dst_gold, cv::noArray(), depth.second); cv 317 modules/cudaarithm/test/test_element_operations.cpp cv::Mat mat = randomMat(size, depth.first); cv 318 modules/cudaarithm/test/test_element_operations.cpp cv::Scalar val = randomScalar(0, 255); cv 319 modules/cudaarithm/test/test_element_operations.cpp cv::Mat mask = randomMat(size, CV_8UC1, 0.0, 2.0); cv 321 modules/cudaarithm/test/test_element_operations.cpp if ((depth.first == CV_64F || depth.second == CV_64F) && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) cv 325 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst; cv 326 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::add(val, loadMat(mat), dst, cv::cuda::GpuMat(), depth.second); cv 328 modules/cudaarithm/test/test_element_operations.cpp catch (const cv::Exception& e) cv 330 modules/cudaarithm/test/test_element_operations.cpp ASSERT_EQ(cv::Error::StsUnsupportedFormat, e.code); cv 335 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, depth.second, useRoi); cv 336 modules/cudaarithm/test/test_element_operations.cpp dst.setTo(cv::Scalar::all(0)); cv 337 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::add(val, loadMat(mat, useRoi), dst, loadMat(mask, useRoi), depth.second); cv 339 modules/cudaarithm/test/test_element_operations.cpp cv::Mat dst_gold(size, depth.second, cv::Scalar::all(0)); cv 340 modules/cudaarithm/test/test_element_operations.cpp cv::add(val, mat, dst_gold, mask, depth.second); cv 355 modules/cudaarithm/test/test_element_operations.cpp PARAM_TEST_CASE(Subtract_Array, cv::cuda::DeviceInfo, cv::Size, std::pair<MatDepth, MatDepth>, Channels, UseRoi) cv 357 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::DeviceInfo devInfo; cv 358 modules/cudaarithm/test/test_element_operations.cpp cv::Size size; cv 374 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 383 modules/cudaarithm/test/test_element_operations.cpp cv::Mat mat1 = randomMat(size, stype); cv 384 modules/cudaarithm/test/test_element_operations.cpp cv::Mat mat2 = randomMat(size, stype); cv 386 modules/cudaarithm/test/test_element_operations.cpp if ((depth.first == CV_64F || depth.second == CV_64F) && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) cv 390 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst; cv 391 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::subtract(loadMat(mat1), loadMat(mat2), dst, cv::cuda::GpuMat(), depth.second); cv 393 modules/cudaarithm/test/test_element_operations.cpp catch (const cv::Exception& e) cv 395 modules/cudaarithm/test/test_element_operations.cpp ASSERT_EQ(cv::Error::StsUnsupportedFormat, e.code); cv 400 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, dtype, useRoi); cv 401 modules/cudaarithm/test/test_element_operations.cpp dst.setTo(cv::Scalar::all(0)); cv 402 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::subtract(loadMat(mat1, useRoi), loadMat(mat2, useRoi), dst, cv::cuda::GpuMat(), depth.second); cv 404 modules/cudaarithm/test/test_element_operations.cpp cv::Mat dst_gold(size, dtype, cv::Scalar::all(0)); cv 405 modules/cudaarithm/test/test_element_operations.cpp cv::subtract(mat1, mat2, dst_gold, cv::noArray(), depth.second); cv 418 modules/cudaarithm/test/test_element_operations.cpp PARAM_TEST_CASE(Subtract_Array_Mask, cv::cuda::DeviceInfo, cv::Size, std::pair<MatDepth, MatDepth>, UseRoi) cv 420 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::DeviceInfo devInfo; cv 421 modules/cudaarithm/test/test_element_operations.cpp cv::Size size; cv 435 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 444 modules/cudaarithm/test/test_element_operations.cpp cv::Mat mat1 = randomMat(size, stype); cv 445 modules/cudaarithm/test/test_element_operations.cpp cv::Mat mat2 = randomMat(size, stype); cv 446 modules/cudaarithm/test/test_element_operations.cpp cv::Mat mask = randomMat(size, CV_8UC1, 0.0, 2.0); cv 448 modules/cudaarithm/test/test_element_operations.cpp if ((depth.first == CV_64F || depth.second == CV_64F) && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) cv 452 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst; cv 453 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::subtract(loadMat(mat1), loadMat(mat2), dst, cv::cuda::GpuMat(), depth.second); cv 455 modules/cudaarithm/test/test_element_operations.cpp catch (const cv::Exception& e) cv 457 modules/cudaarithm/test/test_element_operations.cpp ASSERT_EQ(cv::Error::StsUnsupportedFormat, e.code); cv 462 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, dtype, useRoi); cv 463 modules/cudaarithm/test/test_element_operations.cpp dst.setTo(cv::Scalar::all(0)); cv 464 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::subtract(loadMat(mat1, useRoi), loadMat(mat2, useRoi), dst, loadMat(mask, useRoi), depth.second); cv 466 modules/cudaarithm/test/test_element_operations.cpp cv::Mat dst_gold(size, dtype, cv::Scalar::all(0)); cv 467 modules/cudaarithm/test/test_element_operations.cpp cv::subtract(mat1, mat2, dst_gold, mask, depth.second); cv 482 modules/cudaarithm/test/test_element_operations.cpp PARAM_TEST_CASE(Subtract_Scalar, cv::cuda::DeviceInfo, cv::Size, std::pair<MatDepth, MatDepth>, UseRoi) cv 484 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::DeviceInfo devInfo; cv 485 modules/cudaarithm/test/test_element_operations.cpp cv::Size size; cv 496 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 502 modules/cudaarithm/test/test_element_operations.cpp cv::Mat mat = randomMat(size, depth.first); cv 503 modules/cudaarithm/test/test_element_operations.cpp cv::Scalar val = randomScalar(0, 255); cv 505 modules/cudaarithm/test/test_element_operations.cpp if ((depth.first == CV_64F || depth.second == CV_64F) && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) cv 509 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst; cv 510 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::subtract(loadMat(mat), val, dst, cv::cuda::GpuMat(), depth.second); cv 512 modules/cudaarithm/test/test_element_operations.cpp catch (const cv::Exception& e) cv 514 modules/cudaarithm/test/test_element_operations.cpp ASSERT_EQ(cv::Error::StsUnsupportedFormat, e.code); cv 519 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, depth.second, useRoi); cv 520 modules/cudaarithm/test/test_element_operations.cpp dst.setTo(cv::Scalar::all(0)); cv 521 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::subtract(loadMat(mat, useRoi), val, dst, cv::cuda::GpuMat(), depth.second); cv 523 modules/cudaarithm/test/test_element_operations.cpp cv::Mat dst_gold(size, depth.second, cv::Scalar::all(0)); cv 524 modules/cudaarithm/test/test_element_operations.cpp cv::subtract(mat, val, dst_gold, cv::noArray(), depth.second); cv 532 modules/cudaarithm/test/test_element_operations.cpp cv::Mat mat = randomMat(size, depth.first); cv 533 modules/cudaarithm/test/test_element_operations.cpp cv::Scalar val = randomScalar(0, 255); cv 534 modules/cudaarithm/test/test_element_operations.cpp cv::Mat mask = randomMat(size, CV_8UC1, 0.0, 2.0); cv 536 modules/cudaarithm/test/test_element_operations.cpp if ((depth.first == CV_64F || depth.second == CV_64F) && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) cv 540 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst; cv 541 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::subtract(loadMat(mat), val, dst, cv::cuda::GpuMat(), depth.second); cv 543 modules/cudaarithm/test/test_element_operations.cpp catch (const cv::Exception& e) cv 545 modules/cudaarithm/test/test_element_operations.cpp ASSERT_EQ(cv::Error::StsUnsupportedFormat, e.code); cv 550 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, depth.second, useRoi); cv 551 modules/cudaarithm/test/test_element_operations.cpp dst.setTo(cv::Scalar::all(0)); cv 552 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::subtract(loadMat(mat, useRoi), val, dst, loadMat(mask, useRoi), depth.second); cv 554 modules/cudaarithm/test/test_element_operations.cpp cv::Mat dst_gold(size, depth.second, cv::Scalar::all(0)); cv 555 modules/cudaarithm/test/test_element_operations.cpp cv::subtract(mat, val, dst_gold, mask, depth.second); cv 570 modules/cudaarithm/test/test_element_operations.cpp PARAM_TEST_CASE(Subtract_Scalar_First, cv::cuda::DeviceInfo, cv::Size, std::pair<MatDepth, MatDepth>, UseRoi) cv 572 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::DeviceInfo devInfo; cv 573 modules/cudaarithm/test/test_element_operations.cpp cv::Size size; cv 584 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 590 modules/cudaarithm/test/test_element_operations.cpp cv::Mat mat = randomMat(size, depth.first); cv 591 modules/cudaarithm/test/test_element_operations.cpp cv::Scalar val = randomScalar(0, 255); cv 593 modules/cudaarithm/test/test_element_operations.cpp if ((depth.first == CV_64F || depth.second == CV_64F) && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) cv 597 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst; cv 598 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::subtract(val, loadMat(mat), dst, cv::cuda::GpuMat(), depth.second); cv 600 modules/cudaarithm/test/test_element_operations.cpp catch (const cv::Exception& e) cv 602 modules/cudaarithm/test/test_element_operations.cpp ASSERT_EQ(cv::Error::StsUnsupportedFormat, e.code); cv 607 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, depth.second, useRoi); cv 608 modules/cudaarithm/test/test_element_operations.cpp dst.setTo(cv::Scalar::all(0)); cv 609 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::subtract(val, loadMat(mat, useRoi), dst, cv::cuda::GpuMat(), depth.second); cv 611 modules/cudaarithm/test/test_element_operations.cpp cv::Mat dst_gold(size, depth.second, cv::Scalar::all(0)); cv 612 modules/cudaarithm/test/test_element_operations.cpp cv::subtract(val, mat, dst_gold, cv::noArray(), depth.second); cv 620 modules/cudaarithm/test/test_element_operations.cpp cv::Mat mat = randomMat(size, depth.first); cv 621 modules/cudaarithm/test/test_element_operations.cpp cv::Scalar val = randomScalar(0, 255); cv 622 modules/cudaarithm/test/test_element_operations.cpp cv::Mat mask = randomMat(size, CV_8UC1, 0.0, 2.0); cv 624 modules/cudaarithm/test/test_element_operations.cpp if ((depth.first == CV_64F || depth.second == CV_64F) && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) cv 628 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst; cv 629 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::subtract(val, loadMat(mat), dst, cv::cuda::GpuMat(), depth.second); cv 631 modules/cudaarithm/test/test_element_operations.cpp catch (const cv::Exception& e) cv 633 modules/cudaarithm/test/test_element_operations.cpp ASSERT_EQ(cv::Error::StsUnsupportedFormat, e.code); cv 638 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, depth.second, useRoi); cv 639 modules/cudaarithm/test/test_element_operations.cpp dst.setTo(cv::Scalar::all(0)); cv 640 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::subtract(val, loadMat(mat, useRoi), dst, loadMat(mask, useRoi), depth.second); cv 642 modules/cudaarithm/test/test_element_operations.cpp cv::Mat dst_gold(size, depth.second, cv::Scalar::all(0)); cv 643 modules/cudaarithm/test/test_element_operations.cpp cv::subtract(val, mat, dst_gold, mask, depth.second); cv 658 modules/cudaarithm/test/test_element_operations.cpp PARAM_TEST_CASE(Multiply_Array, cv::cuda::DeviceInfo, cv::Size, std::pair<MatDepth, MatDepth>, Channels, UseRoi) cv 660 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::DeviceInfo devInfo; cv 661 modules/cudaarithm/test/test_element_operations.cpp cv::Size size; cv 677 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 686 modules/cudaarithm/test/test_element_operations.cpp cv::Mat mat1 = randomMat(size, stype); cv 687 modules/cudaarithm/test/test_element_operations.cpp cv::Mat mat2 = randomMat(size, stype); cv 689 modules/cudaarithm/test/test_element_operations.cpp if ((depth.first == CV_64F || depth.second == CV_64F) && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) cv 693 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst; cv 694 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::multiply(loadMat(mat1), loadMat(mat2), dst, 1, depth.second); cv 696 modules/cudaarithm/test/test_element_operations.cpp catch (const cv::Exception& e) cv 698 modules/cudaarithm/test/test_element_operations.cpp ASSERT_EQ(cv::Error::StsUnsupportedFormat, e.code); cv 703 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, dtype, useRoi); cv 704 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::multiply(loadMat(mat1, useRoi), loadMat(mat2, useRoi), dst, 1, depth.second); cv 706 modules/cudaarithm/test/test_element_operations.cpp cv::Mat dst_gold; cv 707 modules/cudaarithm/test/test_element_operations.cpp cv::multiply(mat1, mat2, dst_gold, 1, depth.second); cv 715 modules/cudaarithm/test/test_element_operations.cpp cv::Mat mat1 = randomMat(size, stype); cv 716 modules/cudaarithm/test/test_element_operations.cpp cv::Mat mat2 = randomMat(size, stype); cv 719 modules/cudaarithm/test/test_element_operations.cpp if ((depth.first == CV_64F || depth.second == CV_64F) && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) cv 723 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst; cv 724 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::multiply(loadMat(mat1), loadMat(mat2), dst, scale, depth.second); cv 726 modules/cudaarithm/test/test_element_operations.cpp catch (const cv::Exception& e) cv 728 modules/cudaarithm/test/test_element_operations.cpp ASSERT_EQ(cv::Error::StsUnsupportedFormat, e.code); cv 733 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, dtype, useRoi); cv 734 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::multiply(loadMat(mat1, useRoi), loadMat(mat2, useRoi), dst, scale, depth.second); cv 736 modules/cudaarithm/test/test_element_operations.cpp cv::Mat dst_gold; cv 737 modules/cudaarithm/test/test_element_operations.cpp cv::multiply(mat1, mat2, dst_gold, scale, depth.second); cv 753 modules/cudaarithm/test/test_element_operations.cpp PARAM_TEST_CASE(Multiply_Array_Special, cv::cuda::DeviceInfo, cv::Size, UseRoi) cv 755 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::DeviceInfo devInfo; cv 756 modules/cudaarithm/test/test_element_operations.cpp cv::Size size; cv 765 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 771 modules/cudaarithm/test/test_element_operations.cpp cv::Mat mat1 = randomMat(size, CV_8UC4); cv 772 modules/cudaarithm/test/test_element_operations.cpp cv::Mat mat2 = randomMat(size, CV_32FC1); cv 774 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, CV_8UC4, useRoi); cv 775 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::multiply(loadMat(mat1, useRoi), loadMat(mat2, useRoi), dst); cv 777 modules/cudaarithm/test/test_element_operations.cpp cv::Mat h_dst(dst); cv 781 modules/cudaarithm/test/test_element_operations.cpp const cv::Vec4b* mat1_row = mat1.ptr<cv::Vec4b>(y); cv 783 modules/cudaarithm/test/test_element_operations.cpp const cv::Vec4b* dst_row = h_dst.ptr<cv::Vec4b>(y); cv 787 modules/cudaarithm/test/test_element_operations.cpp cv::Vec4b val1 = mat1_row[x]; cv 789 modules/cudaarithm/test/test_element_operations.cpp cv::Vec4b actual = dst_row[x]; cv 791 modules/cudaarithm/test/test_element_operations.cpp cv::Vec4b gold; cv 793 modules/cudaarithm/test/test_element_operations.cpp gold[0] = cv::saturate_cast<uchar>(val1[0] * val2); cv 794 modules/cudaarithm/test/test_element_operations.cpp gold[1] = cv::saturate_cast<uchar>(val1[1] * val2); cv 795 modules/cudaarithm/test/test_element_operations.cpp gold[2] = cv::saturate_cast<uchar>(val1[2] * val2); cv 796 modules/cudaarithm/test/test_element_operations.cpp gold[3] = cv::saturate_cast<uchar>(val1[3] * val2); cv 808 modules/cudaarithm/test/test_element_operations.cpp cv::Mat mat1 = randomMat(size, CV_16SC4); cv 809 modules/cudaarithm/test/test_element_operations.cpp cv::Mat mat2 = randomMat(size, CV_32FC1); cv 811 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, CV_16SC4, useRoi); cv 812 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::multiply(loadMat(mat1, useRoi), loadMat(mat2, useRoi), dst); cv 814 modules/cudaarithm/test/test_element_operations.cpp cv::Mat h_dst(dst); cv 818 modules/cudaarithm/test/test_element_operations.cpp const cv::Vec4s* mat1_row = mat1.ptr<cv::Vec4s>(y); cv 820 modules/cudaarithm/test/test_element_operations.cpp const cv::Vec4s* dst_row = h_dst.ptr<cv::Vec4s>(y); cv 824 modules/cudaarithm/test/test_element_operations.cpp cv::Vec4s val1 = mat1_row[x]; cv 826 modules/cudaarithm/test/test_element_operations.cpp cv::Vec4s actual = dst_row[x]; cv 828 modules/cudaarithm/test/test_element_operations.cpp cv::Vec4s gold; cv 830 modules/cudaarithm/test/test_element_operations.cpp gold[0] = cv::saturate_cast<short>(val1[0] * val2); cv 831 modules/cudaarithm/test/test_element_operations.cpp gold[1] = cv::saturate_cast<short>(val1[1] * val2); cv 832 modules/cudaarithm/test/test_element_operations.cpp gold[2] = cv::saturate_cast<short>(val1[2] * val2); cv 833 modules/cudaarithm/test/test_element_operations.cpp gold[3] = cv::saturate_cast<short>(val1[3] * val2); cv 851 modules/cudaarithm/test/test_element_operations.cpp PARAM_TEST_CASE(Multiply_Scalar, cv::cuda::DeviceInfo, cv::Size, std::pair<MatDepth, MatDepth>, UseRoi) cv 853 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::DeviceInfo devInfo; cv 854 modules/cudaarithm/test/test_element_operations.cpp cv::Size size; cv 865 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 871 modules/cudaarithm/test/test_element_operations.cpp cv::Mat mat = randomMat(size, depth.first); cv 872 modules/cudaarithm/test/test_element_operations.cpp cv::Scalar val = randomScalar(0, 255); cv 874 modules/cudaarithm/test/test_element_operations.cpp if ((depth.first == CV_64F || depth.second == CV_64F) && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) cv 878 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst; cv 879 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::multiply(loadMat(mat), val, dst, 1, depth.second); cv 881 modules/cudaarithm/test/test_element_operations.cpp catch (const cv::Exception& e) cv 883 modules/cudaarithm/test/test_element_operations.cpp ASSERT_EQ(cv::Error::StsUnsupportedFormat, e.code); cv 888 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, depth.second, useRoi); cv 889 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::multiply(loadMat(mat, useRoi), val, dst, 1, depth.second); cv 891 modules/cudaarithm/test/test_element_operations.cpp cv::Mat dst_gold; cv 892 modules/cudaarithm/test/test_element_operations.cpp cv::multiply(mat, val, dst_gold, 1, depth.second); cv 901 modules/cudaarithm/test/test_element_operations.cpp cv::Mat mat = randomMat(size, depth.first); cv 902 modules/cudaarithm/test/test_element_operations.cpp cv::Scalar val = randomScalar(0, 255); cv 905 modules/cudaarithm/test/test_element_operations.cpp if ((depth.first == CV_64F || depth.second == CV_64F) && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) cv 909 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst; cv 910 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::multiply(loadMat(mat), val, dst, scale, depth.second); cv 912 modules/cudaarithm/test/test_element_operations.cpp catch (const cv::Exception& e) cv 914 modules/cudaarithm/test/test_element_operations.cpp ASSERT_EQ(cv::Error::StsUnsupportedFormat, e.code); cv 919 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, depth.second, useRoi); cv 920 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::multiply(loadMat(mat, useRoi), val, dst, scale, depth.second); cv 922 modules/cudaarithm/test/test_element_operations.cpp cv::Mat dst_gold; cv 923 modules/cudaarithm/test/test_element_operations.cpp cv::multiply(mat, val, dst_gold, scale, depth.second); cv 938 modules/cudaarithm/test/test_element_operations.cpp PARAM_TEST_CASE(Multiply_Scalar_First, cv::cuda::DeviceInfo, cv::Size, std::pair<MatDepth, MatDepth>, UseRoi) cv 940 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::DeviceInfo devInfo; cv 941 modules/cudaarithm/test/test_element_operations.cpp cv::Size size; cv 952 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 958 modules/cudaarithm/test/test_element_operations.cpp cv::Mat mat = randomMat(size, depth.first); cv 959 modules/cudaarithm/test/test_element_operations.cpp cv::Scalar val = randomScalar(0, 255); cv 961 modules/cudaarithm/test/test_element_operations.cpp if ((depth.first == CV_64F || depth.second == CV_64F) && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) cv 965 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst; cv 966 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::multiply(val, loadMat(mat), dst, 1, depth.second); cv 968 modules/cudaarithm/test/test_element_operations.cpp catch (const cv::Exception& e) cv 970 modules/cudaarithm/test/test_element_operations.cpp ASSERT_EQ(cv::Error::StsUnsupportedFormat, e.code); cv 975 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, depth.second, useRoi); cv 976 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::multiply(val, loadMat(mat, useRoi), dst, 1, depth.second); cv 978 modules/cudaarithm/test/test_element_operations.cpp cv::Mat dst_gold; cv 979 modules/cudaarithm/test/test_element_operations.cpp cv::multiply(val, mat, dst_gold, 1, depth.second); cv 988 modules/cudaarithm/test/test_element_operations.cpp cv::Mat mat = randomMat(size, depth.first); cv 989 modules/cudaarithm/test/test_element_operations.cpp cv::Scalar val = randomScalar(0, 255); cv 992 modules/cudaarithm/test/test_element_operations.cpp if ((depth.first == CV_64F || depth.second == CV_64F) && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) cv 996 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst; cv 997 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::multiply(val, loadMat(mat), dst, scale, depth.second); cv 999 modules/cudaarithm/test/test_element_operations.cpp catch (const cv::Exception& e) cv 1001 modules/cudaarithm/test/test_element_operations.cpp ASSERT_EQ(cv::Error::StsUnsupportedFormat, e.code); cv 1006 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, depth.second, useRoi); cv 1007 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::multiply(val, loadMat(mat, useRoi), dst, scale, depth.second); cv 1009 modules/cudaarithm/test/test_element_operations.cpp cv::Mat dst_gold; cv 1010 modules/cudaarithm/test/test_element_operations.cpp cv::multiply(val, mat, dst_gold, scale, depth.second); cv 1025 modules/cudaarithm/test/test_element_operations.cpp PARAM_TEST_CASE(Divide_Array, cv::cuda::DeviceInfo, cv::Size, std::pair<MatDepth, MatDepth>, Channels, UseRoi) cv 1027 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::DeviceInfo devInfo; cv 1028 modules/cudaarithm/test/test_element_operations.cpp cv::Size size; cv 1044 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 1053 modules/cudaarithm/test/test_element_operations.cpp cv::Mat mat1 = randomMat(size, stype); cv 1054 modules/cudaarithm/test/test_element_operations.cpp cv::Mat mat2 = randomMat(size, stype, 1.0, 255.0); cv 1056 modules/cudaarithm/test/test_element_operations.cpp if ((depth.first == CV_64F || depth.second == CV_64F) && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) cv 1060 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst; cv 1061 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::divide(loadMat(mat1), loadMat(mat2), dst, 1, depth.second); cv 1063 modules/cudaarithm/test/test_element_operations.cpp catch (const cv::Exception& e) cv 1065 modules/cudaarithm/test/test_element_operations.cpp ASSERT_EQ(cv::Error::StsUnsupportedFormat, e.code); cv 1070 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, dtype, useRoi); cv 1071 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::divide(loadMat(mat1, useRoi), loadMat(mat2, useRoi), dst, 1, depth.second); cv 1073 modules/cudaarithm/test/test_element_operations.cpp cv::Mat dst_gold; cv 1074 modules/cudaarithm/test/test_element_operations.cpp cv::divide(mat1, mat2, dst_gold, 1, depth.second); cv 1082 modules/cudaarithm/test/test_element_operations.cpp cv::Mat mat1 = randomMat(size, stype); cv 1083 modules/cudaarithm/test/test_element_operations.cpp cv::Mat mat2 = randomMat(size, stype, 1.0, 255.0); cv 1086 modules/cudaarithm/test/test_element_operations.cpp if ((depth.first == CV_64F || depth.second == CV_64F) && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) cv 1090 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst; cv 1091 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::divide(loadMat(mat1), loadMat(mat2), dst, scale, depth.second); cv 1093 modules/cudaarithm/test/test_element_operations.cpp catch (const cv::Exception& e) cv 1095 modules/cudaarithm/test/test_element_operations.cpp ASSERT_EQ(cv::Error::StsUnsupportedFormat, e.code); cv 1100 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, dtype, useRoi); cv 1101 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::divide(loadMat(mat1, useRoi), loadMat(mat2, useRoi), dst, scale, depth.second); cv 1103 modules/cudaarithm/test/test_element_operations.cpp cv::Mat dst_gold; cv 1104 modules/cudaarithm/test/test_element_operations.cpp cv::divide(mat1, mat2, dst_gold, scale, depth.second); cv 1120 modules/cudaarithm/test/test_element_operations.cpp PARAM_TEST_CASE(Divide_Array_Special, cv::cuda::DeviceInfo, cv::Size, UseRoi) cv 1122 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::DeviceInfo devInfo; cv 1123 modules/cudaarithm/test/test_element_operations.cpp cv::Size size; cv 1132 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 1138 modules/cudaarithm/test/test_element_operations.cpp cv::Mat mat1 = randomMat(size, CV_8UC4); cv 1139 modules/cudaarithm/test/test_element_operations.cpp cv::Mat mat2 = randomMat(size, CV_32FC1, 1.0, 255.0); cv 1141 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, CV_8UC4, useRoi); cv 1142 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::divide(loadMat(mat1, useRoi), loadMat(mat2, useRoi), dst); cv 1144 modules/cudaarithm/test/test_element_operations.cpp cv::Mat h_dst(dst); cv 1148 modules/cudaarithm/test/test_element_operations.cpp const cv::Vec4b* mat1_row = mat1.ptr<cv::Vec4b>(y); cv 1150 modules/cudaarithm/test/test_element_operations.cpp const cv::Vec4b* dst_row = h_dst.ptr<cv::Vec4b>(y); cv 1154 modules/cudaarithm/test/test_element_operations.cpp cv::Vec4b val1 = mat1_row[x]; cv 1156 modules/cudaarithm/test/test_element_operations.cpp cv::Vec4b actual = dst_row[x]; cv 1158 modules/cudaarithm/test/test_element_operations.cpp cv::Vec4b gold; cv 1160 modules/cudaarithm/test/test_element_operations.cpp gold[0] = cv::saturate_cast<uchar>(val1[0] / val2); cv 1161 modules/cudaarithm/test/test_element_operations.cpp gold[1] = cv::saturate_cast<uchar>(val1[1] / val2); cv 1162 modules/cudaarithm/test/test_element_operations.cpp gold[2] = cv::saturate_cast<uchar>(val1[2] / val2); cv 1163 modules/cudaarithm/test/test_element_operations.cpp gold[3] = cv::saturate_cast<uchar>(val1[3] / val2); cv 1175 modules/cudaarithm/test/test_element_operations.cpp cv::Mat mat1 = randomMat(size, CV_16SC4); cv 1176 modules/cudaarithm/test/test_element_operations.cpp cv::Mat mat2 = randomMat(size, CV_32FC1, 1.0, 255.0); cv 1178 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, CV_16SC4, useRoi); cv 1179 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::divide(loadMat(mat1, useRoi), loadMat(mat2, useRoi), dst); cv 1181 modules/cudaarithm/test/test_element_operations.cpp cv::Mat h_dst(dst); cv 1185 modules/cudaarithm/test/test_element_operations.cpp const cv::Vec4s* mat1_row = mat1.ptr<cv::Vec4s>(y); cv 1187 modules/cudaarithm/test/test_element_operations.cpp const cv::Vec4s* dst_row = h_dst.ptr<cv::Vec4s>(y); cv 1191 modules/cudaarithm/test/test_element_operations.cpp cv::Vec4s val1 = mat1_row[x]; cv 1193 modules/cudaarithm/test/test_element_operations.cpp cv::Vec4s actual = dst_row[x]; cv 1195 modules/cudaarithm/test/test_element_operations.cpp cv::Vec4s gold; cv 1197 modules/cudaarithm/test/test_element_operations.cpp gold[0] = cv::saturate_cast<short>(val1[0] / val2); cv 1198 modules/cudaarithm/test/test_element_operations.cpp gold[1] = cv::saturate_cast<short>(val1[1] / val2); cv 1199 modules/cudaarithm/test/test_element_operations.cpp gold[2] = cv::saturate_cast<short>(val1[2] / val2); cv 1200 modules/cudaarithm/test/test_element_operations.cpp gold[3] = cv::saturate_cast<short>(val1[3] / val2); cv 1218 modules/cudaarithm/test/test_element_operations.cpp PARAM_TEST_CASE(Divide_Scalar, cv::cuda::DeviceInfo, cv::Size, std::pair<MatDepth, MatDepth>, UseRoi) cv 1220 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::DeviceInfo devInfo; cv 1221 modules/cudaarithm/test/test_element_operations.cpp cv::Size size; cv 1232 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 1238 modules/cudaarithm/test/test_element_operations.cpp cv::Mat mat = randomMat(size, depth.first); cv 1239 modules/cudaarithm/test/test_element_operations.cpp cv::Scalar val = randomScalar(1.0, 255.0); cv 1241 modules/cudaarithm/test/test_element_operations.cpp if ((depth.first == CV_64F || depth.second == CV_64F) && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) cv 1245 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst; cv 1246 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::divide(loadMat(mat), val, dst, 1, depth.second); cv 1248 modules/cudaarithm/test/test_element_operations.cpp catch (const cv::Exception& e) cv 1250 modules/cudaarithm/test/test_element_operations.cpp ASSERT_EQ(cv::Error::StsUnsupportedFormat, e.code); cv 1255 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, depth.second, useRoi); cv 1256 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::divide(loadMat(mat, useRoi), val, dst, 1, depth.second); cv 1258 modules/cudaarithm/test/test_element_operations.cpp cv::Mat dst_gold; cv 1259 modules/cudaarithm/test/test_element_operations.cpp cv::divide(mat, val, dst_gold, 1, depth.second); cv 1267 modules/cudaarithm/test/test_element_operations.cpp cv::Mat mat = randomMat(size, depth.first); cv 1268 modules/cudaarithm/test/test_element_operations.cpp cv::Scalar val = randomScalar(1.0, 255.0); cv 1271 modules/cudaarithm/test/test_element_operations.cpp if ((depth.first == CV_64F || depth.second == CV_64F) && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) cv 1275 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst; cv 1276 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::divide(loadMat(mat), val, dst, scale, depth.second); cv 1278 modules/cudaarithm/test/test_element_operations.cpp catch (const cv::Exception& e) cv 1280 modules/cudaarithm/test/test_element_operations.cpp ASSERT_EQ(cv::Error::StsUnsupportedFormat, e.code); cv 1285 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, depth.second, useRoi); cv 1286 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::divide(loadMat(mat, useRoi), val, dst, scale, depth.second); cv 1288 modules/cudaarithm/test/test_element_operations.cpp cv::Mat dst_gold; cv 1289 modules/cudaarithm/test/test_element_operations.cpp cv::divide(mat, val, dst_gold, scale, depth.second); cv 1304 modules/cudaarithm/test/test_element_operations.cpp PARAM_TEST_CASE(Divide_Scalar_First, cv::cuda::DeviceInfo, cv::Size, std::pair<MatDepth, MatDepth>, UseRoi) cv 1306 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::DeviceInfo devInfo; cv 1307 modules/cudaarithm/test/test_element_operations.cpp cv::Size size; cv 1318 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 1325 modules/cudaarithm/test/test_element_operations.cpp cv::Mat mat = randomMat(size, depth.first, 1.0, 255.0); cv 1327 modules/cudaarithm/test/test_element_operations.cpp if ((depth.first == CV_64F || depth.second == CV_64F) && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) cv 1331 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst; cv 1332 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::divide(scale, loadMat(mat), dst, 1.0, depth.second); cv 1334 modules/cudaarithm/test/test_element_operations.cpp catch (const cv::Exception& e) cv 1336 modules/cudaarithm/test/test_element_operations.cpp ASSERT_EQ(cv::Error::StsUnsupportedFormat, e.code); cv 1341 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, depth.second, useRoi); cv 1342 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::divide(scale, loadMat(mat, useRoi), dst, 1.0, depth.second); cv 1344 modules/cudaarithm/test/test_element_operations.cpp cv::Mat dst_gold; cv 1345 modules/cudaarithm/test/test_element_operations.cpp cv::divide(scale, mat, dst_gold, depth.second); cv 1360 modules/cudaarithm/test/test_element_operations.cpp PARAM_TEST_CASE(AbsDiff, cv::cuda::DeviceInfo, cv::Size, MatDepth, UseRoi) cv 1362 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::DeviceInfo devInfo; cv 1363 modules/cudaarithm/test/test_element_operations.cpp cv::Size size; cv 1374 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 1380 modules/cudaarithm/test/test_element_operations.cpp cv::Mat src1 = randomMat(size, depth); cv 1381 modules/cudaarithm/test/test_element_operations.cpp cv::Mat src2 = randomMat(size, depth); cv 1383 modules/cudaarithm/test/test_element_operations.cpp if (depth == CV_64F && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) cv 1387 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst; cv 1388 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::absdiff(loadMat(src1), loadMat(src2), dst); cv 1390 modules/cudaarithm/test/test_element_operations.cpp catch (const cv::Exception& e) cv 1392 modules/cudaarithm/test/test_element_operations.cpp ASSERT_EQ(cv::Error::StsUnsupportedFormat, e.code); cv 1397 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, depth, useRoi); cv 1398 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::absdiff(loadMat(src1, useRoi), loadMat(src2, useRoi), dst); cv 1400 modules/cudaarithm/test/test_element_operations.cpp cv::Mat dst_gold; cv 1401 modules/cudaarithm/test/test_element_operations.cpp cv::absdiff(src1, src2, dst_gold); cv 1409 modules/cudaarithm/test/test_element_operations.cpp cv::Mat src = randomMat(size, depth); cv 1410 modules/cudaarithm/test/test_element_operations.cpp cv::Scalar val = randomScalar(0.0, 255.0); cv 1412 modules/cudaarithm/test/test_element_operations.cpp if (depth == CV_64F && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) cv 1416 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst; cv 1417 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::absdiff(loadMat(src), val, dst); cv 1419 modules/cudaarithm/test/test_element_operations.cpp catch (const cv::Exception& e) cv 1421 modules/cudaarithm/test/test_element_operations.cpp ASSERT_EQ(cv::Error::StsUnsupportedFormat, e.code); cv 1426 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, depth, useRoi); cv 1427 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::absdiff(loadMat(src, useRoi), val, dst); cv 1429 modules/cudaarithm/test/test_element_operations.cpp cv::Mat dst_gold; cv 1430 modules/cudaarithm/test/test_element_operations.cpp cv::absdiff(src, val, dst_gold); cv 1438 modules/cudaarithm/test/test_element_operations.cpp cv::Mat src = randomMat(size, depth); cv 1439 modules/cudaarithm/test/test_element_operations.cpp cv::Scalar val = randomScalar(0.0, 255.0); cv 1441 modules/cudaarithm/test/test_element_operations.cpp if (depth == CV_64F && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) cv 1445 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst; cv 1446 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::absdiff(val, loadMat(src), dst); cv 1448 modules/cudaarithm/test/test_element_operations.cpp catch (const cv::Exception& e) cv 1450 modules/cudaarithm/test/test_element_operations.cpp ASSERT_EQ(cv::Error::StsUnsupportedFormat, e.code); cv 1455 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, depth, useRoi); cv 1456 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::absdiff(val, loadMat(src, useRoi), dst); cv 1458 modules/cudaarithm/test/test_element_operations.cpp cv::Mat dst_gold; cv 1459 modules/cudaarithm/test/test_element_operations.cpp cv::absdiff(val, src, dst_gold); cv 1474 modules/cudaarithm/test/test_element_operations.cpp PARAM_TEST_CASE(Abs, cv::cuda::DeviceInfo, cv::Size, MatDepth, UseRoi) cv 1476 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::DeviceInfo devInfo; cv 1477 modules/cudaarithm/test/test_element_operations.cpp cv::Size size; cv 1488 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 1494 modules/cudaarithm/test/test_element_operations.cpp cv::Mat src = randomMat(size, depth); cv 1496 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, depth, useRoi); cv 1497 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::abs(loadMat(src, useRoi), dst); cv 1499 modules/cudaarithm/test/test_element_operations.cpp cv::Mat dst_gold = cv::abs(src); cv 1513 modules/cudaarithm/test/test_element_operations.cpp PARAM_TEST_CASE(Sqr, cv::cuda::DeviceInfo, cv::Size, MatDepth, UseRoi) cv 1515 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::DeviceInfo devInfo; cv 1516 modules/cudaarithm/test/test_element_operations.cpp cv::Size size; cv 1527 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 1533 modules/cudaarithm/test/test_element_operations.cpp cv::Mat src = randomMat(size, depth, 0, depth == CV_8U ? 16 : 255); cv 1535 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, depth, useRoi); cv 1536 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::sqr(loadMat(src, useRoi), dst); cv 1538 modules/cudaarithm/test/test_element_operations.cpp cv::Mat dst_gold; cv 1539 modules/cudaarithm/test/test_element_operations.cpp cv::multiply(src, src, dst_gold); cv 1558 modules/cudaarithm/test/test_element_operations.cpp template <typename T> void sqrtImpl(const cv::Mat& src, cv::Mat& dst) cv 1569 modules/cudaarithm/test/test_element_operations.cpp void sqrtGold(const cv::Mat& src, cv::Mat& dst) cv 1571 modules/cudaarithm/test/test_element_operations.cpp typedef void (*func_t)(const cv::Mat& src, cv::Mat& dst); cv 1583 modules/cudaarithm/test/test_element_operations.cpp PARAM_TEST_CASE(Sqrt, cv::cuda::DeviceInfo, cv::Size, MatDepth, UseRoi) cv 1585 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::DeviceInfo devInfo; cv 1586 modules/cudaarithm/test/test_element_operations.cpp cv::Size size; cv 1597 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 1603 modules/cudaarithm/test/test_element_operations.cpp cv::Mat src = randomMat(size, depth); cv 1605 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, depth, useRoi); cv 1606 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::sqrt(loadMat(src, useRoi), dst); cv 1608 modules/cudaarithm/test/test_element_operations.cpp cv::Mat dst_gold; cv 1628 modules/cudaarithm/test/test_element_operations.cpp template <typename T> void logImpl(const cv::Mat& src, cv::Mat& dst) cv 1639 modules/cudaarithm/test/test_element_operations.cpp void logGold(const cv::Mat& src, cv::Mat& dst) cv 1641 modules/cudaarithm/test/test_element_operations.cpp typedef void (*func_t)(const cv::Mat& src, cv::Mat& dst); cv 1653 modules/cudaarithm/test/test_element_operations.cpp PARAM_TEST_CASE(Log, cv::cuda::DeviceInfo, cv::Size, MatDepth, UseRoi) cv 1655 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::DeviceInfo devInfo; cv 1656 modules/cudaarithm/test/test_element_operations.cpp cv::Size size; cv 1667 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 1673 modules/cudaarithm/test/test_element_operations.cpp cv::Mat src = randomMat(size, depth, 1.0, 255.0); cv 1675 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, depth, useRoi); cv 1676 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::log(loadMat(src, useRoi), dst); cv 1678 modules/cudaarithm/test/test_element_operations.cpp cv::Mat dst_gold; cv 1698 modules/cudaarithm/test/test_element_operations.cpp template <typename T> void expImpl(const cv::Mat& src, cv::Mat& dst) cv 1705 modules/cudaarithm/test/test_element_operations.cpp dst.at<T>(y, x) = cv::saturate_cast<T>(static_cast<int>(std::exp(static_cast<float>(src.at<T>(y, x))))); cv 1708 modules/cudaarithm/test/test_element_operations.cpp void expImpl_float(const cv::Mat& src, cv::Mat& dst) cv 1719 modules/cudaarithm/test/test_element_operations.cpp void expGold(const cv::Mat& src, cv::Mat& dst) cv 1721 modules/cudaarithm/test/test_element_operations.cpp typedef void (*func_t)(const cv::Mat& src, cv::Mat& dst); cv 1733 modules/cudaarithm/test/test_element_operations.cpp PARAM_TEST_CASE(Exp, cv::cuda::DeviceInfo, cv::Size, MatDepth, UseRoi) cv 1735 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::DeviceInfo devInfo; cv 1736 modules/cudaarithm/test/test_element_operations.cpp cv::Size size; cv 1747 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 1753 modules/cudaarithm/test/test_element_operations.cpp cv::Mat src = randomMat(size, depth, 0.0, 10.0); cv 1755 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, depth, useRoi); cv 1756 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::exp(loadMat(src, useRoi), dst); cv 1758 modules/cudaarithm/test/test_element_operations.cpp cv::Mat dst_gold; cv 1776 modules/cudaarithm/test/test_element_operations.cpp PARAM_TEST_CASE(Pow, cv::cuda::DeviceInfo, cv::Size, MatDepth, UseRoi) cv 1778 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::DeviceInfo devInfo; cv 1779 modules/cudaarithm/test/test_element_operations.cpp cv::Size size; cv 1790 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 1796 modules/cudaarithm/test/test_element_operations.cpp cv::Mat src = randomMat(size, depth, 0.0, 10.0); cv 1802 modules/cudaarithm/test/test_element_operations.cpp if (depth == CV_64F && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) cv 1806 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst; cv 1807 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::pow(loadMat(src), power, dst); cv 1809 modules/cudaarithm/test/test_element_operations.cpp catch (const cv::Exception& e) cv 1811 modules/cudaarithm/test/test_element_operations.cpp ASSERT_EQ(cv::Error::StsUnsupportedFormat, e.code); cv 1816 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, depth, useRoi); cv 1817 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::pow(loadMat(src, useRoi), power, dst); cv 1819 modules/cudaarithm/test/test_element_operations.cpp cv::Mat dst_gold; cv 1820 modules/cudaarithm/test/test_element_operations.cpp cv::pow(src, power, dst_gold); cv 1835 modules/cudaarithm/test/test_element_operations.cpp CV_ENUM(CmpCode, cv::CMP_EQ, cv::CMP_GT, cv::CMP_GE, cv::CMP_LT, cv::CMP_LE, cv::CMP_NE) cv 1836 modules/cudaarithm/test/test_element_operations.cpp #define ALL_CMP_CODES testing::Values(CmpCode(cv::CMP_EQ), CmpCode(cv::CMP_NE), CmpCode(cv::CMP_GT), CmpCode(cv::CMP_GE), CmpCode(cv::CMP_LT), CmpCode(cv::CMP_LE)) cv 1838 modules/cudaarithm/test/test_element_operations.cpp PARAM_TEST_CASE(Compare_Array, cv::cuda::DeviceInfo, cv::Size, MatDepth, CmpCode, UseRoi) cv 1840 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::DeviceInfo devInfo; cv 1841 modules/cudaarithm/test/test_element_operations.cpp cv::Size size; cv 1854 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 1860 modules/cudaarithm/test/test_element_operations.cpp cv::Mat src1 = randomMat(size, depth); cv 1861 modules/cudaarithm/test/test_element_operations.cpp cv::Mat src2 = randomMat(size, depth); cv 1863 modules/cudaarithm/test/test_element_operations.cpp if (depth == CV_64F && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) cv 1867 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst; cv 1868 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::compare(loadMat(src1), loadMat(src2), dst, cmp_code); cv 1870 modules/cudaarithm/test/test_element_operations.cpp catch (const cv::Exception& e) cv 1872 modules/cudaarithm/test/test_element_operations.cpp ASSERT_EQ(cv::Error::StsUnsupportedFormat, e.code); cv 1877 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, CV_8UC1, useRoi); cv 1878 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::compare(loadMat(src1, useRoi), loadMat(src2, useRoi), dst, cmp_code); cv 1880 modules/cudaarithm/test/test_element_operations.cpp cv::Mat dst_gold; cv 1881 modules/cudaarithm/test/test_element_operations.cpp cv::compare(src1, src2, dst_gold, cmp_code); cv 1900 modules/cudaarithm/test/test_element_operations.cpp void compareScalarImpl(const cv::Mat& src, cv::Scalar sc, cv::Mat& dst) cv 1915 modules/cudaarithm/test/test_element_operations.cpp T sc_val = cv::saturate_cast<T>(sc.val[c]); cv 1922 modules/cudaarithm/test/test_element_operations.cpp void compareScalarGold(const cv::Mat& src, cv::Scalar sc, cv::Mat& dst, int cmpop) cv 1924 modules/cudaarithm/test/test_element_operations.cpp typedef void (*func_t)(const cv::Mat& src, cv::Scalar sc, cv::Mat& dst); cv 1940 modules/cudaarithm/test/test_element_operations.cpp PARAM_TEST_CASE(Compare_Scalar, cv::cuda::DeviceInfo, cv::Size, MatType, CmpCode, UseRoi) cv 1942 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::DeviceInfo devInfo; cv 1943 modules/cudaarithm/test/test_element_operations.cpp cv::Size size; cv 1956 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 1962 modules/cudaarithm/test/test_element_operations.cpp cv::Mat src = randomMat(size, type); cv 1963 modules/cudaarithm/test/test_element_operations.cpp cv::Scalar sc = randomScalar(0.0, 255.0); cv 1973 modules/cudaarithm/test/test_element_operations.cpp if (src.depth() == CV_64F && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) cv 1977 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst; cv 1978 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::compare(loadMat(src), sc, dst, cmp_code); cv 1980 modules/cudaarithm/test/test_element_operations.cpp catch (const cv::Exception& e) cv 1982 modules/cudaarithm/test/test_element_operations.cpp ASSERT_EQ(cv::Error::StsUnsupportedFormat, e.code); cv 1987 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, CV_MAKE_TYPE(CV_8U, src.channels()), useRoi); cv 1989 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::compare(loadMat(src, useRoi), sc, dst, cmp_code); cv 1991 modules/cudaarithm/test/test_element_operations.cpp cv::Mat dst_gold; cv 2008 modules/cudaarithm/test/test_element_operations.cpp PARAM_TEST_CASE(Bitwise_Array, cv::cuda::DeviceInfo, cv::Size, MatType) cv 2010 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::DeviceInfo devInfo; cv 2011 modules/cudaarithm/test/test_element_operations.cpp cv::Size size; cv 2014 modules/cudaarithm/test/test_element_operations.cpp cv::Mat src1; cv 2015 modules/cudaarithm/test/test_element_operations.cpp cv::Mat src2; cv 2023 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 2032 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst; cv 2033 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::bitwise_not(loadMat(src1), dst); cv 2035 modules/cudaarithm/test/test_element_operations.cpp cv::Mat dst_gold = ~src1; cv 2042 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst; cv 2043 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::bitwise_or(loadMat(src1), loadMat(src2), dst); cv 2045 modules/cudaarithm/test/test_element_operations.cpp cv::Mat dst_gold = src1 | src2; cv 2052 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst; cv 2053 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::bitwise_and(loadMat(src1), loadMat(src2), dst); cv 2055 modules/cudaarithm/test/test_element_operations.cpp cv::Mat dst_gold = src1 & src2; cv 2062 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst; cv 2063 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::bitwise_xor(loadMat(src1), loadMat(src2), dst); cv 2065 modules/cudaarithm/test/test_element_operations.cpp cv::Mat dst_gold = src1 ^ src2; cv 2078 modules/cudaarithm/test/test_element_operations.cpp PARAM_TEST_CASE(Bitwise_Scalar, cv::cuda::DeviceInfo, cv::Size, MatDepth, Channels) cv 2080 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::DeviceInfo devInfo; cv 2081 modules/cudaarithm/test/test_element_operations.cpp cv::Size size; cv 2085 modules/cudaarithm/test/test_element_operations.cpp cv::Mat src; cv 2086 modules/cudaarithm/test/test_element_operations.cpp cv::Scalar val; cv 2095 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 2098 modules/cudaarithm/test/test_element_operations.cpp cv::Scalar_<int> ival = randomScalar(0.0, std::numeric_limits<int>::max()); cv 2105 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst; cv 2106 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::bitwise_or(loadMat(src), val, dst); cv 2108 modules/cudaarithm/test/test_element_operations.cpp cv::Mat dst_gold; cv 2109 modules/cudaarithm/test/test_element_operations.cpp cv::bitwise_or(src, val, dst_gold); cv 2116 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst; cv 2117 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::bitwise_and(loadMat(src), val, dst); cv 2119 modules/cudaarithm/test/test_element_operations.cpp cv::Mat dst_gold; cv 2120 modules/cudaarithm/test/test_element_operations.cpp cv::bitwise_and(src, val, dst_gold); cv 2127 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst; cv 2128 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::bitwise_xor(loadMat(src), val, dst); cv 2130 modules/cudaarithm/test/test_element_operations.cpp cv::Mat dst_gold; cv 2131 modules/cudaarithm/test/test_element_operations.cpp cv::bitwise_xor(src, val, dst_gold); cv 2147 modules/cudaarithm/test/test_element_operations.cpp template <typename T> void rhiftImpl(const cv::Mat& src, cv::Scalar_<int> val, cv::Mat& dst) cv 2163 modules/cudaarithm/test/test_element_operations.cpp void rhiftGold(const cv::Mat& src, cv::Scalar_<int> val, cv::Mat& dst) cv 2165 modules/cudaarithm/test/test_element_operations.cpp typedef void (*func_t)(const cv::Mat& src, cv::Scalar_<int> val, cv::Mat& dst); cv 2176 modules/cudaarithm/test/test_element_operations.cpp PARAM_TEST_CASE(RShift, cv::cuda::DeviceInfo, cv::Size, MatDepth, Channels, UseRoi) cv 2178 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::DeviceInfo devInfo; cv 2179 modules/cudaarithm/test/test_element_operations.cpp cv::Size size; cv 2192 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 2199 modules/cudaarithm/test/test_element_operations.cpp cv::Mat src = randomMat(size, type); cv 2200 modules/cudaarithm/test/test_element_operations.cpp cv::Scalar_<int> val = randomScalar(0.0, 8.0); cv 2202 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, type, useRoi); cv 2203 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::rshift(loadMat(src, useRoi), val, dst); cv 2205 modules/cudaarithm/test/test_element_operations.cpp cv::Mat dst_gold; cv 2227 modules/cudaarithm/test/test_element_operations.cpp template <typename T> void lhiftImpl(const cv::Mat& src, cv::Scalar_<int> val, cv::Mat& dst) cv 2243 modules/cudaarithm/test/test_element_operations.cpp void lhiftGold(const cv::Mat& src, cv::Scalar_<int> val, cv::Mat& dst) cv 2245 modules/cudaarithm/test/test_element_operations.cpp typedef void (*func_t)(const cv::Mat& src, cv::Scalar_<int> val, cv::Mat& dst); cv 2256 modules/cudaarithm/test/test_element_operations.cpp PARAM_TEST_CASE(LShift, cv::cuda::DeviceInfo, cv::Size, MatDepth, Channels, UseRoi) cv 2258 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::DeviceInfo devInfo; cv 2259 modules/cudaarithm/test/test_element_operations.cpp cv::Size size; cv 2272 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 2279 modules/cudaarithm/test/test_element_operations.cpp cv::Mat src = randomMat(size, type); cv 2280 modules/cudaarithm/test/test_element_operations.cpp cv::Scalar_<int> val = randomScalar(0.0, 8.0); cv 2282 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, type, useRoi); cv 2283 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::lshift(loadMat(src, useRoi), val, dst); cv 2285 modules/cudaarithm/test/test_element_operations.cpp cv::Mat dst_gold; cv 2301 modules/cudaarithm/test/test_element_operations.cpp PARAM_TEST_CASE(Min, cv::cuda::DeviceInfo, cv::Size, MatDepth, UseRoi) cv 2303 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::DeviceInfo devInfo; cv 2304 modules/cudaarithm/test/test_element_operations.cpp cv::Size size; cv 2315 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 2321 modules/cudaarithm/test/test_element_operations.cpp cv::Mat src1 = randomMat(size, depth); cv 2322 modules/cudaarithm/test/test_element_operations.cpp cv::Mat src2 = randomMat(size, depth); cv 2324 modules/cudaarithm/test/test_element_operations.cpp if (depth == CV_64F && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) cv 2328 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst; cv 2329 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::min(loadMat(src1), loadMat(src2), dst); cv 2331 modules/cudaarithm/test/test_element_operations.cpp catch (const cv::Exception& e) cv 2333 modules/cudaarithm/test/test_element_operations.cpp ASSERT_EQ(cv::Error::StsUnsupportedFormat, e.code); cv 2338 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, depth, useRoi); cv 2339 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::min(loadMat(src1, useRoi), loadMat(src2, useRoi), dst); cv 2341 modules/cudaarithm/test/test_element_operations.cpp cv::Mat dst_gold = cv::min(src1, src2); cv 2349 modules/cudaarithm/test/test_element_operations.cpp cv::Mat src = randomMat(size, depth); cv 2352 modules/cudaarithm/test/test_element_operations.cpp if (depth == CV_64F && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) cv 2356 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst; cv 2357 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::min(loadMat(src), val, dst); cv 2359 modules/cudaarithm/test/test_element_operations.cpp catch (const cv::Exception& e) cv 2361 modules/cudaarithm/test/test_element_operations.cpp ASSERT_EQ(cv::Error::StsUnsupportedFormat, e.code); cv 2366 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, depth, useRoi); cv 2367 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::min(loadMat(src, useRoi), val, dst); cv 2369 modules/cudaarithm/test/test_element_operations.cpp cv::Mat dst_gold = cv::min(src, val); cv 2384 modules/cudaarithm/test/test_element_operations.cpp PARAM_TEST_CASE(Max, cv::cuda::DeviceInfo, cv::Size, MatDepth, UseRoi) cv 2386 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::DeviceInfo devInfo; cv 2387 modules/cudaarithm/test/test_element_operations.cpp cv::Size size; cv 2398 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 2404 modules/cudaarithm/test/test_element_operations.cpp cv::Mat src1 = randomMat(size, depth); cv 2405 modules/cudaarithm/test/test_element_operations.cpp cv::Mat src2 = randomMat(size, depth); cv 2407 modules/cudaarithm/test/test_element_operations.cpp if (depth == CV_64F && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) cv 2411 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst; cv 2412 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::max(loadMat(src1), loadMat(src2), dst); cv 2414 modules/cudaarithm/test/test_element_operations.cpp catch (const cv::Exception& e) cv 2416 modules/cudaarithm/test/test_element_operations.cpp ASSERT_EQ(cv::Error::StsUnsupportedFormat, e.code); cv 2421 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, depth, useRoi); cv 2422 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::max(loadMat(src1, useRoi), loadMat(src2, useRoi), dst); cv 2424 modules/cudaarithm/test/test_element_operations.cpp cv::Mat dst_gold = cv::max(src1, src2); cv 2432 modules/cudaarithm/test/test_element_operations.cpp cv::Mat src = randomMat(size, depth); cv 2435 modules/cudaarithm/test/test_element_operations.cpp if (depth == CV_64F && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) cv 2439 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst; cv 2440 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::max(loadMat(src), val, dst); cv 2442 modules/cudaarithm/test/test_element_operations.cpp catch (const cv::Exception& e) cv 2444 modules/cudaarithm/test/test_element_operations.cpp ASSERT_EQ(cv::Error::StsUnsupportedFormat, e.code); cv 2449 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, depth, useRoi); cv 2450 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::max(loadMat(src, useRoi), val, dst); cv 2452 modules/cudaarithm/test/test_element_operations.cpp cv::Mat dst_gold = cv::max(src, val); cv 2467 modules/cudaarithm/test/test_element_operations.cpp PARAM_TEST_CASE(AddWeighted, cv::cuda::DeviceInfo, cv::Size, MatDepth, MatDepth, MatDepth, UseRoi) cv 2469 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::DeviceInfo devInfo; cv 2470 modules/cudaarithm/test/test_element_operations.cpp cv::Size size; cv 2485 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 2491 modules/cudaarithm/test/test_element_operations.cpp cv::Mat src1 = randomMat(size, depth1); cv 2492 modules/cudaarithm/test/test_element_operations.cpp cv::Mat src2 = randomMat(size, depth2); cv 2497 modules/cudaarithm/test/test_element_operations.cpp if ((depth1 == CV_64F || depth2 == CV_64F || dst_depth == CV_64F) && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) cv 2501 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst; cv 2502 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::addWeighted(loadMat(src1), alpha, loadMat(src2), beta, gamma, dst, dst_depth); cv 2504 modules/cudaarithm/test/test_element_operations.cpp catch (const cv::Exception& e) cv 2506 modules/cudaarithm/test/test_element_operations.cpp ASSERT_EQ(cv::Error::StsUnsupportedFormat, e.code); cv 2511 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, dst_depth, useRoi); cv 2512 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::addWeighted(loadMat(src1, useRoi), alpha, loadMat(src2, useRoi), beta, gamma, dst, dst_depth); cv 2514 modules/cudaarithm/test/test_element_operations.cpp cv::Mat dst_gold; cv 2515 modules/cudaarithm/test/test_element_operations.cpp cv::addWeighted(src1, alpha, src2, beta, gamma, dst_gold, dst_depth); cv 2532 modules/cudaarithm/test/test_element_operations.cpp CV_ENUM(ThreshOp, cv::THRESH_BINARY, cv::THRESH_BINARY_INV, cv::THRESH_TRUNC, cv::THRESH_TOZERO, cv::THRESH_TOZERO_INV) cv 2533 modules/cudaarithm/test/test_element_operations.cpp #define ALL_THRESH_OPS testing::Values(ThreshOp(cv::THRESH_BINARY), ThreshOp(cv::THRESH_BINARY_INV), ThreshOp(cv::THRESH_TRUNC), ThreshOp(cv::THRESH_TOZERO), ThreshOp(cv::THRESH_TOZERO_INV)) cv 2535 modules/cudaarithm/test/test_element_operations.cpp PARAM_TEST_CASE(Threshold, cv::cuda::DeviceInfo, cv::Size, MatType, ThreshOp, UseRoi) cv 2537 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::DeviceInfo devInfo; cv 2538 modules/cudaarithm/test/test_element_operations.cpp cv::Size size; cv 2551 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 2557 modules/cudaarithm/test/test_element_operations.cpp cv::Mat src = randomMat(size, type); cv 2561 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(src.size(), src.type(), useRoi); cv 2562 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::threshold(loadMat(src, useRoi), dst, thresh, maxVal, threshOp); cv 2564 modules/cudaarithm/test/test_element_operations.cpp cv::Mat dst_gold; cv 2565 modules/cudaarithm/test/test_element_operations.cpp cv::threshold(src, dst_gold, thresh, maxVal, threshOp); cv 2580 modules/cudaarithm/test/test_element_operations.cpp PARAM_TEST_CASE(Magnitude, cv::cuda::DeviceInfo, cv::Size, UseRoi) cv 2582 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::DeviceInfo devInfo; cv 2583 modules/cudaarithm/test/test_element_operations.cpp cv::Size size; cv 2592 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 2598 modules/cudaarithm/test/test_element_operations.cpp cv::Mat src = randomMat(size, CV_32FC2); cv 2600 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, CV_32FC1, useRoi); cv 2601 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::magnitude(loadMat(src, useRoi), dst); cv 2603 modules/cudaarithm/test/test_element_operations.cpp cv::Mat arr[2]; cv 2604 modules/cudaarithm/test/test_element_operations.cpp cv::split(src, arr); cv 2605 modules/cudaarithm/test/test_element_operations.cpp cv::Mat dst_gold; cv 2606 modules/cudaarithm/test/test_element_operations.cpp cv::magnitude(arr[0], arr[1], dst_gold); cv 2613 modules/cudaarithm/test/test_element_operations.cpp cv::Mat src = randomMat(size, CV_32FC2); cv 2615 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, CV_32FC1, useRoi); cv 2616 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::magnitudeSqr(loadMat(src, useRoi), dst); cv 2618 modules/cudaarithm/test/test_element_operations.cpp cv::Mat arr[2]; cv 2619 modules/cudaarithm/test/test_element_operations.cpp cv::split(src, arr); cv 2620 modules/cudaarithm/test/test_element_operations.cpp cv::Mat dst_gold; cv 2621 modules/cudaarithm/test/test_element_operations.cpp cv::magnitude(arr[0], arr[1], dst_gold); cv 2622 modules/cudaarithm/test/test_element_operations.cpp cv::multiply(dst_gold, dst_gold, dst_gold); cv 2629 modules/cudaarithm/test/test_element_operations.cpp cv::Mat x = randomMat(size, CV_32FC1); cv 2630 modules/cudaarithm/test/test_element_operations.cpp cv::Mat y = randomMat(size, CV_32FC1); cv 2632 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, CV_32FC1, useRoi); cv 2633 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::magnitude(loadMat(x, useRoi), loadMat(y, useRoi), dst); cv 2635 modules/cudaarithm/test/test_element_operations.cpp cv::Mat dst_gold; cv 2636 modules/cudaarithm/test/test_element_operations.cpp cv::magnitude(x, y, dst_gold); cv 2643 modules/cudaarithm/test/test_element_operations.cpp cv::Mat x = randomMat(size, CV_32FC1); cv 2644 modules/cudaarithm/test/test_element_operations.cpp cv::Mat y = randomMat(size, CV_32FC1); cv 2646 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, CV_32FC1, useRoi); cv 2647 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::magnitudeSqr(loadMat(x, useRoi), loadMat(y, useRoi), dst); cv 2649 modules/cudaarithm/test/test_element_operations.cpp cv::Mat dst_gold; cv 2650 modules/cudaarithm/test/test_element_operations.cpp cv::magnitude(x, y, dst_gold); cv 2651 modules/cudaarithm/test/test_element_operations.cpp cv::multiply(dst_gold, dst_gold, dst_gold); cv 2669 modules/cudaarithm/test/test_element_operations.cpp PARAM_TEST_CASE(Phase, cv::cuda::DeviceInfo, cv::Size, AngleInDegrees, UseRoi) cv 2671 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::DeviceInfo devInfo; cv 2672 modules/cudaarithm/test/test_element_operations.cpp cv::Size size; cv 2683 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 2689 modules/cudaarithm/test/test_element_operations.cpp cv::Mat x = randomMat(size, CV_32FC1); cv 2690 modules/cudaarithm/test/test_element_operations.cpp cv::Mat y = randomMat(size, CV_32FC1); cv 2692 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, CV_32FC1, useRoi); cv 2693 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::phase(loadMat(x, useRoi), loadMat(y, useRoi), dst, angleInDegrees); cv 2695 modules/cudaarithm/test/test_element_operations.cpp cv::Mat dst_gold; cv 2696 modules/cudaarithm/test/test_element_operations.cpp cv::phase(x, y, dst_gold, angleInDegrees); cv 2710 modules/cudaarithm/test/test_element_operations.cpp PARAM_TEST_CASE(CartToPolar, cv::cuda::DeviceInfo, cv::Size, AngleInDegrees, UseRoi) cv 2712 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::DeviceInfo devInfo; cv 2713 modules/cudaarithm/test/test_element_operations.cpp cv::Size size; cv 2724 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 2730 modules/cudaarithm/test/test_element_operations.cpp cv::Mat x = randomMat(size, CV_32FC1); cv 2731 modules/cudaarithm/test/test_element_operations.cpp cv::Mat y = randomMat(size, CV_32FC1); cv 2733 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat mag = createMat(size, CV_32FC1, useRoi); cv 2734 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat angle = createMat(size, CV_32FC1, useRoi); cv 2735 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::cartToPolar(loadMat(x, useRoi), loadMat(y, useRoi), mag, angle, angleInDegrees); cv 2737 modules/cudaarithm/test/test_element_operations.cpp cv::Mat mag_gold; cv 2738 modules/cudaarithm/test/test_element_operations.cpp cv::Mat angle_gold; cv 2739 modules/cudaarithm/test/test_element_operations.cpp cv::cartToPolar(x, y, mag_gold, angle_gold, angleInDegrees); cv 2754 modules/cudaarithm/test/test_element_operations.cpp PARAM_TEST_CASE(PolarToCart, cv::cuda::DeviceInfo, cv::Size, AngleInDegrees, UseRoi) cv 2756 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::DeviceInfo devInfo; cv 2757 modules/cudaarithm/test/test_element_operations.cpp cv::Size size; cv 2768 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 2774 modules/cudaarithm/test/test_element_operations.cpp cv::Mat magnitude = randomMat(size, CV_32FC1); cv 2775 modules/cudaarithm/test/test_element_operations.cpp cv::Mat angle = randomMat(size, CV_32FC1); cv 2777 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat x = createMat(size, CV_32FC1, useRoi); cv 2778 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat y = createMat(size, CV_32FC1, useRoi); cv 2779 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::polarToCart(loadMat(magnitude, useRoi), loadMat(angle, useRoi), x, y, angleInDegrees); cv 2781 modules/cudaarithm/test/test_element_operations.cpp cv::Mat x_gold; cv 2782 modules/cudaarithm/test/test_element_operations.cpp cv::Mat y_gold; cv 2783 modules/cudaarithm/test/test_element_operations.cpp cv::polarToCart(magnitude, angle, x_gold, y_gold, angleInDegrees); cv 55 modules/cudaarithm/test/test_gpumat.cpp PARAM_TEST_CASE(GpuMat_SetTo, cv::cuda::DeviceInfo, cv::Size, MatType, UseRoi) cv 57 modules/cudaarithm/test/test_gpumat.cpp cv::cuda::DeviceInfo devInfo; cv 58 modules/cudaarithm/test/test_gpumat.cpp cv::Size size; cv 69 modules/cudaarithm/test/test_gpumat.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 75 modules/cudaarithm/test/test_gpumat.cpp cv::Scalar zero = cv::Scalar::all(0); cv 77 modules/cudaarithm/test/test_gpumat.cpp cv::cuda::GpuMat mat = createMat(size, type, useRoi); cv 80 modules/cudaarithm/test/test_gpumat.cpp EXPECT_MAT_NEAR(cv::Mat::zeros(size, type), mat, 0.0); cv 85 modules/cudaarithm/test/test_gpumat.cpp cv::Scalar val = cv::Scalar::all(randomDouble(0.0, 255.0)); cv 87 modules/cudaarithm/test/test_gpumat.cpp if (CV_MAT_DEPTH(type) == CV_64F && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) cv 91 modules/cudaarithm/test/test_gpumat.cpp cv::cuda::GpuMat mat = createMat(size, type, useRoi); cv 94 modules/cudaarithm/test/test_gpumat.cpp catch (const cv::Exception& e) cv 96 modules/cudaarithm/test/test_gpumat.cpp ASSERT_EQ(cv::Error::StsUnsupportedFormat, e.code); cv 101 modules/cudaarithm/test/test_gpumat.cpp cv::cuda::GpuMat mat = createMat(size, type, useRoi); cv 104 modules/cudaarithm/test/test_gpumat.cpp EXPECT_MAT_NEAR(cv::Mat(size, type, val), mat, 0.0); cv 110 modules/cudaarithm/test/test_gpumat.cpp cv::Scalar val = randomScalar(0.0, 255.0); cv 112 modules/cudaarithm/test/test_gpumat.cpp if (CV_MAT_DEPTH(type) == CV_64F && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) cv 116 modules/cudaarithm/test/test_gpumat.cpp cv::cuda::GpuMat mat = createMat(size, type, useRoi); cv 119 modules/cudaarithm/test/test_gpumat.cpp catch (const cv::Exception& e) cv 121 modules/cudaarithm/test/test_gpumat.cpp ASSERT_EQ(cv::Error::StsUnsupportedFormat, e.code); cv 126 modules/cudaarithm/test/test_gpumat.cpp cv::cuda::GpuMat mat = createMat(size, type, useRoi); cv 129 modules/cudaarithm/test/test_gpumat.cpp EXPECT_MAT_NEAR(cv::Mat(size, type, val), mat, 0.0); cv 135 modules/cudaarithm/test/test_gpumat.cpp cv::Scalar val = randomScalar(0.0, 255.0); cv 136 modules/cudaarithm/test/test_gpumat.cpp cv::Mat mat_gold = randomMat(size, type); cv 137 modules/cudaarithm/test/test_gpumat.cpp cv::Mat mask = randomMat(size, CV_8UC1, 0.0, 2.0); cv 139 modules/cudaarithm/test/test_gpumat.cpp if (CV_MAT_DEPTH(type) == CV_64F && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) cv 143 modules/cudaarithm/test/test_gpumat.cpp cv::cuda::GpuMat mat = createMat(size, type, useRoi); cv 146 modules/cudaarithm/test/test_gpumat.cpp catch (const cv::Exception& e) cv 148 modules/cudaarithm/test/test_gpumat.cpp ASSERT_EQ(cv::Error::StsUnsupportedFormat, e.code); cv 153 modules/cudaarithm/test/test_gpumat.cpp cv::cuda::GpuMat mat = loadMat(mat_gold, useRoi); cv 171 modules/cudaarithm/test/test_gpumat.cpp PARAM_TEST_CASE(GpuMat_CopyTo, cv::cuda::DeviceInfo, cv::Size, MatType, UseRoi) cv 173 modules/cudaarithm/test/test_gpumat.cpp cv::cuda::DeviceInfo devInfo; cv 174 modules/cudaarithm/test/test_gpumat.cpp cv::Size size; cv 186 modules/cudaarithm/test/test_gpumat.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 192 modules/cudaarithm/test/test_gpumat.cpp cv::Mat src = randomMat(size, type); cv 194 modules/cudaarithm/test/test_gpumat.cpp cv::cuda::GpuMat d_src = loadMat(src, useRoi); cv 195 modules/cudaarithm/test/test_gpumat.cpp cv::cuda::GpuMat dst = createMat(size, type, useRoi); cv 203 modules/cudaarithm/test/test_gpumat.cpp cv::Mat src = randomMat(size, type); cv 204 modules/cudaarithm/test/test_gpumat.cpp cv::Mat mask = randomMat(size, CV_8UC1, 0.0, 2.0); cv 206 modules/cudaarithm/test/test_gpumat.cpp if (CV_MAT_DEPTH(type) == CV_64F && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) cv 210 modules/cudaarithm/test/test_gpumat.cpp cv::cuda::GpuMat d_src = loadMat(src); cv 211 modules/cudaarithm/test/test_gpumat.cpp cv::cuda::GpuMat dst; cv 214 modules/cudaarithm/test/test_gpumat.cpp catch (const cv::Exception& e) cv 216 modules/cudaarithm/test/test_gpumat.cpp ASSERT_EQ(cv::Error::StsUnsupportedFormat, e.code); cv 221 modules/cudaarithm/test/test_gpumat.cpp cv::cuda::GpuMat d_src = loadMat(src, useRoi); cv 222 modules/cudaarithm/test/test_gpumat.cpp cv::cuda::GpuMat dst = loadMat(cv::Mat::zeros(size, type), useRoi); cv 225 modules/cudaarithm/test/test_gpumat.cpp cv::Mat dst_gold = cv::Mat::zeros(size, type); cv 241 modules/cudaarithm/test/test_gpumat.cpp PARAM_TEST_CASE(GpuMat_ConvertTo, cv::cuda::DeviceInfo, cv::Size, MatDepth, MatDepth, UseRoi) cv 243 modules/cudaarithm/test/test_gpumat.cpp cv::cuda::DeviceInfo devInfo; cv 244 modules/cudaarithm/test/test_gpumat.cpp cv::Size size; cv 257 modules/cudaarithm/test/test_gpumat.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 263 modules/cudaarithm/test/test_gpumat.cpp cv::Mat src = randomMat(size, depth1); cv 265 modules/cudaarithm/test/test_gpumat.cpp if ((depth1 == CV_64F || depth2 == CV_64F) && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) cv 269 modules/cudaarithm/test/test_gpumat.cpp cv::cuda::GpuMat d_src = loadMat(src); cv 270 modules/cudaarithm/test/test_gpumat.cpp cv::cuda::GpuMat dst; cv 273 modules/cudaarithm/test/test_gpumat.cpp catch (const cv::Exception& e) cv 275 modules/cudaarithm/test/test_gpumat.cpp ASSERT_EQ(cv::Error::StsUnsupportedFormat, e.code); cv 280 modules/cudaarithm/test/test_gpumat.cpp cv::cuda::GpuMat d_src = loadMat(src, useRoi); cv 281 modules/cudaarithm/test/test_gpumat.cpp cv::cuda::GpuMat dst = createMat(size, depth2, useRoi); cv 284 modules/cudaarithm/test/test_gpumat.cpp cv::Mat dst_gold; cv 293 modules/cudaarithm/test/test_gpumat.cpp cv::Mat src = randomMat(size, depth1); cv 297 modules/cudaarithm/test/test_gpumat.cpp if ((depth1 == CV_64F || depth2 == CV_64F) && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) cv 301 modules/cudaarithm/test/test_gpumat.cpp cv::cuda::GpuMat d_src = loadMat(src); cv 302 modules/cudaarithm/test/test_gpumat.cpp cv::cuda::GpuMat dst; cv 305 modules/cudaarithm/test/test_gpumat.cpp catch (const cv::Exception& e) cv 307 modules/cudaarithm/test/test_gpumat.cpp ASSERT_EQ(cv::Error::StsUnsupportedFormat, e.code); cv 312 modules/cudaarithm/test/test_gpumat.cpp cv::cuda::GpuMat d_src = loadMat(src, useRoi); cv 313 modules/cudaarithm/test/test_gpumat.cpp cv::cuda::GpuMat dst = createMat(size, depth2, useRoi); cv 316 modules/cudaarithm/test/test_gpumat.cpp cv::Mat dst_gold; cv 333 modules/cudaarithm/test/test_gpumat.cpp struct EnsureSizeIsEnough : testing::TestWithParam<cv::cuda::DeviceInfo> cv 337 modules/cudaarithm/test/test_gpumat.cpp cv::cuda::DeviceInfo devInfo = GetParam(); cv 338 modules/cudaarithm/test/test_gpumat.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 344 modules/cudaarithm/test/test_gpumat.cpp cv::cuda::GpuMat buffer(100, 100, CV_8U); cv 345 modules/cudaarithm/test/test_gpumat.cpp cv::cuda::GpuMat old = buffer; cv 348 modules/cudaarithm/test/test_gpumat.cpp cv::cuda::ensureSizeIsEnough(10, 20, CV_8U, buffer); cv 355 modules/cudaarithm/test/test_gpumat.cpp cv::cuda::ensureSizeIsEnough(20, 30, CV_8U, buffer); cv 56 modules/cudaarithm/test/test_opengl.cpp PARAM_TEST_CASE(Buffer, cv::Size, MatType) cv 60 modules/cudaarithm/test/test_opengl.cpp cv::namedWindow("test", cv::WINDOW_OPENGL); cv 65 modules/cudaarithm/test/test_opengl.cpp cv::destroyAllWindows(); cv 68 modules/cudaarithm/test/test_opengl.cpp cv::Size size; cv 80 modules/cudaarithm/test/test_opengl.cpp cv::ogl::Buffer buf(size.height, size.width, type, cv::ogl::Buffer::ARRAY_BUFFER, true); cv 89 modules/cudaarithm/test/test_opengl.cpp cv::ogl::Buffer buf(size, type, cv::ogl::Buffer::ARRAY_BUFFER, true); cv 98 modules/cudaarithm/test/test_opengl.cpp cv::Mat gold = randomMat(size, type); cv 100 modules/cudaarithm/test/test_opengl.cpp cv::ogl::Buffer buf(gold, cv::ogl::Buffer::ARRAY_BUFFER, true); cv 102 modules/cudaarithm/test/test_opengl.cpp cv::Mat bufData; cv 110 modules/cudaarithm/test/test_opengl.cpp cv::Mat gold = randomMat(size, type); cv 111 modules/cudaarithm/test/test_opengl.cpp cv::cuda::GpuMat d_gold(gold); cv 113 modules/cudaarithm/test/test_opengl.cpp cv::ogl::Buffer buf(d_gold, cv::ogl::Buffer::ARRAY_BUFFER); cv 115 modules/cudaarithm/test/test_opengl.cpp cv::Mat bufData; cv 123 modules/cudaarithm/test/test_opengl.cpp cv::ogl::Buffer buf_gold(size, type, cv::ogl::Buffer::ARRAY_BUFFER, true); cv 125 modules/cudaarithm/test/test_opengl.cpp cv::ogl::Buffer buf(buf_gold); cv 135 modules/cudaarithm/test/test_opengl.cpp cv::ogl::Buffer buf; cv 136 modules/cudaarithm/test/test_opengl.cpp buf.create(size.height, size.width, type, cv::ogl::Buffer::ARRAY_BUFFER, true); cv 145 modules/cudaarithm/test/test_opengl.cpp cv::Mat gold = randomMat(size, type); cv 147 modules/cudaarithm/test/test_opengl.cpp cv::ogl::Buffer buf; cv 148 modules/cudaarithm/test/test_opengl.cpp buf.copyFrom(gold, cv::ogl::Buffer::ARRAY_BUFFER, true); cv 150 modules/cudaarithm/test/test_opengl.cpp cv::Mat bufData; cv 158 modules/cudaarithm/test/test_opengl.cpp cv::Mat gold = randomMat(size, type); cv 159 modules/cudaarithm/test/test_opengl.cpp cv::cuda::GpuMat d_gold(gold); cv 161 modules/cudaarithm/test/test_opengl.cpp cv::ogl::Buffer buf; cv 162 modules/cudaarithm/test/test_opengl.cpp buf.copyFrom(d_gold, cv::ogl::Buffer::ARRAY_BUFFER, true); cv 164 modules/cudaarithm/test/test_opengl.cpp cv::Mat bufData; cv 172 modules/cudaarithm/test/test_opengl.cpp cv::Mat gold = randomMat(size, type); cv 173 modules/cudaarithm/test/test_opengl.cpp cv::ogl::Buffer buf_gold(gold, cv::ogl::Buffer::ARRAY_BUFFER, true); cv 175 modules/cudaarithm/test/test_opengl.cpp cv::ogl::Buffer buf; cv 176 modules/cudaarithm/test/test_opengl.cpp buf.copyFrom(buf_gold, cv::ogl::Buffer::ARRAY_BUFFER, true); cv 180 modules/cudaarithm/test/test_opengl.cpp cv::Mat bufData; cv 188 modules/cudaarithm/test/test_opengl.cpp cv::Mat gold = randomMat(size, type); cv 190 modules/cudaarithm/test/test_opengl.cpp cv::ogl::Buffer buf(gold, cv::ogl::Buffer::ARRAY_BUFFER, true); cv 192 modules/cudaarithm/test/test_opengl.cpp cv::cuda::GpuMat dst; cv 200 modules/cudaarithm/test/test_opengl.cpp cv::Mat gold = randomMat(size, type); cv 202 modules/cudaarithm/test/test_opengl.cpp cv::ogl::Buffer buf(gold, cv::ogl::Buffer::ARRAY_BUFFER, true); cv 204 modules/cudaarithm/test/test_opengl.cpp cv::ogl::Buffer dst; cv 210 modules/cudaarithm/test/test_opengl.cpp cv::Mat bufData; cv 218 modules/cudaarithm/test/test_opengl.cpp cv::Mat gold = randomMat(size, type); cv 220 modules/cudaarithm/test/test_opengl.cpp cv::ogl::Buffer buf(gold, cv::ogl::Buffer::ARRAY_BUFFER, true); cv 222 modules/cudaarithm/test/test_opengl.cpp cv::ogl::Buffer dst = buf.clone(cv::ogl::Buffer::ARRAY_BUFFER, true); cv 226 modules/cudaarithm/test/test_opengl.cpp cv::Mat bufData; cv 234 modules/cudaarithm/test/test_opengl.cpp cv::Mat gold = randomMat(size, type); cv 236 modules/cudaarithm/test/test_opengl.cpp cv::ogl::Buffer buf(gold, cv::ogl::Buffer::ARRAY_BUFFER, true); cv 238 modules/cudaarithm/test/test_opengl.cpp cv::Mat dst = buf.mapHost(cv::ogl::Buffer::READ_ONLY); cv 247 modules/cudaarithm/test/test_opengl.cpp cv::Mat gold = randomMat(size, type); cv 249 modules/cudaarithm/test/test_opengl.cpp cv::ogl::Buffer buf(size, type, cv::ogl::Buffer::ARRAY_BUFFER, true); cv 251 modules/cudaarithm/test/test_opengl.cpp cv::Mat dst = buf.mapHost(cv::ogl::Buffer::WRITE_ONLY); cv 256 modules/cudaarithm/test/test_opengl.cpp cv::Mat bufData; cv 264 modules/cudaarithm/test/test_opengl.cpp cv::Mat gold = randomMat(size, type); cv 266 modules/cudaarithm/test/test_opengl.cpp cv::ogl::Buffer buf(gold, cv::ogl::Buffer::ARRAY_BUFFER, true); cv 268 modules/cudaarithm/test/test_opengl.cpp cv::cuda::GpuMat dst = buf.mapDevice(); cv 280 modules/cudaarithm/test/test_opengl.cpp PARAM_TEST_CASE(Texture2D, cv::Size, MatType) cv 284 modules/cudaarithm/test/test_opengl.cpp cv::namedWindow("test", cv::WINDOW_OPENGL); cv 289 modules/cudaarithm/test/test_opengl.cpp cv::destroyAllWindows(); cv 292 modules/cudaarithm/test/test_opengl.cpp cv::Size size; cv 296 modules/cudaarithm/test/test_opengl.cpp cv::ogl::Texture2D::Format format; cv 305 modules/cudaarithm/test/test_opengl.cpp format = cn == 1 ? cv::ogl::Texture2D::DEPTH_COMPONENT : cn == 3 ? cv::ogl::Texture2D::RGB : cn == 4 ? cv::ogl::Texture2D::RGBA : cv::ogl::Texture2D::NONE; cv 311 modules/cudaarithm/test/test_opengl.cpp cv::ogl::Texture2D tex(size.height, size.width, format, true); cv 320 modules/cudaarithm/test/test_opengl.cpp cv::ogl::Texture2D tex(size, format, true); cv 329 modules/cudaarithm/test/test_opengl.cpp cv::Mat gold = randomMat(size, type, 0, depth == CV_8U ? 255 : 1); cv 331 modules/cudaarithm/test/test_opengl.cpp cv::ogl::Texture2D tex(gold, true); cv 333 modules/cudaarithm/test/test_opengl.cpp cv::Mat texData; cv 341 modules/cudaarithm/test/test_opengl.cpp cv::Mat gold = randomMat(size, type, 0, depth == CV_8U ? 255 : 1); cv 342 modules/cudaarithm/test/test_opengl.cpp cv::cuda::GpuMat d_gold(gold); cv 344 modules/cudaarithm/test/test_opengl.cpp cv::ogl::Texture2D tex(d_gold, true); cv 346 modules/cudaarithm/test/test_opengl.cpp cv::Mat texData; cv 354 modules/cudaarithm/test/test_opengl.cpp cv::Mat gold = randomMat(size, type, 0, depth == CV_8U ? 255 : 1); cv 355 modules/cudaarithm/test/test_opengl.cpp cv::ogl::Buffer buf_gold(gold, cv::ogl::Buffer::PIXEL_UNPACK_BUFFER, true); cv 357 modules/cudaarithm/test/test_opengl.cpp cv::ogl::Texture2D tex(buf_gold, true); cv 359 modules/cudaarithm/test/test_opengl.cpp cv::Mat texData; cv 367 modules/cudaarithm/test/test_opengl.cpp cv::ogl::Texture2D tex_gold(size, format, true); cv 368 modules/cudaarithm/test/test_opengl.cpp cv::ogl::Texture2D tex(tex_gold); cv 378 modules/cudaarithm/test/test_opengl.cpp cv::ogl::Texture2D tex; cv 388 modules/cudaarithm/test/test_opengl.cpp cv::Mat gold = randomMat(size, type, 0, depth == CV_8U ? 255 : 1); cv 390 modules/cudaarithm/test/test_opengl.cpp cv::ogl::Texture2D tex; cv 393 modules/cudaarithm/test/test_opengl.cpp cv::Mat texData; cv 401 modules/cudaarithm/test/test_opengl.cpp cv::Mat gold = randomMat(size, type, 0, depth == CV_8U ? 255 : 1); cv 402 modules/cudaarithm/test/test_opengl.cpp cv::cuda::GpuMat d_gold(gold); cv 404 modules/cudaarithm/test/test_opengl.cpp cv::ogl::Texture2D tex; cv 407 modules/cudaarithm/test/test_opengl.cpp cv::Mat texData; cv 415 modules/cudaarithm/test/test_opengl.cpp cv::Mat gold = randomMat(size, type, 0, depth == CV_8U ? 255 : 1); cv 416 modules/cudaarithm/test/test_opengl.cpp cv::ogl::Buffer buf_gold(gold, cv::ogl::Buffer::PIXEL_UNPACK_BUFFER, true); cv 418 modules/cudaarithm/test/test_opengl.cpp cv::ogl::Texture2D tex; cv 421 modules/cudaarithm/test/test_opengl.cpp cv::Mat texData; cv 429 modules/cudaarithm/test/test_opengl.cpp cv::Mat gold = randomMat(size, type, 0, depth == CV_8U ? 255 : 1); cv 431 modules/cudaarithm/test/test_opengl.cpp cv::ogl::Texture2D tex(gold, true); cv 433 modules/cudaarithm/test/test_opengl.cpp cv::cuda::GpuMat dst; cv 441 modules/cudaarithm/test/test_opengl.cpp cv::Mat gold = randomMat(size, type, 0, depth == CV_8U ? 255 : 1); cv 443 modules/cudaarithm/test/test_opengl.cpp cv::ogl::Texture2D tex(gold, true); cv 445 modules/cudaarithm/test/test_opengl.cpp cv::ogl::Buffer dst; cv 448 modules/cudaarithm/test/test_opengl.cpp cv::Mat bufData; cv 52 modules/cudaarithm/test/test_reductions.cpp PARAM_TEST_CASE(Norm, cv::cuda::DeviceInfo, cv::Size, MatDepth, NormCode, UseRoi) cv 54 modules/cudaarithm/test/test_reductions.cpp cv::cuda::DeviceInfo devInfo; cv 55 modules/cudaarithm/test/test_reductions.cpp cv::Size size; cv 68 modules/cudaarithm/test/test_reductions.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 74 modules/cudaarithm/test/test_reductions.cpp cv::Mat src = randomMat(size, depth); cv 75 modules/cudaarithm/test/test_reductions.cpp cv::Mat mask = randomMat(size, CV_8UC1, 0, 2); cv 77 modules/cudaarithm/test/test_reductions.cpp double val = cv::cuda::norm(loadMat(src, useRoi), normCode, loadMat(mask, useRoi)); cv 79 modules/cudaarithm/test/test_reductions.cpp double val_gold = cv::norm(src, normCode, mask); cv 86 modules/cudaarithm/test/test_reductions.cpp cv::Mat src = randomMat(size, depth); cv 87 modules/cudaarithm/test/test_reductions.cpp cv::Mat mask = randomMat(size, CV_8UC1, 0, 2); cv 89 modules/cudaarithm/test/test_reductions.cpp cv::cuda::Stream stream; cv 91 modules/cudaarithm/test/test_reductions.cpp cv::cuda::HostMem dst; cv 92 modules/cudaarithm/test/test_reductions.cpp cv::cuda::calcNorm(loadMat(src, useRoi), dst, normCode, loadMat(mask, useRoi), stream); cv 97 modules/cudaarithm/test/test_reductions.cpp dst.createMatHeader().convertTo(cv::Mat(1, 1, CV_64FC1, &val), CV_64F); cv 99 modules/cudaarithm/test/test_reductions.cpp double val_gold = cv::norm(src, normCode, mask); cv 113 modules/cudaarithm/test/test_reductions.cpp testing::Values(NormCode(cv::NORM_L1), NormCode(cv::NORM_L2), NormCode(cv::NORM_INF)), cv 119 modules/cudaarithm/test/test_reductions.cpp PARAM_TEST_CASE(NormDiff, cv::cuda::DeviceInfo, cv::Size, NormCode, UseRoi) cv 121 modules/cudaarithm/test/test_reductions.cpp cv::cuda::DeviceInfo devInfo; cv 122 modules/cudaarithm/test/test_reductions.cpp cv::Size size; cv 133 modules/cudaarithm/test/test_reductions.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 139 modules/cudaarithm/test/test_reductions.cpp cv::Mat src1 = randomMat(size, CV_8UC1); cv 140 modules/cudaarithm/test/test_reductions.cpp cv::Mat src2 = randomMat(size, CV_8UC1); cv 142 modules/cudaarithm/test/test_reductions.cpp double val = cv::cuda::norm(loadMat(src1, useRoi), loadMat(src2, useRoi), normCode); cv 144 modules/cudaarithm/test/test_reductions.cpp double val_gold = cv::norm(src1, src2, normCode); cv 151 modules/cudaarithm/test/test_reductions.cpp cv::Mat src1 = randomMat(size, CV_8UC1); cv 152 modules/cudaarithm/test/test_reductions.cpp cv::Mat src2 = randomMat(size, CV_8UC1); cv 154 modules/cudaarithm/test/test_reductions.cpp cv::cuda::Stream stream; cv 156 modules/cudaarithm/test/test_reductions.cpp cv::cuda::HostMem dst; cv 157 modules/cudaarithm/test/test_reductions.cpp cv::cuda::calcNormDiff(loadMat(src1, useRoi), loadMat(src2, useRoi), dst, normCode, stream); cv 162 modules/cudaarithm/test/test_reductions.cpp const cv::Mat val_mat(1, 1, CV_64FC1, &val); cv 165 modules/cudaarithm/test/test_reductions.cpp double val_gold = cv::norm(src1, src2, normCode); cv 173 modules/cudaarithm/test/test_reductions.cpp testing::Values(NormCode(cv::NORM_L1), NormCode(cv::NORM_L2), NormCode(cv::NORM_INF)), cv 182 modules/cudaarithm/test/test_reductions.cpp cv::Scalar absSumImpl(const cv::Mat& src) cv 186 modules/cudaarithm/test/test_reductions.cpp cv::Scalar sum = cv::Scalar::all(0); cv 200 modules/cudaarithm/test/test_reductions.cpp cv::Scalar absSumGold(const cv::Mat& src) cv 202 modules/cudaarithm/test/test_reductions.cpp typedef cv::Scalar (*func_t)(const cv::Mat& src); cv 219 modules/cudaarithm/test/test_reductions.cpp cv::Scalar sqrSumImpl(const cv::Mat& src) cv 223 modules/cudaarithm/test/test_reductions.cpp cv::Scalar sum = cv::Scalar::all(0); cv 240 modules/cudaarithm/test/test_reductions.cpp cv::Scalar sqrSumGold(const cv::Mat& src) cv 242 modules/cudaarithm/test/test_reductions.cpp typedef cv::Scalar (*func_t)(const cv::Mat& src); cv 259 modules/cudaarithm/test/test_reductions.cpp PARAM_TEST_CASE(Sum, cv::cuda::DeviceInfo, cv::Size, MatType, UseRoi) cv 261 modules/cudaarithm/test/test_reductions.cpp cv::cuda::DeviceInfo devInfo; cv 262 modules/cudaarithm/test/test_reductions.cpp cv::Size size; cv 266 modules/cudaarithm/test/test_reductions.cpp cv::Mat src; cv 275 modules/cudaarithm/test/test_reductions.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 283 modules/cudaarithm/test/test_reductions.cpp cv::Scalar val = cv::cuda::sum(loadMat(src, useRoi)); cv 285 modules/cudaarithm/test/test_reductions.cpp cv::Scalar val_gold = cv::sum(src); cv 292 modules/cudaarithm/test/test_reductions.cpp cv::cuda::Stream stream; cv 294 modules/cudaarithm/test/test_reductions.cpp cv::cuda::HostMem dst; cv 295 modules/cudaarithm/test/test_reductions.cpp cv::cuda::calcSum(loadMat(src, useRoi), dst, cv::noArray(), stream); cv 299 modules/cudaarithm/test/test_reductions.cpp cv::Scalar val; cv 300 modules/cudaarithm/test/test_reductions.cpp cv::Mat val_mat(dst.size(), CV_64FC(dst.channels()), val.val); cv 303 modules/cudaarithm/test/test_reductions.cpp cv::Scalar val_gold = cv::sum(src); cv 310 modules/cudaarithm/test/test_reductions.cpp cv::Scalar val = cv::cuda::absSum(loadMat(src, useRoi)); cv 312 modules/cudaarithm/test/test_reductions.cpp cv::Scalar val_gold = absSumGold(src); cv 319 modules/cudaarithm/test/test_reductions.cpp cv::cuda::Stream stream; cv 321 modules/cudaarithm/test/test_reductions.cpp cv::cuda::HostMem dst; cv 322 modules/cudaarithm/test/test_reductions.cpp cv::cuda::calcAbsSum(loadMat(src, useRoi), dst, cv::noArray(), stream); cv 326 modules/cudaarithm/test/test_reductions.cpp cv::Scalar val; cv 327 modules/cudaarithm/test/test_reductions.cpp cv::Mat val_mat(dst.size(), CV_64FC(dst.channels()), val.val); cv 330 modules/cudaarithm/test/test_reductions.cpp cv::Scalar val_gold = absSumGold(src); cv 337 modules/cudaarithm/test/test_reductions.cpp cv::Scalar val = cv::cuda::sqrSum(loadMat(src, useRoi)); cv 339 modules/cudaarithm/test/test_reductions.cpp cv::Scalar val_gold = sqrSumGold(src); cv 346 modules/cudaarithm/test/test_reductions.cpp cv::cuda::Stream stream; cv 348 modules/cudaarithm/test/test_reductions.cpp cv::cuda::HostMem dst; cv 349 modules/cudaarithm/test/test_reductions.cpp cv::cuda::calcSqrSum(loadMat(src, useRoi), dst, cv::noArray(), stream); cv 353 modules/cudaarithm/test/test_reductions.cpp cv::Scalar val; cv 354 modules/cudaarithm/test/test_reductions.cpp cv::Mat val_mat(dst.size(), CV_64FC(dst.channels()), val.val); cv 357 modules/cudaarithm/test/test_reductions.cpp cv::Scalar val_gold = sqrSumGold(src); cv 371 modules/cudaarithm/test/test_reductions.cpp PARAM_TEST_CASE(MinMax, cv::cuda::DeviceInfo, cv::Size, MatDepth, UseRoi) cv 373 modules/cudaarithm/test/test_reductions.cpp cv::cuda::DeviceInfo devInfo; cv 374 modules/cudaarithm/test/test_reductions.cpp cv::Size size; cv 385 modules/cudaarithm/test/test_reductions.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 391 modules/cudaarithm/test/test_reductions.cpp cv::Mat src = randomMat(size, depth); cv 393 modules/cudaarithm/test/test_reductions.cpp if (depth == CV_64F && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) cv 398 modules/cudaarithm/test/test_reductions.cpp cv::cuda::minMax(loadMat(src), &minVal, &maxVal); cv 400 modules/cudaarithm/test/test_reductions.cpp catch (const cv::Exception& e) cv 402 modules/cudaarithm/test/test_reductions.cpp ASSERT_EQ(cv::Error::StsUnsupportedFormat, e.code); cv 408 modules/cudaarithm/test/test_reductions.cpp cv::cuda::minMax(loadMat(src, useRoi), &minVal, &maxVal); cv 420 modules/cudaarithm/test/test_reductions.cpp cv::Mat src = randomMat(size, depth); cv 422 modules/cudaarithm/test/test_reductions.cpp cv::cuda::Stream stream; cv 424 modules/cudaarithm/test/test_reductions.cpp cv::cuda::HostMem dst; cv 425 modules/cudaarithm/test/test_reductions.cpp cv::cuda::findMinMax(loadMat(src, useRoi), dst, cv::noArray(), stream); cv 430 modules/cudaarithm/test/test_reductions.cpp const cv::Mat vals_mat(1, 2, CV_64FC1, &vals[0]); cv 442 modules/cudaarithm/test/test_reductions.cpp cv::Mat src = randomMat(size, depth); cv 443 modules/cudaarithm/test/test_reductions.cpp cv::Mat mask = randomMat(size, CV_8UC1, 0.0, 2.0); cv 445 modules/cudaarithm/test/test_reductions.cpp if (depth == CV_64F && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) cv 450 modules/cudaarithm/test/test_reductions.cpp cv::cuda::minMax(loadMat(src), &minVal, &maxVal, loadMat(mask)); cv 452 modules/cudaarithm/test/test_reductions.cpp catch (const cv::Exception& e) cv 454 modules/cudaarithm/test/test_reductions.cpp ASSERT_EQ(cv::Error::StsUnsupportedFormat, e.code); cv 460 modules/cudaarithm/test/test_reductions.cpp cv::cuda::minMax(loadMat(src, useRoi), &minVal, &maxVal, loadMat(mask, useRoi)); cv 472 modules/cudaarithm/test/test_reductions.cpp cv::Mat src = randomMat(size, depth); cv 474 modules/cudaarithm/test/test_reductions.cpp if (depth == CV_64F && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) cv 479 modules/cudaarithm/test/test_reductions.cpp cv::cuda::minMax(loadMat(src), &minVal, 0); cv 480 modules/cudaarithm/test/test_reductions.cpp cv::cuda::minMax(loadMat(src), 0, &maxVal); cv 482 modules/cudaarithm/test/test_reductions.cpp catch (const cv::Exception& e) cv 484 modules/cudaarithm/test/test_reductions.cpp ASSERT_EQ(cv::Error::StsUnsupportedFormat, e.code); cv 490 modules/cudaarithm/test/test_reductions.cpp cv::cuda::minMax(loadMat(src, useRoi), &minVal, 0); cv 491 modules/cudaarithm/test/test_reductions.cpp cv::cuda::minMax(loadMat(src, useRoi), 0, &maxVal); cv 513 modules/cudaarithm/test/test_reductions.cpp void expectEqualImpl(const cv::Mat& src, cv::Point loc_gold, cv::Point loc) cv 518 modules/cudaarithm/test/test_reductions.cpp void expectEqual(const cv::Mat& src, cv::Point loc_gold, cv::Point loc) cv 520 modules/cudaarithm/test/test_reductions.cpp typedef void (*func_t)(const cv::Mat& src, cv::Point loc_gold, cv::Point loc); cv 537 modules/cudaarithm/test/test_reductions.cpp PARAM_TEST_CASE(MinMaxLoc, cv::cuda::DeviceInfo, cv::Size, MatDepth, UseRoi) cv 539 modules/cudaarithm/test/test_reductions.cpp cv::cuda::DeviceInfo devInfo; cv 540 modules/cudaarithm/test/test_reductions.cpp cv::Size size; cv 551 modules/cudaarithm/test/test_reductions.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 557 modules/cudaarithm/test/test_reductions.cpp cv::Mat src = randomMat(size, depth); cv 559 modules/cudaarithm/test/test_reductions.cpp if (depth == CV_64F && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) cv 564 modules/cudaarithm/test/test_reductions.cpp cv::Point minLoc, maxLoc; cv 565 modules/cudaarithm/test/test_reductions.cpp cv::cuda::minMaxLoc(loadMat(src), &minVal, &maxVal, &minLoc, &maxLoc); cv 567 modules/cudaarithm/test/test_reductions.cpp catch (const cv::Exception& e) cv 569 modules/cudaarithm/test/test_reductions.cpp ASSERT_EQ(cv::Error::StsUnsupportedFormat, e.code); cv 575 modules/cudaarithm/test/test_reductions.cpp cv::Point minLoc, maxLoc; cv 576 modules/cudaarithm/test/test_reductions.cpp cv::cuda::minMaxLoc(loadMat(src, useRoi), &minVal, &maxVal, &minLoc, &maxLoc); cv 579 modules/cudaarithm/test/test_reductions.cpp cv::Point minLoc_gold, maxLoc_gold; cv 592 modules/cudaarithm/test/test_reductions.cpp cv::Mat src = randomMat(cv::Size(size.width, 1), depth); cv 595 modules/cudaarithm/test/test_reductions.cpp cv::Point minLoc, maxLoc; cv 596 modules/cudaarithm/test/test_reductions.cpp cv::cuda::minMaxLoc(loadMat(src, useRoi), &minVal, &maxVal, &minLoc, &maxLoc); cv 599 modules/cudaarithm/test/test_reductions.cpp cv::Point minLoc_gold, maxLoc_gold; cv 611 modules/cudaarithm/test/test_reductions.cpp cv::Mat src = randomMat(cv::Size(1, size.height), depth); cv 614 modules/cudaarithm/test/test_reductions.cpp cv::Point minLoc, maxLoc; cv 615 modules/cudaarithm/test/test_reductions.cpp cv::cuda::minMaxLoc(loadMat(src, useRoi), &minVal, &maxVal, &minLoc, &maxLoc); cv 618 modules/cudaarithm/test/test_reductions.cpp cv::Point minLoc_gold, maxLoc_gold; cv 630 modules/cudaarithm/test/test_reductions.cpp cv::Mat src = randomMat(size, depth); cv 632 modules/cudaarithm/test/test_reductions.cpp cv::cuda::Stream stream; cv 634 modules/cudaarithm/test/test_reductions.cpp cv::cuda::HostMem minMaxVals, locVals; cv 635 modules/cudaarithm/test/test_reductions.cpp cv::cuda::findMinMaxLoc(loadMat(src, useRoi), minMaxVals, locVals, cv::noArray(), stream); cv 640 modules/cudaarithm/test/test_reductions.cpp const cv::Mat vals_mat(2, 1, CV_64FC1, &vals[0]); cv 644 modules/cudaarithm/test/test_reductions.cpp const cv::Mat locs_mat(2, 1, CV_32SC1, &locs[0]); cv 647 modules/cudaarithm/test/test_reductions.cpp cv::Point locs2D[] = { cv 648 modules/cudaarithm/test/test_reductions.cpp cv::Point(locs[0] % src.cols, locs[0] / src.cols), cv 649 modules/cudaarithm/test/test_reductions.cpp cv::Point(locs[1] % src.cols, locs[1] / src.cols), cv 653 modules/cudaarithm/test/test_reductions.cpp cv::Point minLoc_gold, maxLoc_gold; cv 665 modules/cudaarithm/test/test_reductions.cpp cv::Mat src = randomMat(size, depth); cv 666 modules/cudaarithm/test/test_reductions.cpp cv::Mat mask = randomMat(size, CV_8UC1, 0.0, 2.0); cv 668 modules/cudaarithm/test/test_reductions.cpp if (depth == CV_64F && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) cv 673 modules/cudaarithm/test/test_reductions.cpp cv::Point minLoc, maxLoc; cv 674 modules/cudaarithm/test/test_reductions.cpp cv::cuda::minMaxLoc(loadMat(src), &minVal, &maxVal, &minLoc, &maxLoc, loadMat(mask)); cv 676 modules/cudaarithm/test/test_reductions.cpp catch (const cv::Exception& e) cv 678 modules/cudaarithm/test/test_reductions.cpp ASSERT_EQ(cv::Error::StsUnsupportedFormat, e.code); cv 684 modules/cudaarithm/test/test_reductions.cpp cv::Point minLoc, maxLoc; cv 685 modules/cudaarithm/test/test_reductions.cpp cv::cuda::minMaxLoc(loadMat(src, useRoi), &minVal, &maxVal, &minLoc, &maxLoc, loadMat(mask, useRoi)); cv 688 modules/cudaarithm/test/test_reductions.cpp cv::Point minLoc_gold, maxLoc_gold; cv 701 modules/cudaarithm/test/test_reductions.cpp cv::Mat src = randomMat(size, depth); cv 703 modules/cudaarithm/test/test_reductions.cpp if (depth == CV_64F && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) cv 708 modules/cudaarithm/test/test_reductions.cpp cv::Point minLoc, maxLoc; cv 709 modules/cudaarithm/test/test_reductions.cpp cv::cuda::minMaxLoc(loadMat(src, useRoi), &minVal, 0, 0, 0); cv 710 modules/cudaarithm/test/test_reductions.cpp cv::cuda::minMaxLoc(loadMat(src, useRoi), 0, &maxVal, 0, 0); cv 711 modules/cudaarithm/test/test_reductions.cpp cv::cuda::minMaxLoc(loadMat(src, useRoi), 0, 0, &minLoc, 0); cv 712 modules/cudaarithm/test/test_reductions.cpp cv::cuda::minMaxLoc(loadMat(src, useRoi), 0, 0, 0, &maxLoc); cv 714 modules/cudaarithm/test/test_reductions.cpp catch (const cv::Exception& e) cv 716 modules/cudaarithm/test/test_reductions.cpp ASSERT_EQ(cv::Error::StsUnsupportedFormat, e.code); cv 722 modules/cudaarithm/test/test_reductions.cpp cv::Point minLoc, maxLoc; cv 723 modules/cudaarithm/test/test_reductions.cpp cv::cuda::minMaxLoc(loadMat(src, useRoi), &minVal, 0, 0, 0); cv 724 modules/cudaarithm/test/test_reductions.cpp cv::cuda::minMaxLoc(loadMat(src, useRoi), 0, &maxVal, 0, 0); cv 725 modules/cudaarithm/test/test_reductions.cpp cv::cuda::minMaxLoc(loadMat(src, useRoi), 0, 0, &minLoc, 0); cv 726 modules/cudaarithm/test/test_reductions.cpp cv::cuda::minMaxLoc(loadMat(src, useRoi), 0, 0, 0, &maxLoc); cv 729 modules/cudaarithm/test/test_reductions.cpp cv::Point minLoc_gold, maxLoc_gold; cv 749 modules/cudaarithm/test/test_reductions.cpp PARAM_TEST_CASE(CountNonZero, cv::cuda::DeviceInfo, cv::Size, MatDepth, UseRoi) cv 751 modules/cudaarithm/test/test_reductions.cpp cv::cuda::DeviceInfo devInfo; cv 752 modules/cudaarithm/test/test_reductions.cpp cv::Size size; cv 756 modules/cudaarithm/test/test_reductions.cpp cv::Mat src; cv 765 modules/cudaarithm/test/test_reductions.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 767 modules/cudaarithm/test/test_reductions.cpp cv::Mat srcBase = randomMat(size, CV_8U, 0.0, 1.5); cv 774 modules/cudaarithm/test/test_reductions.cpp if (depth == CV_64F && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) cv 778 modules/cudaarithm/test/test_reductions.cpp cv::cuda::countNonZero(loadMat(src)); cv 780 modules/cudaarithm/test/test_reductions.cpp catch (const cv::Exception& e) cv 782 modules/cudaarithm/test/test_reductions.cpp ASSERT_EQ(cv::Error::StsUnsupportedFormat, e.code); cv 787 modules/cudaarithm/test/test_reductions.cpp int val = cv::cuda::countNonZero(loadMat(src, useRoi)); cv 789 modules/cudaarithm/test/test_reductions.cpp int val_gold = cv::countNonZero(src); cv 797 modules/cudaarithm/test/test_reductions.cpp cv::cuda::Stream stream; cv 799 modules/cudaarithm/test/test_reductions.cpp cv::cuda::HostMem dst; cv 800 modules/cudaarithm/test/test_reductions.cpp cv::cuda::countNonZero(loadMat(src, useRoi), dst, stream); cv 805 modules/cudaarithm/test/test_reductions.cpp const cv::Mat val_mat(1, 1, CV_32SC1, &val); cv 808 modules/cudaarithm/test/test_reductions.cpp int val_gold = cv::countNonZero(src); cv 822 modules/cudaarithm/test/test_reductions.cpp CV_ENUM(ReduceCode, cv::REDUCE_SUM, cv::REDUCE_AVG, cv::REDUCE_MAX, cv::REDUCE_MIN) cv 823 modules/cudaarithm/test/test_reductions.cpp #define ALL_REDUCE_CODES testing::Values(ReduceCode(cv::REDUCE_SUM), ReduceCode(cv::REDUCE_AVG), ReduceCode(cv::REDUCE_MAX), ReduceCode(cv::REDUCE_MIN)) cv 825 modules/cudaarithm/test/test_reductions.cpp PARAM_TEST_CASE(Reduce, cv::cuda::DeviceInfo, cv::Size, MatDepth, Channels, ReduceCode, UseRoi) cv 827 modules/cudaarithm/test/test_reductions.cpp cv::cuda::DeviceInfo devInfo; cv 828 modules/cudaarithm/test/test_reductions.cpp cv::Size size; cv 847 modules/cudaarithm/test/test_reductions.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 851 modules/cudaarithm/test/test_reductions.cpp if (reduceOp == cv::REDUCE_MAX || reduceOp == cv::REDUCE_MIN) cv 853 modules/cudaarithm/test/test_reductions.cpp else if (reduceOp == cv::REDUCE_SUM) cv 865 modules/cudaarithm/test/test_reductions.cpp cv::Mat src = randomMat(size, type); cv 867 modules/cudaarithm/test/test_reductions.cpp cv::cuda::GpuMat dst = createMat(cv::Size(src.cols, 1), dst_type, useRoi); cv 868 modules/cudaarithm/test/test_reductions.cpp cv::cuda::reduce(loadMat(src, useRoi), dst, 0, reduceOp, dst_depth); cv 870 modules/cudaarithm/test/test_reductions.cpp cv::Mat dst_gold; cv 871 modules/cudaarithm/test/test_reductions.cpp cv::reduce(src, dst_gold, 0, reduceOp, dst_depth); cv 878 modules/cudaarithm/test/test_reductions.cpp cv::Mat src = randomMat(size, type); cv 880 modules/cudaarithm/test/test_reductions.cpp cv::cuda::GpuMat dst = createMat(cv::Size(src.rows, 1), dst_type, useRoi); cv 881 modules/cudaarithm/test/test_reductions.cpp cv::cuda::reduce(loadMat(src, useRoi), dst, 1, reduceOp, dst_depth); cv 883 modules/cudaarithm/test/test_reductions.cpp cv::Mat dst_gold; cv 884 modules/cudaarithm/test/test_reductions.cpp cv::reduce(src, dst_gold, 1, reduceOp, dst_depth); cv 907 modules/cudaarithm/test/test_reductions.cpp PARAM_TEST_CASE(Normalize, cv::cuda::DeviceInfo, cv::Size, MatDepth, NormCode, UseRoi) cv 909 modules/cudaarithm/test/test_reductions.cpp cv::cuda::DeviceInfo devInfo; cv 910 modules/cudaarithm/test/test_reductions.cpp cv::Size size; cv 926 modules/cudaarithm/test/test_reductions.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 936 modules/cudaarithm/test/test_reductions.cpp cv::Mat src = randomMat(size, type); cv 938 modules/cudaarithm/test/test_reductions.cpp cv::cuda::GpuMat dst = createMat(size, type, useRoi); cv 939 modules/cudaarithm/test/test_reductions.cpp cv::cuda::normalize(loadMat(src, useRoi), dst, alpha, beta, norm_type, type); cv 941 modules/cudaarithm/test/test_reductions.cpp cv::Mat dst_gold; cv 942 modules/cudaarithm/test/test_reductions.cpp cv::normalize(src, dst_gold, alpha, beta, norm_type, type); cv 949 modules/cudaarithm/test/test_reductions.cpp cv::Mat src = randomMat(size, type); cv 950 modules/cudaarithm/test/test_reductions.cpp cv::Mat mask = randomMat(size, CV_8UC1, 0, 2); cv 952 modules/cudaarithm/test/test_reductions.cpp cv::cuda::GpuMat dst = createMat(size, type, useRoi); cv 953 modules/cudaarithm/test/test_reductions.cpp dst.setTo(cv::Scalar::all(0)); cv 954 modules/cudaarithm/test/test_reductions.cpp cv::cuda::normalize(loadMat(src, useRoi), dst, alpha, beta, norm_type, type, loadMat(mask, useRoi)); cv 956 modules/cudaarithm/test/test_reductions.cpp cv::Mat dst_gold(size, type); cv 957 modules/cudaarithm/test/test_reductions.cpp dst_gold.setTo(cv::Scalar::all(0)); cv 958 modules/cudaarithm/test/test_reductions.cpp cv::normalize(src, dst_gold, alpha, beta, norm_type, type, mask); cv 967 modules/cudaarithm/test/test_reductions.cpp testing::Values(NormCode(cv::NORM_L1), NormCode(cv::NORM_L2), NormCode(cv::NORM_INF), NormCode(cv::NORM_MINMAX)), cv 973 modules/cudaarithm/test/test_reductions.cpp PARAM_TEST_CASE(MeanStdDev, cv::cuda::DeviceInfo, cv::Size, UseRoi) cv 975 modules/cudaarithm/test/test_reductions.cpp cv::cuda::DeviceInfo devInfo; cv 976 modules/cudaarithm/test/test_reductions.cpp cv::Size size; cv 985 modules/cudaarithm/test/test_reductions.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 991 modules/cudaarithm/test/test_reductions.cpp cv::Mat src = randomMat(size, CV_8UC1); cv 993 modules/cudaarithm/test/test_reductions.cpp if (!supportFeature(devInfo, cv::cuda::FEATURE_SET_COMPUTE_13)) cv 997 modules/cudaarithm/test/test_reductions.cpp cv::Scalar mean; cv 998 modules/cudaarithm/test/test_reductions.cpp cv::Scalar stddev; cv 999 modules/cudaarithm/test/test_reductions.cpp cv::cuda::meanStdDev(loadMat(src, useRoi), mean, stddev); cv 1001 modules/cudaarithm/test/test_reductions.cpp catch (const cv::Exception& e) cv 1003 modules/cudaarithm/test/test_reductions.cpp ASSERT_EQ(cv::Error::StsNotImplemented, e.code); cv 1008 modules/cudaarithm/test/test_reductions.cpp cv::Scalar mean; cv 1009 modules/cudaarithm/test/test_reductions.cpp cv::Scalar stddev; cv 1010 modules/cudaarithm/test/test_reductions.cpp cv::cuda::meanStdDev(loadMat(src, useRoi), mean, stddev); cv 1012 modules/cudaarithm/test/test_reductions.cpp cv::Scalar mean_gold; cv 1013 modules/cudaarithm/test/test_reductions.cpp cv::Scalar stddev_gold; cv 1014 modules/cudaarithm/test/test_reductions.cpp cv::meanStdDev(src, mean_gold, stddev_gold); cv 1023 modules/cudaarithm/test/test_reductions.cpp cv::Mat src = randomMat(size, CV_8UC1); cv 1025 modules/cudaarithm/test/test_reductions.cpp cv::cuda::Stream stream; cv 1027 modules/cudaarithm/test/test_reductions.cpp cv::cuda::HostMem dst; cv 1028 modules/cudaarithm/test/test_reductions.cpp cv::cuda::meanStdDev(loadMat(src, useRoi), dst, stream); cv 1033 modules/cudaarithm/test/test_reductions.cpp dst.createMatHeader().copyTo(cv::Mat(1, 2, CV_64FC1, &vals[0])); cv 1035 modules/cudaarithm/test/test_reductions.cpp cv::Scalar mean_gold; cv 1036 modules/cudaarithm/test/test_reductions.cpp cv::Scalar stddev_gold; cv 1037 modules/cudaarithm/test/test_reductions.cpp cv::meanStdDev(src, mean_gold, stddev_gold); cv 1039 modules/cudaarithm/test/test_reductions.cpp EXPECT_SCALAR_NEAR(mean_gold, cv::Scalar(vals[0]), 1e-5); cv 1040 modules/cudaarithm/test/test_reductions.cpp EXPECT_SCALAR_NEAR(stddev_gold, cv::Scalar(vals[1]), 1e-5); cv 1051 modules/cudaarithm/test/test_reductions.cpp PARAM_TEST_CASE(Integral, cv::cuda::DeviceInfo, cv::Size, UseRoi) cv 1053 modules/cudaarithm/test/test_reductions.cpp cv::cuda::DeviceInfo devInfo; cv 1054 modules/cudaarithm/test/test_reductions.cpp cv::Size size; cv 1063 modules/cudaarithm/test/test_reductions.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 1069 modules/cudaarithm/test/test_reductions.cpp cv::Mat src = randomMat(size, CV_8UC1); cv 1071 modules/cudaarithm/test/test_reductions.cpp cv::cuda::GpuMat dst = createMat(cv::Size(src.cols + 1, src.rows + 1), CV_32SC1, useRoi); cv 1072 modules/cudaarithm/test/test_reductions.cpp cv::cuda::integral(loadMat(src, useRoi), dst); cv 1074 modules/cudaarithm/test/test_reductions.cpp cv::Mat dst_gold; cv 1075 modules/cudaarithm/test/test_reductions.cpp cv::integral(src, dst_gold, CV_32S); cv 1082 modules/cudaarithm/test/test_reductions.cpp testing::Values(cv::Size(128, 128), cv::Size(113, 113), cv::Size(768, 1066)), cv 1088 modules/cudaarithm/test/test_reductions.cpp PARAM_TEST_CASE(IntegralSqr, cv::cuda::DeviceInfo, cv::Size, UseRoi) cv 1090 modules/cudaarithm/test/test_reductions.cpp cv::cuda::DeviceInfo devInfo; cv 1091 modules/cudaarithm/test/test_reductions.cpp cv::Size size; cv 1100 modules/cudaarithm/test/test_reductions.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 1106 modules/cudaarithm/test/test_reductions.cpp cv::Mat src = randomMat(size, CV_8UC1); cv 1108 modules/cudaarithm/test/test_reductions.cpp cv::cuda::GpuMat dst = createMat(cv::Size(src.cols + 1, src.rows + 1), CV_64FC1, useRoi); cv 1109 modules/cudaarithm/test/test_reductions.cpp cv::cuda::sqrIntegral(loadMat(src, useRoi), dst); cv 1111 modules/cudaarithm/test/test_reductions.cpp cv::Mat dst_gold, temp; cv 1112 modules/cudaarithm/test/test_reductions.cpp cv::integral(src, temp, dst_gold); cv 54 modules/cudaarithm/test/test_stream.cpp struct Async : testing::TestWithParam<cv::cuda::DeviceInfo> cv 56 modules/cudaarithm/test/test_stream.cpp cv::cuda::HostMem src; cv 57 modules/cudaarithm/test/test_stream.cpp cv::cuda::GpuMat d_src; cv 59 modules/cudaarithm/test/test_stream.cpp cv::cuda::HostMem dst; cv 60 modules/cudaarithm/test/test_stream.cpp cv::cuda::GpuMat d_dst; cv 64 modules/cudaarithm/test/test_stream.cpp cv::cuda::DeviceInfo devInfo = GetParam(); cv 65 modules/cudaarithm/test/test_stream.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 67 modules/cudaarithm/test/test_stream.cpp src = cv::cuda::HostMem(cv::cuda::HostMem::PAGE_LOCKED); cv 69 modules/cudaarithm/test/test_stream.cpp cv::Mat m = randomMat(cv::Size(128, 128), CV_8UC1); cv 80 modules/cudaarithm/test/test_stream.cpp cv::cuda::HostMem src = test->src; cv 81 modules/cudaarithm/test/test_stream.cpp cv::cuda::HostMem dst = test->dst; cv 83 modules/cudaarithm/test/test_stream.cpp cv::Mat dst_gold = cv::Mat::zeros(src.size(), src.type()); cv 90 modules/cudaarithm/test/test_stream.cpp cv::cuda::Stream stream; cv 94 modules/cudaarithm/test/test_stream.cpp d_dst.setTo(cv::Scalar::all(0), stream); cv 109 modules/cudaarithm/test/test_stream.cpp cv::cuda::HostMem src = test->src; cv 110 modules/cudaarithm/test/test_stream.cpp cv::cuda::HostMem dst = test->dst; cv 112 modules/cudaarithm/test/test_stream.cpp cv::Mat dst_gold; cv 120 modules/cudaarithm/test/test_stream.cpp cv::cuda::Stream stream; cv 134 modules/cudaarithm/test/test_stream.cpp cv::cuda::Stream stream; cv 136 modules/cudaarithm/test/test_stream.cpp cv::Mat h_dst; cv 137 modules/cudaarithm/test/test_stream.cpp h_dst.allocator = cv::cuda::HostMem::getAllocator(); cv 145 modules/cudaarithm/test/test_stream.cpp cv::Mat dst_gold; cv 80 modules/cudabgsegm/include/opencv2/cudabgsegm.hpp class CV_EXPORTS BackgroundSubtractorMOG : public cv::BackgroundSubtractor cv 84 modules/cudabgsegm/include/opencv2/cudabgsegm.hpp using cv::BackgroundSubtractor::apply; cv 87 modules/cudabgsegm/include/opencv2/cudabgsegm.hpp using cv::BackgroundSubtractor::getBackgroundImage; cv 126 modules/cudabgsegm/include/opencv2/cudabgsegm.hpp class CV_EXPORTS BackgroundSubtractorMOG2 : public cv::BackgroundSubtractorMOG2 cv 129 modules/cudabgsegm/include/opencv2/cudabgsegm.hpp using cv::BackgroundSubtractorMOG2::apply; cv 130 modules/cudabgsegm/include/opencv2/cudabgsegm.hpp using cv::BackgroundSubtractorMOG2::getBackgroundImage; cv 80 modules/cudabgsegm/perf/perf_bgsegm.cpp cv::VideoCapture cap(inputFile); cv 83 modules/cudabgsegm/perf/perf_bgsegm.cpp cv::Mat frame; cv 90 modules/cudabgsegm/perf/perf_bgsegm.cpp cv::Mat temp; cv 92 modules/cudabgsegm/perf/perf_bgsegm.cpp cv::cvtColor(frame, temp, cv::COLOR_BGR2GRAY); cv 94 modules/cudabgsegm/perf/perf_bgsegm.cpp cv::cvtColor(frame, temp, cv::COLOR_BGR2BGRA); cv 95 modules/cudabgsegm/perf/perf_bgsegm.cpp cv::swap(temp, frame); cv 100 modules/cudabgsegm/perf/perf_bgsegm.cpp cv::Ptr<cv::BackgroundSubtractor> d_mog = cv::cuda::createBackgroundSubtractorMOG(); cv 102 modules/cudabgsegm/perf/perf_bgsegm.cpp cv::cuda::GpuMat d_frame(frame); cv 103 modules/cudabgsegm/perf/perf_bgsegm.cpp cv::cuda::GpuMat foreground; cv 117 modules/cudabgsegm/perf/perf_bgsegm.cpp cv::Mat temp; cv 119 modules/cudabgsegm/perf/perf_bgsegm.cpp cv::cvtColor(frame, temp, cv::COLOR_BGR2GRAY); cv 121 modules/cudabgsegm/perf/perf_bgsegm.cpp cv::cvtColor(frame, temp, cv::COLOR_BGR2BGRA); cv 122 modules/cudabgsegm/perf/perf_bgsegm.cpp cv::swap(temp, frame); cv 144 modules/cudabgsegm/perf/perf_bgsegm.cpp cv::Mat temp; cv 146 modules/cudabgsegm/perf/perf_bgsegm.cpp cv::cvtColor(frame, temp, cv::COLOR_BGR2GRAY); cv 148 modules/cudabgsegm/perf/perf_bgsegm.cpp cv::cvtColor(frame, temp, cv::COLOR_BGR2BGRA); cv 149 modules/cudabgsegm/perf/perf_bgsegm.cpp cv::swap(temp, frame); cv 183 modules/cudabgsegm/perf/perf_bgsegm.cpp cv::VideoCapture cap(inputFile); cv 186 modules/cudabgsegm/perf/perf_bgsegm.cpp cv::Mat frame; cv 193 modules/cudabgsegm/perf/perf_bgsegm.cpp cv::Mat temp; cv 195 modules/cudabgsegm/perf/perf_bgsegm.cpp cv::cvtColor(frame, temp, cv::COLOR_BGR2GRAY); cv 197 modules/cudabgsegm/perf/perf_bgsegm.cpp cv::cvtColor(frame, temp, cv::COLOR_BGR2BGRA); cv 198 modules/cudabgsegm/perf/perf_bgsegm.cpp cv::swap(temp, frame); cv 203 modules/cudabgsegm/perf/perf_bgsegm.cpp cv::Ptr<cv::BackgroundSubtractorMOG2> d_mog2 = cv::cuda::createBackgroundSubtractorMOG2(); cv 206 modules/cudabgsegm/perf/perf_bgsegm.cpp cv::cuda::GpuMat d_frame(frame); cv 207 modules/cudabgsegm/perf/perf_bgsegm.cpp cv::cuda::GpuMat foreground; cv 221 modules/cudabgsegm/perf/perf_bgsegm.cpp cv::Mat temp; cv 223 modules/cudabgsegm/perf/perf_bgsegm.cpp cv::cvtColor(frame, temp, cv::COLOR_BGR2GRAY); cv 225 modules/cudabgsegm/perf/perf_bgsegm.cpp cv::cvtColor(frame, temp, cv::COLOR_BGR2BGRA); cv 226 modules/cudabgsegm/perf/perf_bgsegm.cpp cv::swap(temp, frame); cv 248 modules/cudabgsegm/perf/perf_bgsegm.cpp cv::Mat temp; cv 250 modules/cudabgsegm/perf/perf_bgsegm.cpp cv::cvtColor(frame, temp, cv::COLOR_BGR2GRAY); cv 252 modules/cudabgsegm/perf/perf_bgsegm.cpp cv::cvtColor(frame, temp, cv::COLOR_BGR2BGRA); cv 253 modules/cudabgsegm/perf/perf_bgsegm.cpp cv::swap(temp, frame); cv 265 modules/cudabgsegm/perf/perf_bgsegm.cpp cv::Ptr<cv::BackgroundSubtractorMOG2> mog2 = cv::createBackgroundSubtractorMOG2(); cv 268 modules/cudabgsegm/perf/perf_bgsegm.cpp cv::Mat foreground; cv 282 modules/cudabgsegm/perf/perf_bgsegm.cpp cv::Mat temp; cv 284 modules/cudabgsegm/perf/perf_bgsegm.cpp cv::cvtColor(frame, temp, cv::COLOR_BGR2GRAY); cv 286 modules/cudabgsegm/perf/perf_bgsegm.cpp cv::cvtColor(frame, temp, cv::COLOR_BGR2BGRA); cv 287 modules/cudabgsegm/perf/perf_bgsegm.cpp cv::swap(temp, frame); cv 307 modules/cudabgsegm/perf/perf_bgsegm.cpp cv::Mat temp; cv 309 modules/cudabgsegm/perf/perf_bgsegm.cpp cv::cvtColor(frame, temp, cv::COLOR_BGR2GRAY); cv 311 modules/cudabgsegm/perf/perf_bgsegm.cpp cv::cvtColor(frame, temp, cv::COLOR_BGR2BGRA); cv 312 modules/cudabgsegm/perf/perf_bgsegm.cpp cv::swap(temp, frame); cv 336 modules/cudabgsegm/perf/perf_bgsegm.cpp cv::VideoCapture cap(inputFile); cv 339 modules/cudabgsegm/perf/perf_bgsegm.cpp cv::Mat frame; cv 343 modules/cudabgsegm/perf/perf_bgsegm.cpp cv::Ptr<cv::BackgroundSubtractor> d_mog2 = cv::cuda::createBackgroundSubtractorMOG2(); cv 345 modules/cudabgsegm/perf/perf_bgsegm.cpp cv::cuda::GpuMat d_frame; cv 346 modules/cudabgsegm/perf/perf_bgsegm.cpp cv::cuda::GpuMat d_foreground; cv 355 modules/cudabgsegm/perf/perf_bgsegm.cpp cv::Mat temp; cv 357 modules/cudabgsegm/perf/perf_bgsegm.cpp cv::cvtColor(frame, temp, cv::COLOR_BGR2GRAY); cv 359 modules/cudabgsegm/perf/perf_bgsegm.cpp cv::cvtColor(frame, temp, cv::COLOR_BGR2BGRA); cv 360 modules/cudabgsegm/perf/perf_bgsegm.cpp cv::swap(temp, frame); cv 368 modules/cudabgsegm/perf/perf_bgsegm.cpp cv::cuda::GpuMat background; cv 376 modules/cudabgsegm/perf/perf_bgsegm.cpp cv::Ptr<cv::BackgroundSubtractor> mog2 = cv::createBackgroundSubtractorMOG2(); cv 377 modules/cudabgsegm/perf/perf_bgsegm.cpp cv::Mat foreground; cv 386 modules/cudabgsegm/perf/perf_bgsegm.cpp cv::Mat temp; cv 388 modules/cudabgsegm/perf/perf_bgsegm.cpp cv::cvtColor(frame, temp, cv::COLOR_BGR2GRAY); cv 390 modules/cudabgsegm/perf/perf_bgsegm.cpp cv::cvtColor(frame, temp, cv::COLOR_BGR2BGRA); cv 391 modules/cudabgsegm/perf/perf_bgsegm.cpp cv::swap(temp, frame); cv 397 modules/cudabgsegm/perf/perf_bgsegm.cpp cv::Mat background; cv 45 modules/cudabgsegm/src/mog.cpp using namespace cv; cv 46 modules/cudabgsegm/src/mog.cpp using namespace cv::cuda; cv 50 modules/cudabgsegm/src/mog.cpp Ptr<cuda::BackgroundSubtractorMOG> cv::cuda::createBackgroundSubtractorMOG(int, int, double, double) { throw_no_cuda(); return Ptr<cuda::BackgroundSubtractorMOG>(); } cv 136 modules/cudabgsegm/src/mog.cpp using namespace cv::cuda::device::mog; cv 167 modules/cudabgsegm/src/mog.cpp using namespace cv::cuda::device::mog; cv 195 modules/cudabgsegm/src/mog.cpp weight_.setTo(cv::Scalar::all(0)); cv 196 modules/cudabgsegm/src/mog.cpp sortKey_.setTo(cv::Scalar::all(0)); cv 197 modules/cudabgsegm/src/mog.cpp mean_.setTo(cv::Scalar::all(0)); cv 198 modules/cudabgsegm/src/mog.cpp var_.setTo(cv::Scalar::all(0)); cv 204 modules/cudabgsegm/src/mog.cpp Ptr<cuda::BackgroundSubtractorMOG> cv::cuda::createBackgroundSubtractorMOG(int history, int nmixtures, double backgroundRatio, double noiseSigma) cv 45 modules/cudabgsegm/src/mog2.cpp using namespace cv; cv 46 modules/cudabgsegm/src/mog2.cpp using namespace cv::cuda; cv 50 modules/cudabgsegm/src/mog2.cpp Ptr<cuda::BackgroundSubtractorMOG2> cv::cuda::createBackgroundSubtractorMOG2(int, double, bool) { throw_no_cuda(); return Ptr<cuda::BackgroundSubtractorMOG2>(); } cv 181 modules/cudabgsegm/src/mog2.cpp using namespace cv::cuda::device::mog2; cv 211 modules/cudabgsegm/src/mog2.cpp using namespace cv::cuda::device::mog2; cv 219 modules/cudabgsegm/src/mog2.cpp void MOG2Impl::initialize(cv::Size frameSize, int frameType) cv 221 modules/cudabgsegm/src/mog2.cpp using namespace cv::cuda::device::mog2; cv 248 modules/cudabgsegm/src/mog2.cpp Ptr<cuda::BackgroundSubtractorMOG2> cv::cuda::createBackgroundSubtractorMOG2(int history, double varThreshold, bool detectShadows) cv 73 modules/cudabgsegm/test/test_bgsegm.cpp PARAM_TEST_CASE(MOG2, cv::cuda::DeviceInfo, std::string, UseGray, DetectShadow, UseRoi) cv 75 modules/cudabgsegm/test/test_bgsegm.cpp cv::cuda::DeviceInfo devInfo; cv 84 modules/cudabgsegm/test/test_bgsegm.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 95 modules/cudabgsegm/test/test_bgsegm.cpp cv::VideoCapture cap(inputFile); cv 98 modules/cudabgsegm/test/test_bgsegm.cpp cv::Mat frame; cv 102 modules/cudabgsegm/test/test_bgsegm.cpp cv::Ptr<cv::BackgroundSubtractorMOG2> mog2 = cv::cuda::createBackgroundSubtractorMOG2(); cv 104 modules/cudabgsegm/test/test_bgsegm.cpp cv::cuda::GpuMat foreground = createMat(frame.size(), CV_8UC1, useRoi); cv 106 modules/cudabgsegm/test/test_bgsegm.cpp cv::Ptr<cv::BackgroundSubtractorMOG2> mog2_gold = cv::createBackgroundSubtractorMOG2(); cv 108 modules/cudabgsegm/test/test_bgsegm.cpp cv::Mat foreground_gold; cv 117 modules/cudabgsegm/test/test_bgsegm.cpp cv::Mat temp; cv 118 modules/cudabgsegm/test/test_bgsegm.cpp cv::cvtColor(frame, temp, cv::COLOR_BGR2GRAY); cv 119 modules/cudabgsegm/test/test_bgsegm.cpp cv::swap(temp, frame); cv 142 modules/cudabgsegm/test/test_bgsegm.cpp cv::VideoCapture cap(inputFile); cv 145 modules/cudabgsegm/test/test_bgsegm.cpp cv::Mat frame; cv 147 modules/cudabgsegm/test/test_bgsegm.cpp cv::Ptr<cv::BackgroundSubtractorMOG2> mog2 = cv::cuda::createBackgroundSubtractorMOG2(); cv 149 modules/cudabgsegm/test/test_bgsegm.cpp cv::cuda::GpuMat foreground; cv 151 modules/cudabgsegm/test/test_bgsegm.cpp cv::Ptr<cv::BackgroundSubtractorMOG2> mog2_gold = cv::createBackgroundSubtractorMOG2(); cv 153 modules/cudabgsegm/test/test_bgsegm.cpp cv::Mat foreground_gold; cv 165 modules/cudabgsegm/test/test_bgsegm.cpp cv::cuda::GpuMat background = createMat(frame.size(), frame.type(), useRoi); cv 168 modules/cudabgsegm/test/test_bgsegm.cpp cv::Mat background_gold; cv 78 modules/cudacodec/perf/perf_video.cpp cv::Ptr<cv::cudacodec::VideoReader> d_reader = cv::cudacodec::createVideoReader(inputFile); cv 80 modules/cudacodec/perf/perf_video.cpp cv::cuda::GpuMat frame; cv 88 modules/cudacodec/perf/perf_video.cpp cv::VideoCapture reader(inputFile); cv 91 modules/cudacodec/perf/perf_video.cpp cv::Mat frame; cv 111 modules/cudacodec/perf/perf_video.cpp const string outputFile = cv::tempfile(".avi"); cv 115 modules/cudacodec/perf/perf_video.cpp cv::VideoCapture reader(inputFile); cv 118 modules/cudacodec/perf/perf_video.cpp cv::Mat frame; cv 122 modules/cudacodec/perf/perf_video.cpp cv::Ptr<cv::cudacodec::VideoWriter> d_writer; cv 124 modules/cudacodec/perf/perf_video.cpp cv::cuda::GpuMat d_frame; cv 134 modules/cudacodec/perf/perf_video.cpp d_writer = cv::cudacodec::createVideoWriter(outputFile, frame.size(), FPS); cv 143 modules/cudacodec/perf/perf_video.cpp cv::VideoWriter writer; cv 48 modules/cudacodec/src/cuvid_video_source.cpp using namespace cv; cv 49 modules/cudacodec/src/cuvid_video_source.cpp using namespace cv::cudacodec; cv 50 modules/cudacodec/src/cuvid_video_source.cpp using namespace cv::cudacodec::detail; cv 52 modules/cudacodec/src/cuvid_video_source.cpp cv::cudacodec::detail::CuvidVideoSource::CuvidVideoSource(const String& fname) cv 77 modules/cudacodec/src/cuvid_video_source.cpp cv::cudacodec::detail::CuvidVideoSource::~CuvidVideoSource() cv 82 modules/cudacodec/src/cuvid_video_source.cpp FormatInfo cv::cudacodec::detail::CuvidVideoSource::format() const cv 87 modules/cudacodec/src/cuvid_video_source.cpp void cv::cudacodec::detail::CuvidVideoSource::start() cv 92 modules/cudacodec/src/cuvid_video_source.cpp void cv::cudacodec::detail::CuvidVideoSource::stop() cv 97 modules/cudacodec/src/cuvid_video_source.cpp bool cv::cudacodec::detail::CuvidVideoSource::isStarted() const cv 102 modules/cudacodec/src/cuvid_video_source.cpp bool cv::cudacodec::detail::CuvidVideoSource::hasError() const cv 107 modules/cudacodec/src/cuvid_video_source.cpp int CUDAAPI cv::cudacodec::detail::CuvidVideoSource::HandleVideoData(void* userData, CUVIDSOURCEDATAPACKET* packet) cv 48 modules/cudacodec/src/ffmpeg_video_source.cpp using namespace cv; cv 49 modules/cudacodec/src/ffmpeg_video_source.cpp using namespace cv::cudacodec; cv 50 modules/cudacodec/src/ffmpeg_video_source.cpp using namespace cv::cudacodec::detail; cv 98 modules/cudacodec/src/ffmpeg_video_source.cpp cv::cudacodec::detail::FFmpegVideoSource::FFmpegVideoSource(const String& fname) : cv 118 modules/cudacodec/src/ffmpeg_video_source.cpp cv::cudacodec::detail::FFmpegVideoSource::~FFmpegVideoSource() cv 124 modules/cudacodec/src/ffmpeg_video_source.cpp FormatInfo cv::cudacodec::detail::FFmpegVideoSource::format() const cv 129 modules/cudacodec/src/ffmpeg_video_source.cpp bool cv::cudacodec::detail::FFmpegVideoSource::getNextPacket(unsigned char** data, int* size, bool* bEndOfFile) cv 48 modules/cudacodec/src/frame_queue.cpp cv::cudacodec::detail::FrameQueue::FrameQueue() : cv 57 modules/cudacodec/src/frame_queue.cpp bool cv::cudacodec::detail::FrameQueue::waitUntilFrameAvailable(int pictureIndex) cv 71 modules/cudacodec/src/frame_queue.cpp void cv::cudacodec::detail::FrameQueue::enqueue(const CUVIDPARSERDISPINFO* picParams) cv 102 modules/cudacodec/src/frame_queue.cpp bool cv::cudacodec::detail::FrameQueue::dequeue(CUVIDPARSERDISPINFO& displayInfo) cv 48 modules/cudacodec/src/thread.cpp using namespace cv::cudacodec::detail; cv 70 modules/cudacodec/src/thread.cpp class cv::cudacodec::detail::Thread::Impl cv 123 modules/cudacodec/src/thread.cpp class cv::cudacodec::detail::Thread::Impl cv 151 modules/cudacodec/src/thread.cpp cv::cudacodec::detail::Thread::Thread(Func func, void* userData) : cv 156 modules/cudacodec/src/thread.cpp void cv::cudacodec::detail::Thread::wait() cv 161 modules/cudacodec/src/thread.cpp void cv::cudacodec::detail::Thread::sleep(int ms) cv 65 modules/cudacodec/src/thread.hpp cv::Ptr<Impl> impl_; cv 48 modules/cudacodec/src/video_decoder.cpp void cv::cudacodec::detail::VideoDecoder::create(const FormatInfo& videoFormat) cv 107 modules/cudacodec/src/video_decoder.cpp void cv::cudacodec::detail::VideoDecoder::release() cv 48 modules/cudacodec/src/video_parser.cpp cv::cudacodec::detail::VideoParser::VideoParser(VideoDecoder* videoDecoder, FrameQueue* frameQueue) : cv 65 modules/cudacodec/src/video_parser.cpp bool cv::cudacodec::detail::VideoParser::parseVideoData(const unsigned char* data, size_t size, bool endOfStream) cv 99 modules/cudacodec/src/video_parser.cpp int CUDAAPI cv::cudacodec::detail::VideoParser::HandleVideoSequence(void* userData, CUVIDEOFORMAT* format) cv 121 modules/cudacodec/src/video_parser.cpp catch (const cv::Exception&) cv 131 modules/cudacodec/src/video_parser.cpp int CUDAAPI cv::cudacodec::detail::VideoParser::HandlePictureDecode(void* userData, CUVIDPICPARAMS* picParams) cv 151 modules/cudacodec/src/video_parser.cpp int CUDAAPI cv::cudacodec::detail::VideoParser::HandlePictureDisplay(void* userData, CUVIDPARSERDISPINFO* picParams) cv 45 modules/cudacodec/src/video_reader.cpp using namespace cv; cv 46 modules/cudacodec/src/video_reader.cpp using namespace cv::cuda; cv 47 modules/cudacodec/src/video_reader.cpp using namespace cv::cudacodec; cv 51 modules/cudacodec/src/video_reader.cpp Ptr<VideoReader> cv::cudacodec::createVideoReader(const String&) { throw_no_cuda(); return Ptr<VideoReader>(); } cv 52 modules/cudacodec/src/video_reader.cpp Ptr<VideoReader> cv::cudacodec::createVideoReader(const Ptr<RawVideoSource>&) { throw_no_cuda(); return Ptr<VideoReader>(); } cv 58 modules/cudacodec/src/video_reader.cpp using namespace cv::cudacodec::detail; cv 198 modules/cudacodec/src/video_reader.cpp Ptr<VideoReader> cv::cudacodec::createVideoReader(const String& filename) cv 217 modules/cudacodec/src/video_reader.cpp Ptr<VideoReader> cv::cudacodec::createVideoReader(const Ptr<RawVideoSource>& source) cv 48 modules/cudacodec/src/video_source.cpp using namespace cv; cv 49 modules/cudacodec/src/video_source.cpp using namespace cv::cudacodec; cv 50 modules/cudacodec/src/video_source.cpp using namespace cv::cudacodec::detail; cv 52 modules/cudacodec/src/video_source.cpp bool cv::cudacodec::detail::VideoSource::parseVideoData(const unsigned char* data, size_t size, bool endOfStream) cv 57 modules/cudacodec/src/video_source.cpp cv::cudacodec::detail::RawVideoSourceWrapper::RawVideoSourceWrapper(const Ptr<RawVideoSource>& source) : cv 63 modules/cudacodec/src/video_source.cpp cv::cudacodec::FormatInfo cv::cudacodec::detail::RawVideoSourceWrapper::format() const cv 68 modules/cudacodec/src/video_source.cpp void cv::cudacodec::detail::RawVideoSourceWrapper::start() cv 75 modules/cudacodec/src/video_source.cpp void cv::cudacodec::detail::RawVideoSourceWrapper::stop() cv 82 modules/cudacodec/src/video_source.cpp bool cv::cudacodec::detail::RawVideoSourceWrapper::isStarted() const cv 87 modules/cudacodec/src/video_source.cpp bool cv::cudacodec::detail::RawVideoSourceWrapper::hasError() const cv 92 modules/cudacodec/src/video_source.cpp void cv::cudacodec::detail::RawVideoSourceWrapper::readLoop(void* userData) cv 46 modules/cudacodec/src/video_writer.cpp using namespace cv; cv 47 modules/cudacodec/src/video_writer.cpp using namespace cv::cuda; cv 48 modules/cudacodec/src/video_writer.cpp using namespace cv::cudacodec; cv 52 modules/cudacodec/src/video_writer.cpp cv::cudacodec::EncoderParams::EncoderParams() { throw_no_cuda(); } cv 53 modules/cudacodec/src/video_writer.cpp cv::cudacodec::EncoderParams::EncoderParams(const String&) { throw_no_cuda(); } cv 54 modules/cudacodec/src/video_writer.cpp void cv::cudacodec::EncoderParams::load(const String&) { throw_no_cuda(); } cv 55 modules/cudacodec/src/video_writer.cpp void cv::cudacodec::EncoderParams::save(const String&) const { throw_no_cuda(); } cv 57 modules/cudacodec/src/video_writer.cpp Ptr<VideoWriter> cv::cudacodec::createVideoWriter(const String&, Size, double, SurfaceFormat) { throw_no_cuda(); return Ptr<VideoWriter>(); } cv 58 modules/cudacodec/src/video_writer.cpp Ptr<VideoWriter> cv::cudacodec::createVideoWriter(const String&, Size, double, const EncoderParams&, SurfaceFormat) { throw_no_cuda(); return Ptr<VideoWriter>(); } cv 60 modules/cudacodec/src/video_writer.cpp Ptr<VideoWriter> cv::cudacodec::createVideoWriter(const Ptr<EncoderCallBack>&, Size, double, SurfaceFormat) { throw_no_cuda(); return Ptr<VideoWriter>(); } cv 61 modules/cudacodec/src/video_writer.cpp Ptr<VideoWriter> cv::cudacodec::createVideoWriter(const Ptr<EncoderCallBack>&, Size, double, const EncoderParams&, SurfaceFormat) { throw_no_cuda(); return Ptr<VideoWriter>(); } cv 811 modules/cudacodec/src/video_writer.cpp cv::cudacodec::EncoderParams::EncoderParams() cv 834 modules/cudacodec/src/video_writer.cpp cv::cudacodec::EncoderParams::EncoderParams(const String& configFile) cv 839 modules/cudacodec/src/video_writer.cpp void cv::cudacodec::EncoderParams::load(const String& configFile) cv 865 modules/cudacodec/src/video_writer.cpp void cv::cudacodec::EncoderParams::save(const String& configFile) const cv 894 modules/cudacodec/src/video_writer.cpp Ptr<VideoWriter> cv::cudacodec::createVideoWriter(const String& fileName, Size frameSize, double fps, SurfaceFormat format) cv 900 modules/cudacodec/src/video_writer.cpp Ptr<VideoWriter> cv::cudacodec::createVideoWriter(const String& fileName, Size frameSize, double fps, const EncoderParams& params, SurfaceFormat format) cv 906 modules/cudacodec/src/video_writer.cpp Ptr<VideoWriter> cv::cudacodec::createVideoWriter(const Ptr<EncoderCallBack>& encoderCallback, Size frameSize, double fps, SurfaceFormat format) cv 911 modules/cudacodec/src/video_writer.cpp Ptr<VideoWriter> cv::cudacodec::createVideoWriter(const Ptr<EncoderCallBack>& encoderCallback, Size frameSize, double fps, const EncoderParams& params, SurfaceFormat format) cv 47 modules/cudacodec/test/test_video.cpp PARAM_TEST_CASE(Video, cv::cuda::DeviceInfo, std::string) cv 56 modules/cudacodec/test/test_video.cpp cv::cuda::setDevice(GET_PARAM(0).deviceID()); cv 60 modules/cudacodec/test/test_video.cpp cv::Ptr<cv::cudacodec::VideoReader> reader = cv::cudacodec::createVideoReader(inputFile); cv 62 modules/cudacodec/test/test_video.cpp cv::cuda::GpuMat frame; cv 78 modules/cudacodec/test/test_video.cpp cv::cuda::setDevice(GET_PARAM(0).deviceID()); cv 82 modules/cudacodec/test/test_video.cpp std::string outputFile = cv::tempfile(".avi"); cv 85 modules/cudacodec/test/test_video.cpp cv::VideoCapture reader(inputFile); cv 88 modules/cudacodec/test/test_video.cpp cv::Ptr<cv::cudacodec::VideoWriter> d_writer; cv 90 modules/cudacodec/test/test_video.cpp cv::Mat frame; cv 91 modules/cudacodec/test/test_video.cpp cv::cuda::GpuMat d_frame; cv 101 modules/cudacodec/test/test_video.cpp d_writer = cv::cudacodec::createVideoWriter(outputFile, frame.size(), FPS); cv 75 modules/cudafeatures2d/include/opencv2/cudafeatures2d.hpp class CV_EXPORTS DescriptorMatcher : public cv::Algorithm cv 92 modules/cudafeatures2d/include/opencv2/cudafeatures2d.hpp static Ptr<DescriptorMatcher> createBFMatcher(int normType = cv::NORM_L2); cv 426 modules/cudafeatures2d/include/opencv2/cudafeatures2d.hpp class CV_EXPORTS FastFeatureDetector : public cv::FastFeatureDetector, public Feature2DAsync cv 455 modules/cudafeatures2d/include/opencv2/cudafeatures2d.hpp class CV_EXPORTS ORB : public cv::ORB, public Feature2DAsync cv 59 modules/cudafeatures2d/perf/perf_features2d.cpp const cv::Mat img = readImage(GET_PARAM(0), cv::IMREAD_GRAYSCALE); cv 67 modules/cudafeatures2d/perf/perf_features2d.cpp cv::Ptr<cv::cuda::FastFeatureDetector> d_fast = cv 68 modules/cudafeatures2d/perf/perf_features2d.cpp cv::cuda::FastFeatureDetector::create(threshold, nonMaxSuppersion, cv 69 modules/cudafeatures2d/perf/perf_features2d.cpp cv::FastFeatureDetector::TYPE_9_16, cv 72 modules/cudafeatures2d/perf/perf_features2d.cpp const cv::cuda::GpuMat d_img(img); cv 73 modules/cudafeatures2d/perf/perf_features2d.cpp cv::cuda::GpuMat d_keypoints; cv 77 modules/cudafeatures2d/perf/perf_features2d.cpp std::vector<cv::KeyPoint> gpu_keypoints; cv 86 modules/cudafeatures2d/perf/perf_features2d.cpp std::vector<cv::KeyPoint> cpu_keypoints; cv 88 modules/cudafeatures2d/perf/perf_features2d.cpp TEST_CYCLE() cv::FAST(img, cpu_keypoints, threshold, nonMaxSuppersion); cv 105 modules/cudafeatures2d/perf/perf_features2d.cpp const cv::Mat img = readImage(GET_PARAM(0), cv::IMREAD_GRAYSCALE); cv 112 modules/cudafeatures2d/perf/perf_features2d.cpp cv::Ptr<cv::cuda::ORB> d_orb = cv::cuda::ORB::create(nFeatures); cv 114 modules/cudafeatures2d/perf/perf_features2d.cpp const cv::cuda::GpuMat d_img(img); cv 115 modules/cudafeatures2d/perf/perf_features2d.cpp cv::cuda::GpuMat d_keypoints, d_descriptors; cv 117 modules/cudafeatures2d/perf/perf_features2d.cpp TEST_CYCLE() d_orb->detectAndComputeAsync(d_img, cv::noArray(), d_keypoints, d_descriptors); cv 119 modules/cudafeatures2d/perf/perf_features2d.cpp std::vector<cv::KeyPoint> gpu_keypoints; cv 122 modules/cudafeatures2d/perf/perf_features2d.cpp cv::Mat gpu_descriptors(d_descriptors); cv 134 modules/cudafeatures2d/perf/perf_features2d.cpp cv::Ptr<cv::ORB> orb = cv::ORB::create(nFeatures); cv 136 modules/cudafeatures2d/perf/perf_features2d.cpp std::vector<cv::KeyPoint> cpu_keypoints; cv 137 modules/cudafeatures2d/perf/perf_features2d.cpp cv::Mat cpu_descriptors; cv 139 modules/cudafeatures2d/perf/perf_features2d.cpp TEST_CYCLE() orb->detectAndCompute(img, cv::noArray(), cpu_keypoints, cpu_descriptors); cv 153 modules/cudafeatures2d/perf/perf_features2d.cpp Values(NormType(cv::NORM_L1), NormType(cv::NORM_L2), NormType(cv::NORM_HAMMING)))) cv 160 modules/cudafeatures2d/perf/perf_features2d.cpp const int type = normType == cv::NORM_HAMMING ? CV_8U : CV_32F; cv 162 modules/cudafeatures2d/perf/perf_features2d.cpp cv::Mat query(3000, desc_size, type); cv 165 modules/cudafeatures2d/perf/perf_features2d.cpp cv::Mat train(3000, desc_size, type); cv 170 modules/cudafeatures2d/perf/perf_features2d.cpp cv::Ptr<cv::cuda::DescriptorMatcher> d_matcher = cv::cuda::DescriptorMatcher::createBFMatcher(normType); cv 172 modules/cudafeatures2d/perf/perf_features2d.cpp const cv::cuda::GpuMat d_query(query); cv 173 modules/cudafeatures2d/perf/perf_features2d.cpp const cv::cuda::GpuMat d_train(train); cv 174 modules/cudafeatures2d/perf/perf_features2d.cpp cv::cuda::GpuMat d_matches; cv 178 modules/cudafeatures2d/perf/perf_features2d.cpp std::vector<cv::DMatch> gpu_matches; cv 185 modules/cudafeatures2d/perf/perf_features2d.cpp cv::BFMatcher matcher(normType); cv 187 modules/cudafeatures2d/perf/perf_features2d.cpp std::vector<cv::DMatch> cpu_matches; cv 198 modules/cudafeatures2d/perf/perf_features2d.cpp static void toOneRowMatches(const std::vector< std::vector<cv::DMatch> >& src, std::vector<cv::DMatch>& dst) cv 211 modules/cudafeatures2d/perf/perf_features2d.cpp Values(NormType(cv::NORM_L1), NormType(cv::NORM_L2)))) cv 219 modules/cudafeatures2d/perf/perf_features2d.cpp const int type = normType == cv::NORM_HAMMING ? CV_8U : CV_32F; cv 221 modules/cudafeatures2d/perf/perf_features2d.cpp cv::Mat query(3000, desc_size, type); cv 224 modules/cudafeatures2d/perf/perf_features2d.cpp cv::Mat train(3000, desc_size, type); cv 229 modules/cudafeatures2d/perf/perf_features2d.cpp cv::Ptr<cv::cuda::DescriptorMatcher> d_matcher = cv::cuda::DescriptorMatcher::createBFMatcher(normType); cv 231 modules/cudafeatures2d/perf/perf_features2d.cpp const cv::cuda::GpuMat d_query(query); cv 232 modules/cudafeatures2d/perf/perf_features2d.cpp const cv::cuda::GpuMat d_train(train); cv 233 modules/cudafeatures2d/perf/perf_features2d.cpp cv::cuda::GpuMat d_matches; cv 237 modules/cudafeatures2d/perf/perf_features2d.cpp std::vector< std::vector<cv::DMatch> > matchesTbl; cv 240 modules/cudafeatures2d/perf/perf_features2d.cpp std::vector<cv::DMatch> gpu_matches; cv 247 modules/cudafeatures2d/perf/perf_features2d.cpp cv::BFMatcher matcher(normType); cv 249 modules/cudafeatures2d/perf/perf_features2d.cpp std::vector< std::vector<cv::DMatch> > matchesTbl; cv 253 modules/cudafeatures2d/perf/perf_features2d.cpp std::vector<cv::DMatch> cpu_matches; cv 265 modules/cudafeatures2d/perf/perf_features2d.cpp Values(NormType(cv::NORM_L1), NormType(cv::NORM_L2)))) cv 272 modules/cudafeatures2d/perf/perf_features2d.cpp const int type = normType == cv::NORM_HAMMING ? CV_8U : CV_32F; cv 275 modules/cudafeatures2d/perf/perf_features2d.cpp cv::Mat query(3000, desc_size, type); cv 278 modules/cudafeatures2d/perf/perf_features2d.cpp cv::Mat train(3000, desc_size, type); cv 283 modules/cudafeatures2d/perf/perf_features2d.cpp cv::Ptr<cv::cuda::DescriptorMatcher> d_matcher = cv::cuda::DescriptorMatcher::createBFMatcher(normType); cv 285 modules/cudafeatures2d/perf/perf_features2d.cpp const cv::cuda::GpuMat d_query(query); cv 286 modules/cudafeatures2d/perf/perf_features2d.cpp const cv::cuda::GpuMat d_train(train); cv 287 modules/cudafeatures2d/perf/perf_features2d.cpp cv::cuda::GpuMat d_matches; cv 291 modules/cudafeatures2d/perf/perf_features2d.cpp std::vector< std::vector<cv::DMatch> > matchesTbl; cv 294 modules/cudafeatures2d/perf/perf_features2d.cpp std::vector<cv::DMatch> gpu_matches; cv 301 modules/cudafeatures2d/perf/perf_features2d.cpp cv::BFMatcher matcher(normType); cv 303 modules/cudafeatures2d/perf/perf_features2d.cpp std::vector< std::vector<cv::DMatch> > matchesTbl; cv 307 modules/cudafeatures2d/perf/perf_features2d.cpp std::vector<cv::DMatch> cpu_matches; cv 45 modules/cudafeatures2d/src/brute_force_matcher.cpp using namespace cv; cv 46 modules/cudafeatures2d/src/brute_force_matcher.cpp using namespace cv::cuda; cv 50 modules/cudafeatures2d/src/brute_force_matcher.cpp Ptr<cv::cuda::DescriptorMatcher> cv::cuda::DescriptorMatcher::createBFMatcher(int) { throw_no_cuda(); return Ptr<cv::cuda::DescriptorMatcher>(); } cv 176 modules/cudafeatures2d/src/brute_force_matcher.cpp class BFMatcher_Impl : public cv::cuda::DescriptorMatcher cv 319 modules/cudafeatures2d/src/brute_force_matcher.cpp using namespace cv::cuda::device::bf_match; cv 382 modules/cudafeatures2d/src/brute_force_matcher.cpp using namespace cv::cuda::device::bf_match; cv 579 modules/cudafeatures2d/src/brute_force_matcher.cpp using namespace cv::cuda::device::bf_knnmatch; cv 661 modules/cudafeatures2d/src/brute_force_matcher.cpp using namespace cv::cuda::device::bf_knnmatch; cv 848 modules/cudafeatures2d/src/brute_force_matcher.cpp using namespace cv::cuda::device::bf_radius_match; cv 918 modules/cudafeatures2d/src/brute_force_matcher.cpp using namespace cv::cuda::device::bf_radius_match; cv 1072 modules/cudafeatures2d/src/brute_force_matcher.cpp Ptr<cv::cuda::DescriptorMatcher> cv::cuda::DescriptorMatcher::createBFMatcher(int norm) cv 45 modules/cudafeatures2d/src/fast.cpp using namespace cv; cv 46 modules/cudafeatures2d/src/fast.cpp using namespace cv::cuda; cv 50 modules/cudafeatures2d/src/fast.cpp Ptr<cv::cuda::FastFeatureDetector> cv::cuda::FastFeatureDetector::create(int, bool, int, int) { throw_no_cuda(); return Ptr<cv::cuda::FastFeatureDetector>(); } cv 65 modules/cudafeatures2d/src/fast.cpp class FAST_Impl : public cv::cuda::FastFeatureDetector cv 115 modules/cudafeatures2d/src/fast.cpp using namespace cv::cuda::device::fast; cv 202 modules/cudafeatures2d/src/fast.cpp Ptr<cv::cuda::FastFeatureDetector> cv::cuda::FastFeatureDetector::create(int threshold, bool nonmaxSuppression, int type, int max_npoints) cv 45 modules/cudafeatures2d/src/feature2d_async.cpp cv::cuda::Feature2DAsync::~Feature2DAsync() cv 49 modules/cudafeatures2d/src/feature2d_async.cpp void cv::cuda::Feature2DAsync::detectAsync(InputArray image, cv 63 modules/cudafeatures2d/src/feature2d_async.cpp void cv::cuda::Feature2DAsync::computeAsync(InputArray image, cv 77 modules/cudafeatures2d/src/feature2d_async.cpp void cv::cuda::Feature2DAsync::detectAndComputeAsync(InputArray /*image*/, cv 45 modules/cudafeatures2d/src/orb.cpp using namespace cv; cv 46 modules/cudafeatures2d/src/orb.cpp using namespace cv::cuda; cv 50 modules/cudafeatures2d/src/orb.cpp Ptr<cv::cuda::ORB> cv::cuda::ORB::create(int, float, int, int, int, int, int, int, int, bool) { throw_no_cuda(); return Ptr<cv::cuda::ORB>(); } cv 338 modules/cudafeatures2d/src/orb.cpp class ORB_Impl : public cv::cuda::ORB cv 410 modules/cudafeatures2d/src/orb.cpp Ptr<cv::cuda::FastFeatureDetector> fastDetector_; cv 536 modules/cudafeatures2d/src/orb.cpp cv::cuda::device::orb::loadUMax(&u_max[0], static_cast<int>(u_max.size())); cv 662 modules/cudafeatures2d/src/orb.cpp using namespace cv::cuda::device::orb; cv 679 modules/cudafeatures2d/src/orb.cpp using namespace cv::cuda::device::orb; cv 724 modules/cudafeatures2d/src/orb.cpp using namespace cv::cuda::device::orb; cv 765 modules/cudafeatures2d/src/orb.cpp using namespace cv::cuda::device::orb; cv 854 modules/cudafeatures2d/src/orb.cpp Ptr<cv::cuda::ORB> cv::cuda::ORB::create(int nfeatures, cv 58 modules/cudafeatures2d/test/test_features2d.cpp PARAM_TEST_CASE(FAST, cv::cuda::DeviceInfo, FAST_Threshold, FAST_NonmaxSuppression) cv 60 modules/cudafeatures2d/test/test_features2d.cpp cv::cuda::DeviceInfo devInfo; cv 70 modules/cudafeatures2d/test/test_features2d.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 76 modules/cudafeatures2d/test/test_features2d.cpp cv::Mat image = readImage("features2d/aloe.png", cv::IMREAD_GRAYSCALE); cv 79 modules/cudafeatures2d/test/test_features2d.cpp cv::Ptr<cv::cuda::FastFeatureDetector> fast = cv::cuda::FastFeatureDetector::create(threshold, nonmaxSuppression); cv 81 modules/cudafeatures2d/test/test_features2d.cpp if (!supportFeature(devInfo, cv::cuda::GLOBAL_ATOMICS)) cv 85 modules/cudafeatures2d/test/test_features2d.cpp std::vector<cv::KeyPoint> keypoints; cv 88 modules/cudafeatures2d/test/test_features2d.cpp catch (const cv::Exception& e) cv 90 modules/cudafeatures2d/test/test_features2d.cpp ASSERT_EQ(cv::Error::StsNotImplemented, e.code); cv 95 modules/cudafeatures2d/test/test_features2d.cpp std::vector<cv::KeyPoint> keypoints; cv 98 modules/cudafeatures2d/test/test_features2d.cpp std::vector<cv::KeyPoint> keypoints_gold; cv 99 modules/cudafeatures2d/test/test_features2d.cpp cv::FAST(image, keypoints_gold, threshold, nonmaxSuppression); cv 125 modules/cudafeatures2d/test/test_features2d.cpp CV_ENUM(ORB_ScoreType, cv::ORB::HARRIS_SCORE, cv::ORB::FAST_SCORE) cv 127 modules/cudafeatures2d/test/test_features2d.cpp PARAM_TEST_CASE(ORB, cv::cuda::DeviceInfo, ORB_FeaturesCount, ORB_ScaleFactor, ORB_LevelsCount, ORB_EdgeThreshold, ORB_firstLevel, ORB_WTA_K, ORB_ScoreType, ORB_PatchSize, ORB_BlurForDescriptor) cv 129 modules/cudafeatures2d/test/test_features2d.cpp cv::cuda::DeviceInfo devInfo; cv 153 modules/cudafeatures2d/test/test_features2d.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 159 modules/cudafeatures2d/test/test_features2d.cpp cv::Mat image = readImage("features2d/aloe.png", cv::IMREAD_GRAYSCALE); cv 162 modules/cudafeatures2d/test/test_features2d.cpp cv::Mat mask(image.size(), CV_8UC1, cv::Scalar::all(1)); cv 163 modules/cudafeatures2d/test/test_features2d.cpp mask(cv::Range(0, image.rows / 2), cv::Range(0, image.cols / 2)).setTo(cv::Scalar::all(0)); cv 165 modules/cudafeatures2d/test/test_features2d.cpp cv::Ptr<cv::cuda::ORB> orb = cv 166 modules/cudafeatures2d/test/test_features2d.cpp cv::cuda::ORB::create(nFeatures, scaleFactor, nLevels, edgeThreshold, firstLevel, cv 169 modules/cudafeatures2d/test/test_features2d.cpp if (!supportFeature(devInfo, cv::cuda::GLOBAL_ATOMICS)) cv 173 modules/cudafeatures2d/test/test_features2d.cpp std::vector<cv::KeyPoint> keypoints; cv 174 modules/cudafeatures2d/test/test_features2d.cpp cv::cuda::GpuMat descriptors; cv 177 modules/cudafeatures2d/test/test_features2d.cpp catch (const cv::Exception& e) cv 179 modules/cudafeatures2d/test/test_features2d.cpp ASSERT_EQ(cv::Error::StsNotImplemented, e.code); cv 184 modules/cudafeatures2d/test/test_features2d.cpp std::vector<cv::KeyPoint> keypoints; cv 185 modules/cudafeatures2d/test/test_features2d.cpp cv::cuda::GpuMat descriptors; cv 188 modules/cudafeatures2d/test/test_features2d.cpp cv::Ptr<cv::ORB> orb_gold = cv::ORB::create(nFeatures, scaleFactor, nLevels, edgeThreshold, firstLevel, WTA_K, scoreType, patchSize); cv 190 modules/cudafeatures2d/test/test_features2d.cpp std::vector<cv::KeyPoint> keypoints_gold; cv 191 modules/cudafeatures2d/test/test_features2d.cpp cv::Mat descriptors_gold; cv 194 modules/cudafeatures2d/test/test_features2d.cpp cv::BFMatcher matcher(cv::NORM_HAMMING); cv 195 modules/cudafeatures2d/test/test_features2d.cpp std::vector<cv::DMatch> matches; cv 196 modules/cudafeatures2d/test/test_features2d.cpp matcher.match(descriptors_gold, cv::Mat(descriptors), matches); cv 213 modules/cudafeatures2d/test/test_features2d.cpp testing::Values(ORB_ScoreType(cv::ORB::HARRIS_SCORE)), cv 226 modules/cudafeatures2d/test/test_features2d.cpp PARAM_TEST_CASE(BruteForceMatcher, cv::cuda::DeviceInfo, NormCode, DescriptorSize, UseMask) cv 228 modules/cudafeatures2d/test/test_features2d.cpp cv::cuda::DeviceInfo devInfo; cv 236 modules/cudafeatures2d/test/test_features2d.cpp cv::Mat query, train; cv 245 modules/cudafeatures2d/test/test_features2d.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 250 modules/cudafeatures2d/test/test_features2d.cpp cv::RNG& rng = cvtest::TS::ptr()->get_rng(); cv 252 modules/cudafeatures2d/test/test_features2d.cpp cv::Mat queryBuf, trainBuf; cv 257 modules/cudafeatures2d/test/test_features2d.cpp rng.fill(queryBuf, cv::RNG::UNIFORM, cv::Scalar::all(0), cv::Scalar::all(3)); cv 269 modules/cudafeatures2d/test/test_features2d.cpp cv::Mat queryDescriptor = queryBuf.row(qIdx); cv 273 modules/cudafeatures2d/test/test_features2d.cpp cv::Mat trainDescriptor = trainBuf.row(tIdx); cv 288 modules/cudafeatures2d/test/test_features2d.cpp cv::Ptr<cv::cuda::DescriptorMatcher> matcher = cv 289 modules/cudafeatures2d/test/test_features2d.cpp cv::cuda::DescriptorMatcher::createBFMatcher(normCode); cv 291 modules/cudafeatures2d/test/test_features2d.cpp cv::cuda::GpuMat mask; cv 295 modules/cudafeatures2d/test/test_features2d.cpp mask.setTo(cv::Scalar::all(1)); cv 298 modules/cudafeatures2d/test/test_features2d.cpp std::vector<cv::DMatch> matches; cv 306 modules/cudafeatures2d/test/test_features2d.cpp cv::DMatch match = matches[i]; cv 316 modules/cudafeatures2d/test/test_features2d.cpp cv::Ptr<cv::cuda::DescriptorMatcher> matcher = cv 317 modules/cudafeatures2d/test/test_features2d.cpp cv::cuda::DescriptorMatcher::createBFMatcher(normCode); cv 319 modules/cudafeatures2d/test/test_features2d.cpp cv::cuda::GpuMat d_train(train); cv 322 modules/cudafeatures2d/test/test_features2d.cpp matcher->add(std::vector<cv::cuda::GpuMat>(1, d_train.rowRange(0, train.rows / 2))); cv 323 modules/cudafeatures2d/test/test_features2d.cpp matcher->add(std::vector<cv::cuda::GpuMat>(1, d_train.rowRange(train.rows / 2, train.rows))); cv 326 modules/cudafeatures2d/test/test_features2d.cpp std::vector<cv::cuda::GpuMat> masks(2); cv 329 modules/cudafeatures2d/test/test_features2d.cpp masks[mi] = cv::cuda::GpuMat(query.rows, train.rows/2, CV_8UC1, cv::Scalar::all(1)); cv 331 modules/cudafeatures2d/test/test_features2d.cpp masks[mi].col(di * countFactor).setTo(cv::Scalar::all(0)); cv 334 modules/cudafeatures2d/test/test_features2d.cpp std::vector<cv::DMatch> matches; cv 336 modules/cudafeatures2d/test/test_features2d.cpp matcher->match(cv::cuda::GpuMat(query), matches, masks); cv 338 modules/cudafeatures2d/test/test_features2d.cpp matcher->match(cv::cuda::GpuMat(query), matches); cv 346 modules/cudafeatures2d/test/test_features2d.cpp cv::DMatch match = matches[i]; cv 371 modules/cudafeatures2d/test/test_features2d.cpp cv::Ptr<cv::cuda::DescriptorMatcher> matcher = cv 372 modules/cudafeatures2d/test/test_features2d.cpp cv::cuda::DescriptorMatcher::createBFMatcher(normCode); cv 376 modules/cudafeatures2d/test/test_features2d.cpp cv::cuda::GpuMat mask; cv 380 modules/cudafeatures2d/test/test_features2d.cpp mask.setTo(cv::Scalar::all(1)); cv 383 modules/cudafeatures2d/test/test_features2d.cpp std::vector< std::vector<cv::DMatch> > matches; cv 398 modules/cudafeatures2d/test/test_features2d.cpp cv::DMatch match = matches[i][k]; cv 411 modules/cudafeatures2d/test/test_features2d.cpp cv::Ptr<cv::cuda::DescriptorMatcher> matcher = cv 412 modules/cudafeatures2d/test/test_features2d.cpp cv::cuda::DescriptorMatcher::createBFMatcher(normCode); cv 416 modules/cudafeatures2d/test/test_features2d.cpp cv::cuda::GpuMat mask; cv 420 modules/cudafeatures2d/test/test_features2d.cpp mask.setTo(cv::Scalar::all(1)); cv 423 modules/cudafeatures2d/test/test_features2d.cpp std::vector< std::vector<cv::DMatch> > matches; cv 438 modules/cudafeatures2d/test/test_features2d.cpp cv::DMatch match = matches[i][k]; cv 451 modules/cudafeatures2d/test/test_features2d.cpp cv::Ptr<cv::cuda::DescriptorMatcher> matcher = cv 452 modules/cudafeatures2d/test/test_features2d.cpp cv::cuda::DescriptorMatcher::createBFMatcher(normCode); cv 456 modules/cudafeatures2d/test/test_features2d.cpp cv::cuda::GpuMat d_train(train); cv 459 modules/cudafeatures2d/test/test_features2d.cpp matcher->add(std::vector<cv::cuda::GpuMat>(1, d_train.rowRange(0, train.rows / 2))); cv 460 modules/cudafeatures2d/test/test_features2d.cpp matcher->add(std::vector<cv::cuda::GpuMat>(1, d_train.rowRange(train.rows / 2, train.rows))); cv 463 modules/cudafeatures2d/test/test_features2d.cpp std::vector<cv::cuda::GpuMat> masks(2); cv 466 modules/cudafeatures2d/test/test_features2d.cpp masks[mi] = cv::cuda::GpuMat(query.rows, train.rows / 2, CV_8UC1, cv::Scalar::all(1)); cv 468 modules/cudafeatures2d/test/test_features2d.cpp masks[mi].col(di * countFactor).setTo(cv::Scalar::all(0)); cv 471 modules/cudafeatures2d/test/test_features2d.cpp std::vector< std::vector<cv::DMatch> > matches; cv 474 modules/cudafeatures2d/test/test_features2d.cpp matcher->knnMatch(cv::cuda::GpuMat(query), matches, knn, masks); cv 476 modules/cudafeatures2d/test/test_features2d.cpp matcher->knnMatch(cv::cuda::GpuMat(query), matches, knn); cv 491 modules/cudafeatures2d/test/test_features2d.cpp cv::DMatch match = matches[i][k]; cv 514 modules/cudafeatures2d/test/test_features2d.cpp cv::Ptr<cv::cuda::DescriptorMatcher> matcher = cv 515 modules/cudafeatures2d/test/test_features2d.cpp cv::cuda::DescriptorMatcher::createBFMatcher(normCode); cv 519 modules/cudafeatures2d/test/test_features2d.cpp cv::cuda::GpuMat d_train(train); cv 522 modules/cudafeatures2d/test/test_features2d.cpp matcher->add(std::vector<cv::cuda::GpuMat>(1, d_train.rowRange(0, train.rows / 2))); cv 523 modules/cudafeatures2d/test/test_features2d.cpp matcher->add(std::vector<cv::cuda::GpuMat>(1, d_train.rowRange(train.rows / 2, train.rows))); cv 526 modules/cudafeatures2d/test/test_features2d.cpp std::vector<cv::cuda::GpuMat> masks(2); cv 529 modules/cudafeatures2d/test/test_features2d.cpp masks[mi] = cv::cuda::GpuMat(query.rows, train.rows / 2, CV_8UC1, cv::Scalar::all(1)); cv 531 modules/cudafeatures2d/test/test_features2d.cpp masks[mi].col(di * countFactor).setTo(cv::Scalar::all(0)); cv 534 modules/cudafeatures2d/test/test_features2d.cpp std::vector< std::vector<cv::DMatch> > matches; cv 537 modules/cudafeatures2d/test/test_features2d.cpp matcher->knnMatch(cv::cuda::GpuMat(query), matches, knn, masks); cv 539 modules/cudafeatures2d/test/test_features2d.cpp matcher->knnMatch(cv::cuda::GpuMat(query), matches, knn); cv 554 modules/cudafeatures2d/test/test_features2d.cpp cv::DMatch match = matches[i][k]; cv 577 modules/cudafeatures2d/test/test_features2d.cpp cv::Ptr<cv::cuda::DescriptorMatcher> matcher = cv 578 modules/cudafeatures2d/test/test_features2d.cpp cv::cuda::DescriptorMatcher::createBFMatcher(normCode); cv 582 modules/cudafeatures2d/test/test_features2d.cpp if (!supportFeature(devInfo, cv::cuda::GLOBAL_ATOMICS)) cv 586 modules/cudafeatures2d/test/test_features2d.cpp std::vector< std::vector<cv::DMatch> > matches; cv 589 modules/cudafeatures2d/test/test_features2d.cpp catch (const cv::Exception& e) cv 591 modules/cudafeatures2d/test/test_features2d.cpp ASSERT_EQ(cv::Error::StsNotImplemented, e.code); cv 596 modules/cudafeatures2d/test/test_features2d.cpp cv::cuda::GpuMat mask; cv 600 modules/cudafeatures2d/test/test_features2d.cpp mask.setTo(cv::Scalar::all(1)); cv 603 modules/cudafeatures2d/test/test_features2d.cpp std::vector< std::vector<cv::DMatch> > matches; cv 615 modules/cudafeatures2d/test/test_features2d.cpp cv::DMatch match = matches[i][0]; cv 627 modules/cudafeatures2d/test/test_features2d.cpp cv::Ptr<cv::cuda::DescriptorMatcher> matcher = cv 628 modules/cudafeatures2d/test/test_features2d.cpp cv::cuda::DescriptorMatcher::createBFMatcher(normCode); cv 633 modules/cudafeatures2d/test/test_features2d.cpp cv::cuda::GpuMat d_train(train); cv 636 modules/cudafeatures2d/test/test_features2d.cpp matcher->add(std::vector<cv::cuda::GpuMat>(1, d_train.rowRange(0, train.rows / 2))); cv 637 modules/cudafeatures2d/test/test_features2d.cpp matcher->add(std::vector<cv::cuda::GpuMat>(1, d_train.rowRange(train.rows / 2, train.rows))); cv 640 modules/cudafeatures2d/test/test_features2d.cpp std::vector<cv::cuda::GpuMat> masks(2); cv 643 modules/cudafeatures2d/test/test_features2d.cpp masks[mi] = cv::cuda::GpuMat(query.rows, train.rows / 2, CV_8UC1, cv::Scalar::all(1)); cv 645 modules/cudafeatures2d/test/test_features2d.cpp masks[mi].col(di * countFactor).setTo(cv::Scalar::all(0)); cv 648 modules/cudafeatures2d/test/test_features2d.cpp if (!supportFeature(devInfo, cv::cuda::GLOBAL_ATOMICS)) cv 652 modules/cudafeatures2d/test/test_features2d.cpp std::vector< std::vector<cv::DMatch> > matches; cv 653 modules/cudafeatures2d/test/test_features2d.cpp matcher->radiusMatch(cv::cuda::GpuMat(query), matches, radius, masks); cv 655 modules/cudafeatures2d/test/test_features2d.cpp catch (const cv::Exception& e) cv 657 modules/cudafeatures2d/test/test_features2d.cpp ASSERT_EQ(cv::Error::StsNotImplemented, e.code); cv 662 modules/cudafeatures2d/test/test_features2d.cpp std::vector< std::vector<cv::DMatch> > matches; cv 665 modules/cudafeatures2d/test/test_features2d.cpp matcher->radiusMatch(cv::cuda::GpuMat(query), matches, radius, masks); cv 667 modules/cudafeatures2d/test/test_features2d.cpp matcher->radiusMatch(cv::cuda::GpuMat(query), matches, radius); cv 683 modules/cudafeatures2d/test/test_features2d.cpp cv::DMatch match = matches[i][k]; cv 707 modules/cudafeatures2d/test/test_features2d.cpp testing::Values(NormCode(cv::NORM_L1), NormCode(cv::NORM_L2)), cv 52 modules/cudafilters/perf/perf_filters.cpp DEF_PARAM_TEST(Sz_Type_KernelSz, cv::Size, MatType, int); cv 61 modules/cudafilters/perf/perf_filters.cpp const cv::Size size = GET_PARAM(0); cv 65 modules/cudafilters/perf/perf_filters.cpp cv::Mat src(size, type); cv 70 modules/cudafilters/perf/perf_filters.cpp const cv::cuda::GpuMat d_src(src); cv 71 modules/cudafilters/perf/perf_filters.cpp cv::cuda::GpuMat dst; cv 73 modules/cudafilters/perf/perf_filters.cpp cv::Ptr<cv::cuda::Filter> blurFilter = cv::cuda::createBoxFilter(d_src.type(), -1, cv::Size(ksize, ksize)); cv 81 modules/cudafilters/perf/perf_filters.cpp cv::Mat dst; cv 83 modules/cudafilters/perf/perf_filters.cpp TEST_CYCLE() cv::blur(src, dst, cv::Size(ksize, ksize)); cv 96 modules/cudafilters/perf/perf_filters.cpp const cv::Size size = GET_PARAM(0); cv 100 modules/cudafilters/perf/perf_filters.cpp cv::Mat src(size, type); cv 103 modules/cudafilters/perf/perf_filters.cpp cv::Mat kernel(ksize, ksize, CV_32FC1); cv 108 modules/cudafilters/perf/perf_filters.cpp const cv::cuda::GpuMat d_src(src); cv 109 modules/cudafilters/perf/perf_filters.cpp cv::cuda::GpuMat dst; cv 111 modules/cudafilters/perf/perf_filters.cpp cv::Ptr<cv::cuda::Filter> filter2D = cv::cuda::createLinearFilter(d_src.type(), -1, kernel); cv 119 modules/cudafilters/perf/perf_filters.cpp cv::Mat dst; cv 121 modules/cudafilters/perf/perf_filters.cpp TEST_CYCLE() cv::filter2D(src, dst, -1, kernel); cv 134 modules/cudafilters/perf/perf_filters.cpp const cv::Size size = GET_PARAM(0); cv 138 modules/cudafilters/perf/perf_filters.cpp cv::Mat src(size, type); cv 143 modules/cudafilters/perf/perf_filters.cpp const cv::cuda::GpuMat d_src(src); cv 144 modules/cudafilters/perf/perf_filters.cpp cv::cuda::GpuMat dst; cv 146 modules/cudafilters/perf/perf_filters.cpp cv::Ptr<cv::cuda::Filter> laplacian = cv::cuda::createLaplacianFilter(d_src.type(), -1, ksize); cv 154 modules/cudafilters/perf/perf_filters.cpp cv::Mat dst; cv 156 modules/cudafilters/perf/perf_filters.cpp TEST_CYCLE() cv::Laplacian(src, dst, -1, ksize); cv 169 modules/cudafilters/perf/perf_filters.cpp const cv::Size size = GET_PARAM(0); cv 173 modules/cudafilters/perf/perf_filters.cpp cv::Mat src(size, type); cv 178 modules/cudafilters/perf/perf_filters.cpp const cv::cuda::GpuMat d_src(src); cv 179 modules/cudafilters/perf/perf_filters.cpp cv::cuda::GpuMat dst; cv 181 modules/cudafilters/perf/perf_filters.cpp cv::Ptr<cv::cuda::Filter> sobel = cv::cuda::createSobelFilter(d_src.type(), -1, 1, 1, ksize); cv 189 modules/cudafilters/perf/perf_filters.cpp cv::Mat dst; cv 191 modules/cudafilters/perf/perf_filters.cpp TEST_CYCLE() cv::Sobel(src, dst, -1, 1, 1, ksize); cv 204 modules/cudafilters/perf/perf_filters.cpp const cv::Size size = GET_PARAM(0); cv 207 modules/cudafilters/perf/perf_filters.cpp cv::Mat src(size, type); cv 212 modules/cudafilters/perf/perf_filters.cpp const cv::cuda::GpuMat d_src(src); cv 213 modules/cudafilters/perf/perf_filters.cpp cv::cuda::GpuMat dst; cv 215 modules/cudafilters/perf/perf_filters.cpp cv::Ptr<cv::cuda::Filter> scharr = cv::cuda::createScharrFilter(d_src.type(), -1, 1, 0); cv 223 modules/cudafilters/perf/perf_filters.cpp cv::Mat dst; cv 225 modules/cudafilters/perf/perf_filters.cpp TEST_CYCLE() cv::Scharr(src, dst, -1, 1, 0); cv 238 modules/cudafilters/perf/perf_filters.cpp const cv::Size size = GET_PARAM(0); cv 242 modules/cudafilters/perf/perf_filters.cpp cv::Mat src(size, type); cv 247 modules/cudafilters/perf/perf_filters.cpp const cv::cuda::GpuMat d_src(src); cv 248 modules/cudafilters/perf/perf_filters.cpp cv::cuda::GpuMat dst; cv 250 modules/cudafilters/perf/perf_filters.cpp cv::Ptr<cv::cuda::Filter> gauss = cv::cuda::createGaussianFilter(d_src.type(), -1, cv::Size(ksize, ksize), 0.5); cv 258 modules/cudafilters/perf/perf_filters.cpp cv::Mat dst; cv 260 modules/cudafilters/perf/perf_filters.cpp TEST_CYCLE() cv::GaussianBlur(src, dst, cv::Size(ksize, ksize), 0.5); cv 273 modules/cudafilters/perf/perf_filters.cpp const cv::Size size = GET_PARAM(0); cv 276 modules/cudafilters/perf/perf_filters.cpp cv::Mat src(size, type); cv 279 modules/cudafilters/perf/perf_filters.cpp const cv::Mat ker = cv::getStructuringElement(cv::MORPH_RECT, cv::Size(3, 3)); cv 283 modules/cudafilters/perf/perf_filters.cpp const cv::cuda::GpuMat d_src(src); cv 284 modules/cudafilters/perf/perf_filters.cpp cv::cuda::GpuMat dst; cv 286 modules/cudafilters/perf/perf_filters.cpp cv::Ptr<cv::cuda::Filter> erode = cv::cuda::createMorphologyFilter(cv::MORPH_ERODE, src.type(), ker); cv 294 modules/cudafilters/perf/perf_filters.cpp cv::Mat dst; cv 296 modules/cudafilters/perf/perf_filters.cpp TEST_CYCLE() cv::erode(src, dst, ker); cv 309 modules/cudafilters/perf/perf_filters.cpp const cv::Size size = GET_PARAM(0); cv 312 modules/cudafilters/perf/perf_filters.cpp cv::Mat src(size, type); cv 315 modules/cudafilters/perf/perf_filters.cpp const cv::Mat ker = cv::getStructuringElement(cv::MORPH_RECT, cv::Size(3, 3)); cv 319 modules/cudafilters/perf/perf_filters.cpp const cv::cuda::GpuMat d_src(src); cv 320 modules/cudafilters/perf/perf_filters.cpp cv::cuda::GpuMat dst; cv 322 modules/cudafilters/perf/perf_filters.cpp cv::Ptr<cv::cuda::Filter> dilate = cv::cuda::createMorphologyFilter(cv::MORPH_DILATE, src.type(), ker); cv 330 modules/cudafilters/perf/perf_filters.cpp cv::Mat dst; cv 332 modules/cudafilters/perf/perf_filters.cpp TEST_CYCLE() cv::dilate(src, dst, ker); cv 343 modules/cudafilters/perf/perf_filters.cpp DEF_PARAM_TEST(Sz_Type_Op, cv::Size, MatType, MorphOp); cv 349 modules/cudafilters/perf/perf_filters.cpp const cv::Size size = GET_PARAM(0); cv 353 modules/cudafilters/perf/perf_filters.cpp cv::Mat src(size, type); cv 356 modules/cudafilters/perf/perf_filters.cpp const cv::Mat ker = cv::getStructuringElement(cv::MORPH_RECT, cv::Size(3, 3)); cv 360 modules/cudafilters/perf/perf_filters.cpp const cv::cuda::GpuMat d_src(src); cv 361 modules/cudafilters/perf/perf_filters.cpp cv::cuda::GpuMat dst; cv 363 modules/cudafilters/perf/perf_filters.cpp cv::Ptr<cv::cuda::Filter> morph = cv::cuda::createMorphologyFilter(morphOp, src.type(), ker); cv 371 modules/cudafilters/perf/perf_filters.cpp cv::Mat dst; cv 373 modules/cudafilters/perf/perf_filters.cpp TEST_CYCLE() cv::morphologyEx(src, dst, morphOp, ker); cv 48 modules/cudafilters/src/cuda/column_filter.hpp using namespace cv::cuda; cv 49 modules/cudafilters/src/cuda/column_filter.hpp using namespace cv::cuda::device; cv 48 modules/cudafilters/src/cuda/row_filter.hpp using namespace cv::cuda; cv 49 modules/cudafilters/src/cuda/row_filter.hpp using namespace cv::cuda::device; cv 45 modules/cudafilters/src/filtering.cpp using namespace cv; cv 46 modules/cudafilters/src/filtering.cpp using namespace cv::cuda; cv 50 modules/cudafilters/src/filtering.cpp Ptr<Filter> cv::cuda::createBoxFilter(int, int, Size, Point, int, Scalar) { throw_no_cuda(); return Ptr<Filter>(); } cv 52 modules/cudafilters/src/filtering.cpp Ptr<Filter> cv::cuda::createLinearFilter(int, int, InputArray, Point, int, Scalar) { throw_no_cuda(); return Ptr<Filter>(); } cv 54 modules/cudafilters/src/filtering.cpp Ptr<Filter> cv::cuda::createLaplacianFilter(int, int, int, double, int, Scalar) { throw_no_cuda(); return Ptr<Filter>(); } cv 56 modules/cudafilters/src/filtering.cpp Ptr<Filter> cv::cuda::createSeparableLinearFilter(int, int, InputArray, InputArray, Point, int, int) { throw_no_cuda(); return Ptr<Filter>(); } cv 58 modules/cudafilters/src/filtering.cpp Ptr<Filter> cv::cuda::createDerivFilter(int, int, int, int, int, bool, double, int, int) { throw_no_cuda(); return Ptr<Filter>(); } cv 59 modules/cudafilters/src/filtering.cpp Ptr<Filter> cv::cuda::createSobelFilter(int, int, int, int, int, double, int, int) { throw_no_cuda(); return Ptr<Filter>(); } cv 60 modules/cudafilters/src/filtering.cpp Ptr<Filter> cv::cuda::createScharrFilter(int, int, int, int, double, int, int) { throw_no_cuda(); return Ptr<Filter>(); } cv 62 modules/cudafilters/src/filtering.cpp Ptr<Filter> cv::cuda::createGaussianFilter(int, int, Size, double, double, int, int) { throw_no_cuda(); return Ptr<Filter>(); } cv 64 modules/cudafilters/src/filtering.cpp Ptr<Filter> cv::cuda::createMorphologyFilter(int, int, InputArray, Point, int) { throw_no_cuda(); return Ptr<Filter>(); } cv 66 modules/cudafilters/src/filtering.cpp Ptr<Filter> cv::cuda::createBoxMaxFilter(int, Size, Point, int, Scalar) { throw_no_cuda(); return Ptr<Filter>(); } cv 67 modules/cudafilters/src/filtering.cpp Ptr<Filter> cv::cuda::createBoxMinFilter(int, Size, Point, int, Scalar) { throw_no_cuda(); return Ptr<Filter>(); } cv 69 modules/cudafilters/src/filtering.cpp Ptr<Filter> cv::cuda::createRowSumFilter(int, int, int, int, int, Scalar) { throw_no_cuda(); return Ptr<Filter>(); } cv 70 modules/cudafilters/src/filtering.cpp Ptr<Filter> cv::cuda::createColumnSumFilter(int, int, int, int, int, Scalar) { throw_no_cuda(); return Ptr<Filter>(); } cv 165 modules/cudafilters/src/filtering.cpp Ptr<Filter> cv::cuda::createBoxFilter(int srcType, int dstType, Size ksize, Point anchor, int borderMode, Scalar borderVal) cv 233 modules/cudafilters/src/filtering.cpp func_ = cv::cuda::device::filter2D<uchar, uchar>; cv 236 modules/cudafilters/src/filtering.cpp func_ = cv::cuda::device::filter2D<uchar4, uchar4>; cv 239 modules/cudafilters/src/filtering.cpp func_ = cv::cuda::device::filter2D<ushort, ushort>; cv 242 modules/cudafilters/src/filtering.cpp func_ = cv::cuda::device::filter2D<ushort4, ushort4>; cv 245 modules/cudafilters/src/filtering.cpp func_ = cv::cuda::device::filter2D<float, float>; cv 248 modules/cudafilters/src/filtering.cpp func_ = cv::cuda::device::filter2D<float4, float4>; cv 273 modules/cudafilters/src/filtering.cpp Ptr<Filter> cv::cuda::createLinearFilter(int srcType, int dstType, InputArray kernel, Point anchor, int borderMode, Scalar borderVal) cv 286 modules/cudafilters/src/filtering.cpp Ptr<Filter> cv::cuda::createLaplacianFilter(int srcType, int dstType, int ksize, double scale, int borderMode, Scalar borderVal) cv 421 modules/cudafilters/src/filtering.cpp Ptr<Filter> cv::cuda::createSeparableLinearFilter(int srcType, int dstType, InputArray rowKernel, InputArray columnKernel, Point anchor, int rowBorderMode, int columnBorderMode) cv 437 modules/cudafilters/src/filtering.cpp Ptr<Filter> cv::cuda::createDerivFilter(int srcType, int dstType, int dx, int dy, int ksize, bool normalize, double scale, int rowBorderMode, int columnBorderMode) cv 455 modules/cudafilters/src/filtering.cpp Ptr<Filter> cv::cuda::createSobelFilter(int srcType, int dstType, int dx, int dy, int ksize, double scale, int rowBorderMode, int columnBorderMode) cv 460 modules/cudafilters/src/filtering.cpp Ptr<Filter> cv::cuda::createScharrFilter(int srcType, int dstType, int dx, int dy, double scale, int rowBorderMode, int columnBorderMode) cv 468 modules/cudafilters/src/filtering.cpp Ptr<Filter> cv::cuda::createGaussianFilter(int srcType, int dstType, Size ksize, double sigma1, double sigma2, int rowBorderMode, int columnBorderMode) cv 545 modules/cudafilters/src/filtering.cpp else if (iters_ > 1 && cv::countNonZero(kernel) == (int) kernel.total()) cv 745 modules/cudafilters/src/filtering.cpp Ptr<Filter> cv::cuda::createMorphologyFilter(int op, int srcType, InputArray kernel, Point anchor, int iterations) cv 863 modules/cudafilters/src/filtering.cpp Ptr<Filter> cv::cuda::createBoxMaxFilter(int srcType, Size ksize, Point anchor, int borderMode, Scalar borderVal) cv 868 modules/cudafilters/src/filtering.cpp Ptr<Filter> cv::cuda::createBoxMinFilter(int srcType, Size ksize, Point anchor, int borderMode, Scalar borderVal) cv 932 modules/cudafilters/src/filtering.cpp Ptr<Filter> cv::cuda::createRowSumFilter(int srcType, int dstType, int ksize, int anchor, int borderMode, Scalar borderVal) cv 993 modules/cudafilters/src/filtering.cpp Ptr<Filter> cv::cuda::createColumnSumFilter(int srcType, int dstType, int ksize, int anchor, int borderMode, Scalar borderVal) cv 51 modules/cudafilters/test/test_filters.cpp IMPLEMENT_PARAM_CLASS(KSize, cv::Size) cv 52 modules/cudafilters/test/test_filters.cpp IMPLEMENT_PARAM_CLASS(Anchor, cv::Point) cv 57 modules/cudafilters/test/test_filters.cpp cv::Mat getInnerROI(cv::InputArray m_, cv::Size ksize) cv 59 modules/cudafilters/test/test_filters.cpp cv::Mat m = getMat(m_); cv 60 modules/cudafilters/test/test_filters.cpp cv::Rect roi(ksize.width, ksize.height, m.cols - 2 * ksize.width, m.rows - 2 * ksize.height); cv 64 modules/cudafilters/test/test_filters.cpp cv::Mat getInnerROI(cv::InputArray m, int ksize) cv 66 modules/cudafilters/test/test_filters.cpp return getInnerROI(m, cv::Size(ksize, ksize)); cv 73 modules/cudafilters/test/test_filters.cpp PARAM_TEST_CASE(Blur, cv::cuda::DeviceInfo, cv::Size, MatType, KSize, Anchor, BorderType, UseRoi) cv 75 modules/cudafilters/test/test_filters.cpp cv::cuda::DeviceInfo devInfo; cv 76 modules/cudafilters/test/test_filters.cpp cv::Size size; cv 78 modules/cudafilters/test/test_filters.cpp cv::Size ksize; cv 79 modules/cudafilters/test/test_filters.cpp cv::Point anchor; cv 93 modules/cudafilters/test/test_filters.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 99 modules/cudafilters/test/test_filters.cpp cv::Mat src = randomMat(size, type); cv 101 modules/cudafilters/test/test_filters.cpp cv::Ptr<cv::cuda::Filter> blurFilter = cv::cuda::createBoxFilter(src.type(), -1, ksize, anchor, borderType); cv 103 modules/cudafilters/test/test_filters.cpp cv::cuda::GpuMat dst = createMat(size, type, useRoi); cv 106 modules/cudafilters/test/test_filters.cpp cv::Mat dst_gold; cv 107 modules/cudafilters/test/test_filters.cpp cv::blur(src, dst_gold, ksize, anchor, borderType); cv 116 modules/cudafilters/test/test_filters.cpp testing::Values(KSize(cv::Size(3, 3)), KSize(cv::Size(5, 5)), KSize(cv::Size(7, 7))), cv 117 modules/cudafilters/test/test_filters.cpp testing::Values(Anchor(cv::Point(-1, -1)), Anchor(cv::Point(0, 0)), Anchor(cv::Point(2, 2))), cv 118 modules/cudafilters/test/test_filters.cpp testing::Values(BorderType(cv::BORDER_REFLECT101), BorderType(cv::BORDER_REPLICATE), BorderType(cv::BORDER_CONSTANT), BorderType(cv::BORDER_REFLECT)), cv 124 modules/cudafilters/test/test_filters.cpp PARAM_TEST_CASE(Filter2D, cv::cuda::DeviceInfo, cv::Size, MatType, KSize, Anchor, BorderType, UseRoi) cv 126 modules/cudafilters/test/test_filters.cpp cv::cuda::DeviceInfo devInfo; cv 127 modules/cudafilters/test/test_filters.cpp cv::Size size; cv 129 modules/cudafilters/test/test_filters.cpp cv::Size ksize; cv 130 modules/cudafilters/test/test_filters.cpp cv::Point anchor; cv 144 modules/cudafilters/test/test_filters.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 150 modules/cudafilters/test/test_filters.cpp cv::Mat src = randomMat(size, type); cv 151 modules/cudafilters/test/test_filters.cpp cv::Mat kernel = randomMat(cv::Size(ksize.width, ksize.height), CV_32FC1, 0.0, 1.0); cv 153 modules/cudafilters/test/test_filters.cpp cv::Ptr<cv::cuda::Filter> filter2D = cv::cuda::createLinearFilter(src.type(), -1, kernel, anchor, borderType); cv 155 modules/cudafilters/test/test_filters.cpp cv::cuda::GpuMat dst = createMat(size, type, useRoi); cv 158 modules/cudafilters/test/test_filters.cpp cv::Mat dst_gold; cv 159 modules/cudafilters/test/test_filters.cpp cv::filter2D(src, dst_gold, -1, kernel, anchor, 0, borderType); cv 168 modules/cudafilters/test/test_filters.cpp testing::Values(KSize(cv::Size(3, 3)), KSize(cv::Size(5, 5)), KSize(cv::Size(7, 7)), KSize(cv::Size(11, 11)), KSize(cv::Size(13, 13)), KSize(cv::Size(15, 15))), cv 169 modules/cudafilters/test/test_filters.cpp testing::Values(Anchor(cv::Point(-1, -1)), Anchor(cv::Point(0, 0)), Anchor(cv::Point(2, 2))), cv 170 modules/cudafilters/test/test_filters.cpp testing::Values(BorderType(cv::BORDER_REFLECT101), BorderType(cv::BORDER_REPLICATE), BorderType(cv::BORDER_CONSTANT), BorderType(cv::BORDER_REFLECT)), cv 176 modules/cudafilters/test/test_filters.cpp PARAM_TEST_CASE(Laplacian, cv::cuda::DeviceInfo, cv::Size, MatType, KSize, UseRoi) cv 178 modules/cudafilters/test/test_filters.cpp cv::cuda::DeviceInfo devInfo; cv 179 modules/cudafilters/test/test_filters.cpp cv::Size size; cv 181 modules/cudafilters/test/test_filters.cpp cv::Size ksize; cv 192 modules/cudafilters/test/test_filters.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 198 modules/cudafilters/test/test_filters.cpp cv::Mat src = randomMat(size, type); cv 200 modules/cudafilters/test/test_filters.cpp cv::Ptr<cv::cuda::Filter> laplacian = cv::cuda::createLaplacianFilter(src.type(), -1, ksize.width); cv 202 modules/cudafilters/test/test_filters.cpp cv::cuda::GpuMat dst = createMat(size, type, useRoi); cv 205 modules/cudafilters/test/test_filters.cpp cv::Mat dst_gold; cv 206 modules/cudafilters/test/test_filters.cpp cv::Laplacian(src, dst_gold, -1, ksize.width); cv 215 modules/cudafilters/test/test_filters.cpp testing::Values(KSize(cv::Size(1, 1)), KSize(cv::Size(3, 3))), cv 221 modules/cudafilters/test/test_filters.cpp PARAM_TEST_CASE(SeparableLinearFilter, cv::cuda::DeviceInfo, cv::Size, MatDepth, Channels, KSize, Anchor, BorderType, UseRoi) cv 223 modules/cudafilters/test/test_filters.cpp cv::cuda::DeviceInfo devInfo; cv 224 modules/cudafilters/test/test_filters.cpp cv::Size size; cv 227 modules/cudafilters/test/test_filters.cpp cv::Size ksize; cv 228 modules/cudafilters/test/test_filters.cpp cv::Point anchor; cv 245 modules/cudafilters/test/test_filters.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 253 modules/cudafilters/test/test_filters.cpp cv::Mat src = randomMat(size, type); cv 254 modules/cudafilters/test/test_filters.cpp cv::Mat rowKernel = randomMat(Size(ksize.width, 1), CV_32FC1, 0.0, 1.0); cv 255 modules/cudafilters/test/test_filters.cpp cv::Mat columnKernel = randomMat(Size(ksize.height, 1), CV_32FC1, 0.0, 1.0); cv 257 modules/cudafilters/test/test_filters.cpp cv::Ptr<cv::cuda::Filter> filter = cv::cuda::createSeparableLinearFilter(src.type(), -1, rowKernel, columnKernel, anchor, borderType); cv 259 modules/cudafilters/test/test_filters.cpp cv::cuda::GpuMat dst = createMat(size, type, useRoi); cv 262 modules/cudafilters/test/test_filters.cpp cv::Mat dst_gold; cv 263 modules/cudafilters/test/test_filters.cpp cv::sepFilter2D(src, dst_gold, -1, rowKernel, columnKernel, anchor, 0, borderType); cv 273 modules/cudafilters/test/test_filters.cpp testing::Values(KSize(cv::Size(3, 3)), cv 274 modules/cudafilters/test/test_filters.cpp KSize(cv::Size(7, 7)), cv 275 modules/cudafilters/test/test_filters.cpp KSize(cv::Size(13, 13)), cv 276 modules/cudafilters/test/test_filters.cpp KSize(cv::Size(15, 15)), cv 277 modules/cudafilters/test/test_filters.cpp KSize(cv::Size(17, 17)), cv 278 modules/cudafilters/test/test_filters.cpp KSize(cv::Size(23, 15)), cv 279 modules/cudafilters/test/test_filters.cpp KSize(cv::Size(31, 3))), cv 280 modules/cudafilters/test/test_filters.cpp testing::Values(Anchor(cv::Point(-1, -1)), Anchor(cv::Point(0, 0)), Anchor(cv::Point(2, 2))), cv 281 modules/cudafilters/test/test_filters.cpp testing::Values(BorderType(cv::BORDER_REFLECT101), cv 282 modules/cudafilters/test/test_filters.cpp BorderType(cv::BORDER_REPLICATE), cv 283 modules/cudafilters/test/test_filters.cpp BorderType(cv::BORDER_CONSTANT), cv 284 modules/cudafilters/test/test_filters.cpp BorderType(cv::BORDER_REFLECT)), cv 290 modules/cudafilters/test/test_filters.cpp PARAM_TEST_CASE(Sobel, cv::cuda::DeviceInfo, cv::Size, MatDepth, Channels, KSize, Deriv_X, Deriv_Y, BorderType, UseRoi) cv 292 modules/cudafilters/test/test_filters.cpp cv::cuda::DeviceInfo devInfo; cv 293 modules/cudafilters/test/test_filters.cpp cv::Size size; cv 296 modules/cudafilters/test/test_filters.cpp cv::Size ksize; cv 316 modules/cudafilters/test/test_filters.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 327 modules/cudafilters/test/test_filters.cpp cv::Mat src = randomMat(size, type); cv 329 modules/cudafilters/test/test_filters.cpp cv::Ptr<cv::cuda::Filter> sobel = cv::cuda::createSobelFilter(src.type(), -1, dx, dy, ksize.width, 1.0, borderType); cv 331 modules/cudafilters/test/test_filters.cpp cv::cuda::GpuMat dst = createMat(size, type, useRoi); cv 334 modules/cudafilters/test/test_filters.cpp cv::Mat dst_gold; cv 335 modules/cudafilters/test/test_filters.cpp cv::Sobel(src, dst_gold, -1, dx, dy, ksize.width, 1.0, 0.0, borderType); cv 345 modules/cudafilters/test/test_filters.cpp testing::Values(KSize(cv::Size(3, 3)), KSize(cv::Size(5, 5)), KSize(cv::Size(7, 7))), cv 348 modules/cudafilters/test/test_filters.cpp testing::Values(BorderType(cv::BORDER_REFLECT101), cv 349 modules/cudafilters/test/test_filters.cpp BorderType(cv::BORDER_REPLICATE), cv 350 modules/cudafilters/test/test_filters.cpp BorderType(cv::BORDER_CONSTANT), cv 351 modules/cudafilters/test/test_filters.cpp BorderType(cv::BORDER_REFLECT)), cv 357 modules/cudafilters/test/test_filters.cpp PARAM_TEST_CASE(Scharr, cv::cuda::DeviceInfo, cv::Size, MatDepth, Channels, Deriv_X, Deriv_Y, BorderType, UseRoi) cv 359 modules/cudafilters/test/test_filters.cpp cv::cuda::DeviceInfo devInfo; cv 360 modules/cudafilters/test/test_filters.cpp cv::Size size; cv 381 modules/cudafilters/test/test_filters.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 392 modules/cudafilters/test/test_filters.cpp cv::Mat src = randomMat(size, type); cv 394 modules/cudafilters/test/test_filters.cpp cv::Ptr<cv::cuda::Filter> scharr = cv::cuda::createScharrFilter(src.type(), -1, dx, dy, 1.0, borderType); cv 396 modules/cudafilters/test/test_filters.cpp cv::cuda::GpuMat dst = createMat(size, type, useRoi); cv 399 modules/cudafilters/test/test_filters.cpp cv::Mat dst_gold; cv 400 modules/cudafilters/test/test_filters.cpp cv::Scharr(src, dst_gold, -1, dx, dy, 1.0, 0.0, borderType); cv 412 modules/cudafilters/test/test_filters.cpp testing::Values(BorderType(cv::BORDER_REFLECT101), cv 413 modules/cudafilters/test/test_filters.cpp BorderType(cv::BORDER_REPLICATE), cv 414 modules/cudafilters/test/test_filters.cpp BorderType(cv::BORDER_CONSTANT), cv 415 modules/cudafilters/test/test_filters.cpp BorderType(cv::BORDER_REFLECT)), cv 421 modules/cudafilters/test/test_filters.cpp PARAM_TEST_CASE(GaussianBlur, cv::cuda::DeviceInfo, cv::Size, MatDepth, Channels, KSize, BorderType, UseRoi) cv 423 modules/cudafilters/test/test_filters.cpp cv::cuda::DeviceInfo devInfo; cv 424 modules/cudafilters/test/test_filters.cpp cv::Size size; cv 427 modules/cudafilters/test/test_filters.cpp cv::Size ksize; cv 443 modules/cudafilters/test/test_filters.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 451 modules/cudafilters/test/test_filters.cpp cv::Mat src = randomMat(size, type); cv 455 modules/cudafilters/test/test_filters.cpp cv::Ptr<cv::cuda::Filter> gauss = cv::cuda::createGaussianFilter(src.type(), -1, ksize, sigma1, sigma2, borderType); cv 457 modules/cudafilters/test/test_filters.cpp cv::cuda::GpuMat dst = createMat(size, type, useRoi); cv 460 modules/cudafilters/test/test_filters.cpp cv::Mat dst_gold; cv 461 modules/cudafilters/test/test_filters.cpp cv::GaussianBlur(src, dst_gold, ksize, sigma1, sigma2, borderType); cv 471 modules/cudafilters/test/test_filters.cpp testing::Values(KSize(cv::Size(3, 3)), cv 472 modules/cudafilters/test/test_filters.cpp KSize(cv::Size(5, 5)), cv 473 modules/cudafilters/test/test_filters.cpp KSize(cv::Size(7, 7)), cv 474 modules/cudafilters/test/test_filters.cpp KSize(cv::Size(9, 9)), cv 475 modules/cudafilters/test/test_filters.cpp KSize(cv::Size(11, 11)), cv 476 modules/cudafilters/test/test_filters.cpp KSize(cv::Size(13, 13)), cv 477 modules/cudafilters/test/test_filters.cpp KSize(cv::Size(15, 15)), cv 478 modules/cudafilters/test/test_filters.cpp KSize(cv::Size(17, 17)), cv 479 modules/cudafilters/test/test_filters.cpp KSize(cv::Size(19, 19)), cv 480 modules/cudafilters/test/test_filters.cpp KSize(cv::Size(21, 21)), cv 481 modules/cudafilters/test/test_filters.cpp KSize(cv::Size(23, 23)), cv 482 modules/cudafilters/test/test_filters.cpp KSize(cv::Size(25, 25)), cv 483 modules/cudafilters/test/test_filters.cpp KSize(cv::Size(27, 27)), cv 484 modules/cudafilters/test/test_filters.cpp KSize(cv::Size(29, 29)), cv 485 modules/cudafilters/test/test_filters.cpp KSize(cv::Size(31, 31))), cv 486 modules/cudafilters/test/test_filters.cpp testing::Values(BorderType(cv::BORDER_REFLECT101), cv 487 modules/cudafilters/test/test_filters.cpp BorderType(cv::BORDER_REPLICATE), cv 488 modules/cudafilters/test/test_filters.cpp BorderType(cv::BORDER_CONSTANT), cv 489 modules/cudafilters/test/test_filters.cpp BorderType(cv::BORDER_REFLECT)), cv 495 modules/cudafilters/test/test_filters.cpp PARAM_TEST_CASE(Erode, cv::cuda::DeviceInfo, cv::Size, MatType, Anchor, Iterations, UseRoi) cv 497 modules/cudafilters/test/test_filters.cpp cv::cuda::DeviceInfo devInfo; cv 498 modules/cudafilters/test/test_filters.cpp cv::Size size; cv 500 modules/cudafilters/test/test_filters.cpp cv::Point anchor; cv 513 modules/cudafilters/test/test_filters.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 519 modules/cudafilters/test/test_filters.cpp cv::Mat src = randomMat(size, type); cv 520 modules/cudafilters/test/test_filters.cpp cv::Mat kernel = cv::Mat::ones(3, 3, CV_8U); cv 522 modules/cudafilters/test/test_filters.cpp cv::Ptr<cv::cuda::Filter> erode = cv::cuda::createMorphologyFilter(cv::MORPH_ERODE, src.type(), kernel, anchor, iterations); cv 524 modules/cudafilters/test/test_filters.cpp cv::cuda::GpuMat dst = createMat(size, type, useRoi); cv 527 modules/cudafilters/test/test_filters.cpp cv::Mat dst_gold; cv 528 modules/cudafilters/test/test_filters.cpp cv::erode(src, dst_gold, kernel, anchor, iterations); cv 530 modules/cudafilters/test/test_filters.cpp cv::Size ksize = cv::Size(kernel.cols + iterations * (kernel.cols - 1), kernel.rows + iterations * (kernel.rows - 1)); cv 539 modules/cudafilters/test/test_filters.cpp testing::Values(Anchor(cv::Point(-1, -1)), Anchor(cv::Point(0, 0)), Anchor(cv::Point(2, 2))), cv 546 modules/cudafilters/test/test_filters.cpp PARAM_TEST_CASE(Dilate, cv::cuda::DeviceInfo, cv::Size, MatType, Anchor, Iterations, UseRoi) cv 548 modules/cudafilters/test/test_filters.cpp cv::cuda::DeviceInfo devInfo; cv 549 modules/cudafilters/test/test_filters.cpp cv::Size size; cv 551 modules/cudafilters/test/test_filters.cpp cv::Point anchor; cv 564 modules/cudafilters/test/test_filters.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 570 modules/cudafilters/test/test_filters.cpp cv::Mat src = randomMat(size, type); cv 571 modules/cudafilters/test/test_filters.cpp cv::Mat kernel = cv::Mat::ones(3, 3, CV_8U); cv 573 modules/cudafilters/test/test_filters.cpp cv::Ptr<cv::cuda::Filter> dilate = cv::cuda::createMorphologyFilter(cv::MORPH_DILATE, src.type(), kernel, anchor, iterations); cv 575 modules/cudafilters/test/test_filters.cpp cv::cuda::GpuMat dst = createMat(size, type, useRoi); cv 578 modules/cudafilters/test/test_filters.cpp cv::Mat dst_gold; cv 579 modules/cudafilters/test/test_filters.cpp cv::dilate(src, dst_gold, kernel, anchor, iterations); cv 581 modules/cudafilters/test/test_filters.cpp cv::Size ksize = cv::Size(kernel.cols + iterations * (kernel.cols - 1), kernel.rows + iterations * (kernel.rows - 1)); cv 590 modules/cudafilters/test/test_filters.cpp testing::Values(Anchor(cv::Point(-1, -1)), Anchor(cv::Point(0, 0)), Anchor(cv::Point(2, 2))), cv 599 modules/cudafilters/test/test_filters.cpp PARAM_TEST_CASE(MorphEx, cv::cuda::DeviceInfo, cv::Size, MatType, MorphOp, Anchor, Iterations, UseRoi) cv 601 modules/cudafilters/test/test_filters.cpp cv::cuda::DeviceInfo devInfo; cv 602 modules/cudafilters/test/test_filters.cpp cv::Size size; cv 605 modules/cudafilters/test/test_filters.cpp cv::Point anchor; cv 619 modules/cudafilters/test/test_filters.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 625 modules/cudafilters/test/test_filters.cpp cv::Mat src = randomMat(size, type); cv 626 modules/cudafilters/test/test_filters.cpp cv::Mat kernel = cv::Mat::ones(3, 3, CV_8U); cv 628 modules/cudafilters/test/test_filters.cpp cv::Ptr<cv::cuda::Filter> morph = cv::cuda::createMorphologyFilter(morphOp, src.type(), kernel, anchor, iterations); cv 630 modules/cudafilters/test/test_filters.cpp cv::cuda::GpuMat dst = createMat(size, type, useRoi); cv 633 modules/cudafilters/test/test_filters.cpp cv::Mat dst_gold; cv 634 modules/cudafilters/test/test_filters.cpp cv::morphologyEx(src, dst_gold, morphOp, kernel, anchor, iterations); cv 636 modules/cudafilters/test/test_filters.cpp cv::Size border = cv::Size(kernel.cols + (iterations + 1) * kernel.cols + 2, kernel.rows + (iterations + 1) * kernel.rows + 2); cv 646 modules/cudafilters/test/test_filters.cpp testing::Values(Anchor(cv::Point(-1, -1)), Anchor(cv::Point(0, 0)), Anchor(cv::Point(2, 2))), cv 216 modules/cudaimgproc/include/opencv2/cudaimgproc.hpp class CV_EXPORTS CLAHE : public cv::CLAHE cv 219 modules/cudaimgproc/include/opencv2/cudaimgproc.hpp using cv::CLAHE::apply; cv 52 modules/cudaimgproc/perf/perf_bilateral_filter.cpp DEF_PARAM_TEST(Sz_Depth_Cn_KernelSz, cv::Size, MatDepth, MatCn, int); cv 62 modules/cudaimgproc/perf/perf_bilateral_filter.cpp const cv::Size size = GET_PARAM(0); cv 69 modules/cudaimgproc/perf/perf_bilateral_filter.cpp const int borderMode = cv::BORDER_REFLECT101; cv 73 modules/cudaimgproc/perf/perf_bilateral_filter.cpp cv::Mat src(size, type); cv 78 modules/cudaimgproc/perf/perf_bilateral_filter.cpp const cv::cuda::GpuMat d_src(src); cv 79 modules/cudaimgproc/perf/perf_bilateral_filter.cpp cv::cuda::GpuMat dst; cv 81 modules/cudaimgproc/perf/perf_bilateral_filter.cpp TEST_CYCLE() cv::cuda::bilateralFilter(d_src, dst, kernel_size, sigma_color, sigma_spatial, borderMode); cv 87 modules/cudaimgproc/perf/perf_bilateral_filter.cpp cv::Mat dst; cv 89 modules/cudaimgproc/perf/perf_bilateral_filter.cpp TEST_CYCLE() cv::bilateralFilter(src, dst, kernel_size, sigma_color, sigma_spatial, borderMode); cv 57 modules/cudaimgproc/perf/perf_blend.cpp const cv::Size size = GET_PARAM(0); cv 63 modules/cudaimgproc/perf/perf_blend.cpp cv::Mat img1(size, type); cv 64 modules/cudaimgproc/perf/perf_blend.cpp cv::Mat img2(size, type); cv 67 modules/cudaimgproc/perf/perf_blend.cpp const cv::Mat weights1(size, CV_32FC1, cv::Scalar::all(0.5)); cv 68 modules/cudaimgproc/perf/perf_blend.cpp const cv::Mat weights2(size, CV_32FC1, cv::Scalar::all(0.5)); cv 72 modules/cudaimgproc/perf/perf_blend.cpp const cv::cuda::GpuMat d_img1(img1); cv 73 modules/cudaimgproc/perf/perf_blend.cpp const cv::cuda::GpuMat d_img2(img2); cv 74 modules/cudaimgproc/perf/perf_blend.cpp const cv::cuda::GpuMat d_weights1(weights1); cv 75 modules/cudaimgproc/perf/perf_blend.cpp const cv::cuda::GpuMat d_weights2(weights2); cv 76 modules/cudaimgproc/perf/perf_blend.cpp cv::cuda::GpuMat dst; cv 78 modules/cudaimgproc/perf/perf_blend.cpp TEST_CYCLE() cv::cuda::blendLinear(d_img1, d_img2, d_weights1, d_weights2, dst); cv 63 modules/cudaimgproc/perf/perf_canny.cpp const cv::Mat image = readImage(fileName, cv::IMREAD_GRAYSCALE); cv 71 modules/cudaimgproc/perf/perf_canny.cpp const cv::cuda::GpuMat d_image(image); cv 72 modules/cudaimgproc/perf/perf_canny.cpp cv::cuda::GpuMat dst; cv 74 modules/cudaimgproc/perf/perf_canny.cpp cv::Ptr<cv::cuda::CannyEdgeDetector> canny = cv::cuda::createCannyEdgeDetector(low_thresh, high_thresh, apperture_size, useL2gradient); cv 82 modules/cudaimgproc/perf/perf_canny.cpp cv::Mat dst; cv 84 modules/cudaimgproc/perf/perf_canny.cpp TEST_CYCLE() cv::Canny(image, dst, low_thresh, high_thresh, apperture_size, useL2gradient); cv 52 modules/cudaimgproc/perf/perf_color.cpp DEF_PARAM_TEST(Sz_Depth_Code, cv::Size, MatDepth, CvtColorInfo); cv 57 modules/cudaimgproc/perf/perf_color.cpp Values(CvtColorInfo(4, 4, cv::COLOR_RGBA2BGRA), cv 58 modules/cudaimgproc/perf/perf_color.cpp CvtColorInfo(4, 1, cv::COLOR_BGRA2GRAY), cv 59 modules/cudaimgproc/perf/perf_color.cpp CvtColorInfo(1, 4, cv::COLOR_GRAY2BGRA), cv 60 modules/cudaimgproc/perf/perf_color.cpp CvtColorInfo(3, 3, cv::COLOR_BGR2XYZ), cv 61 modules/cudaimgproc/perf/perf_color.cpp CvtColorInfo(3, 3, cv::COLOR_XYZ2BGR), cv 62 modules/cudaimgproc/perf/perf_color.cpp CvtColorInfo(3, 3, cv::COLOR_BGR2YCrCb), cv 63 modules/cudaimgproc/perf/perf_color.cpp CvtColorInfo(3, 3, cv::COLOR_YCrCb2BGR), cv 64 modules/cudaimgproc/perf/perf_color.cpp CvtColorInfo(3, 3, cv::COLOR_BGR2YUV), cv 65 modules/cudaimgproc/perf/perf_color.cpp CvtColorInfo(3, 3, cv::COLOR_YUV2BGR), cv 66 modules/cudaimgproc/perf/perf_color.cpp CvtColorInfo(3, 3, cv::COLOR_BGR2HSV), cv 67 modules/cudaimgproc/perf/perf_color.cpp CvtColorInfo(3, 3, cv::COLOR_HSV2BGR), cv 68 modules/cudaimgproc/perf/perf_color.cpp CvtColorInfo(3, 3, cv::COLOR_BGR2HLS), cv 69 modules/cudaimgproc/perf/perf_color.cpp CvtColorInfo(3, 3, cv::COLOR_HLS2BGR), cv 70 modules/cudaimgproc/perf/perf_color.cpp CvtColorInfo(3, 3, cv::COLOR_BGR2Lab), cv 71 modules/cudaimgproc/perf/perf_color.cpp CvtColorInfo(3, 3, cv::COLOR_LBGR2Lab), cv 72 modules/cudaimgproc/perf/perf_color.cpp CvtColorInfo(3, 3, cv::COLOR_BGR2Luv), cv 73 modules/cudaimgproc/perf/perf_color.cpp CvtColorInfo(3, 3, cv::COLOR_LBGR2Luv), cv 74 modules/cudaimgproc/perf/perf_color.cpp CvtColorInfo(3, 3, cv::COLOR_Lab2BGR), cv 75 modules/cudaimgproc/perf/perf_color.cpp CvtColorInfo(3, 3, cv::COLOR_Lab2LBGR), cv 76 modules/cudaimgproc/perf/perf_color.cpp CvtColorInfo(3, 3, cv::COLOR_Luv2RGB), cv 77 modules/cudaimgproc/perf/perf_color.cpp CvtColorInfo(3, 3, cv::COLOR_Luv2LRGB)))) cv 79 modules/cudaimgproc/perf/perf_color.cpp const cv::Size size = GET_PARAM(0); cv 83 modules/cudaimgproc/perf/perf_color.cpp cv::Mat src(size, CV_MAKETYPE(depth, info.scn)); cv 84 modules/cudaimgproc/perf/perf_color.cpp cv::randu(src, 0, depth == CV_8U ? 255.0 : 1.0); cv 88 modules/cudaimgproc/perf/perf_color.cpp const cv::cuda::GpuMat d_src(src); cv 89 modules/cudaimgproc/perf/perf_color.cpp cv::cuda::GpuMat dst; cv 91 modules/cudaimgproc/perf/perf_color.cpp TEST_CYCLE() cv::cuda::cvtColor(d_src, dst, info.code, info.dcn); cv 97 modules/cudaimgproc/perf/perf_color.cpp cv::Mat dst; cv 99 modules/cudaimgproc/perf/perf_color.cpp TEST_CYCLE() cv::cvtColor(src, dst, info.code, info.dcn); cv 108 modules/cudaimgproc/perf/perf_color.cpp Values(CvtColorInfo(1, 3, cv::COLOR_BayerBG2BGR), cv 109 modules/cudaimgproc/perf/perf_color.cpp CvtColorInfo(1, 3, cv::COLOR_BayerGB2BGR), cv 110 modules/cudaimgproc/perf/perf_color.cpp CvtColorInfo(1, 3, cv::COLOR_BayerRG2BGR), cv 111 modules/cudaimgproc/perf/perf_color.cpp CvtColorInfo(1, 3, cv::COLOR_BayerGR2BGR), cv 113 modules/cudaimgproc/perf/perf_color.cpp CvtColorInfo(1, 1, cv::COLOR_BayerBG2GRAY), cv 114 modules/cudaimgproc/perf/perf_color.cpp CvtColorInfo(1, 1, cv::COLOR_BayerGB2GRAY), cv 115 modules/cudaimgproc/perf/perf_color.cpp CvtColorInfo(1, 1, cv::COLOR_BayerRG2GRAY), cv 116 modules/cudaimgproc/perf/perf_color.cpp CvtColorInfo(1, 1, cv::COLOR_BayerGR2GRAY)))) cv 118 modules/cudaimgproc/perf/perf_color.cpp const cv::Size size = GET_PARAM(0); cv 122 modules/cudaimgproc/perf/perf_color.cpp cv::Mat src(size, CV_MAKETYPE(depth, info.scn)); cv 127 modules/cudaimgproc/perf/perf_color.cpp const cv::cuda::GpuMat d_src(src); cv 128 modules/cudaimgproc/perf/perf_color.cpp cv::cuda::GpuMat dst; cv 130 modules/cudaimgproc/perf/perf_color.cpp TEST_CYCLE() cv::cuda::cvtColor(d_src, dst, info.code, info.dcn); cv 136 modules/cudaimgproc/perf/perf_color.cpp cv::Mat dst; cv 138 modules/cudaimgproc/perf/perf_color.cpp TEST_CYCLE() cv::cvtColor(src, dst, info.code, info.dcn); cv 148 modules/cudaimgproc/perf/perf_color.cpp cv::COLOR_BayerBG2BGR, cv::COLOR_BayerGB2BGR, cv::COLOR_BayerRG2BGR, cv::COLOR_BayerGR2BGR, cv 149 modules/cudaimgproc/perf/perf_color.cpp cv::COLOR_BayerBG2GRAY, cv::COLOR_BayerGB2GRAY, cv::COLOR_BayerRG2GRAY, cv::COLOR_BayerGR2GRAY, cv 150 modules/cudaimgproc/perf/perf_color.cpp cv::cuda::COLOR_BayerBG2BGR_MHT, cv::cuda::COLOR_BayerGB2BGR_MHT, cv::cuda::COLOR_BayerRG2BGR_MHT, cv::cuda::COLOR_BayerGR2BGR_MHT, cv 151 modules/cudaimgproc/perf/perf_color.cpp cv::cuda::COLOR_BayerBG2GRAY_MHT, cv::cuda::COLOR_BayerGB2GRAY_MHT, cv::cuda::COLOR_BayerRG2GRAY_MHT, cv::cuda::COLOR_BayerGR2GRAY_MHT) cv 153 modules/cudaimgproc/perf/perf_color.cpp DEF_PARAM_TEST(Sz_Code, cv::Size, DemosaicingCode); cv 159 modules/cudaimgproc/perf/perf_color.cpp const cv::Size size = GET_PARAM(0); cv 162 modules/cudaimgproc/perf/perf_color.cpp cv::Mat src(size, CV_8UC1); cv 167 modules/cudaimgproc/perf/perf_color.cpp const cv::cuda::GpuMat d_src(src); cv 168 modules/cudaimgproc/perf/perf_color.cpp cv::cuda::GpuMat dst; cv 170 modules/cudaimgproc/perf/perf_color.cpp TEST_CYCLE() cv::cuda::demosaicing(d_src, dst, code); cv 176 modules/cudaimgproc/perf/perf_color.cpp if (code >= cv::COLOR_COLORCVT_MAX) cv 182 modules/cudaimgproc/perf/perf_color.cpp cv::Mat dst; cv 184 modules/cudaimgproc/perf/perf_color.cpp TEST_CYCLE() cv::cvtColor(src, dst, code); cv 197 modules/cudaimgproc/perf/perf_color.cpp const cv::Size size = GetParam(); cv 199 modules/cudaimgproc/perf/perf_color.cpp cv::Mat src(size, CV_8UC4); cv 206 modules/cudaimgproc/perf/perf_color.cpp cv::cuda::GpuMat dst(src); cv 208 modules/cudaimgproc/perf/perf_color.cpp TEST_CYCLE() cv::cuda::swapChannels(dst, dstOrder); cv 221 modules/cudaimgproc/perf/perf_color.cpp CV_ENUM(AlphaOp, cv::cuda::ALPHA_OVER, cv::cuda::ALPHA_IN, cv::cuda::ALPHA_OUT, cv::cuda::ALPHA_ATOP, cv::cuda::ALPHA_XOR, cv::cuda::ALPHA_PLUS, cv::cuda::ALPHA_OVER_PREMUL, cv::cuda::ALPHA_IN_PREMUL, cv::cuda::ALPHA_OUT_PREMUL, cv::cuda::ALPHA_ATOP_PREMUL, cv::cuda::ALPHA_XOR_PREMUL, cv::cuda::ALPHA_PLUS_PREMUL, cv::cuda::ALPHA_PREMUL) cv 223 modules/cudaimgproc/perf/perf_color.cpp DEF_PARAM_TEST(Sz_Type_Op, cv::Size, MatType, AlphaOp); cv 230 modules/cudaimgproc/perf/perf_color.cpp const cv::Size size = GET_PARAM(0); cv 234 modules/cudaimgproc/perf/perf_color.cpp cv::Mat img1(size, type); cv 235 modules/cudaimgproc/perf/perf_color.cpp cv::Mat img2(size, type); cv 240 modules/cudaimgproc/perf/perf_color.cpp const cv::cuda::GpuMat d_img1(img1); cv 241 modules/cudaimgproc/perf/perf_color.cpp const cv::cuda::GpuMat d_img2(img2); cv 242 modules/cudaimgproc/perf/perf_color.cpp cv::cuda::GpuMat dst; cv 244 modules/cudaimgproc/perf/perf_color.cpp TEST_CYCLE() cv::cuda::alphaComp(d_img1, d_img2, dst, alpha_op); cv 57 modules/cudaimgproc/perf/perf_corners.cpp Values(BorderMode(cv::BORDER_REFLECT101), BorderMode(cv::BORDER_REPLICATE), BorderMode(cv::BORDER_REFLECT)), cv 67 modules/cudaimgproc/perf/perf_corners.cpp cv::Mat img = readImage(fileName, cv::IMREAD_GRAYSCALE); cv 76 modules/cudaimgproc/perf/perf_corners.cpp const cv::cuda::GpuMat d_img(img); cv 77 modules/cudaimgproc/perf/perf_corners.cpp cv::cuda::GpuMat dst; cv 79 modules/cudaimgproc/perf/perf_corners.cpp cv::Ptr<cv::cuda::CornernessCriteria> harris = cv::cuda::createHarrisCorner(img.type(), blockSize, apertureSize, k, borderMode); cv 87 modules/cudaimgproc/perf/perf_corners.cpp cv::Mat dst; cv 89 modules/cudaimgproc/perf/perf_corners.cpp TEST_CYCLE() cv::cornerHarris(img, dst, blockSize, apertureSize, k, borderMode); cv 101 modules/cudaimgproc/perf/perf_corners.cpp Values(BorderMode(cv::BORDER_REFLECT101), BorderMode(cv::BORDER_REPLICATE), BorderMode(cv::BORDER_REFLECT)), cv 111 modules/cudaimgproc/perf/perf_corners.cpp cv::Mat img = readImage(fileName, cv::IMREAD_GRAYSCALE); cv 118 modules/cudaimgproc/perf/perf_corners.cpp const cv::cuda::GpuMat d_img(img); cv 119 modules/cudaimgproc/perf/perf_corners.cpp cv::cuda::GpuMat dst; cv 121 modules/cudaimgproc/perf/perf_corners.cpp cv::Ptr<cv::cuda::CornernessCriteria> minEigenVal = cv::cuda::createMinEigenValCorner(img.type(), blockSize, apertureSize, borderMode); cv 129 modules/cudaimgproc/perf/perf_corners.cpp cv::Mat dst; cv 131 modules/cudaimgproc/perf/perf_corners.cpp TEST_CYCLE() cv::cornerMinEigenVal(img, dst, blockSize, apertureSize, borderMode); cv 61 modules/cudaimgproc/perf/perf_gftt.cpp const cv::Mat image = readImage(fileName, cv::IMREAD_GRAYSCALE); cv 69 modules/cudaimgproc/perf/perf_gftt.cpp cv::Ptr<cv::cuda::CornersDetector> d_detector = cv::cuda::createGoodFeaturesToTrackDetector(image.type(), maxCorners, qualityLevel, minDistance); cv 71 modules/cudaimgproc/perf/perf_gftt.cpp const cv::cuda::GpuMat d_image(image); cv 72 modules/cudaimgproc/perf/perf_gftt.cpp cv::cuda::GpuMat pts; cv 80 modules/cudaimgproc/perf/perf_gftt.cpp cv::Mat pts; cv 82 modules/cudaimgproc/perf/perf_gftt.cpp TEST_CYCLE() cv::goodFeaturesToTrack(image, pts, maxCorners, qualityLevel, minDistance); cv 56 modules/cudaimgproc/perf/perf_histogram.cpp const cv::Size size = GET_PARAM(0); cv 59 modules/cudaimgproc/perf/perf_histogram.cpp cv::Mat src(size, depth); cv 64 modules/cudaimgproc/perf/perf_histogram.cpp const cv::cuda::GpuMat d_src(src); cv 65 modules/cudaimgproc/perf/perf_histogram.cpp cv::cuda::GpuMat dst; cv 67 modules/cudaimgproc/perf/perf_histogram.cpp TEST_CYCLE() cv::cuda::histEven(d_src, dst, 30, 0, 180); cv 79 modules/cudaimgproc/perf/perf_histogram.cpp cv::Mat dst; cv 81 modules/cudaimgproc/perf/perf_histogram.cpp TEST_CYCLE() cv::calcHist(&src, 1, channels, cv::Mat(), dst, 1, histSize, ranges); cv 94 modules/cudaimgproc/perf/perf_histogram.cpp const cv::Size size = GET_PARAM(0); cv 97 modules/cudaimgproc/perf/perf_histogram.cpp cv::Mat src(size, CV_MAKE_TYPE(depth, 4)); cv 106 modules/cudaimgproc/perf/perf_histogram.cpp const cv::cuda::GpuMat d_src(src); cv 107 modules/cudaimgproc/perf/perf_histogram.cpp cv::cuda::GpuMat d_hist[4]; cv 109 modules/cudaimgproc/perf/perf_histogram.cpp TEST_CYCLE() cv::cuda::histEven(d_src, d_hist, histSize, lowerLevel, upperLevel); cv 111 modules/cudaimgproc/perf/perf_histogram.cpp cv::Mat cpu_hist0, cpu_hist1, cpu_hist2, cpu_hist3; cv 133 modules/cudaimgproc/perf/perf_histogram.cpp const cv::Size size = GetParam(); cv 135 modules/cudaimgproc/perf/perf_histogram.cpp cv::Mat src(size, CV_8UC1); cv 140 modules/cudaimgproc/perf/perf_histogram.cpp const cv::cuda::GpuMat d_src(src); cv 141 modules/cudaimgproc/perf/perf_histogram.cpp cv::cuda::GpuMat dst; cv 143 modules/cudaimgproc/perf/perf_histogram.cpp TEST_CYCLE() cv::cuda::calcHist(d_src, dst); cv 159 modules/cudaimgproc/perf/perf_histogram.cpp const cv::Size size = GetParam(); cv 161 modules/cudaimgproc/perf/perf_histogram.cpp cv::Mat src(size, CV_8UC1); cv 166 modules/cudaimgproc/perf/perf_histogram.cpp const cv::cuda::GpuMat d_src(src); cv 167 modules/cudaimgproc/perf/perf_histogram.cpp cv::cuda::GpuMat dst; cv 169 modules/cudaimgproc/perf/perf_histogram.cpp TEST_CYCLE() cv::cuda::equalizeHist(d_src, dst); cv 175 modules/cudaimgproc/perf/perf_histogram.cpp cv::Mat dst; cv 177 modules/cudaimgproc/perf/perf_histogram.cpp TEST_CYCLE() cv::equalizeHist(src, dst); cv 186 modules/cudaimgproc/perf/perf_histogram.cpp DEF_PARAM_TEST(Sz_ClipLimit, cv::Size, double); cv 192 modules/cudaimgproc/perf/perf_histogram.cpp const cv::Size size = GET_PARAM(0); cv 195 modules/cudaimgproc/perf/perf_histogram.cpp cv::Mat src(size, CV_8UC1); cv 200 modules/cudaimgproc/perf/perf_histogram.cpp cv::Ptr<cv::cuda::CLAHE> clahe = cv::cuda::createCLAHE(clipLimit); cv 201 modules/cudaimgproc/perf/perf_histogram.cpp cv::cuda::GpuMat d_src(src); cv 202 modules/cudaimgproc/perf/perf_histogram.cpp cv::cuda::GpuMat dst; cv 210 modules/cudaimgproc/perf/perf_histogram.cpp cv::Ptr<cv::CLAHE> clahe = cv::createCLAHE(clipLimit); cv 211 modules/cudaimgproc/perf/perf_histogram.cpp cv::Mat dst; cv 56 modules/cudaimgproc/perf/perf_hough.cpp bool operator()(const cv::Vec4i& a, const cv::Vec4i b) const cv 66 modules/cudaimgproc/perf/perf_hough.cpp bool operator()(const cv::Vec3f& a, const cv::Vec3f b) const cv 75 modules/cudaimgproc/perf/perf_hough.cpp bool operator()(const cv::Vec2f& a, const cv::Vec2f b) const cv 88 modules/cudaimgproc/perf/perf_hough.cpp const cv::Size size = GetParam(); cv 94 modules/cudaimgproc/perf/perf_hough.cpp cv::Mat src(size, CV_8UC1, cv::Scalar::all(0)); cv 95 modules/cudaimgproc/perf/perf_hough.cpp cv::line(src, cv::Point(0, 100), cv::Point(src.cols, 100), cv::Scalar::all(255), 1); cv 96 modules/cudaimgproc/perf/perf_hough.cpp cv::line(src, cv::Point(0, 200), cv::Point(src.cols, 200), cv::Scalar::all(255), 1); cv 97 modules/cudaimgproc/perf/perf_hough.cpp cv::line(src, cv::Point(0, 400), cv::Point(src.cols, 400), cv::Scalar::all(255), 1); cv 98 modules/cudaimgproc/perf/perf_hough.cpp cv::line(src, cv::Point(100, 0), cv::Point(100, src.rows), cv::Scalar::all(255), 1); cv 99 modules/cudaimgproc/perf/perf_hough.cpp cv::line(src, cv::Point(200, 0), cv::Point(200, src.rows), cv::Scalar::all(255), 1); cv 100 modules/cudaimgproc/perf/perf_hough.cpp cv::line(src, cv::Point(400, 0), cv::Point(400, src.rows), cv::Scalar::all(255), 1); cv 104 modules/cudaimgproc/perf/perf_hough.cpp const cv::cuda::GpuMat d_src(src); cv 105 modules/cudaimgproc/perf/perf_hough.cpp cv::cuda::GpuMat d_lines; cv 107 modules/cudaimgproc/perf/perf_hough.cpp cv::Ptr<cv::cuda::HoughLinesDetector> hough = cv::cuda::createHoughLinesDetector(rho, theta, threshold); cv 111 modules/cudaimgproc/perf/perf_hough.cpp cv::Mat gpu_lines(d_lines.row(0)); cv 112 modules/cudaimgproc/perf/perf_hough.cpp cv::Vec2f* begin = gpu_lines.ptr<cv::Vec2f>(0); cv 113 modules/cudaimgproc/perf/perf_hough.cpp cv::Vec2f* end = begin + gpu_lines.cols; cv 119 modules/cudaimgproc/perf/perf_hough.cpp std::vector<cv::Vec2f> cpu_lines; cv 121 modules/cudaimgproc/perf/perf_hough.cpp TEST_CYCLE() cv::HoughLines(src, cpu_lines, rho, theta, threshold); cv 145 modules/cudaimgproc/perf/perf_hough.cpp const cv::Mat image = cv::imread(fileName, cv::IMREAD_GRAYSCALE); cv 148 modules/cudaimgproc/perf/perf_hough.cpp cv::Mat mask; cv 149 modules/cudaimgproc/perf/perf_hough.cpp cv::Canny(image, mask, 50, 100); cv 153 modules/cudaimgproc/perf/perf_hough.cpp const cv::cuda::GpuMat d_mask(mask); cv 154 modules/cudaimgproc/perf/perf_hough.cpp cv::cuda::GpuMat d_lines; cv 156 modules/cudaimgproc/perf/perf_hough.cpp cv::Ptr<cv::cuda::HoughSegmentDetector> hough = cv::cuda::createHoughSegmentDetector(rho, theta, minLineLength, maxLineGap); cv 160 modules/cudaimgproc/perf/perf_hough.cpp cv::Mat gpu_lines(d_lines); cv 161 modules/cudaimgproc/perf/perf_hough.cpp cv::Vec4i* begin = gpu_lines.ptr<cv::Vec4i>(); cv 162 modules/cudaimgproc/perf/perf_hough.cpp cv::Vec4i* end = begin + gpu_lines.cols; cv 168 modules/cudaimgproc/perf/perf_hough.cpp std::vector<cv::Vec4i> cpu_lines; cv 170 modules/cudaimgproc/perf/perf_hough.cpp TEST_CYCLE() cv::HoughLinesP(mask, cpu_lines, rho, theta, threshold, minLineLength, maxLineGap); cv 179 modules/cudaimgproc/perf/perf_hough.cpp DEF_PARAM_TEST(Sz_Dp_MinDist, cv::Size, float, float); cv 188 modules/cudaimgproc/perf/perf_hough.cpp const cv::Size size = GET_PARAM(0); cv 197 modules/cudaimgproc/perf/perf_hough.cpp cv::Mat src(size, CV_8UC1, cv::Scalar::all(0)); cv 198 modules/cudaimgproc/perf/perf_hough.cpp cv::circle(src, cv::Point(100, 100), 20, cv::Scalar::all(255), -1); cv 199 modules/cudaimgproc/perf/perf_hough.cpp cv::circle(src, cv::Point(200, 200), 25, cv::Scalar::all(255), -1); cv 200 modules/cudaimgproc/perf/perf_hough.cpp cv::circle(src, cv::Point(200, 100), 25, cv::Scalar::all(255), -1); cv 204 modules/cudaimgproc/perf/perf_hough.cpp const cv::cuda::GpuMat d_src(src); cv 205 modules/cudaimgproc/perf/perf_hough.cpp cv::cuda::GpuMat d_circles; cv 207 modules/cudaimgproc/perf/perf_hough.cpp cv::Ptr<cv::cuda::HoughCirclesDetector> houghCircles = cv::cuda::createHoughCirclesDetector(dp, minDist, cannyThreshold, votesThreshold, minRadius, maxRadius); cv 211 modules/cudaimgproc/perf/perf_hough.cpp cv::Mat gpu_circles(d_circles); cv 212 modules/cudaimgproc/perf/perf_hough.cpp cv::Vec3f* begin = gpu_circles.ptr<cv::Vec3f>(0); cv 213 modules/cudaimgproc/perf/perf_hough.cpp cv::Vec3f* end = begin + gpu_circles.cols; cv 219 modules/cudaimgproc/perf/perf_hough.cpp std::vector<cv::Vec3f> cpu_circles; cv 221 modules/cudaimgproc/perf/perf_hough.cpp TEST_CYCLE() cv::HoughCircles(src, cpu_circles, cv::HOUGH_GRADIENT, dp, minDist, cannyThreshold, votesThreshold, minRadius, maxRadius); cv 234 modules/cudaimgproc/perf/perf_hough.cpp const cv::Size imageSize = GetParam(); cv 236 modules/cudaimgproc/perf/perf_hough.cpp const cv::Mat templ = readImage("cv/shared/templ.png", cv::IMREAD_GRAYSCALE); cv 239 modules/cudaimgproc/perf/perf_hough.cpp cv::Mat image(imageSize, CV_8UC1, cv::Scalar::all(0)); cv 240 modules/cudaimgproc/perf/perf_hough.cpp templ.copyTo(image(cv::Rect(50, 50, templ.cols, templ.rows))); cv 242 modules/cudaimgproc/perf/perf_hough.cpp cv::Mat edges; cv 243 modules/cudaimgproc/perf/perf_hough.cpp cv::Canny(image, edges, 50, 100); cv 245 modules/cudaimgproc/perf/perf_hough.cpp cv::Mat dx, dy; cv 246 modules/cudaimgproc/perf/perf_hough.cpp cv::Sobel(image, dx, CV_32F, 1, 0); cv 247 modules/cudaimgproc/perf/perf_hough.cpp cv::Sobel(image, dy, CV_32F, 0, 1); cv 251 modules/cudaimgproc/perf/perf_hough.cpp cv::Ptr<cv::GeneralizedHoughBallard> alg = cv::cuda::createGeneralizedHoughBallard(); cv 253 modules/cudaimgproc/perf/perf_hough.cpp const cv::cuda::GpuMat d_edges(edges); cv 254 modules/cudaimgproc/perf/perf_hough.cpp const cv::cuda::GpuMat d_dx(dx); cv 255 modules/cudaimgproc/perf/perf_hough.cpp const cv::cuda::GpuMat d_dy(dy); cv 256 modules/cudaimgproc/perf/perf_hough.cpp cv::cuda::GpuMat positions; cv 258 modules/cudaimgproc/perf/perf_hough.cpp alg->setTemplate(cv::cuda::GpuMat(templ)); cv 266 modules/cudaimgproc/perf/perf_hough.cpp cv::Ptr<cv::GeneralizedHoughBallard> alg = cv::createGeneralizedHoughBallard(); cv 268 modules/cudaimgproc/perf/perf_hough.cpp cv::Mat positions; cv 282 modules/cudaimgproc/perf/perf_hough.cpp const cv::Size imageSize = GetParam(); cv 284 modules/cudaimgproc/perf/perf_hough.cpp const cv::Mat templ = readImage("cv/shared/templ.png", cv::IMREAD_GRAYSCALE); cv 287 modules/cudaimgproc/perf/perf_hough.cpp cv::Mat image(imageSize, CV_8UC1, cv::Scalar::all(0)); cv 288 modules/cudaimgproc/perf/perf_hough.cpp templ.copyTo(image(cv::Rect(50, 50, templ.cols, templ.rows))); cv 290 modules/cudaimgproc/perf/perf_hough.cpp cv::RNG rng(123456789); cv 297 modules/cudaimgproc/perf/perf_hough.cpp cv::Mat obj; cv 298 modules/cudaimgproc/perf/perf_hough.cpp cv::resize(templ, obj, cv::Size(), scale, scale); cv 302 modules/cudaimgproc/perf/perf_hough.cpp cv::Point pos; cv 307 modules/cudaimgproc/perf/perf_hough.cpp cv::Mat roi = image(cv::Rect(pos, obj.size())); cv 308 modules/cudaimgproc/perf/perf_hough.cpp cv::add(roi, obj, roi); cv 311 modules/cudaimgproc/perf/perf_hough.cpp cv::Mat edges; cv 312 modules/cudaimgproc/perf/perf_hough.cpp cv::Canny(image, edges, 50, 100); cv 314 modules/cudaimgproc/perf/perf_hough.cpp cv::Mat dx, dy; cv 315 modules/cudaimgproc/perf/perf_hough.cpp cv::Sobel(image, dx, CV_32F, 1, 0); cv 316 modules/cudaimgproc/perf/perf_hough.cpp cv::Sobel(image, dy, CV_32F, 0, 1); cv 320 modules/cudaimgproc/perf/perf_hough.cpp cv::Ptr<cv::GeneralizedHoughGuil> alg = cv::cuda::createGeneralizedHoughGuil(); cv 324 modules/cudaimgproc/perf/perf_hough.cpp const cv::cuda::GpuMat d_edges(edges); cv 325 modules/cudaimgproc/perf/perf_hough.cpp const cv::cuda::GpuMat d_dx(dx); cv 326 modules/cudaimgproc/perf/perf_hough.cpp const cv::cuda::GpuMat d_dy(dy); cv 327 modules/cudaimgproc/perf/perf_hough.cpp cv::cuda::GpuMat positions; cv 329 modules/cudaimgproc/perf/perf_hough.cpp alg->setTemplate(cv::cuda::GpuMat(templ)); cv 335 modules/cudaimgproc/perf/perf_hough.cpp cv::Ptr<cv::GeneralizedHoughGuil> alg = cv::createGeneralizedHoughGuil(); cv 339 modules/cudaimgproc/perf/perf_hough.cpp cv::Mat positions; cv 54 modules/cudaimgproc/perf/perf_match_template.cpp DEF_PARAM_TEST(Sz_TemplateSz_Cn_Method, cv::Size, cv::Size, MatCn, TemplateMethod); cv 58 modules/cudaimgproc/perf/perf_match_template.cpp Values(cv::Size(5, 5), cv::Size(16, 16), cv::Size(30, 30)), cv 64 modules/cudaimgproc/perf/perf_match_template.cpp const cv::Size size = GET_PARAM(0); cv 65 modules/cudaimgproc/perf/perf_match_template.cpp const cv::Size templ_size = GET_PARAM(1); cv 69 modules/cudaimgproc/perf/perf_match_template.cpp cv::Mat image(size, CV_MAKE_TYPE(CV_8U, cn)); cv 70 modules/cudaimgproc/perf/perf_match_template.cpp cv::Mat templ(templ_size, CV_MAKE_TYPE(CV_8U, cn)); cv 75 modules/cudaimgproc/perf/perf_match_template.cpp const cv::cuda::GpuMat d_image(image); cv 76 modules/cudaimgproc/perf/perf_match_template.cpp const cv::cuda::GpuMat d_templ(templ); cv 77 modules/cudaimgproc/perf/perf_match_template.cpp cv::cuda::GpuMat dst; cv 79 modules/cudaimgproc/perf/perf_match_template.cpp cv::Ptr<cv::cuda::TemplateMatching> alg = cv::cuda::createTemplateMatching(image.type(), method); cv 87 modules/cudaimgproc/perf/perf_match_template.cpp cv::Mat dst; cv 89 modules/cudaimgproc/perf/perf_match_template.cpp TEST_CYCLE() cv::matchTemplate(image, templ, dst, method); cv 100 modules/cudaimgproc/perf/perf_match_template.cpp Values(cv::Size(5, 5), cv::Size(16, 16), cv::Size(30, 30)), cv 102 modules/cudaimgproc/perf/perf_match_template.cpp Values(TemplateMethod(cv::TM_SQDIFF), TemplateMethod(cv::TM_CCORR)))) cv 106 modules/cudaimgproc/perf/perf_match_template.cpp const cv::Size size = GET_PARAM(0); cv 107 modules/cudaimgproc/perf/perf_match_template.cpp const cv::Size templ_size = GET_PARAM(1); cv 111 modules/cudaimgproc/perf/perf_match_template.cpp cv::Mat image(size, CV_MAKE_TYPE(CV_32F, cn)); cv 112 modules/cudaimgproc/perf/perf_match_template.cpp cv::Mat templ(templ_size, CV_MAKE_TYPE(CV_32F, cn)); cv 117 modules/cudaimgproc/perf/perf_match_template.cpp const cv::cuda::GpuMat d_image(image); cv 118 modules/cudaimgproc/perf/perf_match_template.cpp const cv::cuda::GpuMat d_templ(templ); cv 119 modules/cudaimgproc/perf/perf_match_template.cpp cv::cuda::GpuMat dst; cv 121 modules/cudaimgproc/perf/perf_match_template.cpp cv::Ptr<cv::cuda::TemplateMatching> alg = cv::cuda::createTemplateMatching(image.type(), method); cv 129 modules/cudaimgproc/perf/perf_match_template.cpp cv::Mat dst; cv 131 modules/cudaimgproc/perf/perf_match_template.cpp TEST_CYCLE() cv::matchTemplate(image, templ, dst, method); cv 59 modules/cudaimgproc/perf/perf_mean_shift.cpp const cv::Mat img = readImage(GetParam()); cv 62 modules/cudaimgproc/perf/perf_mean_shift.cpp cv::Mat rgba; cv 63 modules/cudaimgproc/perf/perf_mean_shift.cpp cv::cvtColor(img, rgba, cv::COLOR_BGR2BGRA); cv 70 modules/cudaimgproc/perf/perf_mean_shift.cpp const cv::cuda::GpuMat d_src(rgba); cv 71 modules/cudaimgproc/perf/perf_mean_shift.cpp cv::cuda::GpuMat dst; cv 73 modules/cudaimgproc/perf/perf_mean_shift.cpp TEST_CYCLE() cv::cuda::meanShiftFiltering(d_src, dst, sp, sr); cv 79 modules/cudaimgproc/perf/perf_mean_shift.cpp cv::Mat dst; cv 81 modules/cudaimgproc/perf/perf_mean_shift.cpp TEST_CYCLE() cv::pyrMeanShiftFiltering(img, dst, sp, sr); cv 95 modules/cudaimgproc/perf/perf_mean_shift.cpp const cv::Mat img = readImage(GetParam()); cv 98 modules/cudaimgproc/perf/perf_mean_shift.cpp cv::Mat rgba; cv 99 modules/cudaimgproc/perf/perf_mean_shift.cpp cv::cvtColor(img, rgba, cv::COLOR_BGR2BGRA); cv 106 modules/cudaimgproc/perf/perf_mean_shift.cpp const cv::cuda::GpuMat d_src(rgba); cv 107 modules/cudaimgproc/perf/perf_mean_shift.cpp cv::cuda::GpuMat dstr; cv 108 modules/cudaimgproc/perf/perf_mean_shift.cpp cv::cuda::GpuMat dstsp; cv 110 modules/cudaimgproc/perf/perf_mean_shift.cpp TEST_CYCLE() cv::cuda::meanShiftProc(d_src, dstr, dstsp, sp, sr); cv 129 modules/cudaimgproc/perf/perf_mean_shift.cpp const cv::Mat img = readImage(GetParam()); cv 132 modules/cudaimgproc/perf/perf_mean_shift.cpp cv::Mat rgba; cv 133 modules/cudaimgproc/perf/perf_mean_shift.cpp cv::cvtColor(img, rgba, cv::COLOR_BGR2BGRA); cv 141 modules/cudaimgproc/perf/perf_mean_shift.cpp const cv::cuda::GpuMat d_src(rgba); cv 142 modules/cudaimgproc/perf/perf_mean_shift.cpp cv::Mat dst; cv 144 modules/cudaimgproc/perf/perf_mean_shift.cpp TEST_CYCLE() cv::cuda::meanShiftSegmentation(d_src, dst, sp, sr, minsize); cv 45 modules/cudaimgproc/src/bilateral_filter.cpp using namespace cv; cv 46 modules/cudaimgproc/src/bilateral_filter.cpp using namespace cv::cuda; cv 50 modules/cudaimgproc/src/bilateral_filter.cpp void cv::cuda::bilateralFilter(InputArray, OutputArray, int, float, float, int, Stream&) { throw_no_cuda(); } cv 63 modules/cudaimgproc/src/bilateral_filter.cpp void cv::cuda::bilateralFilter(InputArray _src, OutputArray _dst, int kernel_size, float sigma_color, float sigma_spatial, int borderMode, Stream& stream) cv 65 modules/cudaimgproc/src/bilateral_filter.cpp using cv::cuda::device::imgproc::bilateral_filter_gpu; cv 45 modules/cudaimgproc/src/blend.cpp using namespace cv; cv 46 modules/cudaimgproc/src/blend.cpp using namespace cv::cuda; cv 50 modules/cudaimgproc/src/blend.cpp void cv::cuda::blendLinear(InputArray, InputArray, InputArray, InputArray, OutputArray, Stream&) { throw_no_cuda(); } cv 68 modules/cudaimgproc/src/blend.cpp using namespace ::cv::cuda::device::blend; cv 70 modules/cudaimgproc/src/blend.cpp void cv::cuda::blendLinear(InputArray _img1, InputArray _img2, InputArray _weights1, InputArray _weights2, cv 105 modules/cudaimgproc/src/blend.cpp CV_Error(cv::Error::StsUnsupportedFormat, "bad image depth in linear blending function"); cv 45 modules/cudaimgproc/src/canny.cpp using namespace cv; cv 46 modules/cudaimgproc/src/canny.cpp using namespace cv::cuda; cv 50 modules/cudaimgproc/src/canny.cpp Ptr<CannyEdgeDetector> cv::cuda::createCannyEdgeDetector(double, double, int, bool) { throw_no_cuda(); return Ptr<CannyEdgeDetector>(); } cv 231 modules/cudaimgproc/src/canny.cpp Ptr<CannyEdgeDetector> cv::cuda::createCannyEdgeDetector(double low_thresh, double high_thresh, int apperture_size, bool L2gradient) cv 45 modules/cudaimgproc/src/color.cpp using namespace cv; cv 46 modules/cudaimgproc/src/color.cpp using namespace cv::cuda; cv 50 modules/cudaimgproc/src/color.cpp void cv::cuda::cvtColor(InputArray, OutputArray, int, int, Stream&) { throw_no_cuda(); } cv 52 modules/cudaimgproc/src/color.cpp void cv::cuda::demosaicing(InputArray, OutputArray, int, int, Stream&) { throw_no_cuda(); } cv 54 modules/cudaimgproc/src/color.cpp void cv::cuda::swapChannels(InputOutputArray, const int[], Stream&) { throw_no_cuda(); } cv 56 modules/cudaimgproc/src/color.cpp void cv::cuda::gammaCorrection(InputArray, OutputArray, bool, Stream&) { throw_no_cuda(); } cv 58 modules/cudaimgproc/src/color.cpp void cv::cuda::alphaComp(InputArray, InputArray, OutputArray, int, Stream&) { throw_no_cuda(); } cv 78 modules/cudaimgproc/src/color.cpp using namespace ::cv::cuda::device; cv 86 modules/cudaimgproc/src/color.cpp using namespace cv::cuda::device; cv 102 modules/cudaimgproc/src/color.cpp using namespace cv::cuda::device; cv 118 modules/cudaimgproc/src/color.cpp using namespace cv::cuda::device; cv 134 modules/cudaimgproc/src/color.cpp using namespace cv::cuda::device; cv 150 modules/cudaimgproc/src/color.cpp using namespace cv::cuda::device; cv 166 modules/cudaimgproc/src/color.cpp using namespace cv::cuda::device; cv 190 modules/cudaimgproc/src/color.cpp cv::cuda::device::BGR_to_BGR555(src, dst, stream); cv 203 modules/cudaimgproc/src/color.cpp cv::cuda::device::BGR_to_BGR565(src, dst, stream); cv 216 modules/cudaimgproc/src/color.cpp cv::cuda::device::RGB_to_BGR555(src, dst, stream); cv 229 modules/cudaimgproc/src/color.cpp cv::cuda::device::RGB_to_BGR565(src, dst, stream); cv 242 modules/cudaimgproc/src/color.cpp cv::cuda::device::BGRA_to_BGR555(src, dst, stream); cv 255 modules/cudaimgproc/src/color.cpp cv::cuda::device::BGRA_to_BGR565(src, dst, stream); cv 268 modules/cudaimgproc/src/color.cpp cv::cuda::device::RGBA_to_BGR555(src, dst, stream); cv 281 modules/cudaimgproc/src/color.cpp cv::cuda::device::RGBA_to_BGR565(src, dst, stream); cv 294 modules/cudaimgproc/src/color.cpp cv::cuda::device::BGR555_to_RGB(src, dst, stream); cv 307 modules/cudaimgproc/src/color.cpp cv::cuda::device::BGR565_to_RGB(src, dst, stream); cv 320 modules/cudaimgproc/src/color.cpp cv::cuda::device::BGR555_to_BGR(src, dst, stream); cv 333 modules/cudaimgproc/src/color.cpp cv::cuda::device::BGR565_to_BGR(src, dst, stream); cv 346 modules/cudaimgproc/src/color.cpp cv::cuda::device::BGR555_to_RGBA(src, dst, stream); cv 359 modules/cudaimgproc/src/color.cpp cv::cuda::device::BGR565_to_RGBA(src, dst, stream); cv 372 modules/cudaimgproc/src/color.cpp cv::cuda::device::BGR555_to_BGRA(src, dst, stream); cv 385 modules/cudaimgproc/src/color.cpp cv::cuda::device::BGR565_to_BGRA(src, dst, stream); cv 390 modules/cudaimgproc/src/color.cpp using namespace cv::cuda::device; cv 406 modules/cudaimgproc/src/color.cpp using namespace cv::cuda::device; cv 430 modules/cudaimgproc/src/color.cpp cv::cuda::device::GRAY_to_BGR555(src, dst, stream); cv 443 modules/cudaimgproc/src/color.cpp cv::cuda::device::GRAY_to_BGR565(src, dst, stream); cv 456 modules/cudaimgproc/src/color.cpp cv::cuda::device::BGR555_to_GRAY(src, dst, stream); cv 469 modules/cudaimgproc/src/color.cpp cv::cuda::device::BGR565_to_GRAY(src, dst, stream); cv 474 modules/cudaimgproc/src/color.cpp using namespace cv::cuda::device; cv 490 modules/cudaimgproc/src/color.cpp using namespace cv::cuda::device; cv 506 modules/cudaimgproc/src/color.cpp using namespace cv::cuda::device; cv 522 modules/cudaimgproc/src/color.cpp using namespace cv::cuda::device; cv 538 modules/cudaimgproc/src/color.cpp using namespace cv::cuda::device; cv 567 modules/cudaimgproc/src/color.cpp using namespace cv::cuda::device; cv 596 modules/cudaimgproc/src/color.cpp using namespace cv::cuda::device; cv 625 modules/cudaimgproc/src/color.cpp using namespace cv::cuda::device; cv 654 modules/cudaimgproc/src/color.cpp using namespace cv::cuda::device; cv 683 modules/cudaimgproc/src/color.cpp using namespace cv::cuda::device; cv 712 modules/cudaimgproc/src/color.cpp using namespace cv::cuda::device; cv 741 modules/cudaimgproc/src/color.cpp using namespace cv::cuda::device; cv 770 modules/cudaimgproc/src/color.cpp using namespace cv::cuda::device; cv 799 modules/cudaimgproc/src/color.cpp using namespace cv::cuda::device; cv 828 modules/cudaimgproc/src/color.cpp using namespace cv::cuda::device; cv 857 modules/cudaimgproc/src/color.cpp using namespace cv::cuda::device; cv 886 modules/cudaimgproc/src/color.cpp using namespace cv::cuda::device; cv 915 modules/cudaimgproc/src/color.cpp using namespace cv::cuda::device; cv 944 modules/cudaimgproc/src/color.cpp using namespace cv::cuda::device; cv 973 modules/cudaimgproc/src/color.cpp using namespace cv::cuda::device; cv 1002 modules/cudaimgproc/src/color.cpp using namespace cv::cuda::device; cv 1031 modules/cudaimgproc/src/color.cpp using namespace cv::cuda::device; cv 1060 modules/cudaimgproc/src/color.cpp using namespace cv::cuda::device; cv 1089 modules/cudaimgproc/src/color.cpp using namespace cv::cuda::device; cv 1118 modules/cudaimgproc/src/color.cpp using namespace cv::cuda::device; cv 1147 modules/cudaimgproc/src/color.cpp using namespace cv::cuda::device; cv 1176 modules/cudaimgproc/src/color.cpp using namespace cv::cuda::device; cv 1205 modules/cudaimgproc/src/color.cpp using namespace cv::cuda::device; cv 1234 modules/cudaimgproc/src/color.cpp using namespace cv::cuda::device; cv 1263 modules/cudaimgproc/src/color.cpp using namespace cv::cuda::device; cv 1292 modules/cudaimgproc/src/color.cpp using namespace cv::cuda::device; cv 1321 modules/cudaimgproc/src/color.cpp using namespace cv::cuda::device; cv 1350 modules/cudaimgproc/src/color.cpp using namespace cv::cuda::device; cv 1379 modules/cudaimgproc/src/color.cpp using namespace cv::cuda::device; cv 1408 modules/cudaimgproc/src/color.cpp using namespace cv::cuda::device; cv 1437 modules/cudaimgproc/src/color.cpp using namespace cv::cuda::device; cv 1466 modules/cudaimgproc/src/color.cpp using namespace cv::cuda::device; cv 1495 modules/cudaimgproc/src/color.cpp using namespace cv::cuda::device; cv 1524 modules/cudaimgproc/src/color.cpp using namespace cv::cuda::device; cv 1553 modules/cudaimgproc/src/color.cpp using namespace cv::cuda::device; cv 1582 modules/cudaimgproc/src/color.cpp using namespace cv::cuda::device; cv 1611 modules/cudaimgproc/src/color.cpp using namespace cv::cuda::device; cv 1640 modules/cudaimgproc/src/color.cpp using namespace cv::cuda::device; cv 1669 modules/cudaimgproc/src/color.cpp using namespace cv::cuda::device; cv 1698 modules/cudaimgproc/src/color.cpp using namespace cv::cuda::device; cv 1727 modules/cudaimgproc/src/color.cpp using namespace cv::cuda::device; cv 1756 modules/cudaimgproc/src/color.cpp using namespace cv::cuda::device; cv 1785 modules/cudaimgproc/src/color.cpp using namespace cv::cuda::device; cv 1925 modules/cudaimgproc/src/color.cpp void cv::cuda::cvtColor(InputArray src, OutputArray dst, int code, int dcn, Stream& stream) cv 2111 modules/cudaimgproc/src/color.cpp void cv::cuda::demosaicing(InputArray _src, OutputArray _dst, int code, int dcn, Stream& stream) cv 2117 modules/cudaimgproc/src/color.cpp case cv::COLOR_BayerBG2GRAY: case cv::COLOR_BayerGB2GRAY: case cv::COLOR_BayerRG2GRAY: case cv::COLOR_BayerGR2GRAY: cv 2118 modules/cudaimgproc/src/color.cpp bayer_to_gray(_src, _dst, code == cv::COLOR_BayerBG2GRAY || code == cv::COLOR_BayerGB2GRAY, code == cv::COLOR_BayerGB2GRAY || code == cv::COLOR_BayerGR2GRAY, stream); cv 2121 modules/cudaimgproc/src/color.cpp case cv::COLOR_BayerBG2BGR: case cv::COLOR_BayerGB2BGR: case cv::COLOR_BayerRG2BGR: case cv::COLOR_BayerGR2BGR: cv 2122 modules/cudaimgproc/src/color.cpp bayer_to_BGR(_src, _dst, dcn, code == cv::COLOR_BayerBG2BGR || code == cv::COLOR_BayerGB2BGR, code == cv::COLOR_BayerGB2BGR || code == cv::COLOR_BayerGR2BGR, stream); cv 2150 modules/cudaimgproc/src/color.cpp cv::cuda::device::MHCdemosaic<3>(srcWhole, make_int2(ofs.x, ofs.y), dst, firstRed, StreamAccessor::getStream(stream)); cv 2152 modules/cudaimgproc/src/color.cpp cv::cuda::device::MHCdemosaic<4>(srcWhole, make_int2(ofs.x, ofs.y), dst, firstRed, StreamAccessor::getStream(stream)); cv 2177 modules/cudaimgproc/src/color.cpp cv::cuda::device::MHCdemosaic<1>(srcWhole, make_int2(ofs.x, ofs.y), dst, firstRed, StreamAccessor::getStream(stream)); cv 2190 modules/cudaimgproc/src/color.cpp void cv::cuda::swapChannels(InputOutputArray _image, const int dstOrder[4], Stream& _stream) cv 2212 modules/cudaimgproc/src/color.cpp void cv::cuda::gammaCorrection(InputArray _src, OutputArray _dst, bool forward, Stream& stream) cv 2289 modules/cudaimgproc/src/color.cpp void cv::cuda::alphaComp(InputArray _img1, InputArray _img2, OutputArray _dst, int alpha_op, Stream& stream) cv 45 modules/cudaimgproc/src/corners.cpp using namespace cv; cv 46 modules/cudaimgproc/src/corners.cpp using namespace cv::cuda; cv 50 modules/cudaimgproc/src/corners.cpp Ptr<cuda::CornernessCriteria> cv::cuda::createHarrisCorner(int, int, int, double, int) { throw_no_cuda(); return Ptr<cuda::CornernessCriteria>(); } cv 51 modules/cudaimgproc/src/corners.cpp Ptr<cuda::CornernessCriteria> cv::cuda::createMinEigenValCorner(int, int, int, int) { throw_no_cuda(); return Ptr<cuda::CornernessCriteria>(); } cv 138 modules/cudaimgproc/src/corners.cpp using namespace cv::cuda::device::imgproc; cv 166 modules/cudaimgproc/src/corners.cpp using namespace cv::cuda::device::imgproc; cv 179 modules/cudaimgproc/src/corners.cpp Ptr<cuda::CornernessCriteria> cv::cuda::createHarrisCorner(int srcType, int blockSize, int ksize, double k, int borderType) cv 184 modules/cudaimgproc/src/corners.cpp Ptr<cuda::CornernessCriteria> cv::cuda::createMinEigenValCorner(int srcType, int blockSize, int ksize, int borderType) cv 48 modules/cudaimgproc/src/cvt_color_internal.h namespace cv { namespace cuda { namespace device cv 45 modules/cudaimgproc/src/generalized_hough.cpp using namespace cv; cv 46 modules/cudaimgproc/src/generalized_hough.cpp using namespace cv::cuda; cv 50 modules/cudaimgproc/src/generalized_hough.cpp Ptr<GeneralizedHoughBallard> cv::cuda::createGeneralizedHoughBallard() { throw_no_cuda(); return Ptr<GeneralizedHoughBallard>(); } cv 52 modules/cudaimgproc/src/generalized_hough.cpp Ptr<GeneralizedHoughGuil> cv::cuda::createGeneralizedHoughGuil() { throw_no_cuda(); return Ptr<GeneralizedHoughGuil>(); } cv 302 modules/cudaimgproc/src/generalized_hough.cpp using namespace cv::cuda::device::ght; cv 497 modules/cudaimgproc/src/generalized_hough.cpp using namespace cv::cuda::device::ght; cv 523 modules/cudaimgproc/src/generalized_hough.cpp using namespace cv::cuda::device::ght; cv 546 modules/cudaimgproc/src/generalized_hough.cpp using namespace cv::cuda::device::ght; cv 556 modules/cudaimgproc/src/generalized_hough.cpp Ptr<GeneralizedHoughBallard> cv::cuda::createGeneralizedHoughBallard() cv 732 modules/cudaimgproc/src/generalized_hough.cpp using namespace cv::cuda::device::ght; cv 745 modules/cudaimgproc/src/generalized_hough.cpp using namespace cv::cuda::device::ght; cv 841 modules/cudaimgproc/src/generalized_hough.cpp using namespace cv::cuda::device::ght; cv 865 modules/cudaimgproc/src/generalized_hough.cpp using namespace cv::cuda::device::ght; cv 890 modules/cudaimgproc/src/generalized_hough.cpp using namespace cv::cuda::device::ght; cv 902 modules/cudaimgproc/src/generalized_hough.cpp Ptr<GeneralizedHoughGuil> cv::cuda::createGeneralizedHoughGuil() cv 45 modules/cudaimgproc/src/gftt.cpp using namespace cv; cv 46 modules/cudaimgproc/src/gftt.cpp using namespace cv::cuda; cv 50 modules/cudaimgproc/src/gftt.cpp Ptr<cuda::CornersDetector> cv::cuda::createGoodFeaturesToTrackDetector(int, int, double, double, int, bool, double) { throw_no_cuda(); return Ptr<cuda::CornersDetector>(); } cv 103 modules/cudaimgproc/src/gftt.cpp using namespace cv::cuda::device::gfft; cv 211 modules/cudaimgproc/src/gftt.cpp Ptr<cuda::CornersDetector> cv::cuda::createGoodFeaturesToTrackDetector(int srcType, int maxCorners, double qualityLevel, double minDistance, cv 45 modules/cudaimgproc/src/histogram.cpp using namespace cv; cv 46 modules/cudaimgproc/src/histogram.cpp using namespace cv::cuda; cv 50 modules/cudaimgproc/src/histogram.cpp void cv::cuda::calcHist(InputArray, OutputArray, Stream&) { throw_no_cuda(); } cv 52 modules/cudaimgproc/src/histogram.cpp void cv::cuda::equalizeHist(InputArray, OutputArray, Stream&) { throw_no_cuda(); } cv 54 modules/cudaimgproc/src/histogram.cpp cv::Ptr<cv::cuda::CLAHE> cv::cuda::createCLAHE(double, cv::Size) { throw_no_cuda(); return cv::Ptr<cv::cuda::CLAHE>(); } cv 56 modules/cudaimgproc/src/histogram.cpp void cv::cuda::evenLevels(OutputArray, int, int, int, Stream&) { throw_no_cuda(); } cv 58 modules/cudaimgproc/src/histogram.cpp void cv::cuda::histEven(InputArray, OutputArray, InputOutputArray, int, int, int, Stream&) { throw_no_cuda(); } cv 59 modules/cudaimgproc/src/histogram.cpp void cv::cuda::histEven(InputArray, GpuMat*, InputOutputArray, int*, int*, int*, Stream&) { throw_no_cuda(); } cv 61 modules/cudaimgproc/src/histogram.cpp void cv::cuda::histRange(InputArray, OutputArray, InputArray, InputOutputArray, Stream&) { throw_no_cuda(); } cv 62 modules/cudaimgproc/src/histogram.cpp void cv::cuda::histRange(InputArray, GpuMat*, const GpuMat*, InputOutputArray, Stream&) { throw_no_cuda(); } cv 74 modules/cudaimgproc/src/histogram.cpp void cv::cuda::calcHist(InputArray _src, OutputArray _hist, Stream& stream) cv 96 modules/cudaimgproc/src/histogram.cpp void cv::cuda::equalizeHist(InputArray _src, OutputArray _dst, Stream& _stream) cv 138 modules/cudaimgproc/src/histogram.cpp class CLAHE_Impl : public cv::cuda::CLAHE cv 143 modules/cudaimgproc/src/histogram.cpp void apply(cv::InputArray src, cv::OutputArray dst); cv 149 modules/cudaimgproc/src/histogram.cpp void setTilesGridSize(cv::Size tileGridSize); cv 150 modules/cudaimgproc/src/histogram.cpp cv::Size getTilesGridSize() const; cv 168 modules/cudaimgproc/src/histogram.cpp void CLAHE_Impl::apply(cv::InputArray _src, cv::OutputArray _dst) cv 188 modules/cudaimgproc/src/histogram.cpp cv::Size tileSize; cv 193 modules/cudaimgproc/src/histogram.cpp tileSize = cv::Size(src.cols / tilesX_, src.rows / tilesY_); cv 201 modules/cudaimgproc/src/histogram.cpp cv::cuda::copyMakeBorder(src, srcExt_, 0, tilesY_ - (src.rows % tilesY_), 0, tilesX_ - (src.cols % tilesX_), cv::BORDER_REFLECT_101, cv::Scalar(), s); cv 204 modules/cudaimgproc/src/histogram.cpp tileSize = cv::Size(srcExt_.cols / tilesX_, srcExt_.rows / tilesY_); cv 233 modules/cudaimgproc/src/histogram.cpp void CLAHE_Impl::setTilesGridSize(cv::Size tileGridSize) cv 239 modules/cudaimgproc/src/histogram.cpp cv::Size CLAHE_Impl::getTilesGridSize() const cv 241 modules/cudaimgproc/src/histogram.cpp return cv::Size(tilesX_, tilesY_); cv 251 modules/cudaimgproc/src/histogram.cpp cv::Ptr<cv::cuda::CLAHE> cv::cuda::createCLAHE(double clipLimit, cv::Size tileGridSize) cv 456 modules/cudaimgproc/src/histogram.cpp void cv::cuda::evenLevels(OutputArray _levels, int nLevels, int lowerLevel, int upperLevel, Stream& stream) cv 489 modules/cudaimgproc/src/histogram.cpp void cv::cuda::histEven(InputArray _src, OutputArray hist, int histSize, int lowerLevel, int upperLevel, Stream& stream) cv 513 modules/cudaimgproc/src/histogram.cpp void cv::cuda::histEven(InputArray _src, GpuMat hist[4], int histSize[4], int lowerLevel[4], int upperLevel[4], Stream& stream) cv 531 modules/cudaimgproc/src/histogram.cpp void cv::cuda::histRange(InputArray _src, OutputArray hist, InputArray _levels, Stream& stream) cv 552 modules/cudaimgproc/src/histogram.cpp void cv::cuda::histRange(InputArray _src, GpuMat hist[4], const GpuMat levels[4], Stream& stream) cv 45 modules/cudaimgproc/src/hough_circles.cpp using namespace cv; cv 46 modules/cudaimgproc/src/hough_circles.cpp using namespace cv::cuda; cv 50 modules/cudaimgproc/src/hough_circles.cpp Ptr<cuda::HoughCirclesDetector> cv::cuda::createHoughCirclesDetector(float, float, int, int, int, int, int) { throw_no_cuda(); return Ptr<HoughCirclesDetector>(); } cv 162 modules/cudaimgproc/src/hough_circles.cpp using namespace cv::cuda::device::hough; cv 163 modules/cudaimgproc/src/hough_circles.cpp using namespace cv::cuda::device::hough_circles; cv 312 modules/cudaimgproc/src/hough_circles.cpp Ptr<HoughCirclesDetector> cv::cuda::createHoughCirclesDetector(float dp, float minDist, int cannyThreshold, int votesThreshold, int minRadius, int maxRadius, int maxCircles) cv 45 modules/cudaimgproc/src/hough_lines.cpp using namespace cv; cv 46 modules/cudaimgproc/src/hough_lines.cpp using namespace cv::cuda; cv 50 modules/cudaimgproc/src/hough_lines.cpp Ptr<cuda::HoughLinesDetector> cv::cuda::createHoughLinesDetector(float, float, int, bool, int) { throw_no_cuda(); return Ptr<HoughLinesDetector>(); } cv 133 modules/cudaimgproc/src/hough_lines.cpp using namespace cv::cuda::device::hough; cv 134 modules/cudaimgproc/src/hough_lines.cpp using namespace cv::cuda::device::hough_lines; cv 206 modules/cudaimgproc/src/hough_lines.cpp Ptr<HoughLinesDetector> cv::cuda::createHoughLinesDetector(float rho, float theta, int threshold, bool doSort, int maxLines) cv 45 modules/cudaimgproc/src/hough_segments.cpp using namespace cv; cv 46 modules/cudaimgproc/src/hough_segments.cpp using namespace cv::cuda; cv 50 modules/cudaimgproc/src/hough_segments.cpp Ptr<cuda::HoughSegmentDetector> cv::cuda::createHoughSegmentDetector(float, float, int, int, int) { throw_no_cuda(); return Ptr<HoughSegmentDetector>(); } cv 136 modules/cudaimgproc/src/hough_segments.cpp using namespace cv::cuda::device::hough; cv 137 modules/cudaimgproc/src/hough_segments.cpp using namespace cv::cuda::device::hough_lines; cv 138 modules/cudaimgproc/src/hough_segments.cpp using namespace cv::cuda::device::hough_segments; cv 181 modules/cudaimgproc/src/hough_segments.cpp Ptr<HoughSegmentDetector> cv::cuda::createHoughSegmentDetector(float rho, float theta, int minLineLength, int maxLineGap, int maxLines) cv 45 modules/cudaimgproc/src/match_template.cpp using namespace cv; cv 46 modules/cudaimgproc/src/match_template.cpp using namespace cv::cuda; cv 50 modules/cudaimgproc/src/match_template.cpp Ptr<cuda::TemplateMatching> cv::cuda::createTemplateMatching(int, int, Size) { throw_no_cuda(); return Ptr<cuda::TemplateMatching>(); } cv 185 modules/cudaimgproc/src/match_template.cpp using namespace cv::cuda::device::match_template; cv 235 modules/cudaimgproc/src/match_template.cpp using namespace cv::cuda::device::match_template; cv 278 modules/cudaimgproc/src/match_template.cpp using namespace cv::cuda::device::match_template; cv 308 modules/cudaimgproc/src/match_template.cpp using namespace cv::cuda::device::match_template; cv 342 modules/cudaimgproc/src/match_template.cpp using namespace cv::cuda::device::match_template; cv 389 modules/cudaimgproc/src/match_template.cpp using namespace cv::cuda::device::match_template; cv 428 modules/cudaimgproc/src/match_template.cpp using namespace cv::cuda::device::match_template; cv 507 modules/cudaimgproc/src/match_template.cpp using namespace cv::cuda::device::match_template; cv 594 modules/cudaimgproc/src/match_template.cpp Ptr<cuda::TemplateMatching> cv::cuda::createTemplateMatching(int srcType, int method, Size user_block_size) cv 45 modules/cudaimgproc/src/mean_shift.cpp using namespace cv; cv 46 modules/cudaimgproc/src/mean_shift.cpp using namespace cv::cuda; cv 50 modules/cudaimgproc/src/mean_shift.cpp void cv::cuda::meanShiftFiltering(InputArray, OutputArray, int, int, TermCriteria, Stream&) { throw_no_cuda(); } cv 51 modules/cudaimgproc/src/mean_shift.cpp void cv::cuda::meanShiftProc(InputArray, OutputArray, OutputArray, int, int, TermCriteria, Stream&) { throw_no_cuda(); } cv 66 modules/cudaimgproc/src/mean_shift.cpp void cv::cuda::meanShiftFiltering(InputArray _src, OutputArray _dst, int sp, int sr, TermCriteria criteria, Stream& stream) cv 68 modules/cudaimgproc/src/mean_shift.cpp using namespace ::cv::cuda::device::imgproc; cv 101 modules/cudaimgproc/src/mean_shift.cpp void cv::cuda::meanShiftProc(InputArray _src, OutputArray _dstr, OutputArray _dstsp, int sp, int sr, TermCriteria criteria, Stream& stream) cv 103 modules/cudaimgproc/src/mean_shift.cpp using namespace ::cv::cuda::device::imgproc; cv 46 modules/cudaimgproc/src/mssegmentation.cpp void cv::cuda::meanShiftSegmentation(InputArray, OutputArray, int, int, int, TermCriteria, Stream&) { throw_no_cuda(); } cv 211 modules/cudaimgproc/src/mssegmentation.cpp inline int dist2(const cv::Vec4b& lhs, const cv::Vec4b& rhs) cv 217 modules/cudaimgproc/src/mssegmentation.cpp inline int dist2(const cv::Vec2s& lhs, const cv::Vec2s& rhs) cv 225 modules/cudaimgproc/src/mssegmentation.cpp void cv::cuda::meanShiftSegmentation(InputArray _src, OutputArray _dst, int sp, int sr, int minsize, TermCriteria criteria, Stream& stream) cv 52 modules/cudaimgproc/test/test_bilateral_filter.cpp PARAM_TEST_CASE(BilateralFilter, cv::cuda::DeviceInfo, cv::Size, MatType) cv 54 modules/cudaimgproc/test/test_bilateral_filter.cpp cv::cuda::DeviceInfo devInfo; cv 55 modules/cudaimgproc/test/test_bilateral_filter.cpp cv::Size size; cv 71 modules/cudaimgproc/test/test_bilateral_filter.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 77 modules/cudaimgproc/test/test_bilateral_filter.cpp cv::Mat src = randomMat(size, type); cv 80 modules/cudaimgproc/test/test_bilateral_filter.cpp cv::cuda::GpuMat dst; cv 82 modules/cudaimgproc/test/test_bilateral_filter.cpp cv::cuda::bilateralFilter(loadMat(src), dst, kernel_size, sigma_color, sigma_spatial); cv 84 modules/cudaimgproc/test/test_bilateral_filter.cpp cv::Mat dst_gold; cv 85 modules/cudaimgproc/test/test_bilateral_filter.cpp cv::bilateralFilter(src, dst_gold, kernel_size, sigma_color, sigma_spatial); cv 92 modules/cudaimgproc/test/test_bilateral_filter.cpp testing::Values(cv::Size(128, 128), cv::Size(113, 113), cv::Size(639, 481)), cv 55 modules/cudaimgproc/test/test_blend.cpp void blendLinearGold(const cv::Mat& img1, const cv::Mat& img2, const cv::Mat& weights1, const cv::Mat& weights2, cv::Mat& result_gold) cv 79 modules/cudaimgproc/test/test_blend.cpp PARAM_TEST_CASE(Blend, cv::cuda::DeviceInfo, cv::Size, MatType, UseRoi) cv 81 modules/cudaimgproc/test/test_blend.cpp cv::cuda::DeviceInfo devInfo; cv 82 modules/cudaimgproc/test/test_blend.cpp cv::Size size; cv 93 modules/cudaimgproc/test/test_blend.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 101 modules/cudaimgproc/test/test_blend.cpp cv::Mat img1 = randomMat(size, type, 0.0, depth == CV_8U ? 255.0 : 1.0); cv 102 modules/cudaimgproc/test/test_blend.cpp cv::Mat img2 = randomMat(size, type, 0.0, depth == CV_8U ? 255.0 : 1.0); cv 103 modules/cudaimgproc/test/test_blend.cpp cv::Mat weights1 = randomMat(size, CV_32F, 0, 1); cv 104 modules/cudaimgproc/test/test_blend.cpp cv::Mat weights2 = randomMat(size, CV_32F, 0, 1); cv 106 modules/cudaimgproc/test/test_blend.cpp cv::cuda::GpuMat result; cv 107 modules/cudaimgproc/test/test_blend.cpp cv::cuda::blendLinear(loadMat(img1, useRoi), loadMat(img2, useRoi), loadMat(weights1, useRoi), loadMat(weights2, useRoi), result); cv 109 modules/cudaimgproc/test/test_blend.cpp cv::Mat result_gold; cv 58 modules/cudaimgproc/test/test_canny.cpp PARAM_TEST_CASE(Canny, cv::cuda::DeviceInfo, AppertureSize, L2gradient, UseRoi) cv 60 modules/cudaimgproc/test/test_canny.cpp cv::cuda::DeviceInfo devInfo; cv 72 modules/cudaimgproc/test/test_canny.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 78 modules/cudaimgproc/test/test_canny.cpp cv::Mat img = readImage("stereobm/aloe-L.png", cv::IMREAD_GRAYSCALE); cv 84 modules/cudaimgproc/test/test_canny.cpp cv::Ptr<cv::cuda::CannyEdgeDetector> canny = cv::cuda::createCannyEdgeDetector(low_thresh, high_thresh, apperture_size, useL2gradient); cv 86 modules/cudaimgproc/test/test_canny.cpp cv::cuda::GpuMat edges; cv 89 modules/cudaimgproc/test/test_canny.cpp cv::Mat edges_gold; cv 90 modules/cudaimgproc/test/test_canny.cpp cv::Canny(img, edges_gold, low_thresh, high_thresh, apperture_size, useL2gradient); cv 52 modules/cudaimgproc/test/test_color.cpp PARAM_TEST_CASE(CvtColor, cv::cuda::DeviceInfo, cv::Size, MatDepth, UseRoi) cv 54 modules/cudaimgproc/test/test_color.cpp cv::cuda::DeviceInfo devInfo; cv 55 modules/cudaimgproc/test/test_color.cpp cv::Size size; cv 59 modules/cudaimgproc/test/test_color.cpp cv::Mat img; cv 68 modules/cudaimgproc/test/test_color.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 76 modules/cudaimgproc/test/test_color.cpp cv::Mat src = img; cv 78 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 79 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BGR2RGB); cv 81 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 82 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_BGR2RGB); cv 89 modules/cudaimgproc/test/test_color.cpp cv::Mat src = img; cv 91 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 92 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BGR2RGBA); cv 94 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 95 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_BGR2RGBA); cv 102 modules/cudaimgproc/test/test_color.cpp cv::Mat src = img; cv 104 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 105 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BGR2BGRA); cv 107 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 108 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_BGR2BGRA); cv 115 modules/cudaimgproc/test/test_color.cpp cv::Mat src; cv 116 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2BGRA); cv 118 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 119 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BGRA2RGB); cv 121 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 122 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_BGRA2RGB); cv 129 modules/cudaimgproc/test/test_color.cpp cv::Mat src; cv 130 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2BGRA); cv 132 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 133 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BGRA2BGR); cv 135 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 136 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_BGRA2BGR); cv 143 modules/cudaimgproc/test/test_color.cpp cv::Mat src; cv 144 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2BGRA); cv 146 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 147 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BGRA2RGBA); cv 149 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 150 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_BGRA2RGBA); cv 157 modules/cudaimgproc/test/test_color.cpp cv::Mat src = img; cv 159 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 160 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BGR2GRAY); cv 162 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 163 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_BGR2GRAY); cv 170 modules/cudaimgproc/test/test_color.cpp cv::Mat src = img; cv 172 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 173 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_RGB2GRAY); cv 175 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 176 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_RGB2GRAY); cv 183 modules/cudaimgproc/test/test_color.cpp cv::Mat src; cv 184 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2GRAY); cv 186 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 187 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_GRAY2BGR); cv 189 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 190 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_GRAY2BGR); cv 197 modules/cudaimgproc/test/test_color.cpp cv::Mat src; cv 198 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2GRAY); cv 200 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 201 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_GRAY2BGRA, 4); cv 203 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 204 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_GRAY2BGRA, 4); cv 211 modules/cudaimgproc/test/test_color.cpp cv::Mat src; cv 212 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2BGRA); cv 214 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 215 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BGRA2GRAY); cv 217 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 218 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_BGRA2GRAY); cv 225 modules/cudaimgproc/test/test_color.cpp cv::Mat src; cv 226 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2RGBA); cv 228 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 229 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_RGBA2GRAY); cv 231 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 232 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_RGBA2GRAY); cv 242 modules/cudaimgproc/test/test_color.cpp cv::Mat src = img; cv 244 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 245 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BGR2BGR565); cv 247 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 248 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_BGR2BGR565); cv 258 modules/cudaimgproc/test/test_color.cpp cv::Mat src = img; cv 260 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 261 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_RGB2BGR565); cv 263 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 264 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_RGB2BGR565); cv 274 modules/cudaimgproc/test/test_color.cpp cv::Mat src; cv 275 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2BGR565); cv 277 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 278 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BGR5652BGR); cv 280 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 281 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_BGR5652BGR); cv 291 modules/cudaimgproc/test/test_color.cpp cv::Mat src; cv 292 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2BGR565); cv 294 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 295 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BGR5652RGB); cv 297 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 298 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_BGR5652RGB); cv 308 modules/cudaimgproc/test/test_color.cpp cv::Mat src; cv 309 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2BGRA); cv 311 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 312 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BGRA2BGR565); cv 314 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 315 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_BGRA2BGR565); cv 325 modules/cudaimgproc/test/test_color.cpp cv::Mat src; cv 326 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2RGBA); cv 328 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 329 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_RGBA2BGR565); cv 331 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 332 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_RGBA2BGR565); cv 342 modules/cudaimgproc/test/test_color.cpp cv::Mat src; cv 343 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2BGR565); cv 345 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 346 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BGR5652BGRA, 4); cv 348 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 349 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_BGR5652BGRA, 4); cv 359 modules/cudaimgproc/test/test_color.cpp cv::Mat src; cv 360 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2BGR565); cv 362 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 363 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BGR5652RGBA, 4); cv 365 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 366 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_BGR5652RGBA, 4); cv 376 modules/cudaimgproc/test/test_color.cpp cv::Mat src; cv 377 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2GRAY); cv 379 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 380 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_GRAY2BGR565); cv 382 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 383 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_GRAY2BGR565); cv 393 modules/cudaimgproc/test/test_color.cpp cv::Mat src; cv 394 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2BGR565); cv 396 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 397 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BGR5652GRAY); cv 399 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 400 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_BGR5652GRAY); cv 410 modules/cudaimgproc/test/test_color.cpp cv::Mat src = img; cv 412 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 413 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BGR2BGR555); cv 415 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 416 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_BGR2BGR555); cv 426 modules/cudaimgproc/test/test_color.cpp cv::Mat src = img; cv 428 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 429 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_RGB2BGR555); cv 431 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 432 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_RGB2BGR555); cv 442 modules/cudaimgproc/test/test_color.cpp cv::Mat src; cv 443 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2BGR555); cv 445 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 446 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BGR5552BGR); cv 448 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 449 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_BGR5552BGR); cv 459 modules/cudaimgproc/test/test_color.cpp cv::Mat src; cv 460 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2BGR555); cv 462 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 463 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BGR5552RGB); cv 465 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 466 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_BGR5552RGB); cv 476 modules/cudaimgproc/test/test_color.cpp cv::Mat src; cv 477 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2BGRA); cv 479 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 480 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BGRA2BGR555); cv 482 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 483 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_BGRA2BGR555); cv 493 modules/cudaimgproc/test/test_color.cpp cv::Mat src; cv 494 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2RGBA); cv 496 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 497 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_RGBA2BGR555); cv 499 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 500 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_RGBA2BGR555); cv 510 modules/cudaimgproc/test/test_color.cpp cv::Mat src; cv 511 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2BGR555); cv 513 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 514 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BGR5552BGRA, 4); cv 516 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 517 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_BGR5552BGRA, 4); cv 527 modules/cudaimgproc/test/test_color.cpp cv::Mat src; cv 528 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2BGR555); cv 530 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 531 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BGR5552RGBA, 4); cv 533 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 534 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_BGR5552RGBA, 4); cv 544 modules/cudaimgproc/test/test_color.cpp cv::Mat src; cv 545 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2GRAY); cv 547 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 548 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_GRAY2BGR555); cv 550 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 551 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_GRAY2BGR555); cv 561 modules/cudaimgproc/test/test_color.cpp cv::Mat src; cv 562 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2BGR555); cv 564 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 565 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BGR5552GRAY); cv 567 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 568 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_BGR5552GRAY); cv 575 modules/cudaimgproc/test/test_color.cpp cv::Mat src = img; cv 577 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 578 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BGR2XYZ); cv 580 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 581 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_BGR2XYZ); cv 588 modules/cudaimgproc/test/test_color.cpp cv::Mat src = img; cv 590 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 591 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_RGB2XYZ); cv 593 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 594 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_RGB2XYZ); cv 601 modules/cudaimgproc/test/test_color.cpp cv::Mat src = img; cv 603 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 604 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BGR2XYZ, 4); cv 608 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 609 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_BGR2XYZ); cv 611 modules/cudaimgproc/test/test_color.cpp cv::Mat h_dst(dst); cv 613 modules/cudaimgproc/test/test_color.cpp cv::Mat channels[4]; cv 614 modules/cudaimgproc/test/test_color.cpp cv::split(h_dst, channels); cv 615 modules/cudaimgproc/test/test_color.cpp cv::merge(channels, 3, h_dst); cv 622 modules/cudaimgproc/test/test_color.cpp cv::Mat src; cv 623 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2BGRA); cv 625 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 626 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BGR2XYZ, 4); cv 630 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 631 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_BGR2XYZ); cv 633 modules/cudaimgproc/test/test_color.cpp cv::Mat h_dst(dst); cv 635 modules/cudaimgproc/test/test_color.cpp cv::Mat channels[4]; cv 636 modules/cudaimgproc/test/test_color.cpp cv::split(h_dst, channels); cv 637 modules/cudaimgproc/test/test_color.cpp cv::merge(channels, 3, h_dst); cv 644 modules/cudaimgproc/test/test_color.cpp cv::Mat src; cv 645 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2XYZ); cv 647 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 648 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_XYZ2BGR); cv 650 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 651 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_XYZ2BGR); cv 658 modules/cudaimgproc/test/test_color.cpp cv::Mat src; cv 659 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2XYZ); cv 661 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 662 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_XYZ2RGB); cv 664 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 665 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_XYZ2RGB); cv 672 modules/cudaimgproc/test/test_color.cpp cv::Mat src; cv 673 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2XYZ); cv 675 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 676 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_XYZ2BGR); cv 678 modules/cudaimgproc/test/test_color.cpp cv::Mat channels[4]; cv 679 modules/cudaimgproc/test/test_color.cpp cv::split(src, channels); cv 680 modules/cudaimgproc/test/test_color.cpp channels[3] = cv::Mat(src.size(), depth, cv::Scalar::all(0)); cv 681 modules/cudaimgproc/test/test_color.cpp cv::merge(channels, 4, src); cv 683 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 684 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_XYZ2BGR); cv 691 modules/cudaimgproc/test/test_color.cpp cv::Mat src; cv 692 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2XYZ); cv 694 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 695 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_XYZ2BGR, 4); cv 697 modules/cudaimgproc/test/test_color.cpp cv::Mat channels[4]; cv 698 modules/cudaimgproc/test/test_color.cpp cv::split(src, channels); cv 699 modules/cudaimgproc/test/test_color.cpp channels[3] = cv::Mat(src.size(), depth, cv::Scalar::all(0)); cv 700 modules/cudaimgproc/test/test_color.cpp cv::merge(channels, 4, src); cv 702 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 703 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_XYZ2BGR, 4); cv 710 modules/cudaimgproc/test/test_color.cpp cv::Mat src = img; cv 712 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 713 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BGR2YCrCb); cv 715 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 716 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_BGR2YCrCb); cv 723 modules/cudaimgproc/test/test_color.cpp cv::Mat src = img; cv 725 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 726 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_RGB2YCrCb); cv 728 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 729 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_RGB2YCrCb); cv 736 modules/cudaimgproc/test/test_color.cpp cv::Mat src = img; cv 738 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 739 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BGR2YCrCb, 4); cv 743 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 744 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_BGR2YCrCb); cv 746 modules/cudaimgproc/test/test_color.cpp cv::Mat h_dst(dst); cv 748 modules/cudaimgproc/test/test_color.cpp cv::Mat channels[4]; cv 749 modules/cudaimgproc/test/test_color.cpp cv::split(h_dst, channels); cv 750 modules/cudaimgproc/test/test_color.cpp cv::merge(channels, 3, h_dst); cv 757 modules/cudaimgproc/test/test_color.cpp cv::Mat src; cv 758 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2RGBA); cv 760 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 761 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BGR2YCrCb, 4); cv 765 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 766 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_BGR2YCrCb); cv 768 modules/cudaimgproc/test/test_color.cpp cv::Mat h_dst(dst); cv 770 modules/cudaimgproc/test/test_color.cpp cv::Mat channels[4]; cv 771 modules/cudaimgproc/test/test_color.cpp cv::split(h_dst, channels); cv 772 modules/cudaimgproc/test/test_color.cpp cv::merge(channels, 3, h_dst); cv 779 modules/cudaimgproc/test/test_color.cpp cv::Mat src; cv 780 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2YCrCb); cv 782 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 783 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_YCrCb2BGR); cv 785 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 786 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_YCrCb2BGR); cv 793 modules/cudaimgproc/test/test_color.cpp cv::Mat src; cv 794 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2YCrCb); cv 796 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 797 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_YCrCb2RGB); cv 799 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 800 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_YCrCb2RGB); cv 807 modules/cudaimgproc/test/test_color.cpp cv::Mat src; cv 808 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2YCrCb); cv 810 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 811 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_YCrCb2RGB); cv 813 modules/cudaimgproc/test/test_color.cpp cv::Mat channels[4]; cv 814 modules/cudaimgproc/test/test_color.cpp cv::split(src, channels); cv 815 modules/cudaimgproc/test/test_color.cpp channels[3] = cv::Mat(src.size(), depth, cv::Scalar::all(0)); cv 816 modules/cudaimgproc/test/test_color.cpp cv::merge(channels, 4, src); cv 818 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 819 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_YCrCb2RGB); cv 826 modules/cudaimgproc/test/test_color.cpp cv::Mat src; cv 827 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2YCrCb); cv 829 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 830 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_YCrCb2RGB, 4); cv 832 modules/cudaimgproc/test/test_color.cpp cv::Mat channels[4]; cv 833 modules/cudaimgproc/test/test_color.cpp cv::split(src, channels); cv 834 modules/cudaimgproc/test/test_color.cpp channels[3] = cv::Mat(src.size(), depth, cv::Scalar::all(0)); cv 835 modules/cudaimgproc/test/test_color.cpp cv::merge(channels, 4, src); cv 837 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 838 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_YCrCb2RGB, 4); cv 848 modules/cudaimgproc/test/test_color.cpp cv::Mat src = img; cv 850 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 851 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BGR2HSV); cv 853 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 854 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_BGR2HSV); cv 864 modules/cudaimgproc/test/test_color.cpp cv::Mat src = img; cv 866 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 867 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_RGB2HSV); cv 869 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 870 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_RGB2HSV); cv 880 modules/cudaimgproc/test/test_color.cpp cv::Mat src = img; cv 882 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 883 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_RGB2HSV, 4); cv 887 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 888 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_RGB2HSV); cv 890 modules/cudaimgproc/test/test_color.cpp cv::Mat h_dst(dst); cv 892 modules/cudaimgproc/test/test_color.cpp cv::Mat channels[4]; cv 893 modules/cudaimgproc/test/test_color.cpp cv::split(h_dst, channels); cv 894 modules/cudaimgproc/test/test_color.cpp cv::merge(channels, 3, h_dst); cv 904 modules/cudaimgproc/test/test_color.cpp cv::Mat src; cv 905 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2RGBA); cv 907 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 908 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_RGB2HSV, 4); cv 912 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 913 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_RGB2HSV); cv 915 modules/cudaimgproc/test/test_color.cpp cv::Mat h_dst(dst); cv 917 modules/cudaimgproc/test/test_color.cpp cv::Mat channels[4]; cv 918 modules/cudaimgproc/test/test_color.cpp cv::split(h_dst, channels); cv 919 modules/cudaimgproc/test/test_color.cpp cv::merge(channels, 3, h_dst); cv 929 modules/cudaimgproc/test/test_color.cpp cv::Mat src = img; cv 931 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 932 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BGR2HLS); cv 934 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 935 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_BGR2HLS); cv 945 modules/cudaimgproc/test/test_color.cpp cv::Mat src = img; cv 947 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 948 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_RGB2HLS); cv 950 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 951 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_RGB2HLS); cv 961 modules/cudaimgproc/test/test_color.cpp cv::Mat src = img; cv 963 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 964 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_RGB2HLS, 4); cv 968 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 969 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_RGB2HLS); cv 971 modules/cudaimgproc/test/test_color.cpp cv::Mat h_dst(dst); cv 973 modules/cudaimgproc/test/test_color.cpp cv::Mat channels[4]; cv 974 modules/cudaimgproc/test/test_color.cpp cv::split(h_dst, channels); cv 975 modules/cudaimgproc/test/test_color.cpp cv::merge(channels, 3, h_dst); cv 985 modules/cudaimgproc/test/test_color.cpp cv::Mat src; cv 986 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2RGBA); cv 988 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 989 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_RGB2HLS, 4); cv 993 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 994 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_RGB2HLS); cv 996 modules/cudaimgproc/test/test_color.cpp cv::Mat h_dst(dst); cv 998 modules/cudaimgproc/test/test_color.cpp cv::Mat channels[4]; cv 999 modules/cudaimgproc/test/test_color.cpp cv::split(h_dst, channels); cv 1000 modules/cudaimgproc/test/test_color.cpp cv::merge(channels, 3, h_dst); cv 1010 modules/cudaimgproc/test/test_color.cpp cv::Mat src; cv 1011 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2HSV); cv 1013 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 1014 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_HSV2BGR); cv 1016 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 1017 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_HSV2BGR); cv 1027 modules/cudaimgproc/test/test_color.cpp cv::Mat src; cv 1028 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2HSV); cv 1030 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 1031 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_HSV2RGB); cv 1033 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 1034 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_HSV2RGB); cv 1044 modules/cudaimgproc/test/test_color.cpp cv::Mat src; cv 1045 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2HSV); cv 1047 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 1048 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_HSV2BGR); cv 1050 modules/cudaimgproc/test/test_color.cpp cv::Mat channels[4]; cv 1051 modules/cudaimgproc/test/test_color.cpp cv::split(src, channels); cv 1052 modules/cudaimgproc/test/test_color.cpp channels[3] = cv::Mat(src.size(), depth, cv::Scalar::all(0)); cv 1053 modules/cudaimgproc/test/test_color.cpp cv::merge(channels, 4, src); cv 1055 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 1056 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_HSV2BGR); cv 1066 modules/cudaimgproc/test/test_color.cpp cv::Mat src; cv 1067 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2HSV); cv 1069 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 1070 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_HSV2BGR, 4); cv 1072 modules/cudaimgproc/test/test_color.cpp cv::Mat channels[4]; cv 1073 modules/cudaimgproc/test/test_color.cpp cv::split(src, channels); cv 1074 modules/cudaimgproc/test/test_color.cpp channels[3] = cv::Mat(src.size(), depth, cv::Scalar::all(0)); cv 1075 modules/cudaimgproc/test/test_color.cpp cv::merge(channels, 4, src); cv 1077 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 1078 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_HSV2BGR, 4); cv 1088 modules/cudaimgproc/test/test_color.cpp cv::Mat src; cv 1089 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2HLS); cv 1091 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 1092 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_HLS2BGR); cv 1094 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 1095 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_HLS2BGR); cv 1105 modules/cudaimgproc/test/test_color.cpp cv::Mat src; cv 1106 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2HLS); cv 1108 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 1109 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_HLS2RGB); cv 1111 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 1112 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_HLS2RGB); cv 1122 modules/cudaimgproc/test/test_color.cpp cv::Mat src; cv 1123 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2HLS); cv 1125 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 1126 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_HLS2RGB); cv 1128 modules/cudaimgproc/test/test_color.cpp cv::Mat channels[4]; cv 1129 modules/cudaimgproc/test/test_color.cpp cv::split(src, channels); cv 1130 modules/cudaimgproc/test/test_color.cpp channels[3] = cv::Mat(src.size(), depth, cv::Scalar::all(0)); cv 1131 modules/cudaimgproc/test/test_color.cpp cv::merge(channels, 4, src); cv 1133 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 1134 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_HLS2RGB); cv 1144 modules/cudaimgproc/test/test_color.cpp cv::Mat src; cv 1145 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2HLS); cv 1147 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 1148 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_HLS2RGB, 4); cv 1150 modules/cudaimgproc/test/test_color.cpp cv::Mat channels[4]; cv 1151 modules/cudaimgproc/test/test_color.cpp cv::split(src, channels); cv 1152 modules/cudaimgproc/test/test_color.cpp channels[3] = cv::Mat(src.size(), depth, cv::Scalar::all(0)); cv 1153 modules/cudaimgproc/test/test_color.cpp cv::merge(channels, 4, src); cv 1156 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 1157 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_HLS2RGB, 4); cv 1167 modules/cudaimgproc/test/test_color.cpp cv::Mat src = img; cv 1169 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 1170 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BGR2HSV_FULL); cv 1172 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 1173 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_BGR2HSV_FULL); cv 1183 modules/cudaimgproc/test/test_color.cpp cv::Mat src = img; cv 1185 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 1186 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_RGB2HSV_FULL); cv 1188 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 1189 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_RGB2HSV_FULL); cv 1199 modules/cudaimgproc/test/test_color.cpp cv::Mat src = img; cv 1201 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 1202 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_RGB2HSV_FULL, 4); cv 1206 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 1207 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_RGB2HSV_FULL); cv 1209 modules/cudaimgproc/test/test_color.cpp cv::Mat h_dst(dst); cv 1211 modules/cudaimgproc/test/test_color.cpp cv::Mat channels[4]; cv 1212 modules/cudaimgproc/test/test_color.cpp cv::split(h_dst, channels); cv 1213 modules/cudaimgproc/test/test_color.cpp cv::merge(channels, 3, h_dst); cv 1223 modules/cudaimgproc/test/test_color.cpp cv::Mat src; cv 1224 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2RGBA); cv 1226 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 1227 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_RGB2HSV_FULL, 4); cv 1231 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 1232 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_RGB2HSV_FULL); cv 1234 modules/cudaimgproc/test/test_color.cpp cv::Mat h_dst(dst); cv 1236 modules/cudaimgproc/test/test_color.cpp cv::Mat channels[4]; cv 1237 modules/cudaimgproc/test/test_color.cpp cv::split(h_dst, channels); cv 1238 modules/cudaimgproc/test/test_color.cpp cv::merge(channels, 3, h_dst); cv 1248 modules/cudaimgproc/test/test_color.cpp cv::Mat src = img; cv 1250 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 1251 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BGR2HLS_FULL); cv 1253 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 1254 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_BGR2HLS_FULL); cv 1264 modules/cudaimgproc/test/test_color.cpp cv::Mat src = img; cv 1266 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 1267 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_RGB2HLS_FULL); cv 1269 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 1270 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_RGB2HLS_FULL); cv 1280 modules/cudaimgproc/test/test_color.cpp cv::Mat src = img; cv 1282 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 1283 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_RGB2HLS_FULL, 4); cv 1287 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 1288 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_RGB2HLS_FULL); cv 1290 modules/cudaimgproc/test/test_color.cpp cv::Mat h_dst(dst); cv 1292 modules/cudaimgproc/test/test_color.cpp cv::Mat channels[4]; cv 1293 modules/cudaimgproc/test/test_color.cpp cv::split(h_dst, channels); cv 1294 modules/cudaimgproc/test/test_color.cpp cv::merge(channels, 3, h_dst); cv 1304 modules/cudaimgproc/test/test_color.cpp cv::Mat src; cv 1305 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2RGBA); cv 1307 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 1308 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_RGB2HLS_FULL, 4); cv 1312 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 1313 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_RGB2HLS_FULL); cv 1315 modules/cudaimgproc/test/test_color.cpp cv::Mat h_dst(dst); cv 1317 modules/cudaimgproc/test/test_color.cpp cv::Mat channels[4]; cv 1318 modules/cudaimgproc/test/test_color.cpp cv::split(h_dst, channels); cv 1319 modules/cudaimgproc/test/test_color.cpp cv::merge(channels, 3, h_dst); cv 1329 modules/cudaimgproc/test/test_color.cpp cv::Mat src; cv 1330 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2HSV_FULL); cv 1332 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 1333 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_HSV2BGR_FULL); cv 1335 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 1336 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_HSV2BGR_FULL); cv 1346 modules/cudaimgproc/test/test_color.cpp cv::Mat src; cv 1347 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2HSV_FULL); cv 1349 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 1350 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_HSV2RGB_FULL); cv 1352 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 1353 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_HSV2RGB_FULL); cv 1363 modules/cudaimgproc/test/test_color.cpp cv::Mat src; cv 1364 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2HSV_FULL); cv 1366 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 1367 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_HSV2RGB_FULL); cv 1369 modules/cudaimgproc/test/test_color.cpp cv::Mat channels[4]; cv 1370 modules/cudaimgproc/test/test_color.cpp cv::split(src, channels); cv 1371 modules/cudaimgproc/test/test_color.cpp channels[3] = cv::Mat(src.size(), depth, cv::Scalar::all(0)); cv 1372 modules/cudaimgproc/test/test_color.cpp cv::merge(channels, 4, src); cv 1374 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 1375 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_HSV2RGB_FULL); cv 1385 modules/cudaimgproc/test/test_color.cpp cv::Mat src; cv 1386 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2HSV_FULL); cv 1388 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 1389 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_HSV2RGB_FULL, 4); cv 1391 modules/cudaimgproc/test/test_color.cpp cv::Mat channels[4]; cv 1392 modules/cudaimgproc/test/test_color.cpp cv::split(src, channels); cv 1393 modules/cudaimgproc/test/test_color.cpp channels[3] = cv::Mat(src.size(), depth, cv::Scalar::all(0)); cv 1394 modules/cudaimgproc/test/test_color.cpp cv::merge(channels, 4, src); cv 1396 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 1397 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_HSV2RGB_FULL, 4); cv 1407 modules/cudaimgproc/test/test_color.cpp cv::Mat src; cv 1408 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2HLS_FULL); cv 1410 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 1411 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_HLS2BGR_FULL); cv 1413 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 1414 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_HLS2BGR_FULL); cv 1424 modules/cudaimgproc/test/test_color.cpp cv::Mat src; cv 1425 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2HLS_FULL); cv 1427 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 1428 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_HLS2RGB_FULL); cv 1430 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 1431 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_HLS2RGB_FULL); cv 1441 modules/cudaimgproc/test/test_color.cpp cv::Mat src; cv 1442 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2HLS_FULL); cv 1444 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 1445 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_HLS2RGB_FULL); cv 1447 modules/cudaimgproc/test/test_color.cpp cv::Mat channels[4]; cv 1448 modules/cudaimgproc/test/test_color.cpp cv::split(src, channels); cv 1449 modules/cudaimgproc/test/test_color.cpp channels[3] = cv::Mat(src.size(), depth, cv::Scalar::all(0)); cv 1450 modules/cudaimgproc/test/test_color.cpp cv::merge(channels, 4, src); cv 1452 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 1453 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_HLS2RGB_FULL); cv 1463 modules/cudaimgproc/test/test_color.cpp cv::Mat src; cv 1464 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2HLS_FULL); cv 1466 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 1467 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_HLS2RGB_FULL, 4); cv 1469 modules/cudaimgproc/test/test_color.cpp cv::Mat channels[4]; cv 1470 modules/cudaimgproc/test/test_color.cpp cv::split(src, channels); cv 1471 modules/cudaimgproc/test/test_color.cpp channels[3] = cv::Mat(src.size(), depth, cv::Scalar::all(0)); cv 1472 modules/cudaimgproc/test/test_color.cpp cv::merge(channels, 4, src); cv 1474 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 1475 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_HLS2RGB_FULL, 4); cv 1482 modules/cudaimgproc/test/test_color.cpp cv::Mat src = img; cv 1484 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 1485 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BGR2YUV); cv 1487 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 1488 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_BGR2YUV); cv 1495 modules/cudaimgproc/test/test_color.cpp cv::Mat src = img; cv 1497 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 1498 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_RGB2YUV); cv 1500 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 1501 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_RGB2YUV); cv 1508 modules/cudaimgproc/test/test_color.cpp cv::Mat src; cv 1509 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2YUV); cv 1511 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 1512 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_YUV2BGR); cv 1514 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 1515 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_YUV2BGR); cv 1522 modules/cudaimgproc/test/test_color.cpp cv::Mat src; cv 1523 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2YUV); cv 1525 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 1526 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_YUV2BGR); cv 1528 modules/cudaimgproc/test/test_color.cpp cv::Mat channels[4]; cv 1529 modules/cudaimgproc/test/test_color.cpp cv::split(src, channels); cv 1530 modules/cudaimgproc/test/test_color.cpp channels[3] = cv::Mat(src.size(), depth, cv::Scalar::all(0)); cv 1531 modules/cudaimgproc/test/test_color.cpp cv::merge(channels, 4, src); cv 1533 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 1534 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_YUV2BGR); cv 1541 modules/cudaimgproc/test/test_color.cpp cv::Mat src; cv 1542 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2YUV); cv 1544 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 1545 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_YUV2BGR, 4); cv 1547 modules/cudaimgproc/test/test_color.cpp cv::Mat channels[4]; cv 1548 modules/cudaimgproc/test/test_color.cpp cv::split(src, channels); cv 1549 modules/cudaimgproc/test/test_color.cpp channels[3] = cv::Mat(src.size(), depth, cv::Scalar::all(0)); cv 1550 modules/cudaimgproc/test/test_color.cpp cv::merge(channels, 4, src); cv 1552 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 1553 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_YUV2BGR, 4); cv 1560 modules/cudaimgproc/test/test_color.cpp cv::Mat src; cv 1561 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_RGB2YUV); cv 1563 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 1564 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_YUV2RGB); cv 1566 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 1567 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_YUV2RGB); cv 1574 modules/cudaimgproc/test/test_color.cpp cv::Mat src = img; cv 1576 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 1577 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BGR2YUV, 4); cv 1581 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 1582 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_BGR2YUV); cv 1584 modules/cudaimgproc/test/test_color.cpp cv::Mat h_dst(dst); cv 1586 modules/cudaimgproc/test/test_color.cpp cv::Mat channels[4]; cv 1587 modules/cudaimgproc/test/test_color.cpp cv::split(h_dst, channels); cv 1588 modules/cudaimgproc/test/test_color.cpp cv::merge(channels, 3, h_dst); cv 1595 modules/cudaimgproc/test/test_color.cpp cv::Mat src; cv 1596 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2RGBA); cv 1598 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 1599 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_RGB2YUV, 4); cv 1603 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 1604 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_RGB2YUV); cv 1606 modules/cudaimgproc/test/test_color.cpp cv::Mat h_dst(dst); cv 1608 modules/cudaimgproc/test/test_color.cpp cv::Mat channels[4]; cv 1609 modules/cudaimgproc/test/test_color.cpp cv::split(h_dst, channels); cv 1610 modules/cudaimgproc/test/test_color.cpp cv::merge(channels, 3, h_dst); cv 1620 modules/cudaimgproc/test/test_color.cpp cv::Mat src = img; cv 1622 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 1623 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BGR2Lab); cv 1625 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 1626 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_BGR2Lab); cv 1636 modules/cudaimgproc/test/test_color.cpp cv::Mat src = img; cv 1638 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 1639 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_RGB2Lab); cv 1641 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 1642 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_RGB2Lab); cv 1652 modules/cudaimgproc/test/test_color.cpp cv::Mat src; cv 1653 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2RGBA); cv 1655 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 1656 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BGR2Lab, 4); cv 1660 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 1661 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_BGR2Lab); cv 1663 modules/cudaimgproc/test/test_color.cpp cv::Mat h_dst(dst); cv 1665 modules/cudaimgproc/test/test_color.cpp cv::Mat channels[4]; cv 1666 modules/cudaimgproc/test/test_color.cpp cv::split(h_dst, channels); cv 1667 modules/cudaimgproc/test/test_color.cpp cv::merge(channels, 3, h_dst); cv 1677 modules/cudaimgproc/test/test_color.cpp cv::Mat src = img; cv 1679 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 1680 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_LBGR2Lab); cv 1682 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 1683 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_LBGR2Lab); cv 1693 modules/cudaimgproc/test/test_color.cpp cv::Mat src = img; cv 1695 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 1696 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_LRGB2Lab); cv 1698 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 1699 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_LRGB2Lab); cv 1709 modules/cudaimgproc/test/test_color.cpp cv::Mat src; cv 1710 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2RGBA); cv 1712 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 1713 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_LBGR2Lab, 4); cv 1717 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 1718 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_LBGR2Lab); cv 1720 modules/cudaimgproc/test/test_color.cpp cv::Mat h_dst(dst); cv 1722 modules/cudaimgproc/test/test_color.cpp cv::Mat channels[4]; cv 1723 modules/cudaimgproc/test/test_color.cpp cv::split(h_dst, channels); cv 1724 modules/cudaimgproc/test/test_color.cpp cv::merge(channels, 3, h_dst); cv 1734 modules/cudaimgproc/test/test_color.cpp cv::Mat src; cv 1735 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2Lab); cv 1737 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 1738 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_Lab2BGR); cv 1740 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 1741 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_Lab2BGR); cv 1751 modules/cudaimgproc/test/test_color.cpp cv::Mat src; cv 1752 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2Lab); cv 1754 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 1755 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_Lab2RGB); cv 1757 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 1758 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_Lab2RGB); cv 1768 modules/cudaimgproc/test/test_color.cpp cv::Mat src; cv 1769 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2Lab); cv 1771 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 1772 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_Lab2BGR, 4); cv 1776 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 1777 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_Lab2BGR, 4); cv 1787 modules/cudaimgproc/test/test_color.cpp cv::Mat src; cv 1788 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2Lab); cv 1790 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 1791 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_Lab2LBGR); cv 1793 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 1794 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_Lab2LBGR); cv 1804 modules/cudaimgproc/test/test_color.cpp cv::Mat src; cv 1805 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2Lab); cv 1807 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 1808 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_Lab2LRGB); cv 1810 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 1811 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_Lab2LRGB); cv 1821 modules/cudaimgproc/test/test_color.cpp cv::Mat src; cv 1822 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2Lab); cv 1824 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 1825 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_Lab2LRGB, 4); cv 1827 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 1828 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_Lab2LRGB, 4); cv 1838 modules/cudaimgproc/test/test_color.cpp cv::Mat src = img; cv 1840 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 1841 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BGR2Luv); cv 1843 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 1844 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_BGR2Luv); cv 1854 modules/cudaimgproc/test/test_color.cpp cv::Mat src = img; cv 1856 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 1857 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_RGB2Luv); cv 1859 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 1860 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_RGB2Luv); cv 1870 modules/cudaimgproc/test/test_color.cpp cv::Mat src; cv 1871 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2RGBA); cv 1873 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 1874 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BGR2Luv, 4); cv 1878 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 1879 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_BGR2Luv); cv 1881 modules/cudaimgproc/test/test_color.cpp cv::Mat h_dst(dst); cv 1883 modules/cudaimgproc/test/test_color.cpp cv::Mat channels[4]; cv 1884 modules/cudaimgproc/test/test_color.cpp cv::split(h_dst, channels); cv 1885 modules/cudaimgproc/test/test_color.cpp cv::merge(channels, 3, h_dst); cv 1895 modules/cudaimgproc/test/test_color.cpp cv::Mat src = img; cv 1897 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 1898 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_LBGR2Luv); cv 1900 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 1901 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_LBGR2Luv); cv 1911 modules/cudaimgproc/test/test_color.cpp cv::Mat src = img; cv 1913 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 1914 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_LRGB2Luv); cv 1916 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 1917 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_LRGB2Luv); cv 1927 modules/cudaimgproc/test/test_color.cpp cv::Mat src; cv 1928 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2RGBA); cv 1930 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 1931 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_LBGR2Luv, 4); cv 1935 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 1936 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_LBGR2Luv); cv 1938 modules/cudaimgproc/test/test_color.cpp cv::Mat h_dst(dst); cv 1940 modules/cudaimgproc/test/test_color.cpp cv::Mat channels[4]; cv 1941 modules/cudaimgproc/test/test_color.cpp cv::split(h_dst, channels); cv 1942 modules/cudaimgproc/test/test_color.cpp cv::merge(channels, 3, h_dst); cv 1952 modules/cudaimgproc/test/test_color.cpp cv::Mat src; cv 1953 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2Luv); cv 1955 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 1956 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_Luv2BGR); cv 1958 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 1959 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_Luv2BGR); cv 1969 modules/cudaimgproc/test/test_color.cpp cv::Mat src; cv 1970 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2Luv); cv 1972 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 1973 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_Luv2RGB); cv 1975 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 1976 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_Luv2RGB); cv 1986 modules/cudaimgproc/test/test_color.cpp cv::Mat src; cv 1987 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2Luv); cv 1989 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 1990 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_Luv2BGR, 4); cv 1994 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 1995 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_Luv2BGR, 4); cv 2005 modules/cudaimgproc/test/test_color.cpp cv::Mat src; cv 2006 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2Luv); cv 2008 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 2009 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_Luv2LBGR); cv 2011 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 2012 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_Luv2LBGR); cv 2022 modules/cudaimgproc/test/test_color.cpp cv::Mat src; cv 2023 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2Luv); cv 2025 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 2026 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_Luv2LRGB); cv 2028 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 2029 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_Luv2LRGB); cv 2039 modules/cudaimgproc/test/test_color.cpp cv::Mat src; cv 2040 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2Luv); cv 2042 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 2043 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_Luv2LRGB, 4); cv 2045 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 2046 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_Luv2LRGB, 4); cv 2058 modules/cudaimgproc/test/test_color.cpp cv::Mat src = randomMat(size, CV_MAKE_TYPE(depth, 4)); cv 2060 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst = createMat(src.size(), src.type(), useRoi); cv 2061 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_RGBA2mRGBA); cv 2063 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 2064 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_RGBA2mRGBA); cv 2076 modules/cudaimgproc/test/test_color.cpp cv::Mat src = randomMat(size, depth); cv 2078 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 2079 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BayerBG2BGR); cv 2081 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 2082 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_BayerBG2BGR); cv 2084 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold(cv::Rect(1, 1, dst.cols - 2, dst.rows - 2)), dst(cv::Rect(1, 1, dst.cols - 2, dst.rows - 2)), 0); cv 2092 modules/cudaimgproc/test/test_color.cpp cv::Mat src = randomMat(size, depth); cv 2094 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 2095 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BayerBG2BGR, 4); cv 2099 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 2100 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_BayerBG2BGR); cv 2102 modules/cudaimgproc/test/test_color.cpp cv::Mat dst4(dst); cv 2103 modules/cudaimgproc/test/test_color.cpp cv::Mat dst3; cv 2104 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(dst4, dst3, cv::COLOR_BGRA2BGR); cv 2107 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold(cv::Rect(1, 1, dst.cols - 2, dst.rows - 2)), dst3(cv::Rect(1, 1, dst.cols - 2, dst.rows - 2)), 0); cv 2115 modules/cudaimgproc/test/test_color.cpp cv::Mat src = randomMat(size, depth); cv 2117 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 2118 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BayerGB2BGR); cv 2120 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 2121 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_BayerGB2BGR); cv 2123 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold(cv::Rect(1, 1, dst.cols - 2, dst.rows - 2)), dst(cv::Rect(1, 1, dst.cols - 2, dst.rows - 2)), 0); cv 2131 modules/cudaimgproc/test/test_color.cpp cv::Mat src = randomMat(size, depth); cv 2133 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 2134 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BayerGB2BGR, 4); cv 2138 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 2139 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_BayerGB2BGR); cv 2141 modules/cudaimgproc/test/test_color.cpp cv::Mat dst4(dst); cv 2142 modules/cudaimgproc/test/test_color.cpp cv::Mat dst3; cv 2143 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(dst4, dst3, cv::COLOR_BGRA2BGR); cv 2145 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold(cv::Rect(1, 1, dst.cols - 2, dst.rows - 2)), dst3(cv::Rect(1, 1, dst.cols - 2, dst.rows - 2)), 0); cv 2153 modules/cudaimgproc/test/test_color.cpp cv::Mat src = randomMat(size, depth); cv 2155 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 2156 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BayerRG2BGR); cv 2158 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 2159 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_BayerRG2BGR); cv 2161 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold(cv::Rect(1, 1, dst.cols - 2, dst.rows - 2)), dst(cv::Rect(1, 1, dst.cols - 2, dst.rows - 2)), 0); cv 2169 modules/cudaimgproc/test/test_color.cpp cv::Mat src = randomMat(size, depth); cv 2171 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 2172 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BayerRG2BGR, 4); cv 2176 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 2177 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_BayerRG2BGR); cv 2179 modules/cudaimgproc/test/test_color.cpp cv::Mat dst4(dst); cv 2180 modules/cudaimgproc/test/test_color.cpp cv::Mat dst3; cv 2181 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(dst4, dst3, cv::COLOR_BGRA2BGR); cv 2183 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold(cv::Rect(1, 1, dst.cols - 2, dst.rows - 2)), dst3(cv::Rect(1, 1, dst.cols - 2, dst.rows - 2)), 0); cv 2191 modules/cudaimgproc/test/test_color.cpp cv::Mat src = randomMat(size, depth); cv 2193 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 2194 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BayerGR2BGR); cv 2196 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 2197 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_BayerGR2BGR); cv 2199 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold(cv::Rect(1, 1, dst.cols - 2, dst.rows - 2)), dst(cv::Rect(1, 1, dst.cols - 2, dst.rows - 2)), 0); cv 2207 modules/cudaimgproc/test/test_color.cpp cv::Mat src = randomMat(size, depth); cv 2209 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 2210 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BayerGR2BGR, 4); cv 2214 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 2215 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_BayerGR2BGR); cv 2217 modules/cudaimgproc/test/test_color.cpp cv::Mat dst4(dst); cv 2218 modules/cudaimgproc/test/test_color.cpp cv::Mat dst3; cv 2219 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(dst4, dst3, cv::COLOR_BGRA2BGR); cv 2221 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold(cv::Rect(1, 1, dst.cols - 2, dst.rows - 2)), dst3(cv::Rect(1, 1, dst.cols - 2, dst.rows - 2)), 0); cv 2229 modules/cudaimgproc/test/test_color.cpp cv::Mat src = randomMat(size, depth); cv 2231 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 2232 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BayerBG2GRAY); cv 2234 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 2235 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_BayerBG2GRAY); cv 2237 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold(cv::Rect(1, 1, dst.cols - 2, dst.rows - 2)), dst(cv::Rect(1, 1, dst.cols - 2, dst.rows - 2)), 2); cv 2245 modules/cudaimgproc/test/test_color.cpp cv::Mat src = randomMat(size, depth); cv 2247 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 2248 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BayerGB2GRAY); cv 2250 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 2251 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_BayerGB2GRAY); cv 2253 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold(cv::Rect(1, 1, dst.cols - 2, dst.rows - 2)), dst(cv::Rect(1, 1, dst.cols - 2, dst.rows - 2)), 2); cv 2261 modules/cudaimgproc/test/test_color.cpp cv::Mat src = randomMat(size, depth); cv 2263 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 2264 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BayerRG2GRAY); cv 2266 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 2267 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_BayerRG2GRAY); cv 2269 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold(cv::Rect(1, 1, dst.cols - 2, dst.rows - 2)), dst(cv::Rect(1, 1, dst.cols - 2, dst.rows - 2)), 2); cv 2277 modules/cudaimgproc/test/test_color.cpp cv::Mat src = randomMat(size, depth); cv 2279 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 2280 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BayerGR2GRAY); cv 2282 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 2283 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_BayerGR2GRAY); cv 2285 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold(cv::Rect(1, 1, dst.cols - 2, dst.rows - 2)), dst(cv::Rect(1, 1, dst.cols - 2, dst.rows - 2)), 2); cv 2297 modules/cudaimgproc/test/test_color.cpp struct Demosaicing : testing::TestWithParam<cv::cuda::DeviceInfo> cv 2299 modules/cudaimgproc/test/test_color.cpp cv::cuda::DeviceInfo devInfo; cv 2305 modules/cudaimgproc/test/test_color.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 2308 modules/cudaimgproc/test/test_color.cpp static void mosaic(const cv::Mat_<cv::Vec3b>& src, cv::Mat_<uchar>& dst, cv::Point firstRed) cv 2316 modules/cudaimgproc/test/test_color.cpp cv::Vec3b pix = src(y, x); cv 2318 modules/cudaimgproc/test/test_color.cpp cv::Point alternate; cv 2359 modules/cudaimgproc/test/test_color.cpp cv::Mat img = readImage("stereobm/aloe-L.png"); cv 2362 modules/cudaimgproc/test/test_color.cpp cv::Mat_<uchar> src; cv 2363 modules/cudaimgproc/test/test_color.cpp mosaic(img, src, cv::Point(1, 1)); cv 2365 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 2366 modules/cudaimgproc/test/test_color.cpp cv::cuda::demosaicing(loadMat(src), dst, cv::COLOR_BayerBG2BGR); cv 2373 modules/cudaimgproc/test/test_color.cpp cv::Mat img = readImage("stereobm/aloe-L.png"); cv 2376 modules/cudaimgproc/test/test_color.cpp cv::Mat_<uchar> src; cv 2377 modules/cudaimgproc/test/test_color.cpp mosaic(img, src, cv::Point(0, 1)); cv 2379 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 2380 modules/cudaimgproc/test/test_color.cpp cv::cuda::demosaicing(loadMat(src), dst, cv::COLOR_BayerGB2BGR); cv 2387 modules/cudaimgproc/test/test_color.cpp cv::Mat img = readImage("stereobm/aloe-L.png"); cv 2390 modules/cudaimgproc/test/test_color.cpp cv::Mat_<uchar> src; cv 2391 modules/cudaimgproc/test/test_color.cpp mosaic(img, src, cv::Point(0, 0)); cv 2393 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 2394 modules/cudaimgproc/test/test_color.cpp cv::cuda::demosaicing(loadMat(src), dst, cv::COLOR_BayerRG2BGR); cv 2401 modules/cudaimgproc/test/test_color.cpp cv::Mat img = readImage("stereobm/aloe-L.png"); cv 2404 modules/cudaimgproc/test/test_color.cpp cv::Mat_<uchar> src; cv 2405 modules/cudaimgproc/test/test_color.cpp mosaic(img, src, cv::Point(1, 0)); cv 2407 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 2408 modules/cudaimgproc/test/test_color.cpp cv::cuda::demosaicing(loadMat(src), dst, cv::COLOR_BayerGR2BGR); cv 2415 modules/cudaimgproc/test/test_color.cpp cv::Mat img = readImage("stereobm/aloe-L.png"); cv 2418 modules/cudaimgproc/test/test_color.cpp cv::Mat_<uchar> src; cv 2419 modules/cudaimgproc/test/test_color.cpp mosaic(img, src, cv::Point(1, 1)); cv 2421 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 2422 modules/cudaimgproc/test/test_color.cpp cv::cuda::demosaicing(loadMat(src), dst, cv::cuda::COLOR_BayerBG2BGR_MHT); cv 2429 modules/cudaimgproc/test/test_color.cpp cv::Mat img = readImage("stereobm/aloe-L.png"); cv 2432 modules/cudaimgproc/test/test_color.cpp cv::Mat_<uchar> src; cv 2433 modules/cudaimgproc/test/test_color.cpp mosaic(img, src, cv::Point(0, 1)); cv 2435 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 2436 modules/cudaimgproc/test/test_color.cpp cv::cuda::demosaicing(loadMat(src), dst, cv::cuda::COLOR_BayerGB2BGR_MHT); cv 2443 modules/cudaimgproc/test/test_color.cpp cv::Mat img = readImage("stereobm/aloe-L.png"); cv 2446 modules/cudaimgproc/test/test_color.cpp cv::Mat_<uchar> src; cv 2447 modules/cudaimgproc/test/test_color.cpp mosaic(img, src, cv::Point(0, 0)); cv 2449 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 2450 modules/cudaimgproc/test/test_color.cpp cv::cuda::demosaicing(loadMat(src), dst, cv::cuda::COLOR_BayerRG2BGR_MHT); cv 2457 modules/cudaimgproc/test/test_color.cpp cv::Mat img = readImage("stereobm/aloe-L.png"); cv 2460 modules/cudaimgproc/test/test_color.cpp cv::Mat_<uchar> src; cv 2461 modules/cudaimgproc/test/test_color.cpp mosaic(img, src, cv::Point(1, 0)); cv 2463 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst; cv 2464 modules/cudaimgproc/test/test_color.cpp cv::cuda::demosaicing(loadMat(src), dst, cv::cuda::COLOR_BayerGR2BGR_MHT); cv 2474 modules/cudaimgproc/test/test_color.cpp PARAM_TEST_CASE(SwapChannels, cv::cuda::DeviceInfo, cv::Size, UseRoi) cv 2476 modules/cudaimgproc/test/test_color.cpp cv::cuda::DeviceInfo devInfo; cv 2477 modules/cudaimgproc/test/test_color.cpp cv::Size size; cv 2486 modules/cudaimgproc/test/test_color.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 2492 modules/cudaimgproc/test/test_color.cpp cv::Mat src = readImageType("stereobm/aloe-L.png", CV_8UC4); cv 2495 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat d_src = loadMat(src, useRoi); cv 2498 modules/cudaimgproc/test/test_color.cpp cv::cuda::swapChannels(d_src, dstOrder); cv 2500 modules/cudaimgproc/test/test_color.cpp cv::Mat dst_gold; cv 2501 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_BGRA2RGBA); cv 58 modules/cudaimgproc/test/test_corners.cpp PARAM_TEST_CASE(CornerHarris, cv::cuda::DeviceInfo, MatType, BorderType, BlockSize, ApertureSize) cv 60 modules/cudaimgproc/test/test_corners.cpp cv::cuda::DeviceInfo devInfo; cv 74 modules/cudaimgproc/test/test_corners.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 80 modules/cudaimgproc/test/test_corners.cpp cv::Mat src = readImageType("stereobm/aloe-L.png", type); cv 85 modules/cudaimgproc/test/test_corners.cpp cv::Ptr<cv::cuda::CornernessCriteria> harris = cv::cuda::createHarrisCorner(src.type(), blockSize, apertureSize, k, borderType); cv 87 modules/cudaimgproc/test/test_corners.cpp cv::cuda::GpuMat dst; cv 90 modules/cudaimgproc/test/test_corners.cpp cv::Mat dst_gold; cv 91 modules/cudaimgproc/test/test_corners.cpp cv::cornerHarris(src, dst_gold, blockSize, apertureSize, k, borderType); cv 99 modules/cudaimgproc/test/test_corners.cpp testing::Values(BorderType(cv::BORDER_REFLECT101), BorderType(cv::BORDER_REPLICATE), BorderType(cv::BORDER_REFLECT)), cv 106 modules/cudaimgproc/test/test_corners.cpp PARAM_TEST_CASE(CornerMinEigen, cv::cuda::DeviceInfo, MatType, BorderType, BlockSize, ApertureSize) cv 108 modules/cudaimgproc/test/test_corners.cpp cv::cuda::DeviceInfo devInfo; cv 122 modules/cudaimgproc/test/test_corners.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 128 modules/cudaimgproc/test/test_corners.cpp cv::Mat src = readImageType("stereobm/aloe-L.png", type); cv 131 modules/cudaimgproc/test/test_corners.cpp cv::Ptr<cv::cuda::CornernessCriteria> minEigenVal = cv::cuda::createMinEigenValCorner(src.type(), blockSize, apertureSize, borderType); cv 133 modules/cudaimgproc/test/test_corners.cpp cv::cuda::GpuMat dst; cv 136 modules/cudaimgproc/test/test_corners.cpp cv::Mat dst_gold; cv 137 modules/cudaimgproc/test/test_corners.cpp cv::cornerMinEigenVal(src, dst_gold, blockSize, apertureSize, borderType); cv 145 modules/cudaimgproc/test/test_corners.cpp testing::Values(BorderType(cv::BORDER_REFLECT101), BorderType(cv::BORDER_REPLICATE), BorderType(cv::BORDER_REFLECT)), cv 57 modules/cudaimgproc/test/test_gftt.cpp PARAM_TEST_CASE(GoodFeaturesToTrack, cv::cuda::DeviceInfo, MinDistance) cv 59 modules/cudaimgproc/test/test_gftt.cpp cv::cuda::DeviceInfo devInfo; cv 67 modules/cudaimgproc/test/test_gftt.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 73 modules/cudaimgproc/test/test_gftt.cpp cv::Mat image = readImage("opticalflow/frame0.png", cv::IMREAD_GRAYSCALE); cv 79 modules/cudaimgproc/test/test_gftt.cpp cv::Ptr<cv::cuda::CornersDetector> detector = cv::cuda::createGoodFeaturesToTrackDetector(image.type(), maxCorners, qualityLevel, minDistance); cv 81 modules/cudaimgproc/test/test_gftt.cpp cv::cuda::GpuMat d_pts; cv 86 modules/cudaimgproc/test/test_gftt.cpp std::vector<cv::Point2f> pts(d_pts.cols); cv 87 modules/cudaimgproc/test/test_gftt.cpp cv::Mat pts_mat(1, d_pts.cols, CV_32FC2, (void*) &pts[0]); cv 90 modules/cudaimgproc/test/test_gftt.cpp std::vector<cv::Point2f> pts_gold; cv 91 modules/cudaimgproc/test/test_gftt.cpp cv::goodFeaturesToTrack(image, pts_gold, maxCorners, qualityLevel, minDistance); cv 98 modules/cudaimgproc/test/test_gftt.cpp cv::Point2i a = pts_gold[i]; cv 99 modules/cudaimgproc/test/test_gftt.cpp cv::Point2i b = pts[i]; cv 117 modules/cudaimgproc/test/test_gftt.cpp cv::cuda::GpuMat src(100, 100, CV_8UC1, cv::Scalar::all(0)); cv 118 modules/cudaimgproc/test/test_gftt.cpp cv::cuda::GpuMat corners(1, maxCorners, CV_32FC2); cv 120 modules/cudaimgproc/test/test_gftt.cpp cv::Ptr<cv::cuda::CornersDetector> detector = cv::cuda::createGoodFeaturesToTrackDetector(src.type(), maxCorners, qualityLevel, minDistance); cv 52 modules/cudaimgproc/test/test_histogram.cpp PARAM_TEST_CASE(HistEven, cv::cuda::DeviceInfo, cv::Size) cv 54 modules/cudaimgproc/test/test_histogram.cpp cv::cuda::DeviceInfo devInfo; cv 55 modules/cudaimgproc/test/test_histogram.cpp cv::Size size; cv 62 modules/cudaimgproc/test/test_histogram.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 68 modules/cudaimgproc/test/test_histogram.cpp cv::Mat src = randomMat(size, CV_8UC1); cv 73 modules/cudaimgproc/test/test_histogram.cpp cv::cuda::GpuMat hist; cv 74 modules/cudaimgproc/test/test_histogram.cpp cv::cuda::histEven(loadMat(src), hist, hbins, (int) hranges[0], (int) hranges[1]); cv 76 modules/cudaimgproc/test/test_histogram.cpp cv::Mat hist_gold; cv 81 modules/cudaimgproc/test/test_histogram.cpp cv::calcHist(&src, 1, channels, cv::Mat(), hist_gold, 1, histSize, ranges); cv 96 modules/cudaimgproc/test/test_histogram.cpp PARAM_TEST_CASE(CalcHist, cv::cuda::DeviceInfo, cv::Size) cv 98 modules/cudaimgproc/test/test_histogram.cpp cv::cuda::DeviceInfo devInfo; cv 100 modules/cudaimgproc/test/test_histogram.cpp cv::Size size; cv 107 modules/cudaimgproc/test/test_histogram.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 113 modules/cudaimgproc/test/test_histogram.cpp cv::Mat src = randomMat(size, CV_8UC1); cv 115 modules/cudaimgproc/test/test_histogram.cpp cv::cuda::GpuMat hist; cv 116 modules/cudaimgproc/test/test_histogram.cpp cv::cuda::calcHist(loadMat(src), hist); cv 118 modules/cudaimgproc/test/test_histogram.cpp cv::Mat hist_gold; cv 126 modules/cudaimgproc/test/test_histogram.cpp cv::calcHist(&src, 1, channels, cv::Mat(), hist_gold, 1, histSize, ranges); cv 140 modules/cudaimgproc/test/test_histogram.cpp PARAM_TEST_CASE(EqualizeHist, cv::cuda::DeviceInfo, cv::Size) cv 142 modules/cudaimgproc/test/test_histogram.cpp cv::cuda::DeviceInfo devInfo; cv 143 modules/cudaimgproc/test/test_histogram.cpp cv::Size size; cv 150 modules/cudaimgproc/test/test_histogram.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 156 modules/cudaimgproc/test/test_histogram.cpp cv::Mat src = randomMat(size, CV_8UC1); cv 158 modules/cudaimgproc/test/test_histogram.cpp cv::cuda::GpuMat dst; cv 159 modules/cudaimgproc/test/test_histogram.cpp cv::cuda::equalizeHist(loadMat(src), dst); cv 161 modules/cudaimgproc/test/test_histogram.cpp cv::Mat dst_gold; cv 162 modules/cudaimgproc/test/test_histogram.cpp cv::equalizeHist(src, dst_gold); cv 179 modules/cudaimgproc/test/test_histogram.cpp PARAM_TEST_CASE(CLAHE, cv::cuda::DeviceInfo, cv::Size, ClipLimit) cv 181 modules/cudaimgproc/test/test_histogram.cpp cv::cuda::DeviceInfo devInfo; cv 182 modules/cudaimgproc/test/test_histogram.cpp cv::Size size; cv 191 modules/cudaimgproc/test/test_histogram.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 197 modules/cudaimgproc/test/test_histogram.cpp cv::Mat src = randomMat(size, CV_8UC1); cv 199 modules/cudaimgproc/test/test_histogram.cpp cv::Ptr<cv::cuda::CLAHE> clahe = cv::cuda::createCLAHE(clipLimit); cv 200 modules/cudaimgproc/test/test_histogram.cpp cv::cuda::GpuMat dst; cv 203 modules/cudaimgproc/test/test_histogram.cpp cv::Ptr<cv::CLAHE> clahe_gold = cv::createCLAHE(clipLimit); cv 204 modules/cudaimgproc/test/test_histogram.cpp cv::Mat dst_gold; cv 52 modules/cudaimgproc/test/test_hough.cpp PARAM_TEST_CASE(HoughLines, cv::cuda::DeviceInfo, cv::Size, UseRoi) cv 54 modules/cudaimgproc/test/test_hough.cpp static void generateLines(cv::Mat& img) cv 56 modules/cudaimgproc/test/test_hough.cpp img.setTo(cv::Scalar::all(0)); cv 58 modules/cudaimgproc/test/test_hough.cpp cv::line(img, cv::Point(20, 0), cv::Point(20, img.rows), cv::Scalar::all(255)); cv 59 modules/cudaimgproc/test/test_hough.cpp cv::line(img, cv::Point(0, 50), cv::Point(img.cols, 50), cv::Scalar::all(255)); cv 60 modules/cudaimgproc/test/test_hough.cpp cv::line(img, cv::Point(0, 0), cv::Point(img.cols, img.rows), cv::Scalar::all(255)); cv 61 modules/cudaimgproc/test/test_hough.cpp cv::line(img, cv::Point(img.cols, 0), cv::Point(0, img.rows), cv::Scalar::all(255)); cv 64 modules/cudaimgproc/test/test_hough.cpp static void drawLines(cv::Mat& dst, const std::vector<cv::Vec2f>& lines) cv 66 modules/cudaimgproc/test/test_hough.cpp dst.setTo(cv::Scalar::all(0)); cv 71 modules/cudaimgproc/test/test_hough.cpp cv::Point pt1, pt2; cv 78 modules/cudaimgproc/test/test_hough.cpp cv::line(dst, pt1, pt2, cv::Scalar::all(255)); cv 85 modules/cudaimgproc/test/test_hough.cpp const cv::cuda::DeviceInfo devInfo = GET_PARAM(0); cv 86 modules/cudaimgproc/test/test_hough.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 87 modules/cudaimgproc/test/test_hough.cpp const cv::Size size = GET_PARAM(1); cv 94 modules/cudaimgproc/test/test_hough.cpp cv::Mat src(size, CV_8UC1); cv 97 modules/cudaimgproc/test/test_hough.cpp cv::Ptr<cv::cuda::HoughLinesDetector> hough = cv::cuda::createHoughLinesDetector(rho, theta, threshold); cv 99 modules/cudaimgproc/test/test_hough.cpp cv::cuda::GpuMat d_lines; cv 102 modules/cudaimgproc/test/test_hough.cpp std::vector<cv::Vec2f> lines; cv 105 modules/cudaimgproc/test/test_hough.cpp cv::Mat dst(size, CV_8UC1); cv 119 modules/cudaimgproc/test/test_hough.cpp PARAM_TEST_CASE(HoughCircles, cv::cuda::DeviceInfo, cv::Size, UseRoi) cv 121 modules/cudaimgproc/test/test_hough.cpp static void drawCircles(cv::Mat& dst, const std::vector<cv::Vec3f>& circles, bool fill) cv 123 modules/cudaimgproc/test/test_hough.cpp dst.setTo(cv::Scalar::all(0)); cv 126 modules/cudaimgproc/test/test_hough.cpp cv::circle(dst, cv::Point2f(circles[i][0], circles[i][1]), (int)circles[i][2], cv::Scalar::all(255), fill ? -1 : 1); cv 132 modules/cudaimgproc/test/test_hough.cpp const cv::cuda::DeviceInfo devInfo = GET_PARAM(0); cv 133 modules/cudaimgproc/test/test_hough.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 134 modules/cudaimgproc/test/test_hough.cpp const cv::Size size = GET_PARAM(1); cv 144 modules/cudaimgproc/test/test_hough.cpp std::vector<cv::Vec3f> circles_gold(4); cv 145 modules/cudaimgproc/test/test_hough.cpp circles_gold[0] = cv::Vec3i(20, 20, minRadius); cv 146 modules/cudaimgproc/test/test_hough.cpp circles_gold[1] = cv::Vec3i(90, 87, minRadius + 3); cv 147 modules/cudaimgproc/test/test_hough.cpp circles_gold[2] = cv::Vec3i(30, 70, minRadius + 8); cv 148 modules/cudaimgproc/test/test_hough.cpp circles_gold[3] = cv::Vec3i(80, 10, maxRadius); cv 150 modules/cudaimgproc/test/test_hough.cpp cv::Mat src(size, CV_8UC1); cv 153 modules/cudaimgproc/test/test_hough.cpp cv::Ptr<cv::cuda::HoughCirclesDetector> houghCircles = cv::cuda::createHoughCirclesDetector(dp, minDist, cannyThreshold, votesThreshold, minRadius, maxRadius); cv 155 modules/cudaimgproc/test/test_hough.cpp cv::cuda::GpuMat d_circles; cv 158 modules/cudaimgproc/test/test_hough.cpp std::vector<cv::Vec3f> circles; cv 165 modules/cudaimgproc/test/test_hough.cpp cv::Vec3f cur = circles[i]; cv 171 modules/cudaimgproc/test/test_hough.cpp cv::Vec3f gold = circles_gold[j]; cv 192 modules/cudaimgproc/test/test_hough.cpp PARAM_TEST_CASE(GeneralizedHough, cv::cuda::DeviceInfo, UseRoi) cv 198 modules/cudaimgproc/test/test_hough.cpp const cv::cuda::DeviceInfo devInfo = GET_PARAM(0); cv 199 modules/cudaimgproc/test/test_hough.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 202 modules/cudaimgproc/test/test_hough.cpp cv::Mat templ = readImage("../cv/shared/templ.png", cv::IMREAD_GRAYSCALE); cv 205 modules/cudaimgproc/test/test_hough.cpp cv::Point templCenter(templ.cols / 2, templ.rows / 2); cv 208 modules/cudaimgproc/test/test_hough.cpp cv::Point pos_gold[gold_count]; cv 209 modules/cudaimgproc/test/test_hough.cpp pos_gold[0] = cv::Point(templCenter.x + 10, templCenter.y + 10); cv 210 modules/cudaimgproc/test/test_hough.cpp pos_gold[1] = cv::Point(2 * templCenter.x + 40, templCenter.y + 10); cv 211 modules/cudaimgproc/test/test_hough.cpp pos_gold[2] = cv::Point(2 * templCenter.x + 40, 2 * templCenter.y + 40); cv 213 modules/cudaimgproc/test/test_hough.cpp cv::Mat image(templ.rows * 3, templ.cols * 3, CV_8UC1, cv::Scalar::all(0)); cv 216 modules/cudaimgproc/test/test_hough.cpp cv::Rect rec(pos_gold[i].x - templCenter.x, pos_gold[i].y - templCenter.y, templ.cols, templ.rows); cv 217 modules/cudaimgproc/test/test_hough.cpp cv::Mat imageROI = image(rec); cv 221 modules/cudaimgproc/test/test_hough.cpp cv::Ptr<cv::GeneralizedHoughBallard> alg = cv::cuda::createGeneralizedHoughBallard(); cv 226 modules/cudaimgproc/test/test_hough.cpp cv::cuda::GpuMat d_pos; cv 229 modules/cudaimgproc/test/test_hough.cpp std::vector<cv::Vec4f> pos; cv 236 modules/cudaimgproc/test/test_hough.cpp cv::Point gold = pos_gold[i]; cv 242 modules/cudaimgproc/test/test_hough.cpp cv::Point2f p(pos[j][0], pos[j][1]); cv 52 modules/cudaimgproc/test/test_match_template.cpp CV_ENUM(TemplateMethod, cv::TM_SQDIFF, cv::TM_SQDIFF_NORMED, cv::TM_CCORR, cv::TM_CCORR_NORMED, cv::TM_CCOEFF, cv::TM_CCOEFF_NORMED) cv 53 modules/cudaimgproc/test/test_match_template.cpp #define ALL_TEMPLATE_METHODS testing::Values(TemplateMethod(cv::TM_SQDIFF), TemplateMethod(cv::TM_SQDIFF_NORMED), TemplateMethod(cv::TM_CCORR), TemplateMethod(cv::TM_CCORR_NORMED), TemplateMethod(cv::TM_CCOEFF), TemplateMethod(cv::TM_CCOEFF_NORMED)) cv 57 modules/cudaimgproc/test/test_match_template.cpp IMPLEMENT_PARAM_CLASS(TemplateSize, cv::Size); cv 60 modules/cudaimgproc/test/test_match_template.cpp PARAM_TEST_CASE(MatchTemplate8U, cv::cuda::DeviceInfo, cv::Size, TemplateSize, Channels, TemplateMethod) cv 62 modules/cudaimgproc/test/test_match_template.cpp cv::cuda::DeviceInfo devInfo; cv 63 modules/cudaimgproc/test/test_match_template.cpp cv::Size size; cv 64 modules/cudaimgproc/test/test_match_template.cpp cv::Size templ_size; cv 76 modules/cudaimgproc/test/test_match_template.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 82 modules/cudaimgproc/test/test_match_template.cpp cv::Mat image = randomMat(size, CV_MAKETYPE(CV_8U, cn)); cv 83 modules/cudaimgproc/test/test_match_template.cpp cv::Mat templ = randomMat(templ_size, CV_MAKETYPE(CV_8U, cn)); cv 85 modules/cudaimgproc/test/test_match_template.cpp cv::Ptr<cv::cuda::TemplateMatching> alg = cv::cuda::createTemplateMatching(image.type(), method); cv 87 modules/cudaimgproc/test/test_match_template.cpp cv::cuda::GpuMat dst; cv 90 modules/cudaimgproc/test/test_match_template.cpp cv::Mat dst_gold; cv 91 modules/cudaimgproc/test/test_match_template.cpp cv::matchTemplate(image, templ, dst_gold, method); cv 93 modules/cudaimgproc/test/test_match_template.cpp cv::Mat h_dst(dst); cv 110 modules/cudaimgproc/test/test_match_template.cpp testing::Values(TemplateSize(cv::Size(5, 5)), TemplateSize(cv::Size(16, 16)), TemplateSize(cv::Size(30, 30))), cv 117 modules/cudaimgproc/test/test_match_template.cpp PARAM_TEST_CASE(MatchTemplate32F, cv::cuda::DeviceInfo, cv::Size, TemplateSize, Channels, TemplateMethod) cv 119 modules/cudaimgproc/test/test_match_template.cpp cv::cuda::DeviceInfo devInfo; cv 120 modules/cudaimgproc/test/test_match_template.cpp cv::Size size; cv 121 modules/cudaimgproc/test/test_match_template.cpp cv::Size templ_size; cv 135 modules/cudaimgproc/test/test_match_template.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 141 modules/cudaimgproc/test/test_match_template.cpp cv::Mat image = randomMat(size, CV_MAKETYPE(CV_32F, cn)); cv 142 modules/cudaimgproc/test/test_match_template.cpp cv::Mat templ = randomMat(templ_size, CV_MAKETYPE(CV_32F, cn)); cv 144 modules/cudaimgproc/test/test_match_template.cpp cv::Ptr<cv::cuda::TemplateMatching> alg = cv::cuda::createTemplateMatching(image.type(), method); cv 146 modules/cudaimgproc/test/test_match_template.cpp cv::cuda::GpuMat dst; cv 149 modules/cudaimgproc/test/test_match_template.cpp cv::Mat dst_gold; cv 150 modules/cudaimgproc/test/test_match_template.cpp cv::matchTemplate(image, templ, dst_gold, method); cv 152 modules/cudaimgproc/test/test_match_template.cpp cv::Mat h_dst(dst); cv 169 modules/cudaimgproc/test/test_match_template.cpp testing::Values(TemplateSize(cv::Size(5, 5)), TemplateSize(cv::Size(16, 16)), TemplateSize(cv::Size(30, 30))), cv 171 modules/cudaimgproc/test/test_match_template.cpp testing::Values(TemplateMethod(cv::TM_SQDIFF), TemplateMethod(cv::TM_CCORR)))); cv 176 modules/cudaimgproc/test/test_match_template.cpp PARAM_TEST_CASE(MatchTemplateBlackSource, cv::cuda::DeviceInfo, TemplateMethod) cv 178 modules/cudaimgproc/test/test_match_template.cpp cv::cuda::DeviceInfo devInfo; cv 186 modules/cudaimgproc/test/test_match_template.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 192 modules/cudaimgproc/test/test_match_template.cpp cv::Mat image = readImage("matchtemplate/black.png"); cv 195 modules/cudaimgproc/test/test_match_template.cpp cv::Mat pattern = readImage("matchtemplate/cat.png"); cv 198 modules/cudaimgproc/test/test_match_template.cpp cv::Ptr<cv::cuda::TemplateMatching> alg = cv::cuda::createTemplateMatching(image.type(), method); cv 200 modules/cudaimgproc/test/test_match_template.cpp cv::cuda::GpuMat d_dst; cv 203 modules/cudaimgproc/test/test_match_template.cpp cv::Mat dst(d_dst); cv 206 modules/cudaimgproc/test/test_match_template.cpp cv::Point maxLoc; cv 207 modules/cudaimgproc/test/test_match_template.cpp cv::minMaxLoc(dst, NULL, &maxValue, NULL, &maxLoc); cv 209 modules/cudaimgproc/test/test_match_template.cpp cv::Point maxLocGold = cv::Point(284, 12); cv 216 modules/cudaimgproc/test/test_match_template.cpp testing::Values(TemplateMethod(cv::TM_CCOEFF_NORMED), TemplateMethod(cv::TM_CCORR_NORMED)))); cv 221 modules/cudaimgproc/test/test_match_template.cpp PARAM_TEST_CASE(MatchTemplate_CCOEF_NORMED, cv::cuda::DeviceInfo, std::pair<std::string, std::string>) cv 223 modules/cudaimgproc/test/test_match_template.cpp cv::cuda::DeviceInfo devInfo; cv 233 modules/cudaimgproc/test/test_match_template.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 239 modules/cudaimgproc/test/test_match_template.cpp cv::Mat image = readImage(imageName); cv 242 modules/cudaimgproc/test/test_match_template.cpp cv::Mat pattern = readImage(patternName); cv 245 modules/cudaimgproc/test/test_match_template.cpp cv::Ptr<cv::cuda::TemplateMatching> alg = cv::cuda::createTemplateMatching(image.type(), cv::TM_CCOEFF_NORMED); cv 247 modules/cudaimgproc/test/test_match_template.cpp cv::cuda::GpuMat d_dst; cv 250 modules/cudaimgproc/test/test_match_template.cpp cv::Mat dst(d_dst); cv 252 modules/cudaimgproc/test/test_match_template.cpp cv::Point minLoc, maxLoc; cv 254 modules/cudaimgproc/test/test_match_template.cpp cv::minMaxLoc(dst, &minVal, &maxVal, &minLoc, &maxLoc); cv 256 modules/cudaimgproc/test/test_match_template.cpp cv::Mat dstGold; cv 257 modules/cudaimgproc/test/test_match_template.cpp cv::matchTemplate(image, pattern, dstGold, cv::TM_CCOEFF_NORMED); cv 260 modules/cudaimgproc/test/test_match_template.cpp cv::Point minLocGold, maxLocGold; cv 261 modules/cudaimgproc/test/test_match_template.cpp cv::minMaxLoc(dstGold, &minValGold, &maxValGold, &minLocGold, &maxLocGold); cv 276 modules/cudaimgproc/test/test_match_template.cpp struct MatchTemplate_CanFindBigTemplate : testing::TestWithParam<cv::cuda::DeviceInfo> cv 278 modules/cudaimgproc/test/test_match_template.cpp cv::cuda::DeviceInfo devInfo; cv 284 modules/cudaimgproc/test/test_match_template.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 290 modules/cudaimgproc/test/test_match_template.cpp cv::Mat scene = readImage("matchtemplate/scene.png"); cv 293 modules/cudaimgproc/test/test_match_template.cpp cv::Mat templ = readImage("matchtemplate/template.png"); cv 296 modules/cudaimgproc/test/test_match_template.cpp cv::Ptr<cv::cuda::TemplateMatching> alg = cv::cuda::createTemplateMatching(scene.type(), cv::TM_SQDIFF_NORMED); cv 298 modules/cudaimgproc/test/test_match_template.cpp cv::cuda::GpuMat d_result; cv 301 modules/cudaimgproc/test/test_match_template.cpp cv::Mat result(d_result); cv 304 modules/cudaimgproc/test/test_match_template.cpp cv::Point minLoc; cv 305 modules/cudaimgproc/test/test_match_template.cpp cv::minMaxLoc(result, &minVal, 0, &minLoc, 0); cv 315 modules/cudaimgproc/test/test_match_template.cpp cv::Mat scene = readImage("matchtemplate/scene.png"); cv 318 modules/cudaimgproc/test/test_match_template.cpp cv::Mat templ = readImage("matchtemplate/template.png"); cv 321 modules/cudaimgproc/test/test_match_template.cpp cv::Ptr<cv::cuda::TemplateMatching> alg = cv::cuda::createTemplateMatching(scene.type(), cv::TM_SQDIFF); cv 323 modules/cudaimgproc/test/test_match_template.cpp cv::cuda::GpuMat d_result; cv 326 modules/cudaimgproc/test/test_match_template.cpp cv::Mat result(d_result); cv 329 modules/cudaimgproc/test/test_match_template.cpp cv::Point minLoc; cv 330 modules/cudaimgproc/test/test_match_template.cpp cv::minMaxLoc(result, &minVal, 0, &minLoc, 0); cv 52 modules/cudaimgproc/test/test_mean_shift.cpp struct MeanShift : testing::TestWithParam<cv::cuda::DeviceInfo> cv 54 modules/cudaimgproc/test/test_mean_shift.cpp cv::cuda::DeviceInfo devInfo; cv 56 modules/cudaimgproc/test/test_mean_shift.cpp cv::Mat img; cv 65 modules/cudaimgproc/test/test_mean_shift.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 77 modules/cudaimgproc/test/test_mean_shift.cpp cv::Mat img_template; cv 78 modules/cudaimgproc/test/test_mean_shift.cpp if (supportFeature(devInfo, cv::cuda::FEATURE_SET_COMPUTE_20)) cv 84 modules/cudaimgproc/test/test_mean_shift.cpp cv::cuda::GpuMat d_dst; cv 85 modules/cudaimgproc/test/test_mean_shift.cpp cv::cuda::meanShiftFiltering(loadMat(img), d_dst, spatialRad, colorRad); cv 89 modules/cudaimgproc/test/test_mean_shift.cpp cv::Mat dst(d_dst); cv 91 modules/cudaimgproc/test/test_mean_shift.cpp cv::Mat result; cv 92 modules/cudaimgproc/test/test_mean_shift.cpp cv::cvtColor(dst, result, cv::COLOR_BGRA2BGR); cv 99 modules/cudaimgproc/test/test_mean_shift.cpp cv::FileStorage fs; cv 100 modules/cudaimgproc/test/test_mean_shift.cpp if (supportFeature(devInfo, cv::cuda::FEATURE_SET_COMPUTE_20)) cv 101 modules/cudaimgproc/test/test_mean_shift.cpp fs.open(std::string(cvtest::TS::ptr()->get_data_path()) + "meanshift/spmap.yaml", cv::FileStorage::READ); cv 103 modules/cudaimgproc/test/test_mean_shift.cpp fs.open(std::string(cvtest::TS::ptr()->get_data_path()) + "meanshift/spmap_CC1X.yaml", cv::FileStorage::READ); cv 106 modules/cudaimgproc/test/test_mean_shift.cpp cv::Mat spmap_template; cv 110 modules/cudaimgproc/test/test_mean_shift.cpp cv::cuda::GpuMat rmap_filtered; cv 111 modules/cudaimgproc/test/test_mean_shift.cpp cv::cuda::meanShiftFiltering(loadMat(img), rmap_filtered, spatialRad, colorRad); cv 113 modules/cudaimgproc/test/test_mean_shift.cpp cv::cuda::GpuMat rmap; cv 114 modules/cudaimgproc/test/test_mean_shift.cpp cv::cuda::GpuMat spmap; cv 115 modules/cudaimgproc/test/test_mean_shift.cpp cv::cuda::meanShiftProc(loadMat(img), rmap, spmap, spatialRad, colorRad); cv 133 modules/cudaimgproc/test/test_mean_shift.cpp PARAM_TEST_CASE(MeanShiftSegmentation, cv::cuda::DeviceInfo, MinSize) cv 135 modules/cudaimgproc/test/test_mean_shift.cpp cv::cuda::DeviceInfo devInfo; cv 143 modules/cudaimgproc/test/test_mean_shift.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 149 modules/cudaimgproc/test/test_mean_shift.cpp cv::Mat img = readImageType("meanshift/cones.png", CV_8UC4); cv 154 modules/cudaimgproc/test/test_mean_shift.cpp if (supportFeature(devInfo, cv::cuda::FEATURE_SET_COMPUTE_20)) cv 158 modules/cudaimgproc/test/test_mean_shift.cpp cv::Mat dst_gold = readImage(path.str()); cv 161 modules/cudaimgproc/test/test_mean_shift.cpp cv::Mat dst; cv 162 modules/cudaimgproc/test/test_mean_shift.cpp cv::cuda::meanShiftSegmentation(loadMat(img), dst, 10, 10, minsize); cv 164 modules/cudaimgproc/test/test_mean_shift.cpp cv::Mat dst_rgb; cv 165 modules/cudaimgproc/test/test_mean_shift.cpp cv::cvtColor(dst, dst_rgb, cv::COLOR_BGRA2BGR); cv 88 modules/cudalegacy/include/opencv2/cudalegacy.hpp class CV_EXPORTS BackgroundSubtractorGMG : public cv::BackgroundSubtractor cv 91 modules/cudalegacy/include/opencv2/cudalegacy.hpp using cv::BackgroundSubtractor::apply; cv 144 modules/cudalegacy/include/opencv2/cudalegacy.hpp class CV_EXPORTS BackgroundSubtractorFGD : public cv::BackgroundSubtractor cv 249 modules/cudalegacy/include/opencv2/cudalegacy.hpp CV_EXPORTS void connectivityMask(const GpuMat& image, GpuMat& mask, const cv::Scalar& lo, const cv::Scalar& hi, Stream& stream = Stream::Null()); cv 247 modules/cudalegacy/include/opencv2/cudalegacy/NCV.hpp CV_EXPORTS void ncvDebugOutput(const cv::String &msg); cv 250 modules/cudalegacy/include/opencv2/cudalegacy/NCV.hpp typedef void NCVDebugOutputHandler(const cv::String &msg); cv 261 modules/cudalegacy/include/opencv2/cudalegacy/NCV.hpp cv::String str = cv::format("NCV Assertion Failed: %s, file=%s, line=%d", msg, __FILE__, __LINE__); \ cv 278 modules/cudalegacy/include/opencv2/cudalegacy/NCV.hpp cv::String msg = cv::format("retcode=%d", (int)err); \ cv 287 modules/cudalegacy/include/opencv2/cudalegacy/NCV.hpp cv::String msg = cv::format("NcvStat=%d", (int)_ncvStat); \ cv 296 modules/cudalegacy/include/opencv2/cudalegacy/NCV.hpp cv::String msg = cv::format("cudaError_t=%d", (int)res); \ cv 305 modules/cudalegacy/include/opencv2/cudalegacy/NCV.hpp cv::String msg = cv::format("cudaError_t=%d", (int)res); \ cv 444 modules/cudalegacy/include/opencv2/cudalegacy/NCVHaarObjectDetection.hpp CV_EXPORTS NCVStatus ncvHaarGetClassifierSize(const cv::String &filename, Ncv32u &numStages, cv 448 modules/cudalegacy/include/opencv2/cudalegacy/NCVHaarObjectDetection.hpp CV_EXPORTS NCVStatus ncvHaarLoadFromFile_host(const cv::String &filename, cv 455 modules/cudalegacy/include/opencv2/cudalegacy/NCVHaarObjectDetection.hpp CV_EXPORTS NCVStatus ncvHaarStoreNVBIN_host(const cv::String &filename, cv 80 modules/cudalegacy/include/opencv2/cudalegacy/private.hpp CV_EXPORTS cv::String getNcvErrorMessage(int code); cv 86 modules/cudalegacy/include/opencv2/cudalegacy/private.hpp cv::String msg = getNcvErrorMessage(err); cv 87 modules/cudalegacy/include/opencv2/cudalegacy/private.hpp cv::error(cv::Error::GpuApiCallError, msg, func, file, line); cv 92 modules/cudalegacy/include/opencv2/cudalegacy/private.hpp #define ncvSafeCall(expr) cv::cuda::checkNcvError(expr, __FILE__, __LINE__, CV_Func) cv 82 modules/cudalegacy/perf/perf_bgsegm.cpp cv::VideoCapture cap(inputFile); cv 85 modules/cudalegacy/perf/perf_bgsegm.cpp cv::Mat frame; cv 91 modules/cudalegacy/perf/perf_bgsegm.cpp cv::cuda::GpuMat d_frame(frame), foreground; cv 93 modules/cudalegacy/perf/perf_bgsegm.cpp cv::Ptr<cv::cuda::BackgroundSubtractorFGD> d_fgd = cv::cuda::createBackgroundSubtractorFGD(); cv 154 modules/cudalegacy/perf/perf_bgsegm.cpp cv::VideoCapture cap(inputFile); cv 157 modules/cudalegacy/perf/perf_bgsegm.cpp cv::Mat frame; cv 163 modules/cudalegacy/perf/perf_bgsegm.cpp cv::Mat temp; cv 165 modules/cudalegacy/perf/perf_bgsegm.cpp cv::cvtColor(frame, temp, cv::COLOR_BGR2GRAY); cv 167 modules/cudalegacy/perf/perf_bgsegm.cpp cv::cvtColor(frame, temp, cv::COLOR_BGR2BGRA); cv 168 modules/cudalegacy/perf/perf_bgsegm.cpp cv::swap(temp, frame); cv 173 modules/cudalegacy/perf/perf_bgsegm.cpp cv::cuda::GpuMat d_frame(frame); cv 174 modules/cudalegacy/perf/perf_bgsegm.cpp cv::cuda::GpuMat foreground; cv 176 modules/cudalegacy/perf/perf_bgsegm.cpp cv::Ptr<cv::cuda::BackgroundSubtractorGMG> d_gmg = cv::cuda::createBackgroundSubtractorGMG(); cv 196 modules/cudalegacy/perf/perf_bgsegm.cpp cv::Mat temp; cv 198 modules/cudalegacy/perf/perf_bgsegm.cpp cv::cvtColor(frame, temp, cv::COLOR_BGR2GRAY); cv 200 modules/cudalegacy/perf/perf_bgsegm.cpp cv::cvtColor(frame, temp, cv::COLOR_BGR2BGRA); cv 201 modules/cudalegacy/perf/perf_bgsegm.cpp cv::swap(temp, frame); cv 228 modules/cudalegacy/perf/perf_bgsegm.cpp cv::Mat temp; cv 230 modules/cudalegacy/perf/perf_bgsegm.cpp cv::cvtColor(frame, temp, cv::COLOR_BGR2GRAY); cv 232 modules/cudalegacy/perf/perf_bgsegm.cpp cv::cvtColor(frame, temp, cv::COLOR_BGR2BGRA); cv 233 modules/cudalegacy/perf/perf_bgsegm.cpp cv::swap(temp, frame); cv 63 modules/cudalegacy/perf/perf_calib3d.cpp cv::Mat src(1, count, CV_32FC3); cv 66 modules/cudalegacy/perf/perf_calib3d.cpp const cv::Mat rvec = cv::Mat::ones(1, 3, CV_32FC1); cv 67 modules/cudalegacy/perf/perf_calib3d.cpp const cv::Mat tvec = cv::Mat::ones(1, 3, CV_32FC1); cv 68 modules/cudalegacy/perf/perf_calib3d.cpp const cv::Mat camera_mat = cv::Mat::ones(3, 3, CV_32FC1); cv 72 modules/cudalegacy/perf/perf_calib3d.cpp const cv::cuda::GpuMat d_src(src); cv 73 modules/cudalegacy/perf/perf_calib3d.cpp cv::cuda::GpuMat dst; cv 75 modules/cudalegacy/perf/perf_calib3d.cpp TEST_CYCLE() cv::cuda::projectPoints(d_src, rvec, tvec, camera_mat, cv::Mat(), dst); cv 81 modules/cudalegacy/perf/perf_calib3d.cpp cv::Mat dst; cv 83 modules/cudalegacy/perf/perf_calib3d.cpp TEST_CYCLE() cv::projectPoints(src, rvec, tvec, camera_mat, cv::noArray(), dst); cv 99 modules/cudalegacy/perf/perf_calib3d.cpp cv::Mat object(1, count, CV_32FC3); cv 102 modules/cudalegacy/perf/perf_calib3d.cpp cv::Mat camera_mat(3, 3, CV_32FC1); cv 103 modules/cudalegacy/perf/perf_calib3d.cpp cv::randu(camera_mat, 0.5, 1); cv 109 modules/cudalegacy/perf/perf_calib3d.cpp const cv::Mat dist_coef(1, 8, CV_32F, cv::Scalar::all(0)); cv 111 modules/cudalegacy/perf/perf_calib3d.cpp cv::Mat rvec_gold(1, 3, CV_32FC1); cv 112 modules/cudalegacy/perf/perf_calib3d.cpp cv::randu(rvec_gold, 0, 1); cv 114 modules/cudalegacy/perf/perf_calib3d.cpp cv::Mat tvec_gold(1, 3, CV_32FC1); cv 115 modules/cudalegacy/perf/perf_calib3d.cpp cv::randu(tvec_gold, 0, 1); cv 117 modules/cudalegacy/perf/perf_calib3d.cpp std::vector<cv::Point2f> image_vec; cv 118 modules/cudalegacy/perf/perf_calib3d.cpp cv::projectPoints(object, rvec_gold, tvec_gold, camera_mat, dist_coef, image_vec); cv 120 modules/cudalegacy/perf/perf_calib3d.cpp const cv::Mat image(1, count, CV_32FC2, &image_vec[0]); cv 122 modules/cudalegacy/perf/perf_calib3d.cpp cv::Mat rvec; cv 123 modules/cudalegacy/perf/perf_calib3d.cpp cv::Mat tvec; cv 127 modules/cudalegacy/perf/perf_calib3d.cpp TEST_CYCLE() cv::cuda::solvePnPRansac(object, image, camera_mat, dist_coef, rvec, tvec); cv 134 modules/cudalegacy/perf/perf_calib3d.cpp TEST_CYCLE() cv::solvePnPRansac(object, image, camera_mat, dist_coef, rvec, tvec); cv 82 modules/cudalegacy/perf/perf_labeling.cpp GreedyLabeling(cv::Mat img) cv 83 modules/cudalegacy/perf/perf_labeling.cpp : image(img), _labels(image.size(), CV_32SC1, cv::Scalar::all(-1)) {stack = new dot[image.cols * image.rows];} cv 87 modules/cudalegacy/perf/perf_labeling.cpp void operator() (cv::Mat labels) const cv 89 modules/cudalegacy/perf/perf_labeling.cpp labels.setTo(cv::Scalar::all(-1)); cv 139 modules/cudalegacy/perf/perf_labeling.cpp cv::Mat image; cv 140 modules/cudalegacy/perf/perf_labeling.cpp cv::Mat _labels; cv 149 modules/cudalegacy/perf/perf_labeling.cpp const cv::Mat image = readImage(GetParam(), cv::IMREAD_GRAYSCALE); cv 154 modules/cudalegacy/perf/perf_labeling.cpp cv::cuda::GpuMat d_image(image); cv 155 modules/cudalegacy/perf/perf_labeling.cpp cv::cuda::GpuMat mask; cv 157 modules/cudalegacy/perf/perf_labeling.cpp TEST_CYCLE() cv::cuda::connectivityMask(d_image, mask, cv::Scalar::all(0), cv::Scalar::all(2)); cv 172 modules/cudalegacy/perf/perf_labeling.cpp const cv::Mat image = readImage(GetParam(), cv::IMREAD_GRAYSCALE); cv 177 modules/cudalegacy/perf/perf_labeling.cpp cv::cuda::GpuMat d_mask; cv 178 modules/cudalegacy/perf/perf_labeling.cpp cv::cuda::connectivityMask(cv::cuda::GpuMat(image), d_mask, cv::Scalar::all(0), cv::Scalar::all(2)); cv 180 modules/cudalegacy/perf/perf_labeling.cpp cv::cuda::GpuMat components; cv 182 modules/cudalegacy/perf/perf_labeling.cpp TEST_CYCLE() cv::cuda::labelComponents(d_mask, components); cv 192 modules/cudalegacy/perf/perf_labeling.cpp cv::Mat components = host._labels; cv 121 modules/cudalegacy/src/NCV.cpp cv::String cv::cuda::getNcvErrorMessage(int code) cv 126 modules/cudalegacy/src/NCV.cpp String str = cv::format("%s [Code = %d]", msg, code); cv 132 modules/cudalegacy/src/NCV.cpp static void stdDebugOutput(const cv::String &msg) cv 141 modules/cudalegacy/src/NCV.cpp void ncvDebugOutput(const cv::String &msg) cv 726 modules/cudalegacy/src/NCV.cpp cv::Rect operator()(const NcvRect32u& nr) const { return cv::Rect(nr.x, nr.y, nr.width, nr.height); } cv 727 modules/cudalegacy/src/NCV.cpp NcvRect32u operator()(const cv::Rect& nr) const cv 745 modules/cudalegacy/src/NCV.cpp CV_Error(cv::Error::StsNotImplemented, "This functionality requires objdetect module"); cv 747 modules/cudalegacy/src/NCV.cpp std::vector<cv::Rect> rects(hypotheses.size()); cv 754 modules/cudalegacy/src/NCV.cpp cv::groupRectangles(rects, weights_int, groupThreshold, eps); cv 758 modules/cudalegacy/src/NCV.cpp cv::groupRectangles(rects, groupThreshold, eps); cv 45 modules/cudalegacy/src/bm.cpp using namespace cv; cv 46 modules/cudalegacy/src/bm.cpp using namespace cv::cuda; cv 50 modules/cudalegacy/src/bm.cpp void cv::cuda::calcOpticalFlowBM(const GpuMat&, const GpuMat&, Size, Size, Size, bool, GpuMat&, GpuMat&, GpuMat&, Stream&) { throw_no_cuda(); } cv 60 modules/cudalegacy/src/bm.cpp void cv::cuda::calcOpticalFlowBM(const GpuMat& prev, const GpuMat& curr, Size blockSize, Size shiftSize, Size maxRange, bool usePrevious, GpuMat& velx, GpuMat& vely, GpuMat& buf, Stream& st) cv 45 modules/cudalegacy/src/bm_fast.cpp using namespace cv; cv 46 modules/cudalegacy/src/bm_fast.cpp using namespace cv::cuda; cv 50 modules/cudalegacy/src/bm_fast.cpp void cv::cuda::FastOpticalFlowBM::operator ()(const GpuMat&, const GpuMat&, GpuMat&, GpuMat&, int, int, Stream&) { throw_no_cuda(); } cv 62 modules/cudalegacy/src/bm_fast.cpp void cv::cuda::FastOpticalFlowBM::operator ()(const GpuMat& I0, const GpuMat& I1, GpuMat& flowx, GpuMat& flowy, int search_window, int block_window, Stream& stream) cv 73 modules/cudalegacy/src/bm_fast.cpp cuda::copyMakeBorder(I0, extended_I0, border_size, border_size, border_size, border_size, cv::BORDER_DEFAULT, Scalar(), stream); cv 74 modules/cudalegacy/src/bm_fast.cpp cuda::copyMakeBorder(I1, extended_I1, border_size, border_size, border_size, border_size, cv::BORDER_DEFAULT, Scalar(), stream); cv 45 modules/cudalegacy/src/calib3d.cpp using namespace cv; cv 46 modules/cudalegacy/src/calib3d.cpp using namespace cv::cuda; cv 50 modules/cudalegacy/src/calib3d.cpp void cv::cuda::transformPoints(const GpuMat&, const Mat&, const Mat&, GpuMat&, Stream&) { throw_no_cuda(); } cv 52 modules/cudalegacy/src/calib3d.cpp void cv::cuda::projectPoints(const GpuMat&, const Mat&, const Mat&, const Mat&, const Mat&, GpuMat&, Stream&) { throw_no_cuda(); } cv 54 modules/cudalegacy/src/calib3d.cpp void cv::cuda::solvePnPRansac(const Mat&, const Mat&, const Mat&, const Mat&, Mat&, Mat&, bool, int, float, int, std::vector<int>*) { throw_no_cuda(); } cv 81 modules/cudalegacy/src/calib3d.cpp using namespace ::cv::cuda::device; cv 100 modules/cudalegacy/src/calib3d.cpp void cv::cuda::transformPoints(const GpuMat& src, const Mat& rvec, const Mat& tvec, GpuMat& dst, Stream& stream) cv 124 modules/cudalegacy/src/calib3d.cpp void cv::cuda::projectPoints(const GpuMat& src, const Mat& rvec, const Mat& tvec, const Mat& camera_mat, const Mat& dist_coef, GpuMat& dst, Stream& stream) cv 211 modules/cudalegacy/src/calib3d.cpp void cv::cuda::solvePnPRansac(const Mat& object, const Mat& image, const Mat& camera_mat, cv 167 modules/cudalegacy/src/cuda/fgd.hpp void calcDiffHistogram_gpu(cv::cuda::PtrStepSzb prevFrame, cv::cuda::PtrStepSzb curFrame, cv 173 modules/cudalegacy/src/cuda/fgd.hpp void calcDiffThreshMask_gpu(cv::cuda::PtrStepSzb prevFrame, cv::cuda::PtrStepSzb curFrame, uchar3 bestThres, cv::cuda::PtrStepSzb changeMask, cudaStream_t stream); cv 178 modules/cudalegacy/src/cuda/fgd.hpp void bgfgClassification_gpu(cv::cuda::PtrStepSzb prevFrame, cv::cuda::PtrStepSzb curFrame, cv 179 modules/cudalegacy/src/cuda/fgd.hpp cv::cuda::PtrStepSzb Ftd, cv::cuda::PtrStepSzb Fbd, cv::cuda::PtrStepSzb foreground, cv 183 modules/cudalegacy/src/cuda/fgd.hpp void updateBackgroundModel_gpu(cv::cuda::PtrStepSzb prevFrame, cv::cuda::PtrStepSzb curFrame, cv 184 modules/cudalegacy/src/cuda/fgd.hpp cv::cuda::PtrStepSzb Ftd, cv::cuda::PtrStepSzb Fbd, cv::cuda::PtrStepSzb foreground, cv::cuda::PtrStepSzb background, cv 45 modules/cudalegacy/src/fgd.cpp using namespace cv; cv 46 modules/cudalegacy/src/fgd.cpp using namespace cv::cuda; cv 50 modules/cudalegacy/src/fgd.cpp cv::cuda::FGDParams::FGDParams() { throw_no_cuda(); } cv 52 modules/cudalegacy/src/fgd.cpp Ptr<cuda::BackgroundSubtractorFGD> cv::cuda::createBackgroundSubtractorFGD(const FGDParams&) { throw_no_cuda(); return Ptr<cuda::BackgroundSubtractorFGD>(); } cv 90 modules/cudalegacy/src/fgd.cpp cv::cuda::FGDParams::FGDParams() cv 724 modules/cudalegacy/src/fgd.cpp Ptr<cuda::BackgroundSubtractorFGD> cv::cuda::createBackgroundSubtractorFGD(const FGDParams& params) cv 45 modules/cudalegacy/src/gmg.cpp using namespace cv; cv 46 modules/cudalegacy/src/gmg.cpp using namespace cv::cuda; cv 50 modules/cudalegacy/src/gmg.cpp Ptr<cuda::BackgroundSubtractorGMG> cv::cuda::createBackgroundSubtractorGMG(int, double) { throw_no_cuda(); return Ptr<cuda::BackgroundSubtractorGMG>(); } cv 170 modules/cudalegacy/src/gmg.cpp using namespace cv::cuda::device::gmg; cv 240 modules/cudalegacy/src/gmg.cpp using namespace cv::cuda::device::gmg; cv 272 modules/cudalegacy/src/gmg.cpp Ptr<cuda::BackgroundSubtractorGMG> cv::cuda::createBackgroundSubtractorGMG(int initializationFrames, double decisionThreshold) cv 47 modules/cudalegacy/src/graphcuts.cpp void cv::cuda::graphcut(GpuMat&, GpuMat&, GpuMat&, GpuMat&, GpuMat&, GpuMat&, GpuMat&, Stream&) { throw_no_cuda(); } cv 48 modules/cudalegacy/src/graphcuts.cpp void cv::cuda::graphcut(GpuMat&, GpuMat&, GpuMat&, GpuMat&, GpuMat&, GpuMat&, GpuMat&, GpuMat&, GpuMat&, GpuMat&, GpuMat&, Stream&) { throw_no_cuda(); } cv 50 modules/cudalegacy/src/graphcuts.cpp void cv::cuda::connectivityMask(const GpuMat&, GpuMat&, const cv::Scalar&, const cv::Scalar&, Stream&) { throw_no_cuda(); } cv 51 modules/cudalegacy/src/graphcuts.cpp void cv::cuda::labelComponents(const GpuMat&, GpuMat&, int, Stream&) { throw_no_cuda(); } cv 66 modules/cudalegacy/src/graphcuts.cpp static float4 scalarToCudaType(const cv::Scalar& in) cv 71 modules/cudalegacy/src/graphcuts.cpp void cv::cuda::connectivityMask(const GpuMat& image, GpuMat& mask, const cv::Scalar& lo, const cv::Scalar& hi, Stream& s) cv 105 modules/cudalegacy/src/graphcuts.cpp void cv::cuda::labelComponents(const GpuMat& mask, GpuMat& components, int flags, Stream& s) cv 110 modules/cudalegacy/src/graphcuts.cpp CV_Error(cv::Error::StsNotImplemented, "The device doesn't support shared atomics and communicative synchronization!"); cv 145 modules/cudalegacy/src/graphcuts.cpp void cv::cuda::graphcut(GpuMat& terminals, GpuMat& leftTransp, GpuMat& rightTransp, GpuMat& top, GpuMat& bottom, GpuMat& labels, GpuMat& buf, Stream& s) cv 204 modules/cudalegacy/src/graphcuts.cpp void cv::cuda::graphcut(GpuMat& terminals, GpuMat& leftTransp, GpuMat& rightTransp, GpuMat& top, GpuMat& topLeft, GpuMat& topRight, cv 45 modules/cudalegacy/src/image_pyramid.cpp using namespace cv; cv 46 modules/cudalegacy/src/image_pyramid.cpp using namespace cv::cuda; cv 50 modules/cudalegacy/src/image_pyramid.cpp Ptr<ImagePyramid> cv::cuda::createImagePyramid(InputArray, int, Stream&) { throw_no_cuda(); return Ptr<ImagePyramid>(); } cv 97 modules/cudalegacy/src/image_pyramid.cpp cv::cuda::device::pyramid::downsampleX2(prevLayer, pyramid_[i], img.depth(), img.channels(), StreamAccessor::getStream(stream)); cv 138 modules/cudalegacy/src/image_pyramid.cpp cv::cuda::device::pyramid::interpolateFrom1(lastLayer, outImg, outImg.depth(), outImg.channels(), StreamAccessor::getStream(stream)); cv 142 modules/cudalegacy/src/image_pyramid.cpp Ptr<ImagePyramid> cv::cuda::createImagePyramid(InputArray img, int nLayers, Stream& stream) cv 45 modules/cudalegacy/src/interpolate_frames.cpp using namespace cv; cv 46 modules/cudalegacy/src/interpolate_frames.cpp using namespace cv::cuda; cv 50 modules/cudalegacy/src/interpolate_frames.cpp void cv::cuda::interpolateFrames(const GpuMat&, const GpuMat&, const GpuMat&, const GpuMat&, const GpuMat&, const GpuMat&, float, GpuMat&, GpuMat&, Stream&) { throw_no_cuda(); } cv 54 modules/cudalegacy/src/interpolate_frames.cpp void cv::cuda::interpolateFrames(const GpuMat& frame0, const GpuMat& frame1, const GpuMat& fu, const GpuMat& fv, const GpuMat& bu, const GpuMat& bv, cv 45 modules/cudalegacy/src/needle_map.cpp using namespace cv; cv 46 modules/cudalegacy/src/needle_map.cpp using namespace cv::cuda; cv 50 modules/cudalegacy/src/needle_map.cpp void cv::cuda::createOpticalFlowNeedleMap(const GpuMat&, const GpuMat&, GpuMat&, GpuMat&) { throw_no_cuda(); } cv 63 modules/cudalegacy/src/needle_map.cpp void cv::cuda::createOpticalFlowNeedleMap(const GpuMat& u, const GpuMat& v, GpuMat& vertex, GpuMat& colors) cv 65 modules/cudalegacy/src/needle_map.cpp using namespace cv::cuda::device::optical_flow; cv 97 modules/cudalegacy/test/NCVTestSourceProvider.hpp cv::Mat image = cv::imread(pgmFilename); cv 112 modules/cudalegacy/test/NCVTestSourceProvider.hpp cv::Mat hdr(image.size(), CV_8UC1, data.get()->ptr(), data.get()->pitch()); cv 98 modules/cudalegacy/test/TestHaarCascadeLoader.cpp const std::string testNvbinName = cv::tempfile("test.nvbin"); cv 293 modules/cudalegacy/test/main_nvidia.cpp static void devNullOutput(const cv::String& msg) cv 54 modules/cudalegacy/test/test_calib3d.cpp struct TransformPoints : testing::TestWithParam<cv::cuda::DeviceInfo> cv 56 modules/cudalegacy/test/test_calib3d.cpp cv::cuda::DeviceInfo devInfo; cv 62 modules/cudalegacy/test/test_calib3d.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 68 modules/cudalegacy/test/test_calib3d.cpp cv::Mat src = randomMat(cv::Size(1000, 1), CV_32FC3, 0, 10); cv 69 modules/cudalegacy/test/test_calib3d.cpp cv::Mat rvec = randomMat(cv::Size(3, 1), CV_32F, 0, 1); cv 70 modules/cudalegacy/test/test_calib3d.cpp cv::Mat tvec = randomMat(cv::Size(3, 1), CV_32F, 0, 1); cv 72 modules/cudalegacy/test/test_calib3d.cpp cv::cuda::GpuMat dst; cv 73 modules/cudalegacy/test/test_calib3d.cpp cv::cuda::transformPoints(loadMat(src), rvec, tvec, dst); cv 78 modules/cudalegacy/test/test_calib3d.cpp cv::Mat h_dst(dst); cv 80 modules/cudalegacy/test/test_calib3d.cpp cv::Mat rot; cv 81 modules/cudalegacy/test/test_calib3d.cpp cv::Rodrigues(rvec, rot); cv 85 modules/cudalegacy/test/test_calib3d.cpp cv::Point3f res = h_dst.at<cv::Point3f>(0, i); cv 87 modules/cudalegacy/test/test_calib3d.cpp cv::Point3f p = src.at<cv::Point3f>(0, i); cv 88 modules/cudalegacy/test/test_calib3d.cpp cv::Point3f res_gold( cv 102 modules/cudalegacy/test/test_calib3d.cpp struct ProjectPoints : testing::TestWithParam<cv::cuda::DeviceInfo> cv 104 modules/cudalegacy/test/test_calib3d.cpp cv::cuda::DeviceInfo devInfo; cv 110 modules/cudalegacy/test/test_calib3d.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 116 modules/cudalegacy/test/test_calib3d.cpp cv::Mat src = randomMat(cv::Size(1000, 1), CV_32FC3, 0, 10); cv 117 modules/cudalegacy/test/test_calib3d.cpp cv::Mat rvec = randomMat(cv::Size(3, 1), CV_32F, 0, 1); cv 118 modules/cudalegacy/test/test_calib3d.cpp cv::Mat tvec = randomMat(cv::Size(3, 1), CV_32F, 0, 1); cv 119 modules/cudalegacy/test/test_calib3d.cpp cv::Mat camera_mat = randomMat(cv::Size(3, 3), CV_32F, 0.5, 1); cv 125 modules/cudalegacy/test/test_calib3d.cpp cv::cuda::GpuMat dst; cv 126 modules/cudalegacy/test/test_calib3d.cpp cv::cuda::projectPoints(loadMat(src), rvec, tvec, camera_mat, cv::Mat(), dst); cv 131 modules/cudalegacy/test/test_calib3d.cpp std::vector<cv::Point2f> dst_gold; cv 132 modules/cudalegacy/test/test_calib3d.cpp cv::projectPoints(src, rvec, tvec, camera_mat, cv::Mat(1, 8, CV_32F, cv::Scalar::all(0)), dst_gold); cv 136 modules/cudalegacy/test/test_calib3d.cpp cv::Mat h_dst(dst); cv 140 modules/cudalegacy/test/test_calib3d.cpp cv::Point2f res = h_dst.at<cv::Point2f>(0, (int)i); cv 141 modules/cudalegacy/test/test_calib3d.cpp cv::Point2f res_gold = dst_gold[i]; cv 143 modules/cudalegacy/test/test_calib3d.cpp ASSERT_LE(cv::norm(res_gold - res) / cv::norm(res_gold), 1e-3f); cv 152 modules/cudalegacy/test/test_calib3d.cpp struct SolvePnPRansac : testing::TestWithParam<cv::cuda::DeviceInfo> cv 154 modules/cudalegacy/test/test_calib3d.cpp cv::cuda::DeviceInfo devInfo; cv 160 modules/cudalegacy/test/test_calib3d.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 166 modules/cudalegacy/test/test_calib3d.cpp cv::Mat object = randomMat(cv::Size(5000, 1), CV_32FC3, 0, 100); cv 167 modules/cudalegacy/test/test_calib3d.cpp cv::Mat camera_mat = randomMat(cv::Size(3, 3), CV_32F, 0.5, 1); cv 173 modules/cudalegacy/test/test_calib3d.cpp std::vector<cv::Point2f> image_vec; cv 174 modules/cudalegacy/test/test_calib3d.cpp cv::Mat rvec_gold; cv 175 modules/cudalegacy/test/test_calib3d.cpp cv::Mat tvec_gold; cv 176 modules/cudalegacy/test/test_calib3d.cpp rvec_gold = randomMat(cv::Size(3, 1), CV_32F, 0, 1); cv 177 modules/cudalegacy/test/test_calib3d.cpp tvec_gold = randomMat(cv::Size(3, 1), CV_32F, 0, 1); cv 178 modules/cudalegacy/test/test_calib3d.cpp cv::projectPoints(object, rvec_gold, tvec_gold, camera_mat, cv::Mat(1, 8, CV_32F, cv::Scalar::all(0)), image_vec); cv 180 modules/cudalegacy/test/test_calib3d.cpp cv::Mat rvec, tvec; cv 182 modules/cudalegacy/test/test_calib3d.cpp cv::cuda::solvePnPRansac(object, cv::Mat(1, (int)image_vec.size(), CV_32FC2, &image_vec[0]), cv 183 modules/cudalegacy/test/test_calib3d.cpp camera_mat, cv::Mat(1, 8, CV_32F, cv::Scalar::all(0)), cv 186 modules/cudalegacy/test/test_calib3d.cpp ASSERT_LE(cv::norm(rvec - rvec_gold), 1e-3); cv 187 modules/cudalegacy/test/test_calib3d.cpp ASSERT_LE(cv::norm(tvec - tvec_gold), 1e-3); cv 75 modules/cudalegacy/test/test_labeling.cpp GreedyLabeling(cv::Mat img) cv 76 modules/cudalegacy/test/test_labeling.cpp : image(img), _labels(image.size(), CV_32SC1, cv::Scalar::all(-1)) {} cv 78 modules/cudalegacy/test/test_labeling.cpp void operator() (cv::Mat labels) const cv 133 modules/cudalegacy/test/test_labeling.cpp void checkCorrectness(cv::Mat gpu) cv 135 modules/cudalegacy/test/test_labeling.cpp cv::Mat diff = gpu - _labels; cv 149 modules/cudalegacy/test/test_labeling.cpp cv::Mat image; cv 150 modules/cudalegacy/test/test_labeling.cpp cv::Mat _labels; cv 154 modules/cudalegacy/test/test_labeling.cpp struct Labeling : testing::TestWithParam<cv::cuda::DeviceInfo> cv 156 modules/cudalegacy/test/test_labeling.cpp cv::cuda::DeviceInfo devInfo; cv 161 modules/cudalegacy/test/test_labeling.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 164 modules/cudalegacy/test/test_labeling.cpp cv::Mat loat_image() cv 166 modules/cudalegacy/test/test_labeling.cpp return cv::imread(std::string( cvtest::TS::ptr()->get_data_path() ) + "labeling/label.png"); cv 172 modules/cudalegacy/test/test_labeling.cpp cv::Mat image; cv 173 modules/cudalegacy/test/test_labeling.cpp cvtColor(loat_image(), image, cv::COLOR_BGR2GRAY); cv 175 modules/cudalegacy/test/test_labeling.cpp cv::threshold(image, image, 150, 255, cv::THRESH_BINARY); cv 182 modules/cudalegacy/test/test_labeling.cpp cv::cuda::GpuMat mask; cv 185 modules/cudalegacy/test/test_labeling.cpp cv::cuda::GpuMat components; cv 188 modules/cudalegacy/test/test_labeling.cpp cv::cuda::connectivityMask(cv::cuda::GpuMat(image), mask, cv::Scalar::all(0), cv::Scalar::all(2)); cv 190 modules/cudalegacy/test/test_labeling.cpp cv::cuda::labelComponents(mask, components); cv 192 modules/cudalegacy/test/test_labeling.cpp host.checkCorrectness(cv::Mat(components)); cv 48 modules/cudalegacy/test/test_main.cpp using namespace cv; cv 49 modules/cudalegacy/test/test_main.cpp using namespace cv::cuda; cv 52 modules/cudalegacy/test/test_nvidia.cpp struct NVidiaTest : TestWithParam<cv::cuda::DeviceInfo> cv 54 modules/cudalegacy/test/test_nvidia.cpp cv::cuda::DeviceInfo devInfo; cv 62 modules/cudalegacy/test/test_nvidia.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 66 modules/cudaobjdetect/perf/perf_objdetect.cpp const cv::Mat img = readImage(GetParam(), cv::IMREAD_GRAYSCALE); cv 71 modules/cudaobjdetect/perf/perf_objdetect.cpp const cv::cuda::GpuMat d_img(img); cv 72 modules/cudaobjdetect/perf/perf_objdetect.cpp std::vector<cv::Rect> gpu_found_locations; cv 74 modules/cudaobjdetect/perf/perf_objdetect.cpp cv::Ptr<cv::cuda::HOG> d_hog = cv::cuda::HOG::create(); cv 83 modules/cudaobjdetect/perf/perf_objdetect.cpp std::vector<cv::Rect> cpu_found_locations; cv 85 modules/cudaobjdetect/perf/perf_objdetect.cpp cv::Ptr<cv::cuda::HOG> d_hog = cv::cuda::HOG::create(); cv 87 modules/cudaobjdetect/perf/perf_objdetect.cpp cv::HOGDescriptor hog; cv 105 modules/cudaobjdetect/perf/perf_objdetect.cpp const cv::Mat img = readImage(GetParam().first, cv::IMREAD_GRAYSCALE); cv 110 modules/cudaobjdetect/perf/perf_objdetect.cpp cv::Ptr<cv::cuda::CascadeClassifier> d_cascade = cv 111 modules/cudaobjdetect/perf/perf_objdetect.cpp cv::cuda::CascadeClassifier::create(perf::TestBase::getDataPath(GetParam().second)); cv 113 modules/cudaobjdetect/perf/perf_objdetect.cpp const cv::cuda::GpuMat d_img(img); cv 114 modules/cudaobjdetect/perf/perf_objdetect.cpp cv::cuda::GpuMat objects_buffer; cv 118 modules/cudaobjdetect/perf/perf_objdetect.cpp std::vector<cv::Rect> gpu_rects; cv 121 modules/cudaobjdetect/perf/perf_objdetect.cpp cv::groupRectangles(gpu_rects, 3, 0.2); cv 126 modules/cudaobjdetect/perf/perf_objdetect.cpp cv::CascadeClassifier cascade; cv 129 modules/cudaobjdetect/perf/perf_objdetect.cpp std::vector<cv::Rect> cpu_rects; cv 143 modules/cudaobjdetect/perf/perf_objdetect.cpp const cv::Mat img = readImage(GetParam().first, cv::IMREAD_GRAYSCALE); cv 148 modules/cudaobjdetect/perf/perf_objdetect.cpp cv::Ptr<cv::cuda::CascadeClassifier> d_cascade = cv 149 modules/cudaobjdetect/perf/perf_objdetect.cpp cv::cuda::CascadeClassifier::create(perf::TestBase::getDataPath(GetParam().second)); cv 151 modules/cudaobjdetect/perf/perf_objdetect.cpp const cv::cuda::GpuMat d_img(img); cv 152 modules/cudaobjdetect/perf/perf_objdetect.cpp cv::cuda::GpuMat objects_buffer; cv 156 modules/cudaobjdetect/perf/perf_objdetect.cpp std::vector<cv::Rect> gpu_rects; cv 159 modules/cudaobjdetect/perf/perf_objdetect.cpp cv::groupRectangles(gpu_rects, 3, 0.2); cv 164 modules/cudaobjdetect/perf/perf_objdetect.cpp cv::CascadeClassifier cascade; cv 167 modules/cudaobjdetect/perf/perf_objdetect.cpp std::vector<cv::Rect> cpu_rects; cv 46 modules/cudaobjdetect/src/cascadeclassifier.cpp using namespace cv; cv 47 modules/cudaobjdetect/src/cascadeclassifier.cpp using namespace cv::cuda; cv 51 modules/cudaobjdetect/src/cascadeclassifier.cpp Ptr<cuda::CascadeClassifier> cv::cuda::CascadeClassifier::create(const String&) { throw_no_cuda(); return Ptr<cuda::CascadeClassifier>(); } cv 52 modules/cudaobjdetect/src/cascadeclassifier.cpp Ptr<cuda::CascadeClassifier> cv::cuda::CascadeClassifier::create(const FileStorage&) { throw_no_cuda(); return Ptr<cuda::CascadeClassifier>(); } cv 130 modules/cudaobjdetect/src/cascadeclassifier.cpp NCVStatus process(const GpuMat& src, GpuMat& objects, cv::Size ncvMinSize, /*out*/ unsigned int& numDetections); cv 231 modules/cudaobjdetect/src/cascadeclassifier.cpp int devId = cv::cuda::getDevice(); cv 317 modules/cudaobjdetect/src/cascadeclassifier.cpp NCVStatus HaarCascade_Impl::process(const GpuMat& src, GpuMat& objects, cv::Size ncvMinSize, /*out*/ unsigned int& numDetections) cv 407 modules/cudaobjdetect/src/cascadeclassifier.cpp cv::Size operator -(const cv::Size& a, const cv::Size& b) cv 409 modules/cudaobjdetect/src/cascadeclassifier.cpp return cv::Size(a.width - b.width, a.height - b.height); cv 412 modules/cudaobjdetect/src/cascadeclassifier.cpp cv::Size operator +(const cv::Size& a, const int& i) cv 414 modules/cudaobjdetect/src/cascadeclassifier.cpp return cv::Size(a.width + i, a.height + i); cv 417 modules/cudaobjdetect/src/cascadeclassifier.cpp cv::Size operator *(const cv::Size& a, const float& f) cv 419 modules/cudaobjdetect/src/cascadeclassifier.cpp return cv::Size(cvRound(a.width * f), cvRound(a.height * f)); cv 422 modules/cudaobjdetect/src/cascadeclassifier.cpp cv::Size operator /(const cv::Size& a, const float& f) cv 424 modules/cudaobjdetect/src/cascadeclassifier.cpp return cv::Size(cvRound(a.width / f), cvRound(a.height / f)); cv 427 modules/cudaobjdetect/src/cascadeclassifier.cpp bool operator <=(const cv::Size& a, const cv::Size& b) cv 434 modules/cudaobjdetect/src/cascadeclassifier.cpp PyrLavel(int _order, float _scale, cv::Size frame, cv::Size window, cv::Size minObjectSize) cv 447 modules/cudaobjdetect/src/cascadeclassifier.cpp bool isFeasible(cv::Size maxObj) cv 452 modules/cudaobjdetect/src/cascadeclassifier.cpp PyrLavel next(float factor, cv::Size frame, cv::Size window, cv::Size minObjectSize) cv 459 modules/cudaobjdetect/src/cascadeclassifier.cpp cv::Size sFrame; cv 460 modules/cudaobjdetect/src/cascadeclassifier.cpp cv::Size workArea; cv 461 modules/cudaobjdetect/src/cascadeclassifier.cpp cv::Size sWindow; cv 480 modules/cudaobjdetect/src/cascadeclassifier.cpp void allocateBuffers(cv::Size frame); cv 496 modules/cudaobjdetect/src/cascadeclassifier.cpp cv::Size NxM; cv 542 modules/cudaobjdetect/src/cascadeclassifier.cpp if (maxObjectSize_ == cv::Size()) cv 558 modules/cudaobjdetect/src/cascadeclassifier.cpp cv::Size area = level.workArea; cv 566 modules/cudaobjdetect/src/cascadeclassifier.cpp GpuMat src = resuzeBuffer(cv::Rect(0, 0, level.sFrame.width, level.sFrame.height)); cv 567 modules/cudaobjdetect/src/cascadeclassifier.cpp GpuMat sint = integral(cv::Rect(prev, 0, level.sFrame.width + 1, level.sFrame.height + 1)); cv 570 modules/cudaobjdetect/src/cascadeclassifier.cpp cuda::resize(image, src, level.sFrame, 0, 0, cv::INTER_LINEAR); cv 765 modules/cudaobjdetect/src/cascadeclassifier.cpp stage_mat.upload(cv::Mat(1, (int) (stages.size() * sizeof(Stage)), CV_8UC1, (uchar*)&(stages[0]) )); cv 766 modules/cudaobjdetect/src/cascadeclassifier.cpp trees_mat.upload(cv::Mat(cl_trees).reshape(1,1)); cv 767 modules/cudaobjdetect/src/cascadeclassifier.cpp nodes_mat.upload(cv::Mat(cl_nodes).reshape(1,1)); cv 768 modules/cudaobjdetect/src/cascadeclassifier.cpp leaves_mat.upload(cv::Mat(cl_leaves).reshape(1,1)); cv 769 modules/cudaobjdetect/src/cascadeclassifier.cpp subsets_mat.upload(cv::Mat(subsets).reshape(1,1)); cv 770 modules/cudaobjdetect/src/cascadeclassifier.cpp features_mat.upload(cv::Mat(features).reshape(4,1)); cv 775 modules/cudaobjdetect/src/cascadeclassifier.cpp void LbpCascade_Impl::allocateBuffers(cv::Size frame) cv 777 modules/cudaobjdetect/src/cascadeclassifier.cpp if (frame == cv::Size()) cv 792 modules/cudaobjdetect/src/cascadeclassifier.cpp cudaSafeCall( cudaGetDeviceProperties(&prop, cv::cuda::getDevice()) ); cv 809 modules/cudaobjdetect/src/cascadeclassifier.cpp Ptr<cuda::CascadeClassifier> cv::cuda::CascadeClassifier::create(const String& filename) cv 856 modules/cudaobjdetect/src/cascadeclassifier.cpp Ptr<cuda::CascadeClassifier> cv::cuda::CascadeClassifier::create(const FileStorage& file) cv 45 modules/cudaobjdetect/src/hog.cpp using namespace cv; cv 46 modules/cudaobjdetect/src/hog.cpp using namespace cv::cuda; cv 50 modules/cudaobjdetect/src/hog.cpp Ptr<cuda::HOG> cv::cuda::HOG::create(Size, Size, Size, Size, int) { throw_no_cuda(); return Ptr<cuda::HOG>(); } cv 62 modules/cudaobjdetect/src/hog.cpp int height, int width, const cv::cuda::PtrStepSzf& grad, cv 63 modules/cudaobjdetect/src/hog.cpp const cv::cuda::PtrStepSzb& qangle, float sigma, float* block_hists); cv 79 modules/cudaobjdetect/src/hog.cpp cv::cuda::PtrStepSzf descriptors); cv 82 modules/cudaobjdetect/src/hog.cpp cv::cuda::PtrStepSzf descriptors); cv 84 modules/cudaobjdetect/src/hog.cpp void compute_gradients_8UC1(int nbins, int height, int width, const cv::cuda::PtrStepSzb& img, cv 85 modules/cudaobjdetect/src/hog.cpp float angle_scale, cv::cuda::PtrStepSzf grad, cv::cuda::PtrStepSzb qangle, bool correct_gamma); cv 86 modules/cudaobjdetect/src/hog.cpp void compute_gradients_8UC4(int nbins, int height, int width, const cv::cuda::PtrStepSzb& img, cv 87 modules/cudaobjdetect/src/hog.cpp float angle_scale, cv::cuda::PtrStepSzf grad, cv::cuda::PtrStepSzb qangle, bool correct_gamma); cv 89 modules/cudaobjdetect/src/hog.cpp void resize_8UC1(const cv::cuda::PtrStepSzb& src, cv::cuda::PtrStepSzb dst); cv 90 modules/cudaobjdetect/src/hog.cpp void resize_8UC4(const cv::cuda::PtrStepSzb& src, cv::cuda::PtrStepSzb dst); cv 94 modules/cudaobjdetect/src/hog.cpp using namespace cv::cuda::device; cv 98 modules/cudaobjdetect/src/hog.cpp class HOG_Impl : public cv::cuda::HOG cv 479 modules/cudaobjdetect/src/hog.cpp CV_Error(cv::Error::StsBadArg, "Unknown descriptor format"); cv 492 modules/cudaobjdetect/src/hog.cpp cv::Size blocks_per_win = numPartsWithin(win_size_, block_size_, block_stride_); cv 535 modules/cudaobjdetect/src/hog.cpp Ptr<cuda::HOG> cv::cuda::HOG::create(Size win_size, cv 51 modules/cudaobjdetect/test/test_objdetect.cpp struct HOG : testing::TestWithParam<cv::cuda::DeviceInfo> cv 53 modules/cudaobjdetect/test/test_objdetect.cpp cv::cuda::DeviceInfo devInfo; cv 54 modules/cudaobjdetect/test/test_objdetect.cpp cv::Ptr<cv::cuda::HOG> hog; cv 72 modules/cudaobjdetect/test/test_objdetect.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 74 modules/cudaobjdetect/test/test_objdetect.cpp hog = cv::cuda::HOG::create(); cv 78 modules/cudaobjdetect/test/test_objdetect.cpp void dump(const std::vector<cv::Point>& locations) cv 87 modules/cudaobjdetect/test/test_objdetect.cpp void compare(const std::vector<cv::Point>& locations) cv 108 modules/cudaobjdetect/test/test_objdetect.cpp cv::Point location; cv 115 modules/cudaobjdetect/test/test_objdetect.cpp void testDetect(const cv::Mat& img) cv 120 modules/cudaobjdetect/test/test_objdetect.cpp std::vector<cv::Point> locations; cv 132 modules/cudaobjdetect/test/test_objdetect.cpp cv::Mat img2; cv 133 modules/cudaobjdetect/test/test_objdetect.cpp cv::resize(img, img2, cv::Size(img.cols / 2, img.rows / 2)); cv 143 modules/cudaobjdetect/test/test_objdetect.cpp cv::resize(img, img2, cv::Size(img.cols * 2, img.rows * 2)); cv 157 modules/cudaobjdetect/test/test_objdetect.cpp cv::Mat img_rgb = readImage("hog/road.png"); cv 164 modules/cudaobjdetect/test/test_objdetect.cpp cv::Mat img; cv 165 modules/cudaobjdetect/test/test_objdetect.cpp cv::cvtColor(img_rgb, img, cv::COLOR_BGR2BGRA); cv 169 modules/cudaobjdetect/test/test_objdetect.cpp cv::cvtColor(img_rgb, img, cv::COLOR_BGR2GRAY); cv 176 modules/cudaobjdetect/test/test_objdetect.cpp cv::Mat img_rgb = readImage("hog/train_data.png"); cv 180 modules/cudaobjdetect/test/test_objdetect.cpp cv::Mat img; cv 181 modules/cudaobjdetect/test/test_objdetect.cpp cv::cvtColor(img_rgb, img, cv::COLOR_BGR2BGRA); cv 183 modules/cudaobjdetect/test/test_objdetect.cpp cv::cuda::GpuMat d_img(img); cv 186 modules/cudaobjdetect/test/test_objdetect.cpp cv::cuda::GpuMat descriptors, descriptors_by_cols; cv 190 modules/cudaobjdetect/test/test_objdetect.cpp hog->setDescriptorFormat(cv::cuda::HOG::DESCR_FORMAT_ROW_BY_ROW); cv 193 modules/cudaobjdetect/test/test_objdetect.cpp hog->setDescriptorFormat(cv::cuda::HOG::DESCR_FORMAT_COL_BY_COL); cv 202 modules/cudaobjdetect/test/test_objdetect.cpp cv::Size descr_size_expected = cv::Size(blocks_per_win_x * blocks_per_win_y * block_hist_size, cv 207 modules/cudaobjdetect/test/test_objdetect.cpp cv::Mat dr(descriptors); cv 208 modules/cudaobjdetect/test/test_objdetect.cpp cv::Mat dc(descriptors_by_cols); cv 225 modules/cudaobjdetect/test/test_objdetect.cpp struct CalTech : public ::testing::TestWithParam<std::tr1::tuple<cv::cuda::DeviceInfo, std::string> > cv 227 modules/cudaobjdetect/test/test_objdetect.cpp cv::cuda::DeviceInfo devInfo; cv 228 modules/cudaobjdetect/test/test_objdetect.cpp cv::Mat img; cv 233 modules/cudaobjdetect/test/test_objdetect.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 235 modules/cudaobjdetect/test/test_objdetect.cpp img = readImage(GET_PARAM(1), cv::IMREAD_GRAYSCALE); cv 242 modules/cudaobjdetect/test/test_objdetect.cpp cv::cuda::GpuMat d_img(img); cv 243 modules/cudaobjdetect/test/test_objdetect.cpp cv::Mat markedImage(img.clone()); cv 245 modules/cudaobjdetect/test/test_objdetect.cpp cv::Ptr<cv::cuda::HOG> d_hog = cv::cuda::HOG::create(); cv 249 modules/cudaobjdetect/test/test_objdetect.cpp std::vector<cv::Rect> found_locations; cv 255 modules/cudaobjdetect/test/test_objdetect.cpp cv::Rect r = found_locations[i]; cv 258 modules/cudaobjdetect/test/test_objdetect.cpp cv::rectangle(markedImage, r , CV_RGB(255, 0, 0)); cv 261 modules/cudaobjdetect/test/test_objdetect.cpp cv::imshow("Res", markedImage); cv 262 modules/cudaobjdetect/test/test_objdetect.cpp cv::waitKey(); cv 277 modules/cudaobjdetect/test/test_objdetect.cpp PARAM_TEST_CASE(LBP_Read_classifier, cv::cuda::DeviceInfo, int) cv 279 modules/cudaobjdetect/test/test_objdetect.cpp cv::cuda::DeviceInfo devInfo; cv 284 modules/cudaobjdetect/test/test_objdetect.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 292 modules/cudaobjdetect/test/test_objdetect.cpp cv::Ptr<cv::cuda::CascadeClassifier> d_cascade; cv 295 modules/cudaobjdetect/test/test_objdetect.cpp d_cascade = cv::cuda::CascadeClassifier::create(classifierXmlPath); cv 305 modules/cudaobjdetect/test/test_objdetect.cpp PARAM_TEST_CASE(LBP_classify, cv::cuda::DeviceInfo, int) cv 307 modules/cudaobjdetect/test/test_objdetect.cpp cv::cuda::DeviceInfo devInfo; cv 312 modules/cudaobjdetect/test/test_objdetect.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 321 modules/cudaobjdetect/test/test_objdetect.cpp cv::CascadeClassifier cpuClassifier(classifierXmlPath); cv 324 modules/cudaobjdetect/test/test_objdetect.cpp cv::Mat image = cv::imread(imagePath); cv 326 modules/cudaobjdetect/test/test_objdetect.cpp cv::Mat grey; cv 327 modules/cudaobjdetect/test/test_objdetect.cpp cvtColor(image, grey, cv::COLOR_BGR2GRAY); cv 330 modules/cudaobjdetect/test/test_objdetect.cpp std::vector<cv::Rect> rects; cv 332 modules/cudaobjdetect/test/test_objdetect.cpp cv::Mat markedImage = image.clone(); cv 334 modules/cudaobjdetect/test/test_objdetect.cpp std::vector<cv::Rect>::iterator it = rects.begin(); cv 336 modules/cudaobjdetect/test/test_objdetect.cpp cv::rectangle(markedImage, *it, cv::Scalar(255, 0, 0)); cv 338 modules/cudaobjdetect/test/test_objdetect.cpp cv::Ptr<cv::cuda::CascadeClassifier> gpuClassifier = cv 339 modules/cudaobjdetect/test/test_objdetect.cpp cv::cuda::CascadeClassifier::create(classifierXmlPath); cv 341 modules/cudaobjdetect/test/test_objdetect.cpp cv::cuda::GpuMat tested(grey); cv 342 modules/cudaobjdetect/test/test_objdetect.cpp cv::cuda::GpuMat gpu_rects_buf; cv 345 modules/cudaobjdetect/test/test_objdetect.cpp std::vector<cv::Rect> gpu_rects; cv 351 modules/cudaobjdetect/test/test_objdetect.cpp cv::Rect r = gpu_rects[i]; cv 354 modules/cudaobjdetect/test/test_objdetect.cpp cv::rectangle(markedImage, r , CV_RGB(255, 0, 0)); cv 357 modules/cudaobjdetect/test/test_objdetect.cpp cv::imshow("Res", markedImage); cv 358 modules/cudaobjdetect/test/test_objdetect.cpp cv::waitKey(); cv 102 modules/cudaoptflow/include/opencv2/cudaoptflow.hpp OutputArray err = cv::noArray(), cv 61 modules/cudaoptflow/perf/perf_optflow.cpp cv::Mat frame0 = readImage(GetParam().first, cv::IMREAD_GRAYSCALE); cv 64 modules/cudaoptflow/perf/perf_optflow.cpp cv::Mat frame1 = readImage(GetParam().second, cv::IMREAD_GRAYSCALE); cv 72 modules/cudaoptflow/perf/perf_optflow.cpp const cv::cuda::GpuMat d_frame0(frame0); cv 73 modules/cudaoptflow/perf/perf_optflow.cpp const cv::cuda::GpuMat d_frame1(frame1); cv 74 modules/cudaoptflow/perf/perf_optflow.cpp cv::cuda::GpuMat flow; cv 76 modules/cudaoptflow/perf/perf_optflow.cpp cv::Ptr<cv::cuda::BroxOpticalFlow> d_alg = cv 77 modules/cudaoptflow/perf/perf_optflow.cpp cv::cuda::BroxOpticalFlow::create(0.197 /*alpha*/, 50.0 /*gamma*/, 0.8 /*scale_factor*/, cv 82 modules/cudaoptflow/perf/perf_optflow.cpp cv::cuda::GpuMat flows[2]; cv 83 modules/cudaoptflow/perf/perf_optflow.cpp cv::cuda::split(flow, flows); cv 85 modules/cudaoptflow/perf/perf_optflow.cpp cv::cuda::GpuMat u = flows[0]; cv 86 modules/cudaoptflow/perf/perf_optflow.cpp cv::cuda::GpuMat v = flows[1]; cv 119 modules/cudaoptflow/perf/perf_optflow.cpp const cv::Mat frame0 = readImage(imagePair.first, useGray ? cv::IMREAD_GRAYSCALE : cv::IMREAD_COLOR); cv 122 modules/cudaoptflow/perf/perf_optflow.cpp const cv::Mat frame1 = readImage(imagePair.second, useGray ? cv::IMREAD_GRAYSCALE : cv::IMREAD_COLOR); cv 125 modules/cudaoptflow/perf/perf_optflow.cpp cv::Mat gray_frame; cv 129 modules/cudaoptflow/perf/perf_optflow.cpp cv::cvtColor(frame0, gray_frame, cv::COLOR_BGR2GRAY); cv 131 modules/cudaoptflow/perf/perf_optflow.cpp cv::Mat pts; cv 132 modules/cudaoptflow/perf/perf_optflow.cpp cv::goodFeaturesToTrack(gray_frame, pts, points, 0.01, 0.0); cv 136 modules/cudaoptflow/perf/perf_optflow.cpp const cv::cuda::GpuMat d_pts(pts.reshape(2, 1)); cv 138 modules/cudaoptflow/perf/perf_optflow.cpp cv::Ptr<cv::cuda::SparsePyrLKOpticalFlow> d_pyrLK = cv 139 modules/cudaoptflow/perf/perf_optflow.cpp cv::cuda::SparsePyrLKOpticalFlow::create(cv::Size(winSize, winSize), cv 143 modules/cudaoptflow/perf/perf_optflow.cpp const cv::cuda::GpuMat d_frame0(frame0); cv 144 modules/cudaoptflow/perf/perf_optflow.cpp const cv::cuda::GpuMat d_frame1(frame1); cv 145 modules/cudaoptflow/perf/perf_optflow.cpp cv::cuda::GpuMat nextPts; cv 146 modules/cudaoptflow/perf/perf_optflow.cpp cv::cuda::GpuMat status; cv 155 modules/cudaoptflow/perf/perf_optflow.cpp cv::Mat nextPts; cv 156 modules/cudaoptflow/perf/perf_optflow.cpp cv::Mat status; cv 160 modules/cudaoptflow/perf/perf_optflow.cpp cv::calcOpticalFlowPyrLK(frame0, frame1, pts, nextPts, status, cv::noArray(), cv 161 modules/cudaoptflow/perf/perf_optflow.cpp cv::Size(winSize, winSize), levels - 1, cv 162 modules/cudaoptflow/perf/perf_optflow.cpp cv::TermCriteria(cv::TermCriteria::COUNT + cv::TermCriteria::EPS, iters, 0.01)); cv 188 modules/cudaoptflow/perf/perf_optflow.cpp const cv::Mat frame0 = readImage(imagePair.first, cv::IMREAD_GRAYSCALE); cv 191 modules/cudaoptflow/perf/perf_optflow.cpp const cv::Mat frame1 = readImage(imagePair.second, cv::IMREAD_GRAYSCALE); cv 196 modules/cudaoptflow/perf/perf_optflow.cpp const cv::cuda::GpuMat d_frame0(frame0); cv 197 modules/cudaoptflow/perf/perf_optflow.cpp const cv::cuda::GpuMat d_frame1(frame1); cv 198 modules/cudaoptflow/perf/perf_optflow.cpp cv::cuda::GpuMat flow; cv 200 modules/cudaoptflow/perf/perf_optflow.cpp cv::Ptr<cv::cuda::DensePyrLKOpticalFlow> d_pyrLK = cv 201 modules/cudaoptflow/perf/perf_optflow.cpp cv::cuda::DensePyrLKOpticalFlow::create(cv::Size(winSize, winSize), cv 207 modules/cudaoptflow/perf/perf_optflow.cpp cv::cuda::GpuMat flows[2]; cv 208 modules/cudaoptflow/perf/perf_optflow.cpp cv::cuda::split(flow, flows); cv 210 modules/cudaoptflow/perf/perf_optflow.cpp cv::cuda::GpuMat u = flows[0]; cv 211 modules/cudaoptflow/perf/perf_optflow.cpp cv::cuda::GpuMat v = flows[1]; cv 230 modules/cudaoptflow/perf/perf_optflow.cpp const cv::Mat frame0 = readImage(GetParam().first, cv::IMREAD_GRAYSCALE); cv 233 modules/cudaoptflow/perf/perf_optflow.cpp const cv::Mat frame1 = readImage(GetParam().second, cv::IMREAD_GRAYSCALE); cv 246 modules/cudaoptflow/perf/perf_optflow.cpp const cv::cuda::GpuMat d_frame0(frame0); cv 247 modules/cudaoptflow/perf/perf_optflow.cpp const cv::cuda::GpuMat d_frame1(frame1); cv 248 modules/cudaoptflow/perf/perf_optflow.cpp cv::cuda::GpuMat flow; cv 250 modules/cudaoptflow/perf/perf_optflow.cpp cv::Ptr<cv::cuda::FarnebackOpticalFlow> d_farneback = cv 251 modules/cudaoptflow/perf/perf_optflow.cpp cv::cuda::FarnebackOpticalFlow::create(numLevels, pyrScale, false, winSize, cv 256 modules/cudaoptflow/perf/perf_optflow.cpp cv::cuda::GpuMat flows[2]; cv 257 modules/cudaoptflow/perf/perf_optflow.cpp cv::cuda::split(flow, flows); cv 259 modules/cudaoptflow/perf/perf_optflow.cpp cv::cuda::GpuMat u = flows[0]; cv 260 modules/cudaoptflow/perf/perf_optflow.cpp cv::cuda::GpuMat v = flows[1]; cv 267 modules/cudaoptflow/perf/perf_optflow.cpp cv::Mat flow; cv 269 modules/cudaoptflow/perf/perf_optflow.cpp TEST_CYCLE() cv::calcOpticalFlowFarneback(frame0, frame1, flow, pyrScale, numLevels, winSize, numIters, polyN, polySigma, flags); cv 283 modules/cudaoptflow/perf/perf_optflow.cpp const cv::Mat frame0 = readImage(GetParam().first, cv::IMREAD_GRAYSCALE); cv 286 modules/cudaoptflow/perf/perf_optflow.cpp const cv::Mat frame1 = readImage(GetParam().second, cv::IMREAD_GRAYSCALE); cv 291 modules/cudaoptflow/perf/perf_optflow.cpp const cv::cuda::GpuMat d_frame0(frame0); cv 292 modules/cudaoptflow/perf/perf_optflow.cpp const cv::cuda::GpuMat d_frame1(frame1); cv 293 modules/cudaoptflow/perf/perf_optflow.cpp cv::cuda::GpuMat flow; cv 295 modules/cudaoptflow/perf/perf_optflow.cpp cv::Ptr<cv::cuda::OpticalFlowDual_TVL1> d_alg = cv 296 modules/cudaoptflow/perf/perf_optflow.cpp cv::cuda::OpticalFlowDual_TVL1::create(); cv 300 modules/cudaoptflow/perf/perf_optflow.cpp cv::cuda::GpuMat flows[2]; cv 301 modules/cudaoptflow/perf/perf_optflow.cpp cv::cuda::split(flow, flows); cv 303 modules/cudaoptflow/perf/perf_optflow.cpp cv::cuda::GpuMat u = flows[0]; cv 304 modules/cudaoptflow/perf/perf_optflow.cpp cv::cuda::GpuMat v = flows[1]; cv 311 modules/cudaoptflow/perf/perf_optflow.cpp cv::Mat flow; cv 313 modules/cudaoptflow/perf/perf_optflow.cpp cv::Ptr<cv::DualTVL1OpticalFlow> alg = cv::createOptFlow_DualTVL1(); cv 45 modules/cudaoptflow/src/brox.cpp using namespace cv; cv 46 modules/cudaoptflow/src/brox.cpp using namespace cv::cuda; cv 50 modules/cudaoptflow/src/brox.cpp Ptr<BroxOpticalFlow> cv::cuda::BroxOpticalFlow::create(double, double, double, int, int, int) { throw_no_cuda(); return Ptr<BroxOpticalFlow>(); } cv 124 modules/cudaoptflow/src/brox.cpp CV_Error(cv::Error::GpuApiCallError, msg.c_str()); cv 189 modules/cudaoptflow/src/brox.cpp Ptr<BroxOpticalFlow> cv::cuda::BroxOpticalFlow::create(double alpha, double gamma, double scale_factor, int inner_iterations, int outer_iterations, int solver_iterations) cv 45 modules/cudaoptflow/src/farneback.cpp using namespace cv; cv 46 modules/cudaoptflow/src/farneback.cpp using namespace cv::cuda; cv 50 modules/cudaoptflow/src/farneback.cpp Ptr<FarnebackOpticalFlow> cv::cuda::FarnebackOpticalFlow::create(int, double, bool, int, int, int, double, int) { throw_no_cuda(); return Ptr<BroxOpticalFlow>(); } cv 462 modules/cudaoptflow/src/farneback.cpp Ptr<FarnebackOpticalFlow> cv::cuda::FarnebackOpticalFlow::create(int numLevels, double pyrScale, bool fastPyramids, int winSize, cv 45 modules/cudaoptflow/src/pyrlk.cpp using namespace cv; cv 46 modules/cudaoptflow/src/pyrlk.cpp using namespace cv::cuda; cv 50 modules/cudaoptflow/src/pyrlk.cpp Ptr<SparsePyrLKOpticalFlow> cv::cuda::SparsePyrLKOpticalFlow::create(Size, int, int, bool) { throw_no_cuda(); return Ptr<SparsePyrLKOpticalFlow>(); } cv 52 modules/cudaoptflow/src/pyrlk.cpp Ptr<DensePyrLKOpticalFlow> cv::cuda::DensePyrLKOpticalFlow::create(Size, int, int, bool) { throw_no_cuda(); return Ptr<SparsePyrLKOpticalFlow>(); } cv 340 modules/cudaoptflow/src/pyrlk.cpp Ptr<SparsePyrLKOpticalFlow> cv::cuda::SparsePyrLKOpticalFlow::create(Size winSize, int maxLevel, int iters, bool useInitialFlow) cv 345 modules/cudaoptflow/src/pyrlk.cpp Ptr<DensePyrLKOpticalFlow> cv::cuda::DensePyrLKOpticalFlow::create(Size winSize, int maxLevel, int iters, bool useInitialFlow) cv 47 modules/cudaoptflow/src/tvl1flow.cpp Ptr<OpticalFlowDual_TVL1> cv::cuda::OpticalFlowDual_TVL1::create(double, double, double, int, int, double, int, double, double, bool) { throw_no_cuda(); return Ptr<OpticalFlowDual_TVL1>(); } cv 51 modules/cudaoptflow/src/tvl1flow.cpp using namespace cv; cv 52 modules/cudaoptflow/src/tvl1flow.cpp using namespace cv::cuda; cv 373 modules/cudaoptflow/src/tvl1flow.cpp Ptr<OpticalFlowDual_TVL1> cv::cuda::OpticalFlowDual_TVL1::create( cv 54 modules/cudaoptflow/test/test_optflow.cpp struct BroxOpticalFlow : testing::TestWithParam<cv::cuda::DeviceInfo> cv 56 modules/cudaoptflow/test/test_optflow.cpp cv::cuda::DeviceInfo devInfo; cv 62 modules/cudaoptflow/test/test_optflow.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 68 modules/cudaoptflow/test/test_optflow.cpp cv::Mat frame0 = readImageType("opticalflow/frame0.png", CV_32FC1); cv 71 modules/cudaoptflow/test/test_optflow.cpp cv::Mat frame1 = readImageType("opticalflow/frame1.png", CV_32FC1); cv 74 modules/cudaoptflow/test/test_optflow.cpp cv::Ptr<cv::cuda::BroxOpticalFlow> brox = cv 75 modules/cudaoptflow/test/test_optflow.cpp cv::cuda::BroxOpticalFlow::create(0.197 /*alpha*/, 50.0 /*gamma*/, 0.8 /*scale_factor*/, cv 78 modules/cudaoptflow/test/test_optflow.cpp cv::cuda::GpuMat flow; cv 81 modules/cudaoptflow/test/test_optflow.cpp cv::cuda::GpuMat flows[2]; cv 82 modules/cudaoptflow/test/test_optflow.cpp cv::cuda::split(flow, flows); cv 84 modules/cudaoptflow/test/test_optflow.cpp cv::cuda::GpuMat u = flows[0]; cv 85 modules/cudaoptflow/test/test_optflow.cpp cv::cuda::GpuMat v = flows[1]; cv 101 modules/cudaoptflow/test/test_optflow.cpp cv::Mat u_gold(rows, cols, CV_32FC1); cv 106 modules/cudaoptflow/test/test_optflow.cpp cv::Mat v_gold(rows, cols, CV_32FC1); cv 119 modules/cudaoptflow/test/test_optflow.cpp cv::Mat h_u(u); cv 120 modules/cudaoptflow/test/test_optflow.cpp cv::Mat h_v(v); cv 132 modules/cudaoptflow/test/test_optflow.cpp cv::Mat frame0 = readImageType("opticalflow/frame0.png", CV_32FC1); cv 135 modules/cudaoptflow/test/test_optflow.cpp cv::Mat frame1 = readImageType("opticalflow/frame1.png", CV_32FC1); cv 138 modules/cudaoptflow/test/test_optflow.cpp cv::Mat r_frame0, r_frame1; cv 139 modules/cudaoptflow/test/test_optflow.cpp cv::resize(frame0, r_frame0, cv::Size(1380,1000)); cv 140 modules/cudaoptflow/test/test_optflow.cpp cv::resize(frame1, r_frame1, cv::Size(1380,1000)); cv 142 modules/cudaoptflow/test/test_optflow.cpp cv::Ptr<cv::cuda::BroxOpticalFlow> brox = cv 143 modules/cudaoptflow/test/test_optflow.cpp cv::cuda::BroxOpticalFlow::create(0.197 /*alpha*/, 50.0 /*gamma*/, 0.8 /*scale_factor*/, cv 146 modules/cudaoptflow/test/test_optflow.cpp cv::cuda::GpuMat flow; cv 149 modules/cudaoptflow/test/test_optflow.cpp cv::cuda::GpuMat flows[2]; cv 150 modules/cudaoptflow/test/test_optflow.cpp cv::cuda::split(flow, flows); cv 152 modules/cudaoptflow/test/test_optflow.cpp cv::cuda::GpuMat u = flows[0]; cv 153 modules/cudaoptflow/test/test_optflow.cpp cv::cuda::GpuMat v = flows[1]; cv 155 modules/cudaoptflow/test/test_optflow.cpp cv::Mat h_u, h_v; cv 159 modules/cudaoptflow/test/test_optflow.cpp EXPECT_TRUE(cv::checkRange(h_u)); cv 160 modules/cudaoptflow/test/test_optflow.cpp EXPECT_TRUE(cv::checkRange(h_v)); cv 173 modules/cudaoptflow/test/test_optflow.cpp PARAM_TEST_CASE(PyrLKOpticalFlow, cv::cuda::DeviceInfo, UseGray) cv 175 modules/cudaoptflow/test/test_optflow.cpp cv::cuda::DeviceInfo devInfo; cv 183 modules/cudaoptflow/test/test_optflow.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 189 modules/cudaoptflow/test/test_optflow.cpp cv::Mat frame0 = readImage("opticalflow/frame0.png", useGray ? cv::IMREAD_GRAYSCALE : cv::IMREAD_COLOR); cv 192 modules/cudaoptflow/test/test_optflow.cpp cv::Mat frame1 = readImage("opticalflow/frame1.png", useGray ? cv::IMREAD_GRAYSCALE : cv::IMREAD_COLOR); cv 195 modules/cudaoptflow/test/test_optflow.cpp cv::Mat gray_frame; cv 199 modules/cudaoptflow/test/test_optflow.cpp cv::cvtColor(frame0, gray_frame, cv::COLOR_BGR2GRAY); cv 201 modules/cudaoptflow/test/test_optflow.cpp std::vector<cv::Point2f> pts; cv 202 modules/cudaoptflow/test/test_optflow.cpp cv::goodFeaturesToTrack(gray_frame, pts, 1000, 0.01, 0.0); cv 204 modules/cudaoptflow/test/test_optflow.cpp cv::cuda::GpuMat d_pts; cv 205 modules/cudaoptflow/test/test_optflow.cpp cv::Mat pts_mat(1, (int) pts.size(), CV_32FC2, (void*) &pts[0]); cv 208 modules/cudaoptflow/test/test_optflow.cpp cv::Ptr<cv::cuda::SparsePyrLKOpticalFlow> pyrLK = cv 209 modules/cudaoptflow/test/test_optflow.cpp cv::cuda::SparsePyrLKOpticalFlow::create(); cv 211 modules/cudaoptflow/test/test_optflow.cpp cv::cuda::GpuMat d_nextPts; cv 212 modules/cudaoptflow/test/test_optflow.cpp cv::cuda::GpuMat d_status; cv 215 modules/cudaoptflow/test/test_optflow.cpp std::vector<cv::Point2f> nextPts(d_nextPts.cols); cv 216 modules/cudaoptflow/test/test_optflow.cpp cv::Mat nextPts_mat(1, d_nextPts.cols, CV_32FC2, (void*) &nextPts[0]); cv 220 modules/cudaoptflow/test/test_optflow.cpp cv::Mat status_mat(1, d_status.cols, CV_8UC1, (void*) &status[0]); cv 223 modules/cudaoptflow/test/test_optflow.cpp std::vector<cv::Point2f> nextPts_gold; cv 225 modules/cudaoptflow/test/test_optflow.cpp cv::calcOpticalFlowPyrLK(frame0, frame1, pts, nextPts_gold, status_gold, cv::noArray()); cv 233 modules/cudaoptflow/test/test_optflow.cpp cv::Point2i a = nextPts[i]; cv 234 modules/cudaoptflow/test/test_optflow.cpp cv::Point2i b = nextPts_gold[i]; cv 271 modules/cudaoptflow/test/test_optflow.cpp PARAM_TEST_CASE(FarnebackOpticalFlow, cv::cuda::DeviceInfo, PyrScale, PolyN, FarnebackOptFlowFlags, UseInitFlow) cv 273 modules/cudaoptflow/test/test_optflow.cpp cv::cuda::DeviceInfo devInfo; cv 287 modules/cudaoptflow/test/test_optflow.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 293 modules/cudaoptflow/test/test_optflow.cpp cv::Mat frame0 = readImage("opticalflow/rubberwhale1.png", cv::IMREAD_GRAYSCALE); cv 296 modules/cudaoptflow/test/test_optflow.cpp cv::Mat frame1 = readImage("opticalflow/rubberwhale2.png", cv::IMREAD_GRAYSCALE); cv 301 modules/cudaoptflow/test/test_optflow.cpp cv::Ptr<cv::cuda::FarnebackOpticalFlow> farn = cv 302 modules/cudaoptflow/test/test_optflow.cpp cv::cuda::FarnebackOpticalFlow::create(); cv 308 modules/cudaoptflow/test/test_optflow.cpp cv::cuda::GpuMat d_flow; cv 311 modules/cudaoptflow/test/test_optflow.cpp cv::Mat flow; cv 316 modules/cudaoptflow/test/test_optflow.cpp farn->setFlags(farn->getFlags() | cv::OPTFLOW_USE_INITIAL_FLOW); cv 320 modules/cudaoptflow/test/test_optflow.cpp cv::calcOpticalFlowFarneback( cv 331 modules/cudaoptflow/test/test_optflow.cpp testing::Values(FarnebackOptFlowFlags(0), FarnebackOptFlowFlags(cv::OPTFLOW_FARNEBACK_GAUSSIAN)), cv 342 modules/cudaoptflow/test/test_optflow.cpp PARAM_TEST_CASE(OpticalFlowDual_TVL1, cv::cuda::DeviceInfo, Gamma) cv 344 modules/cudaoptflow/test/test_optflow.cpp cv::cuda::DeviceInfo devInfo; cv 352 modules/cudaoptflow/test/test_optflow.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 358 modules/cudaoptflow/test/test_optflow.cpp cv::Mat frame0 = readImage("opticalflow/rubberwhale1.png", cv::IMREAD_GRAYSCALE); cv 361 modules/cudaoptflow/test/test_optflow.cpp cv::Mat frame1 = readImage("opticalflow/rubberwhale2.png", cv::IMREAD_GRAYSCALE); cv 364 modules/cudaoptflow/test/test_optflow.cpp cv::Ptr<cv::cuda::OpticalFlowDual_TVL1> d_alg = cv 365 modules/cudaoptflow/test/test_optflow.cpp cv::cuda::OpticalFlowDual_TVL1::create(); cv 369 modules/cudaoptflow/test/test_optflow.cpp cv::cuda::GpuMat d_flow; cv 372 modules/cudaoptflow/test/test_optflow.cpp cv::Ptr<cv::DualTVL1OpticalFlow> alg = cv::createOptFlow_DualTVL1(); cv 378 modules/cudaoptflow/test/test_optflow.cpp cv::Mat flow; cv 72 modules/cudastereo/include/opencv2/cudastereo.hpp class CV_EXPORTS StereoBM : public cv::StereoBM cv 75 modules/cudastereo/include/opencv2/cudastereo.hpp using cv::StereoBM::compute; cv 128 modules/cudastereo/include/opencv2/cudastereo.hpp class CV_EXPORTS StereoBeliefPropagation : public cv::StereoMatcher cv 131 modules/cudastereo/include/opencv2/cudastereo.hpp using cv::StereoMatcher::compute; cv 250 modules/cudastereo/include/opencv2/cudastereo.hpp class CV_EXPORTS DisparityBilateralFilter : public cv::Algorithm cv 60 modules/cudastereo/perf/perf_stereo.cpp const cv::Mat imgLeft = readImage(GET_PARAM(0), cv::IMREAD_GRAYSCALE); cv 63 modules/cudastereo/perf/perf_stereo.cpp const cv::Mat imgRight = readImage(GET_PARAM(1), cv::IMREAD_GRAYSCALE); cv 70 modules/cudastereo/perf/perf_stereo.cpp cv::Ptr<cv::StereoBM> d_bm = cv::cuda::createStereoBM(ndisp); cv 72 modules/cudastereo/perf/perf_stereo.cpp const cv::cuda::GpuMat d_imgLeft(imgLeft); cv 73 modules/cudastereo/perf/perf_stereo.cpp const cv::cuda::GpuMat d_imgRight(imgRight); cv 74 modules/cudastereo/perf/perf_stereo.cpp cv::cuda::GpuMat dst; cv 82 modules/cudastereo/perf/perf_stereo.cpp cv::Ptr<cv::StereoBM> bm = cv::StereoBM::create(ndisp); cv 84 modules/cudastereo/perf/perf_stereo.cpp cv::Mat dst; cv 100 modules/cudastereo/perf/perf_stereo.cpp const cv::Mat imgLeft = readImage(GET_PARAM(0)); cv 103 modules/cudastereo/perf/perf_stereo.cpp const cv::Mat imgRight = readImage(GET_PARAM(1)); cv 110 modules/cudastereo/perf/perf_stereo.cpp cv::Ptr<cv::cuda::StereoBeliefPropagation> d_bp = cv::cuda::createStereoBeliefPropagation(ndisp); cv 112 modules/cudastereo/perf/perf_stereo.cpp const cv::cuda::GpuMat d_imgLeft(imgLeft); cv 113 modules/cudastereo/perf/perf_stereo.cpp const cv::cuda::GpuMat d_imgRight(imgRight); cv 114 modules/cudastereo/perf/perf_stereo.cpp cv::cuda::GpuMat dst; cv 134 modules/cudastereo/perf/perf_stereo.cpp const cv::Mat imgLeft = readImage(GET_PARAM(0), cv::IMREAD_GRAYSCALE); cv 137 modules/cudastereo/perf/perf_stereo.cpp const cv::Mat imgRight = readImage(GET_PARAM(1), cv::IMREAD_GRAYSCALE); cv 144 modules/cudastereo/perf/perf_stereo.cpp cv::Ptr<cv::cuda::StereoConstantSpaceBP> d_csbp = cv::cuda::createStereoConstantSpaceBP(ndisp); cv 146 modules/cudastereo/perf/perf_stereo.cpp const cv::cuda::GpuMat d_imgLeft(imgLeft); cv 147 modules/cudastereo/perf/perf_stereo.cpp const cv::cuda::GpuMat d_imgRight(imgRight); cv 148 modules/cudastereo/perf/perf_stereo.cpp cv::cuda::GpuMat dst; cv 166 modules/cudastereo/perf/perf_stereo.cpp const cv::Mat img = readImage(GET_PARAM(0), cv::IMREAD_GRAYSCALE); cv 169 modules/cudastereo/perf/perf_stereo.cpp const cv::Mat disp = readImage(GET_PARAM(1), cv::IMREAD_GRAYSCALE); cv 176 modules/cudastereo/perf/perf_stereo.cpp cv::Ptr<cv::cuda::DisparityBilateralFilter> d_filter = cv::cuda::createDisparityBilateralFilter(ndisp); cv 178 modules/cudastereo/perf/perf_stereo.cpp const cv::cuda::GpuMat d_img(img); cv 179 modules/cudastereo/perf/perf_stereo.cpp const cv::cuda::GpuMat d_disp(disp); cv 180 modules/cudastereo/perf/perf_stereo.cpp cv::cuda::GpuMat dst; cv 199 modules/cudastereo/perf/perf_stereo.cpp const cv::Size size = GET_PARAM(0); cv 202 modules/cudastereo/perf/perf_stereo.cpp cv::Mat src(size, depth); cv 205 modules/cudastereo/perf/perf_stereo.cpp cv::Mat Q(4, 4, CV_32FC1); cv 206 modules/cudastereo/perf/perf_stereo.cpp cv::randu(Q, 0.1, 1.0); cv 210 modules/cudastereo/perf/perf_stereo.cpp const cv::cuda::GpuMat d_src(src); cv 211 modules/cudastereo/perf/perf_stereo.cpp cv::cuda::GpuMat dst; cv 213 modules/cudastereo/perf/perf_stereo.cpp TEST_CYCLE() cv::cuda::reprojectImageTo3D(d_src, dst, Q); cv 219 modules/cudastereo/perf/perf_stereo.cpp cv::Mat dst; cv 221 modules/cudastereo/perf/perf_stereo.cpp TEST_CYCLE() cv::reprojectImageTo3D(src, dst, Q); cv 234 modules/cudastereo/perf/perf_stereo.cpp const cv::Size size = GET_PARAM(0); cv 237 modules/cudastereo/perf/perf_stereo.cpp cv::Mat src(size, type); cv 242 modules/cudastereo/perf/perf_stereo.cpp const cv::cuda::GpuMat d_src(src); cv 243 modules/cudastereo/perf/perf_stereo.cpp cv::cuda::GpuMat dst; cv 245 modules/cudastereo/perf/perf_stereo.cpp TEST_CYCLE() cv::cuda::drawColorDisp(d_src, dst, 255); cv 45 modules/cudastereo/src/disparity_bilateral_filter.cpp using namespace cv; cv 46 modules/cudastereo/src/disparity_bilateral_filter.cpp using namespace cv::cuda; cv 50 modules/cudastereo/src/disparity_bilateral_filter.cpp Ptr<cuda::DisparityBilateralFilter> cv::cuda::createDisparityBilateralFilter(int, int, int) { throw_no_cuda(); return Ptr<cuda::DisparityBilateralFilter>(); } cv 154 modules/cudastereo/src/disparity_bilateral_filter.cpp using namespace cv::cuda::device::disp_bilateral_filter; cv 192 modules/cudastereo/src/disparity_bilateral_filter.cpp Ptr<cuda::DisparityBilateralFilter> cv::cuda::createDisparityBilateralFilter(int ndisp, int radius, int iters) cv 45 modules/cudastereo/src/stereobm.cpp using namespace cv; cv 46 modules/cudastereo/src/stereobm.cpp using namespace cv::cuda; cv 50 modules/cudastereo/src/stereobm.cpp Ptr<cuda::StereoBM> cv::cuda::createStereoBM(int, int) { throw_no_cuda(); return Ptr<cuda::StereoBM>(); } cv 138 modules/cudastereo/src/stereobm.cpp using namespace ::cv::cuda::device::stereobm; cv 161 modules/cudastereo/src/stereobm.cpp if (preset_ == cv::StereoBM::PREFILTER_XSOBEL) cv 180 modules/cudastereo/src/stereobm.cpp Ptr<cuda::StereoBM> cv::cuda::createStereoBM(int numDisparities, int blockSize) cv 45 modules/cudastereo/src/stereobp.cpp using namespace cv; cv 46 modules/cudastereo/src/stereobp.cpp using namespace cv::cuda; cv 50 modules/cudastereo/src/stereobp.cpp void cv::cuda::StereoBeliefPropagation::estimateRecommendedParams(int, int, int&, int&, int&) { throw_no_cuda(); } cv 52 modules/cudastereo/src/stereobp.cpp Ptr<cuda::StereoBeliefPropagation> cv::cuda::createStereoBeliefPropagation(int, int, int, int) { throw_no_cuda(); return Ptr<cuda::StereoBeliefPropagation>(); } cv 167 modules/cudastereo/src/stereobp.cpp using namespace cv::cuda::device::stereobp; cv 236 modules/cudastereo/src/stereobp.cpp using namespace cv::cuda::device::stereobp; cv 284 modules/cudastereo/src/stereobp.cpp using namespace cv::cuda::device::stereobp; cv 362 modules/cudastereo/src/stereobp.cpp Ptr<cuda::StereoBeliefPropagation> cv::cuda::createStereoBeliefPropagation(int ndisp, int iters, int levels, int msg_type) cv 367 modules/cudastereo/src/stereobp.cpp void cv::cuda::StereoBeliefPropagation::estimateRecommendedParams(int width, int height, int& ndisp, int& iters, int& levels) cv 45 modules/cudastereo/src/stereocsbp.cpp using namespace cv; cv 46 modules/cudastereo/src/stereocsbp.cpp using namespace cv::cuda; cv 50 modules/cudastereo/src/stereocsbp.cpp void cv::cuda::StereoConstantSpaceBP::estimateRecommendedParams(int, int, int&, int&, int&, int&) { throw_no_cuda(); } cv 52 modules/cudastereo/src/stereocsbp.cpp Ptr<cuda::StereoConstantSpaceBP> cv::cuda::createStereoConstantSpaceBP(int, int, int, int, int) { throw_no_cuda(); return Ptr<cuda::StereoConstantSpaceBP>(); } cv 152 modules/cudastereo/src/stereocsbp.cpp using namespace cv::cuda::device::stereocsbp; cv 337 modules/cudastereo/src/stereocsbp.cpp Ptr<cuda::StereoConstantSpaceBP> cv::cuda::createStereoConstantSpaceBP(int ndisp, int iters, int levels, int nr_plane, int msg_type) cv 342 modules/cudastereo/src/stereocsbp.cpp void cv::cuda::StereoConstantSpaceBP::estimateRecommendedParams(int width, int height, int& ndisp, int& iters, int& levels, int& nr_plane) cv 45 modules/cudastereo/src/util.cpp using namespace cv; cv 46 modules/cudastereo/src/util.cpp using namespace cv::cuda; cv 50 modules/cudastereo/src/util.cpp void cv::cuda::reprojectImageTo3D(InputArray, OutputArray, InputArray, int, Stream&) { throw_no_cuda(); } cv 51 modules/cudastereo/src/util.cpp void cv::cuda::drawColorDisp(InputArray, OutputArray, int, Stream&) { throw_no_cuda(); } cv 64 modules/cudastereo/src/util.cpp void cv::cuda::reprojectImageTo3D(InputArray _disp, OutputArray _xyz, InputArray _Q, int dst_cn, Stream& stream) cv 66 modules/cudastereo/src/util.cpp using namespace cv::cuda::device; cv 102 modules/cudastereo/src/util.cpp using namespace ::cv::cuda::device; cv 111 modules/cudastereo/src/util.cpp void cv::cuda::drawColorDisp(InputArray _src, OutputArray dst, int ndisp, Stream& stream) cv 52 modules/cudastereo/test/test_stereo.cpp struct StereoBM : testing::TestWithParam<cv::cuda::DeviceInfo> cv 54 modules/cudastereo/test/test_stereo.cpp cv::cuda::DeviceInfo devInfo; cv 60 modules/cudastereo/test/test_stereo.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 66 modules/cudastereo/test/test_stereo.cpp cv::Mat left_image = readImage("stereobm/aloe-L.png", cv::IMREAD_GRAYSCALE); cv 67 modules/cudastereo/test/test_stereo.cpp cv::Mat right_image = readImage("stereobm/aloe-R.png", cv::IMREAD_GRAYSCALE); cv 68 modules/cudastereo/test/test_stereo.cpp cv::Mat disp_gold = readImage("stereobm/aloe-disp.png", cv::IMREAD_GRAYSCALE); cv 74 modules/cudastereo/test/test_stereo.cpp cv::Ptr<cv::StereoBM> bm = cv::cuda::createStereoBM(128, 19); cv 75 modules/cudastereo/test/test_stereo.cpp cv::cuda::GpuMat disp; cv 87 modules/cudastereo/test/test_stereo.cpp struct StereoBeliefPropagation : testing::TestWithParam<cv::cuda::DeviceInfo> cv 89 modules/cudastereo/test/test_stereo.cpp cv::cuda::DeviceInfo devInfo; cv 95 modules/cudastereo/test/test_stereo.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 101 modules/cudastereo/test/test_stereo.cpp cv::Mat left_image = readImage("stereobp/aloe-L.png"); cv 102 modules/cudastereo/test/test_stereo.cpp cv::Mat right_image = readImage("stereobp/aloe-R.png"); cv 103 modules/cudastereo/test/test_stereo.cpp cv::Mat disp_gold = readImage("stereobp/aloe-disp.png", cv::IMREAD_GRAYSCALE); cv 109 modules/cudastereo/test/test_stereo.cpp cv::Ptr<cv::cuda::StereoBeliefPropagation> bp = cv::cuda::createStereoBeliefPropagation(64, 8, 2, CV_16S); cv 115 modules/cudastereo/test/test_stereo.cpp cv::cuda::GpuMat disp; cv 119 modules/cudastereo/test/test_stereo.cpp cv::Mat h_disp(disp); cv 130 modules/cudastereo/test/test_stereo.cpp struct StereoConstantSpaceBP : testing::TestWithParam<cv::cuda::DeviceInfo> cv 132 modules/cudastereo/test/test_stereo.cpp cv::cuda::DeviceInfo devInfo; cv 138 modules/cudastereo/test/test_stereo.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 144 modules/cudastereo/test/test_stereo.cpp cv::Mat left_image = readImage("csstereobp/aloe-L.png"); cv 145 modules/cudastereo/test/test_stereo.cpp cv::Mat right_image = readImage("csstereobp/aloe-R.png"); cv 147 modules/cudastereo/test/test_stereo.cpp cv::Mat disp_gold; cv 149 modules/cudastereo/test/test_stereo.cpp if (supportFeature(devInfo, cv::cuda::FEATURE_SET_COMPUTE_20)) cv 150 modules/cudastereo/test/test_stereo.cpp disp_gold = readImage("csstereobp/aloe-disp.png", cv::IMREAD_GRAYSCALE); cv 152 modules/cudastereo/test/test_stereo.cpp disp_gold = readImage("csstereobp/aloe-disp_CC1X.png", cv::IMREAD_GRAYSCALE); cv 158 modules/cudastereo/test/test_stereo.cpp cv::Ptr<cv::cuda::StereoConstantSpaceBP> csbp = cv::cuda::createStereoConstantSpaceBP(128, 16, 4, 4); cv 159 modules/cudastereo/test/test_stereo.cpp cv::cuda::GpuMat disp; cv 163 modules/cudastereo/test/test_stereo.cpp cv::Mat h_disp(disp); cv 174 modules/cudastereo/test/test_stereo.cpp PARAM_TEST_CASE(ReprojectImageTo3D, cv::cuda::DeviceInfo, cv::Size, MatDepth, UseRoi) cv 176 modules/cudastereo/test/test_stereo.cpp cv::cuda::DeviceInfo devInfo; cv 177 modules/cudastereo/test/test_stereo.cpp cv::Size size; cv 188 modules/cudastereo/test/test_stereo.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 194 modules/cudastereo/test/test_stereo.cpp cv::Mat disp = randomMat(size, depth, 5.0, 30.0); cv 195 modules/cudastereo/test/test_stereo.cpp cv::Mat Q = randomMat(cv::Size(4, 4), CV_32FC1, 0.1, 1.0); cv 197 modules/cudastereo/test/test_stereo.cpp cv::cuda::GpuMat dst; cv 198 modules/cudastereo/test/test_stereo.cpp cv::cuda::reprojectImageTo3D(loadMat(disp, useRoi), dst, Q, 3); cv 200 modules/cudastereo/test/test_stereo.cpp cv::Mat dst_gold; cv 201 modules/cudastereo/test/test_stereo.cpp cv::reprojectImageTo3D(disp, dst_gold, Q, false); cv 55 modules/cudawarping/perf/perf_warping.cpp void generateMap(cv::Mat& map_x, cv::Mat& map_y, int remapMode) cv 92 modules/cudawarping/perf/perf_warping.cpp DEF_PARAM_TEST(Sz_Depth_Cn_Inter_Border_Mode, cv::Size, MatDepth, MatCn, Interpolation, BorderMode, RemapMode); cv 98 modules/cudawarping/perf/perf_warping.cpp Values(Interpolation(cv::INTER_NEAREST), Interpolation(cv::INTER_LINEAR), Interpolation(cv::INTER_CUBIC)), cv 104 modules/cudawarping/perf/perf_warping.cpp const cv::Size size = GET_PARAM(0); cv 113 modules/cudawarping/perf/perf_warping.cpp cv::Mat src(size, type); cv 116 modules/cudawarping/perf/perf_warping.cpp cv::Mat xmap(size, CV_32FC1); cv 117 modules/cudawarping/perf/perf_warping.cpp cv::Mat ymap(size, CV_32FC1); cv 122 modules/cudawarping/perf/perf_warping.cpp const cv::cuda::GpuMat d_src(src); cv 123 modules/cudawarping/perf/perf_warping.cpp const cv::cuda::GpuMat d_xmap(xmap); cv 124 modules/cudawarping/perf/perf_warping.cpp const cv::cuda::GpuMat d_ymap(ymap); cv 125 modules/cudawarping/perf/perf_warping.cpp cv::cuda::GpuMat dst; cv 127 modules/cudawarping/perf/perf_warping.cpp TEST_CYCLE() cv::cuda::remap(d_src, dst, d_xmap, d_ymap, interpolation, borderMode); cv 133 modules/cudawarping/perf/perf_warping.cpp cv::Mat dst; cv 135 modules/cudawarping/perf/perf_warping.cpp TEST_CYCLE() cv::remap(src, dst, xmap, ymap, interpolation, borderMode); cv 144 modules/cudawarping/perf/perf_warping.cpp DEF_PARAM_TEST(Sz_Depth_Cn_Inter_Scale, cv::Size, MatDepth, MatCn, Interpolation, double); cv 150 modules/cudawarping/perf/perf_warping.cpp Values(Interpolation(cv::INTER_NEAREST), Interpolation(cv::INTER_LINEAR), Interpolation(cv::INTER_CUBIC)), cv 155 modules/cudawarping/perf/perf_warping.cpp const cv::Size size = GET_PARAM(0); cv 163 modules/cudawarping/perf/perf_warping.cpp cv::Mat src(size, type); cv 168 modules/cudawarping/perf/perf_warping.cpp const cv::cuda::GpuMat d_src(src); cv 169 modules/cudawarping/perf/perf_warping.cpp cv::cuda::GpuMat dst; cv 171 modules/cudawarping/perf/perf_warping.cpp TEST_CYCLE() cv::cuda::resize(d_src, dst, cv::Size(), f, f, interpolation); cv 177 modules/cudawarping/perf/perf_warping.cpp cv::Mat dst; cv 179 modules/cudawarping/perf/perf_warping.cpp TEST_CYCLE() cv::resize(src, dst, cv::Size(), f, f, interpolation); cv 188 modules/cudawarping/perf/perf_warping.cpp DEF_PARAM_TEST(Sz_Depth_Cn_Scale, cv::Size, MatDepth, MatCn, double); cv 198 modules/cudawarping/perf/perf_warping.cpp const cv::Size size = GET_PARAM(0); cv 201 modules/cudawarping/perf/perf_warping.cpp const int interpolation = cv::INTER_AREA; cv 206 modules/cudawarping/perf/perf_warping.cpp cv::Mat src(size, type); cv 211 modules/cudawarping/perf/perf_warping.cpp const cv::cuda::GpuMat d_src(src); cv 212 modules/cudawarping/perf/perf_warping.cpp cv::cuda::GpuMat dst; cv 214 modules/cudawarping/perf/perf_warping.cpp TEST_CYCLE() cv::cuda::resize(d_src, dst, cv::Size(), f, f, interpolation); cv 220 modules/cudawarping/perf/perf_warping.cpp cv::Mat dst; cv 222 modules/cudawarping/perf/perf_warping.cpp TEST_CYCLE() cv::resize(src, dst, cv::Size(), f, f, interpolation); cv 231 modules/cudawarping/perf/perf_warping.cpp DEF_PARAM_TEST(Sz_Depth_Cn_Inter_Border, cv::Size, MatDepth, MatCn, Interpolation, BorderMode); cv 237 modules/cudawarping/perf/perf_warping.cpp Values(Interpolation(cv::INTER_NEAREST), Interpolation(cv::INTER_LINEAR), Interpolation(cv::INTER_CUBIC)), cv 242 modules/cudawarping/perf/perf_warping.cpp const cv::Size size = GET_PARAM(0); cv 250 modules/cudawarping/perf/perf_warping.cpp cv::Mat src(size, type); cv 259 modules/cudawarping/perf/perf_warping.cpp const cv::Mat M(2, 3, CV_64F, (void*) mat); cv 263 modules/cudawarping/perf/perf_warping.cpp const cv::cuda::GpuMat d_src(src); cv 264 modules/cudawarping/perf/perf_warping.cpp cv::cuda::GpuMat dst; cv 266 modules/cudawarping/perf/perf_warping.cpp TEST_CYCLE() cv::cuda::warpAffine(d_src, dst, M, size, interpolation, borderMode); cv 272 modules/cudawarping/perf/perf_warping.cpp cv::Mat dst; cv 274 modules/cudawarping/perf/perf_warping.cpp TEST_CYCLE() cv::warpAffine(src, dst, M, size, interpolation, borderMode); cv 287 modules/cudawarping/perf/perf_warping.cpp Values(Interpolation(cv::INTER_NEAREST), Interpolation(cv::INTER_LINEAR), Interpolation(cv::INTER_CUBIC)), cv 292 modules/cudawarping/perf/perf_warping.cpp const cv::Size size = GET_PARAM(0); cv 300 modules/cudawarping/perf/perf_warping.cpp cv::Mat src(size, type); cv 307 modules/cudawarping/perf/perf_warping.cpp const cv::Mat M(3, 3, CV_64F, (void*) mat); cv 311 modules/cudawarping/perf/perf_warping.cpp const cv::cuda::GpuMat d_src(src); cv 312 modules/cudawarping/perf/perf_warping.cpp cv::cuda::GpuMat dst; cv 314 modules/cudawarping/perf/perf_warping.cpp TEST_CYCLE() cv::cuda::warpPerspective(d_src, dst, M, size, interpolation, borderMode); cv 320 modules/cudawarping/perf/perf_warping.cpp cv::Mat dst; cv 322 modules/cudawarping/perf/perf_warping.cpp TEST_CYCLE() cv::warpPerspective(src, dst, M, size, interpolation, borderMode); cv 331 modules/cudawarping/perf/perf_warping.cpp DEF_PARAM_TEST(Sz_Depth_Cn_Inter, cv::Size, MatDepth, MatCn, Interpolation); cv 337 modules/cudawarping/perf/perf_warping.cpp Values(Interpolation(cv::INTER_NEAREST), Interpolation(cv::INTER_LINEAR), Interpolation(cv::INTER_CUBIC)))) cv 339 modules/cudawarping/perf/perf_warping.cpp const cv::Size size = GET_PARAM(0); cv 346 modules/cudawarping/perf/perf_warping.cpp cv::Mat src(size, type); cv 351 modules/cudawarping/perf/perf_warping.cpp const cv::cuda::GpuMat d_src(src); cv 352 modules/cudawarping/perf/perf_warping.cpp cv::cuda::GpuMat dst; cv 354 modules/cudawarping/perf/perf_warping.cpp TEST_CYCLE() cv::cuda::rotate(d_src, dst, size, 30.0, 0, 0, interpolation); cv 372 modules/cudawarping/perf/perf_warping.cpp const cv::Size size = GET_PARAM(0); cv 378 modules/cudawarping/perf/perf_warping.cpp cv::Mat src(size, type); cv 383 modules/cudawarping/perf/perf_warping.cpp const cv::cuda::GpuMat d_src(src); cv 384 modules/cudawarping/perf/perf_warping.cpp cv::cuda::GpuMat dst; cv 386 modules/cudawarping/perf/perf_warping.cpp TEST_CYCLE() cv::cuda::pyrDown(d_src, dst); cv 392 modules/cudawarping/perf/perf_warping.cpp cv::Mat dst; cv 394 modules/cudawarping/perf/perf_warping.cpp TEST_CYCLE() cv::pyrDown(src, dst); cv 408 modules/cudawarping/perf/perf_warping.cpp const cv::Size size = GET_PARAM(0); cv 414 modules/cudawarping/perf/perf_warping.cpp cv::Mat src(size, type); cv 419 modules/cudawarping/perf/perf_warping.cpp const cv::cuda::GpuMat d_src(src); cv 420 modules/cudawarping/perf/perf_warping.cpp cv::cuda::GpuMat dst; cv 422 modules/cudawarping/perf/perf_warping.cpp TEST_CYCLE() cv::cuda::pyrUp(d_src, dst); cv 428 modules/cudawarping/perf/perf_warping.cpp cv::Mat dst; cv 430 modules/cudawarping/perf/perf_warping.cpp TEST_CYCLE() cv::pyrUp(src, dst); cv 45 modules/cudawarping/src/pyramids.cpp using namespace cv; cv 46 modules/cudawarping/src/pyramids.cpp using namespace cv::cuda; cv 50 modules/cudawarping/src/pyramids.cpp void cv::cuda::pyrDown(InputArray, OutputArray, Stream&) { throw_no_cuda(); } cv 51 modules/cudawarping/src/pyramids.cpp void cv::cuda::pyrUp(InputArray, OutputArray, Stream&) { throw_no_cuda(); } cv 66 modules/cudawarping/src/pyramids.cpp void cv::cuda::pyrDown(InputArray _src, OutputArray _dst, Stream& stream) cv 68 modules/cudawarping/src/pyramids.cpp using namespace cv::cuda::device::imgproc; cv 106 modules/cudawarping/src/pyramids.cpp void cv::cuda::pyrUp(InputArray _src, OutputArray _dst, Stream& stream) cv 108 modules/cudawarping/src/pyramids.cpp using namespace cv::cuda::device::imgproc; cv 47 modules/cudawarping/src/remap.cpp void cv::cuda::remap(InputArray, OutputArray, InputArray, InputArray, int, int, Scalar, Stream&){ throw_no_cuda(); } cv 61 modules/cudawarping/src/remap.cpp void cv::cuda::remap(InputArray _src, OutputArray _dst, InputArray _xmap, InputArray _ymap, int interpolation, int borderMode, Scalar borderValue, Stream& stream) cv 63 modules/cudawarping/src/remap.cpp using namespace cv::cuda::device::imgproc; cv 47 modules/cudawarping/src/resize.cpp void cv::cuda::resize(InputArray, OutputArray, Size, double, double, int, Stream&) { throw_no_cuda(); } cv 57 modules/cudawarping/src/resize.cpp void cv::cuda::resize(InputArray _src, OutputArray _dst, Size dsize, double fx, double fy, int interpolation, Stream& stream) cv 45 modules/cudawarping/src/warp.cpp using namespace cv; cv 46 modules/cudawarping/src/warp.cpp using namespace cv::cuda; cv 50 modules/cudawarping/src/warp.cpp void cv::cuda::warpAffine(InputArray, OutputArray, InputArray, Size, int, int, Scalar, Stream&) { throw_no_cuda(); } cv 51 modules/cudawarping/src/warp.cpp void cv::cuda::buildWarpAffineMaps(InputArray, bool, Size, OutputArray, OutputArray, Stream&) { throw_no_cuda(); } cv 53 modules/cudawarping/src/warp.cpp void cv::cuda::warpPerspective(InputArray, OutputArray, InputArray, Size, int, int, Scalar, Stream&) { throw_no_cuda(); } cv 54 modules/cudawarping/src/warp.cpp void cv::cuda::buildWarpPerspectiveMaps(InputArray, bool, Size, OutputArray, OutputArray, Stream&) { throw_no_cuda(); } cv 56 modules/cudawarping/src/warp.cpp void cv::cuda::rotate(InputArray, OutputArray, Size, double, double, double, int, Stream&) { throw_no_cuda(); } cv 78 modules/cudawarping/src/warp.cpp void cv::cuda::buildWarpAffineMaps(InputArray _M, bool inverse, Size dsize, OutputArray _xmap, OutputArray _ymap, Stream& stream) cv 80 modules/cudawarping/src/warp.cpp using namespace cv::cuda::device::imgproc; cv 99 modules/cudawarping/src/warp.cpp cv::Mat iM; cv 107 modules/cudawarping/src/warp.cpp void cv::cuda::buildWarpPerspectiveMaps(InputArray _M, bool inverse, Size dsize, OutputArray _xmap, OutputArray _ymap, Stream& stream) cv 109 modules/cudawarping/src/warp.cpp using namespace cv::cuda::device::imgproc; cv 128 modules/cudawarping/src/warp.cpp cv::Mat iM; cv 151 modules/cudawarping/src/warp.cpp static void call(const cv::cuda::GpuMat& src, cv::cuda::GpuMat& dst, double coeffs[][3], int interpolation, cudaStream_t stream) cv 171 modules/cudawarping/src/warp.cpp cv::cuda::NppStreamHandler h(stream); cv 183 modules/cudawarping/src/warp.cpp void cv::cuda::warpAffine(InputArray _src, OutputArray _dst, InputArray _M, Size dsize, int flags, int borderMode, Scalar borderValue, Stream& stream) cv 249 modules/cudawarping/src/warp.cpp typedef void (*func_t)(const cv::cuda::GpuMat& src, cv::cuda::GpuMat& dst, double coeffs[][3], int flags, cudaStream_t stream); cv 284 modules/cudawarping/src/warp.cpp using namespace cv::cuda::device::imgproc; cv 309 modules/cudawarping/src/warp.cpp cv::Mat iM; cv 322 modules/cudawarping/src/warp.cpp void cv::cuda::warpPerspective(InputArray _src, OutputArray _dst, InputArray _M, Size dsize, int flags, int borderMode, Scalar borderValue, Stream& stream) cv 388 modules/cudawarping/src/warp.cpp typedef void (*func_t)(const cv::cuda::GpuMat& src, cv::cuda::GpuMat& dst, double coeffs[][3], int flags, cudaStream_t stream); cv 423 modules/cudawarping/src/warp.cpp using namespace cv::cuda::device::imgproc; cv 448 modules/cudawarping/src/warp.cpp cv::Mat iM; cv 507 modules/cudawarping/src/warp.cpp void cv::cuda::rotate(InputArray _src, OutputArray _dst, Size dsize, double angle, double xShift, double yShift, int interpolation, Stream& stream) cv 49 modules/cudawarping/test/interpolation.hpp template <typename T> T readVal(const cv::Mat& src, int y, int x, int c, int border_type, cv::Scalar borderVal = cv::Scalar()) cv 51 modules/cudawarping/test/interpolation.hpp if (border_type == cv::BORDER_CONSTANT) cv 52 modules/cudawarping/test/interpolation.hpp return (y >= 0 && y < src.rows && x >= 0 && x < src.cols) ? src.at<T>(y, x * src.channels() + c) : cv::saturate_cast<T>(borderVal.val[c]); cv 54 modules/cudawarping/test/interpolation.hpp return src.at<T>(cv::borderInterpolate(y, src.rows, border_type), cv::borderInterpolate(x, src.cols, border_type) * src.channels() + c); cv 59 modules/cudawarping/test/interpolation.hpp static T getValue(const cv::Mat& src, float y, float x, int c, int border_type, cv::Scalar borderVal = cv::Scalar()) cv 67 modules/cudawarping/test/interpolation.hpp static T getValue(const cv::Mat& src, float y, float x, int c, int border_type, cv::Scalar borderVal = cv::Scalar()) cv 81 modules/cudawarping/test/interpolation.hpp return cv::saturate_cast<T>(res); cv 104 modules/cudawarping/test/interpolation.hpp static T getValue(const cv::Mat& src, float y, float x, int c, int border_type, cv::Scalar borderVal = cv::Scalar()) cv 127 modules/cudawarping/test/interpolation.hpp return cv::saturate_cast<T>(res); cv 52 modules/cudawarping/test/test_pyramids.cpp PARAM_TEST_CASE(PyrDown, cv::cuda::DeviceInfo, cv::Size, MatType, UseRoi) cv 54 modules/cudawarping/test/test_pyramids.cpp cv::cuda::DeviceInfo devInfo; cv 55 modules/cudawarping/test/test_pyramids.cpp cv::Size size; cv 66 modules/cudawarping/test/test_pyramids.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 72 modules/cudawarping/test/test_pyramids.cpp cv::Mat src = randomMat(size, type); cv 74 modules/cudawarping/test/test_pyramids.cpp cv::cuda::GpuMat dst = createMat(cv::Size((size.width + 1) / 2, (size.height + 1) / 2), type, useRoi); cv 75 modules/cudawarping/test/test_pyramids.cpp cv::cuda::pyrDown(loadMat(src, useRoi), dst); cv 77 modules/cudawarping/test/test_pyramids.cpp cv::Mat dst_gold; cv 78 modules/cudawarping/test/test_pyramids.cpp cv::pyrDown(src, dst_gold); cv 92 modules/cudawarping/test/test_pyramids.cpp PARAM_TEST_CASE(PyrUp, cv::cuda::DeviceInfo, cv::Size, MatType, UseRoi) cv 94 modules/cudawarping/test/test_pyramids.cpp cv::cuda::DeviceInfo devInfo; cv 95 modules/cudawarping/test/test_pyramids.cpp cv::Size size; cv 106 modules/cudawarping/test/test_pyramids.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 112 modules/cudawarping/test/test_pyramids.cpp cv::Mat src = randomMat(size, type); cv 114 modules/cudawarping/test/test_pyramids.cpp cv::cuda::GpuMat dst = createMat(cv::Size(size.width * 2, size.height * 2), type, useRoi); cv 115 modules/cudawarping/test/test_pyramids.cpp cv::cuda::pyrUp(loadMat(src, useRoi), dst); cv 117 modules/cudawarping/test/test_pyramids.cpp cv::Mat dst_gold; cv 118 modules/cudawarping/test/test_pyramids.cpp cv::pyrUp(src, dst_gold); cv 54 modules/cudawarping/test/test_remap.cpp template <typename T, template <typename> class Interpolator> void remapImpl(const cv::Mat& src, const cv::Mat& xmap, const cv::Mat& ymap, cv::Mat& dst, int borderType, cv::Scalar borderVal) cv 58 modules/cudawarping/test/test_remap.cpp cv::Size dsize = xmap.size(); cv 72 modules/cudawarping/test/test_remap.cpp void remapGold(const cv::Mat& src, const cv::Mat& xmap, const cv::Mat& ymap, cv::Mat& dst, int interpolation, int borderType, cv::Scalar borderVal) cv 74 modules/cudawarping/test/test_remap.cpp typedef void (*func_t)(const cv::Mat& src, const cv::Mat& xmap, const cv::Mat& ymap, cv::Mat& dst, int borderType, cv::Scalar borderVal); cv 115 modules/cudawarping/test/test_remap.cpp PARAM_TEST_CASE(Remap, cv::cuda::DeviceInfo, cv::Size, MatType, Interpolation, BorderType, UseRoi) cv 117 modules/cudawarping/test/test_remap.cpp cv::cuda::DeviceInfo devInfo; cv 118 modules/cudawarping/test/test_remap.cpp cv::Size size; cv 124 modules/cudawarping/test/test_remap.cpp cv::Mat xmap; cv 125 modules/cudawarping/test/test_remap.cpp cv::Mat ymap; cv 136 modules/cudawarping/test/test_remap.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 160 modules/cudawarping/test/test_remap.cpp cv::Mat src = randomMat(size, type); cv 161 modules/cudawarping/test/test_remap.cpp cv::Scalar val = randomScalar(0.0, 255.0); cv 163 modules/cudawarping/test/test_remap.cpp cv::cuda::GpuMat dst = createMat(xmap.size(), type, useRoi); cv 164 modules/cudawarping/test/test_remap.cpp cv::cuda::remap(loadMat(src, useRoi), dst, loadMat(xmap, useRoi), loadMat(ymap, useRoi), interpolation, borderType, val); cv 166 modules/cudawarping/test/test_remap.cpp cv::Mat dst_gold; cv 176 modules/cudawarping/test/test_remap.cpp testing::Values(Interpolation(cv::INTER_NEAREST), Interpolation(cv::INTER_LINEAR), Interpolation(cv::INTER_CUBIC)), cv 177 modules/cudawarping/test/test_remap.cpp testing::Values(BorderType(cv::BORDER_REFLECT101), BorderType(cv::BORDER_REPLICATE), BorderType(cv::BORDER_CONSTANT), BorderType(cv::BORDER_REFLECT), BorderType(cv::BORDER_WRAP)), cv 55 modules/cudawarping/test/test_resize.cpp void resizeImpl(const cv::Mat& src, cv::Mat& dst, double fx, double fy) cv 59 modules/cudawarping/test/test_resize.cpp cv::Size dsize(cv::saturate_cast<int>(src.cols * fx), cv::saturate_cast<int>(src.rows * fy)); cv 71 modules/cudawarping/test/test_resize.cpp dst.at<T>(y, x * cn + c) = Interpolator<T>::getValue(src, y * ify, x * ifx, c, cv::BORDER_REPLICATE); cv 76 modules/cudawarping/test/test_resize.cpp void resizeGold(const cv::Mat& src, cv::Mat& dst, double fx, double fy, int interpolation) cv 78 modules/cudawarping/test/test_resize.cpp typedef void (*func_t)(const cv::Mat& src, cv::Mat& dst, double fx, double fy); cv 120 modules/cudawarping/test/test_resize.cpp PARAM_TEST_CASE(Resize, cv::cuda::DeviceInfo, cv::Size, MatType, double, Interpolation, UseRoi) cv 122 modules/cudawarping/test/test_resize.cpp cv::cuda::DeviceInfo devInfo; cv 123 modules/cudawarping/test/test_resize.cpp cv::Size size; cv 138 modules/cudawarping/test/test_resize.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 144 modules/cudawarping/test/test_resize.cpp cv::Mat src = randomMat(size, type); cv 146 modules/cudawarping/test/test_resize.cpp cv::cuda::GpuMat dst = createMat(cv::Size(cv::saturate_cast<int>(src.cols * coeff), cv::saturate_cast<int>(src.rows * coeff)), type, useRoi); cv 147 modules/cudawarping/test/test_resize.cpp cv::cuda::resize(loadMat(src, useRoi), dst, cv::Size(), coeff, coeff, interpolation); cv 149 modules/cudawarping/test/test_resize.cpp cv::Mat dst_gold; cv 160 modules/cudawarping/test/test_resize.cpp testing::Values(Interpolation(cv::INTER_NEAREST), Interpolation(cv::INTER_LINEAR), Interpolation(cv::INTER_CUBIC)), cv 165 modules/cudawarping/test/test_resize.cpp PARAM_TEST_CASE(ResizeSameAsHost, cv::cuda::DeviceInfo, cv::Size, MatType, double, Interpolation, UseRoi) cv 167 modules/cudawarping/test/test_resize.cpp cv::cuda::DeviceInfo devInfo; cv 168 modules/cudawarping/test/test_resize.cpp cv::Size size; cv 183 modules/cudawarping/test/test_resize.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 190 modules/cudawarping/test/test_resize.cpp cv::Mat src = randomMat(size, type); cv 192 modules/cudawarping/test/test_resize.cpp cv::cuda::GpuMat dst = createMat(cv::Size(cv::saturate_cast<int>(src.cols * coeff), cv::saturate_cast<int>(src.rows * coeff)), type, useRoi); cv 193 modules/cudawarping/test/test_resize.cpp cv::cuda::resize(loadMat(src, useRoi), dst, cv::Size(), coeff, coeff, interpolation); cv 195 modules/cudawarping/test/test_resize.cpp cv::Mat dst_gold; cv 196 modules/cudawarping/test/test_resize.cpp cv::resize(src, dst_gold, cv::Size(), coeff, coeff, interpolation); cv 206 modules/cudawarping/test/test_resize.cpp testing::Values(Interpolation(cv::INTER_NEAREST), Interpolation(cv::INTER_AREA)), cv 51 modules/cudawarping/test/test_warp_affine.cpp cv::Mat createTransfomMatrix(cv::Size srcSize, double angle) cv 53 modules/cudawarping/test/test_warp_affine.cpp cv::Mat M(2, 3, CV_64FC1); cv 65 modules/cudawarping/test/test_warp_affine.cpp PARAM_TEST_CASE(BuildWarpAffineMaps, cv::cuda::DeviceInfo, cv::Size, Inverse) cv 67 modules/cudawarping/test/test_warp_affine.cpp cv::cuda::DeviceInfo devInfo; cv 68 modules/cudawarping/test/test_warp_affine.cpp cv::Size size; cv 77 modules/cudawarping/test/test_warp_affine.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 83 modules/cudawarping/test/test_warp_affine.cpp cv::Mat M = createTransfomMatrix(size, CV_PI / 4); cv 84 modules/cudawarping/test/test_warp_affine.cpp cv::Mat src = randomMat(randomSize(200, 400), CV_8UC1); cv 86 modules/cudawarping/test/test_warp_affine.cpp cv::cuda::GpuMat xmap, ymap; cv 87 modules/cudawarping/test/test_warp_affine.cpp cv::cuda::buildWarpAffineMaps(M, inverse, size, xmap, ymap); cv 89 modules/cudawarping/test/test_warp_affine.cpp int interpolation = cv::INTER_NEAREST; cv 90 modules/cudawarping/test/test_warp_affine.cpp int borderMode = cv::BORDER_CONSTANT; cv 93 modules/cudawarping/test/test_warp_affine.cpp flags |= cv::WARP_INVERSE_MAP; cv 95 modules/cudawarping/test/test_warp_affine.cpp cv::Mat dst; cv 96 modules/cudawarping/test/test_warp_affine.cpp cv::remap(src, dst, cv::Mat(xmap), cv::Mat(ymap), interpolation, borderMode); cv 98 modules/cudawarping/test/test_warp_affine.cpp cv::Mat dst_gold; cv 99 modules/cudawarping/test/test_warp_affine.cpp cv::warpAffine(src, dst_gold, M, size, flags, borderMode); cv 114 modules/cudawarping/test/test_warp_affine.cpp template <typename T, template <typename> class Interpolator> void warpAffineImpl(const cv::Mat& src, const cv::Mat& M, cv::Size dsize, cv::Mat& dst, int borderType, cv::Scalar borderVal) cv 133 modules/cudawarping/test/test_warp_affine.cpp void warpAffineGold(const cv::Mat& src, const cv::Mat& M, bool inverse, cv::Size dsize, cv::Mat& dst, int interpolation, int borderType, cv::Scalar borderVal) cv 135 modules/cudawarping/test/test_warp_affine.cpp typedef void (*func_t)(const cv::Mat& src, const cv::Mat& M, cv::Size dsize, cv::Mat& dst, int borderType, cv::Scalar borderVal); cv 173 modules/cudawarping/test/test_warp_affine.cpp cv::Mat iM; cv 174 modules/cudawarping/test/test_warp_affine.cpp cv::invertAffineTransform(M, iM); cv 183 modules/cudawarping/test/test_warp_affine.cpp PARAM_TEST_CASE(WarpAffine, cv::cuda::DeviceInfo, cv::Size, MatType, Inverse, Interpolation, BorderType, UseRoi) cv 185 modules/cudawarping/test/test_warp_affine.cpp cv::cuda::DeviceInfo devInfo; cv 186 modules/cudawarping/test/test_warp_affine.cpp cv::Size size; cv 203 modules/cudawarping/test/test_warp_affine.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 209 modules/cudawarping/test/test_warp_affine.cpp cv::Mat src = randomMat(size, type); cv 210 modules/cudawarping/test/test_warp_affine.cpp cv::Mat M = createTransfomMatrix(size, CV_PI / 3); cv 213 modules/cudawarping/test/test_warp_affine.cpp flags |= cv::WARP_INVERSE_MAP; cv 214 modules/cudawarping/test/test_warp_affine.cpp cv::Scalar val = randomScalar(0.0, 255.0); cv 216 modules/cudawarping/test/test_warp_affine.cpp cv::cuda::GpuMat dst = createMat(size, type, useRoi); cv 217 modules/cudawarping/test/test_warp_affine.cpp cv::cuda::warpAffine(loadMat(src, useRoi), dst, M, size, flags, borderType, val); cv 219 modules/cudawarping/test/test_warp_affine.cpp cv::Mat dst_gold; cv 230 modules/cudawarping/test/test_warp_affine.cpp testing::Values(Interpolation(cv::INTER_NEAREST), Interpolation(cv::INTER_LINEAR), Interpolation(cv::INTER_CUBIC)), cv 231 modules/cudawarping/test/test_warp_affine.cpp testing::Values(BorderType(cv::BORDER_REFLECT101), BorderType(cv::BORDER_REPLICATE), BorderType(cv::BORDER_REFLECT), BorderType(cv::BORDER_WRAP)), cv 237 modules/cudawarping/test/test_warp_affine.cpp PARAM_TEST_CASE(WarpAffineNPP, cv::cuda::DeviceInfo, MatType, Inverse, Interpolation) cv 239 modules/cudawarping/test/test_warp_affine.cpp cv::cuda::DeviceInfo devInfo; cv 251 modules/cudawarping/test/test_warp_affine.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 257 modules/cudawarping/test/test_warp_affine.cpp cv::Mat src = readImageType("stereobp/aloe-L.png", type); cv 260 modules/cudawarping/test/test_warp_affine.cpp cv::Mat M = createTransfomMatrix(src.size(), CV_PI / 4); cv 263 modules/cudawarping/test/test_warp_affine.cpp flags |= cv::WARP_INVERSE_MAP; cv 265 modules/cudawarping/test/test_warp_affine.cpp cv::cuda::GpuMat dst; cv 266 modules/cudawarping/test/test_warp_affine.cpp cv::cuda::warpAffine(loadMat(src), dst, M, src.size(), flags); cv 268 modules/cudawarping/test/test_warp_affine.cpp cv::Mat dst_gold; cv 269 modules/cudawarping/test/test_warp_affine.cpp warpAffineGold(src, M, inverse, src.size(), dst_gold, interpolation, cv::BORDER_CONSTANT, cv::Scalar::all(0)); cv 278 modules/cudawarping/test/test_warp_affine.cpp testing::Values(Interpolation(cv::INTER_NEAREST), Interpolation(cv::INTER_LINEAR), Interpolation(cv::INTER_CUBIC)))); cv 51 modules/cudawarping/test/test_warp_perspective.cpp cv::Mat createTransfomMatrix(cv::Size srcSize, double angle) cv 53 modules/cudawarping/test/test_warp_perspective.cpp cv::Mat M(3, 3, CV_64FC1); cv 66 modules/cudawarping/test/test_warp_perspective.cpp PARAM_TEST_CASE(BuildWarpPerspectiveMaps, cv::cuda::DeviceInfo, cv::Size, Inverse) cv 68 modules/cudawarping/test/test_warp_perspective.cpp cv::cuda::DeviceInfo devInfo; cv 69 modules/cudawarping/test/test_warp_perspective.cpp cv::Size size; cv 78 modules/cudawarping/test/test_warp_perspective.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 84 modules/cudawarping/test/test_warp_perspective.cpp cv::Mat M = createTransfomMatrix(size, CV_PI / 4); cv 86 modules/cudawarping/test/test_warp_perspective.cpp cv::cuda::GpuMat xmap, ymap; cv 87 modules/cudawarping/test/test_warp_perspective.cpp cv::cuda::buildWarpPerspectiveMaps(M, inverse, size, xmap, ymap); cv 89 modules/cudawarping/test/test_warp_perspective.cpp cv::Mat src = randomMat(randomSize(200, 400), CV_8UC1); cv 90 modules/cudawarping/test/test_warp_perspective.cpp int interpolation = cv::INTER_NEAREST; cv 91 modules/cudawarping/test/test_warp_perspective.cpp int borderMode = cv::BORDER_CONSTANT; cv 94 modules/cudawarping/test/test_warp_perspective.cpp flags |= cv::WARP_INVERSE_MAP; cv 96 modules/cudawarping/test/test_warp_perspective.cpp cv::Mat dst; cv 97 modules/cudawarping/test/test_warp_perspective.cpp cv::remap(src, dst, cv::Mat(xmap), cv::Mat(ymap), interpolation, borderMode); cv 99 modules/cudawarping/test/test_warp_perspective.cpp cv::Mat dst_gold; cv 100 modules/cudawarping/test/test_warp_perspective.cpp cv::warpPerspective(src, dst_gold, M, size, flags, borderMode); cv 115 modules/cudawarping/test/test_warp_perspective.cpp template <typename T, template <typename> class Interpolator> void warpPerspectiveImpl(const cv::Mat& src, const cv::Mat& M, cv::Size dsize, cv::Mat& dst, int borderType, cv::Scalar borderVal) cv 136 modules/cudawarping/test/test_warp_perspective.cpp void warpPerspectiveGold(const cv::Mat& src, const cv::Mat& M, bool inverse, cv::Size dsize, cv::Mat& dst, int interpolation, int borderType, cv::Scalar borderVal) cv 138 modules/cudawarping/test/test_warp_perspective.cpp typedef void (*func_t)(const cv::Mat& src, const cv::Mat& M, cv::Size dsize, cv::Mat& dst, int borderType, cv::Scalar borderVal); cv 176 modules/cudawarping/test/test_warp_perspective.cpp cv::Mat iM; cv 177 modules/cudawarping/test/test_warp_perspective.cpp cv::invert(M, iM); cv 186 modules/cudawarping/test/test_warp_perspective.cpp PARAM_TEST_CASE(WarpPerspective, cv::cuda::DeviceInfo, cv::Size, MatType, Inverse, Interpolation, BorderType, UseRoi) cv 188 modules/cudawarping/test/test_warp_perspective.cpp cv::cuda::DeviceInfo devInfo; cv 189 modules/cudawarping/test/test_warp_perspective.cpp cv::Size size; cv 206 modules/cudawarping/test/test_warp_perspective.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 212 modules/cudawarping/test/test_warp_perspective.cpp cv::Mat src = randomMat(size, type); cv 213 modules/cudawarping/test/test_warp_perspective.cpp cv::Mat M = createTransfomMatrix(size, CV_PI / 3); cv 216 modules/cudawarping/test/test_warp_perspective.cpp flags |= cv::WARP_INVERSE_MAP; cv 217 modules/cudawarping/test/test_warp_perspective.cpp cv::Scalar val = randomScalar(0.0, 255.0); cv 219 modules/cudawarping/test/test_warp_perspective.cpp cv::cuda::GpuMat dst = createMat(size, type, useRoi); cv 220 modules/cudawarping/test/test_warp_perspective.cpp cv::cuda::warpPerspective(loadMat(src, useRoi), dst, M, size, flags, borderType, val); cv 222 modules/cudawarping/test/test_warp_perspective.cpp cv::Mat dst_gold; cv 233 modules/cudawarping/test/test_warp_perspective.cpp testing::Values(Interpolation(cv::INTER_NEAREST), Interpolation(cv::INTER_LINEAR), Interpolation(cv::INTER_CUBIC)), cv 234 modules/cudawarping/test/test_warp_perspective.cpp testing::Values(BorderType(cv::BORDER_REFLECT101), BorderType(cv::BORDER_REPLICATE), BorderType(cv::BORDER_REFLECT), BorderType(cv::BORDER_WRAP)), cv 240 modules/cudawarping/test/test_warp_perspective.cpp PARAM_TEST_CASE(WarpPerspectiveNPP, cv::cuda::DeviceInfo, MatType, Inverse, Interpolation) cv 242 modules/cudawarping/test/test_warp_perspective.cpp cv::cuda::DeviceInfo devInfo; cv 254 modules/cudawarping/test/test_warp_perspective.cpp cv::cuda::setDevice(devInfo.deviceID()); cv 260 modules/cudawarping/test/test_warp_perspective.cpp cv::Mat src = readImageType("stereobp/aloe-L.png", type); cv 263 modules/cudawarping/test/test_warp_perspective.cpp cv::Mat M = createTransfomMatrix(src.size(), CV_PI / 4); cv 266 modules/cudawarping/test/test_warp_perspective.cpp flags |= cv::WARP_INVERSE_MAP; cv 268 modules/cudawarping/test/test_warp_perspective.cpp cv::cuda::GpuMat dst; cv 269 modules/cudawarping/test/test_warp_perspective.cpp cv::cuda::warpPerspective(loadMat(src), dst, M, src.size(), flags); cv 271 modules/cudawarping/test/test_warp_perspective.cpp cv::Mat dst_gold; cv 272 modules/cudawarping/test/test_warp_perspective.cpp warpPerspectiveGold(src, M, inverse, src.size(), dst_gold, interpolation, cv::BORDER_CONSTANT, cv::Scalar::all(0)); cv 281 modules/cudawarping/test/test_warp_perspective.cpp testing::Values(Interpolation(cv::INTER_NEAREST), Interpolation(cv::INTER_LINEAR), Interpolation(cv::INTER_CUBIC)))); cv 58 modules/cudev/include/opencv2/cudev/common.hpp using namespace cv::cuda; cv 73 modules/cudev/include/opencv2/cudev/common.hpp cv::error(cv::Error::GpuApiCallError, cudaGetErrorString(err), func, file, line); cv 76 modules/cudev/include/opencv2/cudev/common.hpp #define CV_CUDEV_SAFE_CALL(expr) cv::cudev::checkCudaError((expr), __FILE__, __LINE__, CV_Func) cv 60 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp template <typename SrcDepth> struct name ## _func : cv::cudev::color_cvt_detail::RGB2RGB<SrcDepth, scn, dcn, bidx> \ cv 76 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp template <typename SrcDepth> struct name ## _func : cv::cudev::color_cvt_detail::RGB2Gray<SrcDepth, scn, bidx> \ cv 90 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp template <typename SrcDepth> struct name ## _func : cv::cudev::color_cvt_detail::Gray2RGB<SrcDepth, dcn> \ cv 102 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp template <typename SrcDepth> struct name ## _func : cv::cudev::color_cvt_detail::RGB2YUV<SrcDepth, scn, dcn, bidx> \ cv 120 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp template <typename SrcDepth> struct name ## _func : cv::cudev::color_cvt_detail::YUV2RGB<SrcDepth, scn, dcn, bidx> \ cv 138 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp template <typename SrcDepth> struct name ## _func : cv::cudev::color_cvt_detail::RGB2YCrCb<SrcDepth, scn, dcn, bidx> \ cv 156 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp template <typename SrcDepth> struct name ## _func : cv::cudev::color_cvt_detail::YCrCb2RGB<SrcDepth, scn, dcn, bidx> \ cv 174 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp template <typename SrcDepth> struct name ## _func : cv::cudev::color_cvt_detail::RGB2XYZ<SrcDepth, scn, dcn, bidx> \ cv 192 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp template <typename SrcDepth> struct name ## _func : cv::cudev::color_cvt_detail::XYZ2RGB<SrcDepth, scn, dcn, bidx> \ cv 210 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp template <typename SrcDepth> struct name ## _func : cv::cudev::color_cvt_detail::RGB2HSV<SrcDepth, scn, dcn, bidx, 180> \ cv 213 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp template <typename SrcDepth> struct name ## _FULL ## _func : cv::cudev::color_cvt_detail::RGB2HSV<SrcDepth, scn, dcn, bidx, 256> \ cv 216 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp template <> struct name ## _func<float> : cv::cudev::color_cvt_detail::RGB2HSV<float, scn, dcn, bidx, 360> \ cv 219 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp template <> struct name ## _FULL ## _func<float> : cv::cudev::color_cvt_detail::RGB2HSV<float, scn, dcn, bidx, 360> \ cv 237 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp template <typename SrcDepth> struct name ## _func : cv::cudev::color_cvt_detail::HSV2RGB<SrcDepth, scn, dcn, bidx, 180> \ cv 240 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp template <typename SrcDepth> struct name ## _FULL ## _func : cv::cudev::color_cvt_detail::HSV2RGB<SrcDepth, scn, dcn, bidx, 255> \ cv 243 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp template <> struct name ## _func<float> : cv::cudev::color_cvt_detail::HSV2RGB<float, scn, dcn, bidx, 360> \ cv 246 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp template <> struct name ## _FULL ## _func<float> : cv::cudev::color_cvt_detail::HSV2RGB<float, scn, dcn, bidx, 360> \ cv 264 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp template <typename SrcDepth> struct name ## _func : cv::cudev::color_cvt_detail::RGB2HLS<SrcDepth, scn, dcn, bidx, 180> \ cv 267 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp template <typename SrcDepth> struct name ## _FULL ## _func : cv::cudev::color_cvt_detail::RGB2HLS<SrcDepth, scn, dcn, bidx, 256> \ cv 270 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp template <> struct name ## _func<float> : cv::cudev::color_cvt_detail::RGB2HLS<float, scn, dcn, bidx, 360> \ cv 273 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp template <> struct name ## _FULL ## _func<float> : cv::cudev::color_cvt_detail::RGB2HLS<float, scn, dcn, bidx, 360> \ cv 291 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp template <typename SrcDepth> struct name ## _func : cv::cudev::color_cvt_detail::HLS2RGB<SrcDepth, scn, dcn, bidx, 180> \ cv 294 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp template <typename SrcDepth> struct name ## _FULL ## _func : cv::cudev::color_cvt_detail::HLS2RGB<SrcDepth, scn, dcn, bidx, 255> \ cv 297 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp template <> struct name ## _func<float> : cv::cudev::color_cvt_detail::HLS2RGB<float, scn, dcn, bidx, 360> \ cv 300 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp template <> struct name ## _FULL ## _func<float> : cv::cudev::color_cvt_detail::HLS2RGB<float, scn, dcn, bidx, 360> \ cv 318 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp template <typename SrcDepth> struct name ## _func : cv::cudev::color_cvt_detail::RGB2Lab<SrcDepth, scn, dcn, sRGB, blueIdx> \ cv 345 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp template <typename SrcDepth> struct name ## _func : cv::cudev::color_cvt_detail::Lab2RGB<SrcDepth, scn, dcn, sRGB, blueIdx> \ cv 372 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp template <typename SrcDepth> struct name ## _func : cv::cudev::color_cvt_detail::RGB2Luv<SrcDepth, scn, dcn, sRGB, blueIdx> \ cv 399 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp template <typename SrcDepth> struct name ## _func : cv::cudev::color_cvt_detail::Luv2RGB<SrcDepth, scn, dcn, sRGB, blueIdx> \ cv 426 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp typedef cv::cudev::color_cvt_detail::RGB2RGB5x5<scn, bidx, green_bits> name ## _func; cv 442 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp typedef cv::cudev::color_cvt_detail::RGB5x52RGB<dcn, bidx, green_bits> name ## _func; cv 458 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp typedef cv::cudev::color_cvt_detail::Gray2RGB5x5<green_bits> name ## _func; cv 468 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp typedef cv::cudev::color_cvt_detail::RGB5x52Gray<green_bits> name ## _func; cv 95 modules/cudev/include/opencv2/cudev/ptr2d/resize.hpp r.rows = cv::saturate_cast<int>(getRows(src) * fy); cv 96 modules/cudev/include/opencv2/cudev/ptr2d/resize.hpp r.cols = cv::saturate_cast<int>(getCols(src) * fx); cv 65 modules/cudev/include/opencv2/cudev/ptr2d/texture.hpp __host__ static void bind(const cv::cudev::GlobPtrSz<T>& mat, cv 71 modules/cudev/include/opencv2/cudev/ptr2d/zip.hpp return make_tuple(cv::cudev::get<0>(*this)(y, x), cv::cudev::get<1>(*this)(y, x)); cv 87 modules/cudev/include/opencv2/cudev/ptr2d/zip.hpp return make_tuple(cv::cudev::get<0>(*this)(y, x), cv::cudev::get<1>(*this)(y, x), cv::cudev::get<2>(*this)(y, x)); cv 104 modules/cudev/include/opencv2/cudev/ptr2d/zip.hpp return make_tuple(cv::cudev::get<0>(*this)(y, x), cv::cudev::get<1>(*this)(y, x), cv::cudev::get<2>(*this)(y, x), cv::cudev::get<3>(*this)(y, x)); cv 9 modules/cudev/src/stub.cpp void cv::cudev::stubFunc() cv 5 modules/features2d/misc/java/src/cpp/features2d_converters.cpp using namespace cv; cv 9 modules/features2d/misc/java/src/cpp/features2d_converters.hpp void Mat_to_vector_KeyPoint(cv::Mat& mat, std::vector<cv::KeyPoint>& v_kp); cv 10 modules/features2d/misc/java/src/cpp/features2d_converters.hpp void vector_KeyPoint_to_Mat(std::vector<cv::KeyPoint>& v_kp, cv::Mat& mat); cv 12 modules/features2d/misc/java/src/cpp/features2d_converters.hpp void Mat_to_vector_DMatch(cv::Mat& mat, std::vector<cv::DMatch>& v_dm); cv 13 modules/features2d/misc/java/src/cpp/features2d_converters.hpp void vector_DMatch_to_Mat(std::vector<cv::DMatch>& v_dm, cv::Mat& mat); cv 15 modules/features2d/misc/java/src/cpp/features2d_converters.hpp void Mat_to_vector_vector_KeyPoint(cv::Mat& mat, std::vector< std::vector< cv::KeyPoint > >& vv_kp); cv 16 modules/features2d/misc/java/src/cpp/features2d_converters.hpp void vector_vector_KeyPoint_to_Mat(std::vector< std::vector< cv::KeyPoint > >& vv_kp, cv::Mat& mat); cv 18 modules/features2d/misc/java/src/cpp/features2d_converters.hpp void Mat_to_vector_vector_DMatch(cv::Mat& mat, std::vector< std::vector< cv::DMatch > >& vv_dm); cv 19 modules/features2d/misc/java/src/cpp/features2d_converters.hpp void vector_vector_DMatch_to_Mat(std::vector< std::vector< cv::DMatch > >& vv_dm, cv::Mat& mat); cv 66 modules/features2d/perf/opencl/perf_orb.cpp if (cv::ocl::Device::getDefault().isNVidia()) cv 4 modules/features2d/perf/perf_agast.cpp using namespace cv; cv 4 modules/features2d/perf/perf_batchDistance.cpp using namespace cv; cv 4 modules/features2d/perf/perf_fast.cpp using namespace cv; cv 4 modules/features2d/perf/perf_orb.cpp using namespace cv; cv 58 modules/features2d/src/agast.cpp cv::Mat img; cv 818 modules/features2d/src/agast.cpp cv::Mat img; cv 3262 modules/features2d/src/agast.cpp cv::Mat img; cv 5343 modules/features2d/src/agast.cpp cv::Mat img; cv 7530 modules/features2d/src/agast.cpp cv::Mat img = _img.getMat(); cv 117 modules/features2d/src/blobdetector.cpp void SimpleBlobDetector::Params::read(const cv::FileNode& fn ) cv 146 modules/features2d/src/blobdetector.cpp void SimpleBlobDetector::Params::write(cv::FileStorage& fs) const cv 180 modules/features2d/src/blobdetector.cpp void SimpleBlobDetectorImpl::read( const cv::FileNode& fn ) cv 185 modules/features2d/src/blobdetector.cpp void SimpleBlobDetectorImpl::write( cv::FileStorage& fs ) const cv 304 modules/features2d/src/blobdetector.cpp void SimpleBlobDetectorImpl::detect(InputArray image, std::vector<cv::KeyPoint>& keypoints, InputArray) cv 118 modules/features2d/src/brisk.cpp inline int smoothedIntensity(const cv::Mat& image, cv 119 modules/features2d/src/brisk.cpp const cv::Mat& integral,const float key_x, cv 156 modules/features2d/src/brisk.cpp BriskLayer(const cv::Mat& img, float scale = 1.0f, float offset = 0.0f); cv 162 modules/features2d/src/brisk.cpp getAgastPoints(int threshold, std::vector<cv::KeyPoint>& keypoints); cv 173 modules/features2d/src/brisk.cpp inline const cv::Mat& cv 178 modules/features2d/src/brisk.cpp inline const cv::Mat& cv 196 modules/features2d/src/brisk.cpp halfsample(const cv::Mat& srcimg, cv::Mat& dstimg); cv 199 modules/features2d/src/brisk.cpp twothirdsample(const cv::Mat& srcimg, cv::Mat& dstimg); cv 204 modules/features2d/src/brisk.cpp value(const cv::Mat& mat, float xf, float yf, float scale) const; cv 206 modules/features2d/src/brisk.cpp cv::Mat img_; cv 208 modules/features2d/src/brisk.cpp cv::Mat_<uchar> scores_; cv 213 modules/features2d/src/brisk.cpp cv::Ptr<cv::AgastFeatureDetector> oast_9_16_; cv 227 modules/features2d/src/brisk.cpp constructPyramid(const cv::Mat& image); cv 231 modules/features2d/src/brisk.cpp getKeypoints(const int _threshold, std::vector<cv::KeyPoint>& keypoints); cv 450 modules/features2d/src/brisk.cpp BRISK_Impl::smoothedIntensity(const cv::Mat& image, const cv::Mat& integral, const float key_x, cv 650 modules/features2d/src/brisk.cpp std::vector<cv::KeyPoint>::iterator beginning = keypoints.begin(); cv 680 modules/features2d/src/brisk.cpp cv::Mat _integral; // the integral image cv 681 modules/features2d/src/brisk.cpp cv::integral(image, _integral); cv 686 modules/features2d/src/brisk.cpp cv::Mat descriptors; cv 704 modules/features2d/src/brisk.cpp cv::KeyPoint& kp = keypoints[k]; cv 842 modules/features2d/src/brisk.cpp BriskScaleSpace::constructPyramid(const cv::Mat& image) cv 864 modules/features2d/src/brisk.cpp BriskScaleSpace::getKeypoints(const int threshold_, std::vector<cv::KeyPoint>& keypoints) cv 872 modules/features2d/src/brisk.cpp std::vector<std::vector<cv::KeyPoint> > agastPoints; cv 889 modules/features2d/src/brisk.cpp const cv::Point2f& point = agastPoints.at(0)[n].pt; cv 909 modules/features2d/src/brisk.cpp keypoints.push_back(cv::KeyPoint(float(point.x) + delta_x, float(point.y) + delta_y, basicSize_, -1, max, 0)); cv 925 modules/features2d/src/brisk.cpp const cv::Point2f& point = agastPoints.at(i)[n].pt; cv 951 modules/features2d/src/brisk.cpp cv::KeyPoint((float(point.x) + delta_x) * l.scale() + l.offset(), cv 960 modules/features2d/src/brisk.cpp const cv::Point2f& point = agastPoints.at(i)[n].pt; cv 977 modules/features2d/src/brisk.cpp keypoints.push_back(cv::KeyPoint(x, y, basicSize_ * scale, -1, score, i)); cv 1132 modules/features2d/src/brisk.cpp const cv::Mat& scores = pyramid_[layer].scores(); cv 2067 modules/features2d/src/brisk.cpp BriskLayer::BriskLayer(const cv::Mat& img_in, float scale_in, float offset_in) cv 2070 modules/features2d/src/brisk.cpp scores_ = cv::Mat_<uchar>::zeros(img_in.rows, img_in.cols); cv 2096 modules/features2d/src/brisk.cpp scores_ = cv::Mat::zeros(img_.rows, img_.cols, CV_8U); cv 2183 modules/features2d/src/brisk.cpp BriskLayer::value(const cv::Mat& mat, float xf, float yf, float scale_in) const cv 2189 modules/features2d/src/brisk.cpp const cv::Mat& image = mat; cv 2289 modules/features2d/src/brisk.cpp BriskLayer::halfsample(const cv::Mat& srcimg, cv::Mat& dstimg) cv 2300 modules/features2d/src/brisk.cpp BriskLayer::twothirdsample(const cv::Mat& srcimg, cv::Mat& dstimg) cv 46 modules/features2d/src/evaluation.cpp using namespace cv; cv 454 modules/features2d/src/evaluation.cpp void cv::evaluateFeatureDetector( const Mat& img1, const Mat& img2, const Mat& H1to2, cv 491 modules/features2d/src/evaluation.cpp void cv::computeRecallPrecisionCurve( const std::vector<std::vector<DMatch> >& matches1to2, cv 527 modules/features2d/src/evaluation.cpp float cv::getRecall( const std::vector<Point2f>& recallPrecisionCurve, float l_precision ) cv 539 modules/features2d/src/evaluation.cpp int cv::getNearestPoint( const std::vector<Point2f>& recallPrecisionCurve, float l_precision ) cv 113 modules/features2d/src/kaze.cpp cv::Mat img = image.getMat(); cv 140 modules/features2d/src/kaze.cpp cv::KeyPointsFilter::runByPixelsMask(keypoints, mask.getMat()); cv 11 modules/features2d/src/kaze/AKAZEConfig.h namespace cv cv 17 modules/features2d/src/kaze/AKAZEFeatures.h namespace cv cv 36 modules/features2d/src/kaze/AKAZEFeatures.h cv::Mat descriptorSamples_; // List of positions in the grids to sample LDB bits from. cv 37 modules/features2d/src/kaze/AKAZEFeatures.h cv::Mat descriptorBits_; cv 38 modules/features2d/src/kaze/AKAZEFeatures.h cv::Mat bitMask_; cv 47 modules/features2d/src/kaze/AKAZEFeatures.h int Create_Nonlinear_Scale_Space(const cv::Mat& img); cv 48 modules/features2d/src/kaze/AKAZEFeatures.h void Feature_Detection(std::vector<cv::KeyPoint>& kpts); cv 51 modules/features2d/src/kaze/AKAZEFeatures.h void Find_Scale_Space_Extrema(std::vector<cv::KeyPoint>& kpts); cv 52 modules/features2d/src/kaze/AKAZEFeatures.h void Do_Subpixel_Refinement(std::vector<cv::KeyPoint>& kpts); cv 55 modules/features2d/src/kaze/AKAZEFeatures.h void Compute_Descriptors(std::vector<cv::KeyPoint>& kpts, cv::Mat& desc); cv 56 modules/features2d/src/kaze/AKAZEFeatures.h static void Compute_Main_Orientation(cv::KeyPoint& kpt, const std::vector<TEvolution>& evolution_); cv 61 modules/features2d/src/kaze/AKAZEFeatures.h void generateDescriptorSubsample(cv::Mat& sampleList, cv::Mat& comparisons, cv 15 modules/features2d/src/kaze/KAZEConfig.h namespace cv cv 20 modules/features2d/src/kaze/KAZEFeatures.h namespace cv cv 34 modules/features2d/src/kaze/KAZEFeatures.h std::vector<std::vector<cv::KeyPoint> > kpts_par_; cv 49 modules/features2d/src/kaze/KAZEFeatures.h int Create_Nonlinear_Scale_Space(const cv::Mat& img); cv 50 modules/features2d/src/kaze/KAZEFeatures.h void Feature_Detection(std::vector<cv::KeyPoint>& kpts); cv 51 modules/features2d/src/kaze/KAZEFeatures.h void Feature_Description(std::vector<cv::KeyPoint>& kpts, cv::Mat& desc); cv 52 modules/features2d/src/kaze/KAZEFeatures.h static void Compute_Main_Orientation(cv::KeyPoint& kpt, const std::vector<TEvolution>& evolution_, const KAZEOptions& options); cv 55 modules/features2d/src/kaze/KAZEFeatures.h void Compute_KContrast(const cv::Mat& img, const float& kper); cv 58 modules/features2d/src/kaze/KAZEFeatures.h void Determinant_Hessian(std::vector<cv::KeyPoint>& kpts); cv 59 modules/features2d/src/kaze/KAZEFeatures.h void Do_Subpixel_Refinement(std::vector<cv::KeyPoint>& kpts); cv 11 modules/features2d/src/kaze/TEvolution.h namespace cv cv 46 modules/features2d/src/kaze/nldiffusion_functions.cpp void gaussian_2D_convolution(const cv::Mat& src, cv::Mat& dst, int ksize_x, int ksize_y, float sigma) { cv 81 modules/features2d/src/kaze/nldiffusion_functions.cpp void image_derivatives_scharr(const cv::Mat& src, cv::Mat& dst, int xorder, int yorder) { cv 94 modules/features2d/src/kaze/nldiffusion_functions.cpp void pm_g1(const cv::Mat& Lx, const cv::Mat& Ly, cv::Mat& dst, float k) { cv 121 modules/features2d/src/kaze/nldiffusion_functions.cpp void pm_g2(const cv::Mat &Lx, const cv::Mat& Ly, cv::Mat& dst, float k) { cv 147 modules/features2d/src/kaze/nldiffusion_functions.cpp void weickert_diffusivity(const cv::Mat& Lx, const cv::Mat& Ly, cv::Mat& dst, float k) { cv 180 modules/features2d/src/kaze/nldiffusion_functions.cpp void charbonnier_diffusivity(const cv::Mat& Lx, const cv::Mat& Ly, cv::Mat& dst, float k) { cv 211 modules/features2d/src/kaze/nldiffusion_functions.cpp float compute_k_percentile(const cv::Mat& img, float perc, float gscale, int nbins, int ksize_x, int ksize_y) { cv 230 modules/features2d/src/kaze/nldiffusion_functions.cpp Scharr(gaussian, Lx, CV_32F, 1, 0, 1, 0, cv::BORDER_DEFAULT); cv 231 modules/features2d/src/kaze/nldiffusion_functions.cpp Scharr(gaussian, Ly, CV_32F, 0, 1, 1, 0, cv::BORDER_DEFAULT); cv 294 modules/features2d/src/kaze/nldiffusion_functions.cpp void compute_scharr_derivatives(const cv::Mat& src, cv::Mat& dst, int xorder, int yorder, int scale) { cv 309 modules/features2d/src/kaze/nldiffusion_functions.cpp void compute_derivative_kernels(cv::OutputArray _kx, cv::OutputArray _ky, int dx, int dy, int scale) { cv 344 modules/features2d/src/kaze/nldiffusion_functions.cpp class Nld_Step_Scalar_Invoker : public cv::ParallelLoopBody cv 347 modules/features2d/src/kaze/nldiffusion_functions.cpp Nld_Step_Scalar_Invoker(cv::Mat& Ld, const cv::Mat& c, cv::Mat& Lstep, float _stepsize) cv 360 modules/features2d/src/kaze/nldiffusion_functions.cpp void operator()(const cv::Range& range) const cv 362 modules/features2d/src/kaze/nldiffusion_functions.cpp cv::Mat& Ld = *_Ld; cv 363 modules/features2d/src/kaze/nldiffusion_functions.cpp const cv::Mat& c = *_c; cv 364 modules/features2d/src/kaze/nldiffusion_functions.cpp cv::Mat& Lstep = *_Lstep; cv 388 modules/features2d/src/kaze/nldiffusion_functions.cpp cv::Mat * _Ld; cv 389 modules/features2d/src/kaze/nldiffusion_functions.cpp const cv::Mat * _c; cv 390 modules/features2d/src/kaze/nldiffusion_functions.cpp cv::Mat * _Lstep; cv 405 modules/features2d/src/kaze/nldiffusion_functions.cpp void nld_step_scalar(cv::Mat& Ld, const cv::Mat& c, cv::Mat& Lstep, float stepsize) { cv 407 modules/features2d/src/kaze/nldiffusion_functions.cpp cv::parallel_for_(cv::Range(1, Lstep.rows - 1), Nld_Step_Scalar_Invoker(Ld, c, Lstep, stepsize), (double)Ld.total()/(1 << 16)); cv 474 modules/features2d/src/kaze/nldiffusion_functions.cpp void halfsample_image(const cv::Mat& src, cv::Mat& dst) { cv 479 modules/features2d/src/kaze/nldiffusion_functions.cpp resize(src, dst, dst.size(), 0, 0, cv::INTER_AREA); cv 493 modules/features2d/src/kaze/nldiffusion_functions.cpp bool check_maximum_neighbourhood(const cv::Mat& img, int dsize, float value, int row, int col, bool same_img) { cv 17 modules/features2d/src/kaze/nldiffusion_functions.h namespace cv cv 21 modules/features2d/src/kaze/nldiffusion_functions.h void gaussian_2D_convolution(const cv::Mat& src, cv::Mat& dst, int ksize_x, int ksize_y, float sigma); cv 24 modules/features2d/src/kaze/nldiffusion_functions.h void pm_g1(const cv::Mat& Lx, const cv::Mat& Ly, cv::Mat& dst, float k); cv 25 modules/features2d/src/kaze/nldiffusion_functions.h void pm_g2(const cv::Mat& Lx, const cv::Mat& Ly, cv::Mat& dst, float k); cv 26 modules/features2d/src/kaze/nldiffusion_functions.h void weickert_diffusivity(const cv::Mat& Lx, const cv::Mat& Ly, cv::Mat& dst, float k); cv 27 modules/features2d/src/kaze/nldiffusion_functions.h void charbonnier_diffusivity(const cv::Mat& Lx, const cv::Mat& Ly, cv::Mat& dst, float k); cv 29 modules/features2d/src/kaze/nldiffusion_functions.h float compute_k_percentile(const cv::Mat& img, float perc, float gscale, int nbins, int ksize_x, int ksize_y); cv 32 modules/features2d/src/kaze/nldiffusion_functions.h void compute_scharr_derivatives(const cv::Mat& src, cv::Mat& dst, int xorder, int yorder, int scale); cv 33 modules/features2d/src/kaze/nldiffusion_functions.h void compute_derivative_kernels(cv::OutputArray _kx, cv::OutputArray _ky, int dx, int dy, int scale); cv 34 modules/features2d/src/kaze/nldiffusion_functions.h void image_derivatives_scharr(const cv::Mat& src, cv::Mat& dst, int xorder, int yorder); cv 37 modules/features2d/src/kaze/nldiffusion_functions.h void nld_step_scalar(cv::Mat& Ld, const cv::Mat& c, cv::Mat& Lstep, float stepsize); cv 40 modules/features2d/src/kaze/nldiffusion_functions.h bool check_maximum_neighbourhood(const cv::Mat& img, int dsize, float value, int row, int col, bool same_img); cv 43 modules/features2d/src/kaze/nldiffusion_functions.h void halfsample_image(const cv::Mat& src, cv::Mat& dst); cv 93 modules/features2d/src/matchers.cpp cv::String opts; cv 94 modules/features2d/src/matchers.cpp opts = cv::format("-D T=%s -D TN=%s -D kercn=%d %s -D DIST_TYPE=%d -D BLOCK_SIZE=%d -D MAX_DESC_LEN=%d", cv 193 modules/features2d/src/matchers.cpp cv::String opts; cv 194 modules/features2d/src/matchers.cpp opts = cv::format("-D T=%s -D TN=%s -D kercn=%d %s -D DIST_TYPE=%d -D BLOCK_SIZE=%d -D MAX_DESC_LEN=%d", cv 302 modules/features2d/src/matchers.cpp cv::String opts; cv 303 modules/features2d/src/matchers.cpp opts = cv::format("-D T=%s -D TN=%s -D kercn=%d %s -D DIST_TYPE=%d -D BLOCK_SIZE=%d", cv 78 modules/features2d/test/ocl/test_brute_force_matcher.cpp cv::Mat queryBuf, trainBuf; cv 83 modules/features2d/test/ocl/test_brute_force_matcher.cpp rng.fill(queryBuf, cv::RNG::UNIFORM, cv::Scalar::all(0), cv::Scalar::all(3)); cv 95 modules/features2d/test/ocl/test_brute_force_matcher.cpp cv::Mat queryDescriptor = queryBuf.row(qIdx); cv 99 modules/features2d/test/ocl/test_brute_force_matcher.cpp cv::Mat trainDescriptor = trainBuf.row(tIdx); cv 122 modules/features2d/test/ocl/test_brute_force_matcher.cpp std::vector<cv::DMatch> matches; cv 130 modules/features2d/test/ocl/test_brute_force_matcher.cpp cv::DMatch match = matches[i]; cv 148 modules/features2d/test/ocl/test_brute_force_matcher.cpp std::vector< std::vector<cv::DMatch> > matches; cv 163 modules/features2d/test/ocl/test_brute_force_matcher.cpp cv::DMatch match = matches[i][k]; cv 184 modules/features2d/test/ocl/test_brute_force_matcher.cpp std::vector< std::vector<cv::DMatch> > matches; cv 198 modules/features2d/test/ocl/test_brute_force_matcher.cpp cv::DMatch match = matches[i][0]; cv 46 modules/features2d/test/test_agast.cpp using namespace cv; cv 85 modules/features2d/test/test_agast.cpp cv::circle(image1, kp.pt, cvRound(kp.size/2), Scalar(255, 0, 0)); cv 91 modules/features2d/test/test_agast.cpp cv::circle(image2, kp.pt, cvRound(kp.size/2), Scalar(255, 0, 0)); cv 46 modules/features2d/test/test_brisk.cpp using namespace cv; cv 45 modules/features2d/test/test_descriptors_regression.cpp using namespace cv; cv 46 modules/features2d/test/test_detectors_regression.cpp using namespace cv; cv 46 modules/features2d/test/test_fast.cpp using namespace cv; cv 85 modules/features2d/test/test_fast.cpp cv::circle(image1, kp.pt, cvRound(kp.size/2), Scalar(255, 0, 0)); cv 91 modules/features2d/test/test_fast.cpp cv::circle(image2, kp.pt, cvRound(kp.size/2), Scalar(255, 0, 0)); cv 47 modules/features2d/test/test_keypoints.cpp using namespace cv; cv 46 modules/features2d/test/test_matchers_algorithmic.cpp using namespace cv; cv 49 modules/features2d/test/test_mser.cpp using namespace cv; cv 51 modules/features2d/test/test_nearestneighbors.cpp using namespace cv; cv 52 modules/features2d/test/test_nearestneighbors.cpp using namespace cv::flann; cv 303 modules/features2d/test/test_nearestneighbors.cpp void CV_FlannSavedIndexTest::createModel(const cv::Mat &data) cv 46 modules/features2d/test/test_orb.cpp using namespace cv; cv 46 modules/features2d/test/test_rotation_and_scale_invariance.cpp using namespace cv; cv 112 modules/flann/include/opencv2/flann/any.h template<> inline void big_any_policy<cv::String>::print(std::ostream& out, void* const* src) cv 114 modules/flann/include/opencv2/flann/any.h out << (*reinterpret_cast<cv::String const*>(*src)).c_str(); cv 64 modules/flann/include/opencv2/flann/flann_base.hpp SavedIndexParams(cv::String filename) cv 73 modules/flann/include/opencv2/flann/flann_base.hpp NNIndex<Distance>* load_saved_index(const Matrix<typename Distance::ElementType>& dataset, const cv::String& filename, Distance distance) cv 113 modules/flann/include/opencv2/flann/flann_base.hpp nnIndex_ = load_saved_index<Distance>(features, get_param<cv::String>(params,"filename"), distance); cv 136 modules/flann/include/opencv2/flann/flann_base.hpp void save(cv::String filename) cv 39 modules/flann/include/opencv2/flann/general.h class FLANNException : public cv::Exception cv 42 modules/flann/include/opencv2/flann/general.h FLANNException(const char* message) : cv::Exception(0, message, "", __FILE__, __LINE__) { } cv 44 modules/flann/include/opencv2/flann/general.h FLANNException(const cv::String& message) : cv::Exception(0, message, "", __FILE__, __LINE__) { } cv 274 modules/flann/include/opencv2/flann/kmeans_index.h class KMeansDistanceComputer : public cv::ParallelLoopBody cv 279 modules/flann/include/opencv2/flann/kmeans_index.h int* _count, int* _belongs_to, std::vector<DistanceType>& _radiuses, bool& _converged, cv::Mutex& _mtx) cv 294 modules/flann/include/opencv2/flann/kmeans_index.h void operator()(const cv::Range& range) const cv 335 modules/flann/include/opencv2/flann/kmeans_index.h cv::Mutex& mtx; cv 726 modules/flann/include/opencv2/flann/kmeans_index.h cv::AutoBuffer<int> centers_idx_buf(branching); cv 739 modules/flann/include/opencv2/flann/kmeans_index.h cv::AutoBuffer<double> dcenters_buf(branching*veclen_); cv 749 modules/flann/include/opencv2/flann/kmeans_index.h cv::AutoBuffer<int> count_buf(branching); cv 757 modules/flann/include/opencv2/flann/kmeans_index.h cv::AutoBuffer<int> belongs_to_buf(indices_length); cv 802 modules/flann/include/opencv2/flann/kmeans_index.h cv::Mutex mtx; cv 804 modules/flann/include/opencv2/flann/kmeans_index.h parallel_for_(cv::Range(0, (int)indices_length), invoker); cv 271 modules/flann/include/opencv2/flann/lsh_table.h CV_Error(cv::Error::StsBadArg, cv::format("Invalid key_size (=%d). Valid values for your system are %d <= key_size < %d.", (int)key_size, (int)key_size_lower_bound, (int)key_size_upper_bound)); cv 42 modules/flann/include/opencv2/flann/params.h typedef std::map<cv::String, any> IndexParams; cv 59 modules/flann/include/opencv2/flann/params.h T get_param(const IndexParams& params, cv::String name, const T& default_value) cv 71 modules/flann/include/opencv2/flann/params.h T get_param(const IndexParams& params, cv::String name) cv 78 modules/flann/include/opencv2/flann/params.h throw FLANNException(cv::String("Missing parameter '")+name+cv::String("' in the parameters given")); cv 70 modules/flann/include/opencv2/flann/timer.h startTime = cv::getTickCount(); cv 78 modules/flann/include/opencv2/flann/timer.h int64 stopTime = cv::getTickCount(); cv 79 modules/flann/include/opencv2/flann/timer.h value += ( (double)stopTime - startTime) / cv::getTickFrequency(); cv 5 modules/flann/src/miniflann.cpp static cvflann::IndexParams& get_params(const cv::flann::IndexParams& p) cv 10 modules/flann/src/miniflann.cpp cv::flann::IndexParams::~IndexParams() cv 44 modules/flann/test/test_lshtable_badarg.cpp using namespace cv; cv 572 modules/hal/include/opencv2/hal/defs.h namespace cv cv 156 modules/highgui/src/window.cpp void cv::namedWindow( const String& winname, int flags ) cv 161 modules/highgui/src/window.cpp void cv::destroyWindow( const String& winname ) cv 166 modules/highgui/src/window.cpp void cv::destroyAllWindows() cv 171 modules/highgui/src/window.cpp void cv::resizeWindow( const String& winname, int width, int height ) cv 176 modules/highgui/src/window.cpp void cv::moveWindow( const String& winname, int x, int y ) cv 181 modules/highgui/src/window.cpp void cv::setWindowProperty(const String& winname, int prop_id, double prop_value) cv 186 modules/highgui/src/window.cpp double cv::getWindowProperty(const String& winname, int prop_id) cv 191 modules/highgui/src/window.cpp int cv::waitKey(int delay) cv 196 modules/highgui/src/window.cpp int cv::createTrackbar(const String& trackbarName, const String& winName, cv 204 modules/highgui/src/window.cpp void cv::setTrackbarPos( const String& trackbarName, const String& winName, int value ) cv 209 modules/highgui/src/window.cpp void cv::setTrackbarMax(const String& trackbarName, const String& winName, int maxval) cv 214 modules/highgui/src/window.cpp int cv::getTrackbarPos( const String& trackbarName, const String& winName ) cv 219 modules/highgui/src/window.cpp void cv::setMouseCallback( const String& windowName, MouseCallback onMouse, void* param) cv 224 modules/highgui/src/window.cpp int cv::getMouseWheelDelta( int flags ) cv 229 modules/highgui/src/window.cpp int cv::startWindowThread() cv 236 modules/highgui/src/window.cpp void cv::setOpenGlDrawCallback(const String& name, OpenGlDrawCallback callback, void* userdata) cv 241 modules/highgui/src/window.cpp void cv::setOpenGlContext(const String& windowName) cv 246 modules/highgui/src/window.cpp void cv::updateWindow(const String& windowName) cv 254 modules/highgui/src/window.cpp std::map<cv::String, cv::ogl::Texture2D> wndTexs; cv 255 modules/highgui/src/window.cpp std::map<cv::String, cv::ogl::Texture2D> ownWndTexs; cv 256 modules/highgui/src/window.cpp std::map<cv::String, cv::ogl::Buffer> ownWndBufs; cv 260 modules/highgui/src/window.cpp cv::ogl::Texture2D* texObj = static_cast<cv::ogl::Texture2D*>(userdata); cv 262 modules/highgui/src/window.cpp cv::ogl::render(*texObj); cv 267 modules/highgui/src/window.cpp void cv::imshow( const String& winname, InputArray _img ) cv 298 modules/highgui/src/window.cpp cv::ogl::Texture2D& tex = ownWndTexs[winname]; cv 302 modules/highgui/src/window.cpp cv::ogl::Buffer& buf = ownWndBufs[winname]; cv 323 modules/highgui/src/window.cpp void cv::imshow(const String& winname, const ogl::Texture2D& _tex) cv 328 modules/highgui/src/window.cpp CV_Error(cv::Error::OpenGlNotSupported, "The library is compiled without OpenGL support"); cv 334 modules/highgui/src/window.cpp CV_Error(cv::Error::OpenGlNotSupported, "The window was created without OpenGL context"); cv 348 modules/highgui/src/window.cpp cv::ogl::Texture2D& tex = wndTexs[winname]; cv 384 modules/highgui/src/window.cpp cv::QtFont cv::fontQt(const String& nameFont, int pointSize, Scalar color, int weight, int style, int /*spacing*/) cv 388 modules/highgui/src/window.cpp return *(cv::QtFont*)pf; cv 391 modules/highgui/src/window.cpp void cv::addText( const Mat& img, const String& text, Point org, const QtFont& font) cv 397 modules/highgui/src/window.cpp void cv::displayStatusBar(const String& name, const String& text, int delayms) cv 402 modules/highgui/src/window.cpp void cv::displayOverlay(const String& name, const String& text, int delayms) cv 407 modules/highgui/src/window.cpp int cv::startLoop(int (*pt2Func)(int argc, char *argv[]), int argc, char* argv[]) cv 412 modules/highgui/src/window.cpp void cv::stopLoop() cv 417 modules/highgui/src/window.cpp void cv::saveWindowParameters(const String& windowName) cv 422 modules/highgui/src/window.cpp void cv::loadWindowParameters(const String& windowName) cv 427 modules/highgui/src/window.cpp int cv::createButton(const String& button_name, ButtonCallback on_change, void* userdata, int button_type , bool initial_button_state ) cv 434 modules/highgui/src/window.cpp cv::QtFont cv::fontQt(const String&, int, Scalar, int, int, int) cv 440 modules/highgui/src/window.cpp void cv::addText( const Mat&, const String&, Point, const QtFont&) cv 445 modules/highgui/src/window.cpp void cv::displayStatusBar(const String&, const String&, int) cv 450 modules/highgui/src/window.cpp void cv::displayOverlay(const String&, const String&, int ) cv 455 modules/highgui/src/window.cpp int cv::startLoop(int (*)(int argc, char *argv[]), int , char**) cv 461 modules/highgui/src/window.cpp void cv::stopLoop() cv 466 modules/highgui/src/window.cpp void cv::saveWindowParameters(const String&) cv 471 modules/highgui/src/window.cpp void cv::loadWindowParameters(const String&) cv 476 modules/highgui/src/window.cpp int cv::createButton(const String&, ButtonCallback, void*, int , bool ) cv 499 modules/highgui/src/window.cpp void cv::setWindowTitle(const String&, const String&) cv 184 modules/highgui/src/window_QT.cpp void cv::setWindowTitle(const String& winname, const String& title) cv 1002 modules/highgui/src/window_QT.cpp cv::Mat im = cv::cvarrToMat(mat); cv 1003 modules/highgui/src/window_QT.cpp cv::imshow(name.toUtf8().data(), im); cv 837 modules/highgui/src/window_carbon.cpp void cv::setWindowTitle(const String& winname, const String& title) cv 736 modules/highgui/src/window_gtk.cpp void cv::setWindowTitle(const String& winname, const String& title) cv 1307 modules/highgui/src/window_gtk.cpp cv::imshow(name, cv::cvarrToMat(arr)); cv 1702 modules/highgui/src/window_gtk.cpp cv::String sname = gtk_window_get_title(GTK_WINDOW(window->frame)); cv 1732 modules/highgui/src/window_gtk.cpp cv::String filename; cv 1743 modules/highgui/src/window_gtk.cpp cv::Mat bgr; cv 1744 modules/highgui/src/window_gtk.cpp cv::cvtColor(cv::cvarrToMat(image_widget->original_image), bgr, cv::COLOR_RGB2BGR); cv 1745 modules/highgui/src/window_gtk.cpp cv::imwrite(filename, bgr); cv 493 modules/highgui/src/window_w32.cpp void cv::setWindowTitle(const String& winname, const String& title) cv 1122 modules/highgui/src/window_w32.cpp cv::imshow(name, cv::cvarrToMat(image)); cv 1895 modules/highgui/src/window_w32.cpp cv::Mat tmp; cv::flip(cv::Mat(sz.cy, sz.cx, CV_8UC(channels), data), tmp, 0); cv 1896 modules/highgui/src/window_w32.cpp cv::imwrite(szFileName, tmp); cv 48 modules/highgui/test/test_gui.cpp using namespace cv; cv 53 modules/imgcodecs/include/opencv2/imgcodecs/ios.h UIImage* MatToUIImage(const cv::Mat& image); cv 55 modules/imgcodecs/include/opencv2/imgcodecs/ios.h cv::Mat& m, bool alphaExist = false); cv 351 modules/imgcodecs/src/grfmt_exr.cpp out[x] = cv::saturate_cast<uchar>(fi[x]*5); cv 359 modules/imgcodecs/src/grfmt_exr.cpp out[x] = cv::saturate_cast<uchar>(ui[x]); cv 488 modules/imgcodecs/src/grfmt_exr.cpp ((uchar *)data)[y * step + x * 3 + 0] = cv::saturate_cast<uchar>(b); cv 489 modules/imgcodecs/src/grfmt_exr.cpp ((uchar *)data)[y * step + x * 3 + 1] = cv::saturate_cast<uchar>(Y); cv 490 modules/imgcodecs/src/grfmt_exr.cpp ((uchar *)data)[y * step + x * 3 + 2] = cv::saturate_cast<uchar>(r); cv 278 modules/imgcodecs/src/grfmt_jpeg2000.cpp cv::cvtColor(clr, img, COLOR_BGR2GRAY); cv 317 modules/imgcodecs/src/grfmt_jpeg2000.cpp dst[x*ncmpts] = cv::saturate_cast<uchar>(pix); cv 323 modules/imgcodecs/src/grfmt_jpeg2000.cpp dst[x*ncmpts] = cv::saturate_cast<uchar>(pix); cv 330 modules/imgcodecs/src/grfmt_jpeg2000.cpp dst[x*ncmpts] = dst[(x+1)*ncmpts] = cv::saturate_cast<uchar>(pix); cv 336 modules/imgcodecs/src/grfmt_jpeg2000.cpp pix = cv::saturate_cast<uchar>(pix); cv 381 modules/imgcodecs/src/grfmt_jpeg2000.cpp dst[x*ncmpts] = cv::saturate_cast<ushort>(pix); cv 387 modules/imgcodecs/src/grfmt_jpeg2000.cpp dst[x*ncmpts] = cv::saturate_cast<ushort>(pix); cv 394 modules/imgcodecs/src/grfmt_jpeg2000.cpp dst[x*ncmpts] = dst[(x+1)*ncmpts] = cv::saturate_cast<ushort>(pix); cv 400 modules/imgcodecs/src/grfmt_jpeg2000.cpp pix = cv::saturate_cast<ushort>(pix); cv 627 modules/imgcodecs/src/loadsave.cpp cv::ImageDecoder decoder = cv::findDecoder(filename); cv 633 modules/imgcodecs/src/loadsave.cpp cv::ImageEncoder encoder = cv::findEncoder(filename); cv 640 modules/imgcodecs/src/loadsave.cpp return (IplImage*)cv::imread_(filename, iscolor, cv::LOAD_IMAGE ); cv 646 modules/imgcodecs/src/loadsave.cpp return (CvMat*)cv::imread_( filename, iscolor, cv::LOAD_CVMAT ); cv 658 modules/imgcodecs/src/loadsave.cpp return cv::imwrite_(filename, cv::cvarrToMat(arr), cv 668 modules/imgcodecs/src/loadsave.cpp cv::Mat buf(1, _buf->rows*_buf->cols*CV_ELEM_SIZE(_buf->type), CV_8U, _buf->data.ptr); cv 669 modules/imgcodecs/src/loadsave.cpp return (IplImage*)cv::imdecode_(buf, iscolor, cv::LOAD_IMAGE ); cv 676 modules/imgcodecs/src/loadsave.cpp cv::Mat buf(1, _buf->rows*_buf->cols*CV_ELEM_SIZE(_buf->type), CV_8U, _buf->data.ptr); cv 677 modules/imgcodecs/src/loadsave.cpp return (CvMat*)cv::imdecode_(buf, iscolor, cv::LOAD_CVMAT ); cv 689 modules/imgcodecs/src/loadsave.cpp cv::Mat img = cv::cvarrToMat(arr); cv 692 modules/imgcodecs/src/loadsave.cpp cv::Mat temp; cv 693 modules/imgcodecs/src/loadsave.cpp cv::flip(img, temp, 0); cv 698 modules/imgcodecs/src/loadsave.cpp bool code = cv::imencode(ext, img, buf, cv 90 modules/imgcodecs/src/rgbe.cpp CV_Error(cv::Error::StsError, "RGBE read error"); cv 93 modules/imgcodecs/src/rgbe.cpp CV_Error(cv::Error::StsError, "RGBE write error"); cv 96 modules/imgcodecs/src/rgbe.cpp CV_Error(cv::Error::StsError, cv::String("RGBE bad file format: ") + cv 97 modules/imgcodecs/src/rgbe.cpp cv::String(msg)); cv 101 modules/imgcodecs/src/rgbe.cpp CV_Error(cv::Error::StsError, cv::String("RGBE error: \n") + cv 102 modules/imgcodecs/src/rgbe.cpp cv::String(msg)); cv 46 modules/imgcodecs/test/test_drawing.cpp using namespace cv; cv 47 modules/imgcodecs/test/test_grfmt.cpp using namespace cv; cv 145 modules/imgcodecs/test/test_grfmt.cpp imwrite(cv::tempfile(".png"), img); cv 194 modules/imgcodecs/test/test_grfmt.cpp string img_path = cv::tempfile(ext_from_int(ext).c_str()); cv 224 modules/imgcodecs/test/test_grfmt.cpp string filename = cv::tempfile(".jpg"); cv 255 modules/imgcodecs/test/test_grfmt.cpp string filename = cv::tempfile(".tiff"); cv 280 modules/imgcodecs/test/test_grfmt.cpp catch(const cv::Exception & e) cv 331 modules/imgcodecs/test/test_grfmt.cpp cv::imencode(".png" ,im ,buff, param); cv 468 modules/imgcodecs/test/test_grfmt.cpp cv::Mat img; cv 471 modules/imgcodecs/test/test_grfmt.cpp ASSERT_THROW(cv::imencode(".jpg", img, jpegImg), cv::Exception); cv 478 modules/imgcodecs/test/test_grfmt.cpp cv::Mat img = cv::imread(input); cv 485 modules/imgcodecs/test/test_grfmt.cpp string output_progressive = cv::tempfile(".jpg"); cv 486 modules/imgcodecs/test/test_grfmt.cpp EXPECT_NO_THROW(cv::imwrite(output_progressive, img, params)); cv 487 modules/imgcodecs/test/test_grfmt.cpp cv::Mat img_jpg_progressive = cv::imread(output_progressive); cv 489 modules/imgcodecs/test/test_grfmt.cpp string output_normal = cv::tempfile(".jpg"); cv 490 modules/imgcodecs/test/test_grfmt.cpp EXPECT_NO_THROW(cv::imwrite(output_normal, img)); cv 491 modules/imgcodecs/test/test_grfmt.cpp cv::Mat img_jpg_normal = cv::imread(output_normal); cv 502 modules/imgcodecs/test/test_grfmt.cpp cv::Mat img = cv::imread(input); cv 509 modules/imgcodecs/test/test_grfmt.cpp string output_optimized = cv::tempfile(".jpg"); cv 510 modules/imgcodecs/test/test_grfmt.cpp EXPECT_NO_THROW(cv::imwrite(output_optimized, img, params)); cv 511 modules/imgcodecs/test/test_grfmt.cpp cv::Mat img_jpg_optimized = cv::imread(output_optimized); cv 513 modules/imgcodecs/test/test_grfmt.cpp string output_normal = cv::tempfile(".jpg"); cv 514 modules/imgcodecs/test/test_grfmt.cpp EXPECT_NO_THROW(cv::imwrite(output_normal, img)); cv 515 modules/imgcodecs/test/test_grfmt.cpp cv::Mat img_jpg_normal = cv::imread(output_normal); cv 526 modules/imgcodecs/test/test_grfmt.cpp cv::Mat img = cv::imread(input); cv 533 modules/imgcodecs/test/test_grfmt.cpp string output_rst = cv::tempfile(".jpg"); cv 534 modules/imgcodecs/test/test_grfmt.cpp EXPECT_NO_THROW(cv::imwrite(output_rst, img, params)); cv 535 modules/imgcodecs/test/test_grfmt.cpp cv::Mat img_jpg_rst = cv::imread(output_rst); cv 537 modules/imgcodecs/test/test_grfmt.cpp string output_normal = cv::tempfile(".jpg"); cv 538 modules/imgcodecs/test/test_grfmt.cpp EXPECT_NO_THROW(cv::imwrite(output_normal, img)); cv 539 modules/imgcodecs/test/test_grfmt.cpp cv::Mat img_jpg_normal = cv::imread(output_normal); cv 565 modules/imgcodecs/test/test_grfmt.cpp cv::Mat big(16384, 16384, CV_8UC1, cv::Scalar::all(0)); cv 566 modules/imgcodecs/test/test_grfmt.cpp string file3 = cv::tempfile(".tiff"); cv 567 modules/imgcodecs/test/test_grfmt.cpp string file4 = cv::tempfile(".tiff"); cv 572 modules/imgcodecs/test/test_grfmt.cpp cv::imwrite(file4, big, params); cv 573 modules/imgcodecs/test/test_grfmt.cpp cv::imwrite(file3, big.colRange(0, big.cols - 1), params); cv 578 modules/imgcodecs/test/test_grfmt.cpp cv::imread(file3, IMREAD_UNCHANGED); cv 579 modules/imgcodecs/test/test_grfmt.cpp EXPECT_NO_THROW(cv::imread(file4, IMREAD_UNCHANGED)); cv 615 modules/imgcodecs/test/test_grfmt.cpp string filename = cv::tempfile(".tiff"); cv 651 modules/imgcodecs/test/test_grfmt.cpp cv::Mat img = imread(string(ts->get_data_path()) + "readwrite/non_tiled.tif",-1); cv 654 modules/imgcodecs/test/test_grfmt.cpp cv::Mat tiled8 = imread(string(ts->get_data_path()) + "readwrite/tiled_8.tif", -1); cv 658 modules/imgcodecs/test/test_grfmt.cpp cv::Mat tiled16 = imread(string(ts->get_data_path()) + "readwrite/tiled_16.tif", -1); cv 698 modules/imgcodecs/test/test_grfmt.cpp const string filename = cv::tempfile(".tiff"); cv 703 modules/imgcodecs/test/test_grfmt.cpp EXPECT_NO_THROW(cv::imread(filename, IMREAD_UNCHANGED)); cv 756 modules/imgcodecs/test/test_grfmt.cpp cv::Mat img = cv::imread(input); cv 759 modules/imgcodecs/test/test_grfmt.cpp string output = cv::tempfile(".webp"); cv 760 modules/imgcodecs/test/test_grfmt.cpp EXPECT_NO_THROW(cv::imwrite(output, img)); // lossless cv 762 modules/imgcodecs/test/test_grfmt.cpp cv::Mat img_webp = cv::imread(output); cv 792 modules/imgcodecs/test/test_grfmt.cpp cv::Mat decode = cv::imdecode(buf, IMREAD_COLOR); cv 805 modules/imgcodecs/test/test_grfmt.cpp cv::Mat img = cv::imread(input); cv 813 modules/imgcodecs/test/test_grfmt.cpp string output = cv::tempfile(".webp"); cv 815 modules/imgcodecs/test/test_grfmt.cpp EXPECT_NO_THROW(cv::imwrite(output, img, params)); cv 816 modules/imgcodecs/test/test_grfmt.cpp cv::Mat img_webp = cv::imread(output); cv 829 modules/imgcodecs/test/test_grfmt.cpp cv::Mat img = cv::imread(input); cv 832 modules/imgcodecs/test/test_grfmt.cpp std::vector<cv::Mat> imgs; cv 833 modules/imgcodecs/test/test_grfmt.cpp cv::split(img, imgs); cv 834 modules/imgcodecs/test/test_grfmt.cpp imgs.push_back(cv::Mat(imgs[0])); cv 835 modules/imgcodecs/test/test_grfmt.cpp imgs[imgs.size() - 1] = cv::Scalar::all(128); cv 836 modules/imgcodecs/test/test_grfmt.cpp cv::merge(imgs, img); cv 838 modules/imgcodecs/test/test_grfmt.cpp string output = cv::tempfile(".webp"); cv 840 modules/imgcodecs/test/test_grfmt.cpp EXPECT_NO_THROW(cv::imwrite(output, img)); cv 841 modules/imgcodecs/test/test_grfmt.cpp cv::Mat img_webp = cv::imread(output); cv 405 modules/imgproc/include/opencv2/imgproc/types_c.h CvMoments(const cv::Moments& m) cv 415 modules/imgproc/include/opencv2/imgproc/types_c.h operator cv::Moments() const cv 417 modules/imgproc/include/opencv2/imgproc/types_c.h return cv::Moments(m00, m10, m01, m20, m11, m02, m30, m21, m12, m03); cv 70 modules/imgproc/perf/opencl/perf_accumulate.cpp OCL_TEST_CYCLE() cv::accumulate(src, dst); cv 91 modules/imgproc/perf/opencl/perf_accumulate.cpp OCL_TEST_CYCLE() cv::accumulateSquare(src, dst); cv 112 modules/imgproc/perf/opencl/perf_accumulate.cpp OCL_TEST_CYCLE() cv::accumulateProduct(src1, src2, dst); cv 133 modules/imgproc/perf/opencl/perf_accumulate.cpp OCL_TEST_CYCLE() cv::accumulateWeighted(src, dst, 2.0); cv 75 modules/imgproc/perf/opencl/perf_blend.cpp OCL_TEST_CYCLE() cv::blendLinear(src1, src2, weights1, weights2, dst); cv 108 modules/imgproc/perf/opencl/perf_color.cpp OCL_TEST_CYCLE() cv::cvtColor(src, dst, code, dcn); cv 75 modules/imgproc/perf/opencl/perf_filters.cpp OCL_TEST_CYCLE() cv::blur(src, dst, Size(ksize, ksize), Point(-1, -1), bordertype); cv 100 modules/imgproc/perf/opencl/perf_filters.cpp OCL_TEST_CYCLE() cv::sqrBoxFilter(src, dst, ddepth, ksize, Point(-1, -1), false); cv 122 modules/imgproc/perf/opencl/perf_filters.cpp OCL_TEST_CYCLE() cv::Laplacian(src, dst, -1, ksize, 1); cv 144 modules/imgproc/perf/opencl/perf_filters.cpp OCL_TEST_CYCLE() cv::erode(src, dst, ker); cv 166 modules/imgproc/perf/opencl/perf_filters.cpp OCL_TEST_CYCLE() cv::dilate(src, dst, ker); cv 191 modules/imgproc/perf/opencl/perf_filters.cpp OCL_TEST_CYCLE() cv::morphologyEx(src, dst, op, ker); cv 212 modules/imgproc/perf/opencl/perf_filters.cpp OCL_TEST_CYCLE() cv::Sobel(src, dst, -1, dx, dy); cv 234 modules/imgproc/perf/opencl/perf_filters.cpp OCL_TEST_CYCLE() cv::Scharr(src, dst, -1, dx, dy); cv 256 modules/imgproc/perf/opencl/perf_filters.cpp OCL_TEST_CYCLE() cv::GaussianBlur(src, dst, Size(ksize, ksize), 1, 1, cv::BORDER_CONSTANT); cv 280 modules/imgproc/perf/opencl/perf_filters.cpp OCL_TEST_CYCLE() cv::filter2D(src, dst, -1, kernel); cv 300 modules/imgproc/perf/opencl/perf_filters.cpp OCL_TEST_CYCLE() cv::bilateralFilter(src, dst, d, sigmacolor, sigmaspace); cv 321 modules/imgproc/perf/opencl/perf_filters.cpp OCL_TEST_CYCLE() cv::medianBlur(src, dst, ksize); cv 69 modules/imgproc/perf/opencl/perf_gftt.cpp Mat img = imread(getDataPath(fileName), cv::IMREAD_GRAYSCALE); cv 79 modules/imgproc/perf/opencl/perf_gftt.cpp OCL_TEST_CYCLE() cv::goodFeaturesToTrack(src, dst, maxCorners, qualityLevel, cv 52 modules/imgproc/perf/opencl/perf_houghLines.cpp OCL_TEST_CYCLE() cv::HoughLines(usrc, lines, rhoStep, thetaStep, threshold); cv 83 modules/imgproc/perf/opencl/perf_houghLines.cpp OCL_TEST_CYCLE() cv::HoughLinesP(usrc, lines, rhoStep, thetaStep, threshold, minLineLength, maxGap); cv 69 modules/imgproc/perf/opencl/perf_imgproc.cpp OCL_TEST_CYCLE() cv::equalizeHist(src, dst); cv 93 modules/imgproc/perf/opencl/perf_imgproc.cpp OCL_TEST_CYCLE() cv::calcHist(std::vector<UMat>(1, src), channels, noArray(), hist, histSize, ranges, false); cv 117 modules/imgproc/perf/opencl/perf_imgproc.cpp cv::calcHist(std::vector<UMat>(1, src), channels, noArray(), hist, histSize, ranges, false); cv 120 modules/imgproc/perf/opencl/perf_imgproc.cpp OCL_TEST_CYCLE() cv::calcBackProject(std::vector<UMat>(1,src), channels, hist, dst, ranges, 1); cv 147 modules/imgproc/perf/opencl/perf_imgproc.cpp OCL_TEST_CYCLE() cv::copyMakeBorder(src, dst, 7, 5, 5, 7, borderType, cv::Scalar(1.0)); cv 169 modules/imgproc/perf/opencl/perf_imgproc.cpp OCL_TEST_CYCLE() cv::cornerMinEigenVal(src, dst, blockSize, apertureSize, borderType); cv 190 modules/imgproc/perf/opencl/perf_imgproc.cpp OCL_TEST_CYCLE() cv::cornerHarris(src, dst, 5, 7, 0.1, borderType); cv 211 modules/imgproc/perf/opencl/perf_imgproc.cpp OCL_TEST_CYCLE() cv::preCornerDetect(src, dst, 3, borderType); cv 232 modules/imgproc/perf/opencl/perf_imgproc.cpp OCL_TEST_CYCLE() cv::integral(src, dst, ddepth); cv 248 modules/imgproc/perf/opencl/perf_imgproc.cpp OCL_TEST_CYCLE() cv::integral(src, sum, sqsum, ddepth, CV_32F); cv 275 modules/imgproc/perf/opencl/perf_imgproc.cpp OCL_TEST_CYCLE() cv::threshold(src, dst, threshold, maxValue, threshType); cv 294 modules/imgproc/perf/opencl/perf_imgproc.cpp cv::Ptr<cv::CLAHE> clahe = cv::createCLAHE(clipLimit); cv 311 modules/imgproc/perf/opencl/perf_imgproc.cpp Mat _img = imread(getDataPath("gpu/stereobm/aloe-L.png"), cv::IMREAD_GRAYSCALE); cv 320 modules/imgproc/perf/opencl/perf_imgproc.cpp OCL_TEST_CYCLE() cv::Canny(img, edges, 50.0, 100.0, apertureSize, L2Grad); cv 82 modules/imgproc/perf/opencl/perf_imgwarp.cpp OCL_TEST_CYCLE() cv::warpAffine(src, dst, M, srcSize, interpolation); cv 114 modules/imgproc/perf/opencl/perf_imgwarp.cpp OCL_TEST_CYCLE() cv::warpPerspective(src, dst, M, srcSize, interpolation); cv 142 modules/imgproc/perf/opencl/perf_imgwarp.cpp OCL_TEST_CYCLE() cv::resize(src, dst, Size(), scale, scale, interType); cv 166 modules/imgproc/perf/opencl/perf_imgwarp.cpp OCL_TEST_CYCLE() cv::resize(src, dst, Size(), scale, scale, cv::INTER_AREA); cv 206 modules/imgproc/perf/opencl/perf_imgwarp.cpp OCL_TEST_CYCLE() cv::remap(src, dst, xmap, ymap, interpolation, borderMode); cv 17 modules/imgproc/perf/opencl/perf_matchTemplate.cpp testing::Values(cv::Size(640, 480), cv::Size(1280, 1024)), cv 18 modules/imgproc/perf/opencl/perf_matchTemplate.cpp testing::Values(cv::Size(11, 11), cv::Size(16, 16), cv::Size(41, 41)), cv 64 modules/imgproc/perf/opencl/perf_matchTemplate.cpp OCL_TEST_CYCLE() cv::matchTemplate(src, templ, dst, CV_TM_CCORR); cv 82 modules/imgproc/perf/opencl/perf_matchTemplate.cpp OCL_TEST_CYCLE() cv::matchTemplate(src, templ, dst, CV_TM_CCORR_NORMED); cv 67 modules/imgproc/perf/opencl/perf_moments.cpp cv::Moments m; cv 71 modules/imgproc/perf/opencl/perf_moments.cpp OCL_TEST_CYCLE() m = cv::moments(src, binaryImage); cv 74 modules/imgproc/perf/opencl/perf_pyramid.cpp OCL_TEST_CYCLE() cv::pyrDown(src, dst); cv 98 modules/imgproc/perf/opencl/perf_pyramid.cpp OCL_TEST_CYCLE() cv::pyrUp(src, dst); cv 121 modules/imgproc/perf/opencl/perf_pyramid.cpp OCL_TEST_CYCLE() cv::buildPyramid(src, dst, maxLevel); cv 4 modules/imgproc/perf/perf_bilateral.cpp using namespace cv; cv 4 modules/imgproc/perf/perf_blur.cpp using namespace cv; cv 4 modules/imgproc/perf/perf_canny.cpp using namespace cv; cv 4 modules/imgproc/perf/perf_corners.cpp using namespace cv; cv 4 modules/imgproc/perf/perf_cvt_color.cpp using namespace cv; cv 28 modules/imgproc/perf/perf_distanceTransform.cpp using namespace cv; cv 45 modules/imgproc/perf/perf_distanceTransform.cpp testing::Values(cv::Size(640, 480), cv::Size(800, 600), cv::Size(1024, 768), cv::Size(1280, 1024)), cv 74 modules/imgproc/perf/perf_distanceTransform.cpp testing::Values(cv::Size(640, 480), cv::Size(800, 600), cv::Size(1024, 768), cv::Size(1280, 1024)), cv 4 modules/imgproc/perf/perf_filter2d.cpp using namespace cv; cv 11 modules/imgproc/perf/perf_floodfill.cpp using namespace cv; cv 67 modules/imgproc/perf/perf_floodfill.cpp cv::floodFill(source, pseed, newval, &outputRect, loVal, upVal, flags); cv 4 modules/imgproc/perf/perf_goodFeaturesToTrack.cpp using namespace cv; cv 4 modules/imgproc/perf/perf_histogram.cpp using namespace cv; cv 6 modules/imgproc/perf/perf_houghLines.cpp using namespace cv; cv 4 modules/imgproc/perf/perf_integral.cpp using namespace cv; cv 4 modules/imgproc/perf/perf_matchTemplate.cpp using namespace cv; cv 16 modules/imgproc/perf/perf_matchTemplate.cpp testing::Values(szSmall128, cv::Size(320, 240), cv 17 modules/imgproc/perf/perf_matchTemplate.cpp cv::Size(640, 480), cv::Size(800, 600), cv 18 modules/imgproc/perf/perf_matchTemplate.cpp cv::Size(1024, 768), cv::Size(1280, 1024)), cv 19 modules/imgproc/perf/perf_matchTemplate.cpp testing::Values(cv::Size(12, 12), cv::Size(28, 9), cv 20 modules/imgproc/perf/perf_matchTemplate.cpp cv::Size(8, 30), cv::Size(16, 16)), cv 53 modules/imgproc/perf/perf_matchTemplate.cpp testing::Values(cv::Size(1280, 1024)), cv 54 modules/imgproc/perf/perf_matchTemplate.cpp testing::Values(cv::Size(1260, 1000), cv::Size(1261, 1013)), cv 11 modules/imgproc/perf/perf_moments.cpp using namespace cv; cv 31 modules/imgproc/perf/perf_moments.cpp cv::Moments m; cv 35 modules/imgproc/perf/perf_moments.cpp TEST_CYCLE() m = cv::moments(src, binaryImage); cv 37 modules/imgproc/perf/perf_moments.cpp int len = (int)sizeof(cv::Moments) / sizeof(double); cv 38 modules/imgproc/perf/perf_moments.cpp cv::Mat mat(1, len, CV_64F, (void*)&m); cv 4 modules/imgproc/perf/perf_morph.cpp using namespace cv; cv 4 modules/imgproc/perf/perf_phasecorr.cpp using namespace cv; cv 19 modules/imgproc/perf/perf_phasecorr.cpp TEST_CYCLE() cv::createHanningWindow(dst, size, CV_32FC1); cv 4 modules/imgproc/perf/perf_pyramids.cpp using namespace cv; cv 4 modules/imgproc/perf/perf_remap.cpp using namespace cv; cv 4 modules/imgproc/perf/perf_resize.cpp using namespace cv; cv 24 modules/imgproc/perf/perf_resize.cpp cv::Mat src(from, matType), dst(to, matType); cv 51 modules/imgproc/perf/perf_resize.cpp cv::Mat src(from, matType), dst(to, matType); cv 83 modules/imgproc/perf/perf_resize.cpp cv::Mat src(from, matType); cv 84 modules/imgproc/perf/perf_resize.cpp cv::Mat dst(from.height / scale, from.width / scale, matType); cv 110 modules/imgproc/perf/perf_resize.cpp cv::Mat src(from, matType); cv 113 modules/imgproc/perf/perf_resize.cpp cv::Mat dst(to, matType); cv 4 modules/imgproc/perf/perf_sepfilters.cpp using namespace cv; cv 4 modules/imgproc/perf/perf_threshold.cpp using namespace cv; cv 4 modules/imgproc/perf/perf_warp.cpp using namespace cv; cv 846 modules/imgproc/src/accum.cpp void cv::accumulate( InputArray _src, InputOutputArray _dst, InputArray _mask ) cv 931 modules/imgproc/src/accum.cpp void cv::accumulateSquare( InputArray _src, InputOutputArray _dst, InputArray _mask ) cv 1014 modules/imgproc/src/accum.cpp void cv::accumulateProduct( InputArray _src1, InputArray _src2, cv 1102 modules/imgproc/src/accum.cpp void cv::accumulateWeighted( InputArray _src, InputOutputArray _dst, cv 1192 modules/imgproc/src/accum.cpp cv::Mat src = cv::cvarrToMat(arr), dst = cv::cvarrToMat(sumarr), mask; cv 1194 modules/imgproc/src/accum.cpp mask = cv::cvarrToMat(maskarr); cv 1195 modules/imgproc/src/accum.cpp cv::accumulate( src, dst, mask ); cv 1201 modules/imgproc/src/accum.cpp cv::Mat src = cv::cvarrToMat(arr), dst = cv::cvarrToMat(sumarr), mask; cv 1203 modules/imgproc/src/accum.cpp mask = cv::cvarrToMat(maskarr); cv 1204 modules/imgproc/src/accum.cpp cv::accumulateSquare( src, dst, mask ); cv 1211 modules/imgproc/src/accum.cpp cv::Mat src1 = cv::cvarrToMat(arr1), src2 = cv::cvarrToMat(arr2); cv 1212 modules/imgproc/src/accum.cpp cv::Mat dst = cv::cvarrToMat(sumarr), mask; cv 1214 modules/imgproc/src/accum.cpp mask = cv::cvarrToMat(maskarr); cv 1215 modules/imgproc/src/accum.cpp cv::accumulateProduct( src1, src2, dst, mask ); cv 1221 modules/imgproc/src/accum.cpp cv::Mat src = cv::cvarrToMat(arr), dst = cv::cvarrToMat(sumarr), mask; cv 1223 modules/imgproc/src/accum.cpp mask = cv::cvarrToMat(maskarr); cv 1224 modules/imgproc/src/accum.cpp cv::accumulateWeighted( src, dst, alpha, mask ); cv 63 modules/imgproc/src/approx.cpp cv::AutoBuffer<_CvPtInfo> buf(chain->total + 8); cv 499 modules/imgproc/src/approx.cpp typedef cv::Point_<T> PT; cv 674 modules/imgproc/src/approx.cpp void cv::approxPolyDP( InputArray _curve, OutputArray _approxCurve, cv 708 modules/imgproc/src/approx.cpp cv::AutoBuffer<cv::Point> _buf; cv 709 modules/imgproc/src/approx.cpp cv::AutoBuffer<cv::Range> stack(100); cv 783 modules/imgproc/src/approx.cpp cv::Point *src = _buf, *dst = src + npoints; cv 787 modules/imgproc/src/approx.cpp src = (cv::Point*)src_seq->first->data; cv 792 modules/imgproc/src/approx.cpp nout = cv::approxPolyDP_(src, npoints, dst, closed, parameter, &stack); cv 794 modules/imgproc/src/approx.cpp nout = cv::approxPolyDP_((cv::Point2f*)src, npoints, cv 795 modules/imgproc/src/approx.cpp (cv::Point2f*)dst, closed, parameter, &stack); cv 122 modules/imgproc/src/blend.cpp void cv::blendLinear( InputArray _src1, InputArray _src2, InputArray _weights1, InputArray _weights2, OutputArray _dst ) cv 580 modules/imgproc/src/canny.cpp void cv::Canny( InputArray _src, OutputArray _dst, cv 966 modules/imgproc/src/canny.cpp cv::Mat src = cv::cvarrToMat(image), dst = cv::cvarrToMat(edges); cv 969 modules/imgproc/src/canny.cpp cv::Canny(src, dst, threshold1, threshold2, aperture_size & 255, cv 53 modules/imgproc/src/clahe.cpp static bool calcLut(cv::InputArray _src, cv::OutputArray _dst, cv 54 modules/imgproc/src/clahe.cpp const int tilesX, const int tilesY, const cv::Size tileSize, cv 57 modules/imgproc/src/clahe.cpp cv::ocl::Kernel _k("calcLut", cv::ocl::imgproc::clahe_oclsrc); cv 59 modules/imgproc/src/clahe.cpp bool is_cpu = cv::ocl::Device::getDefault().type() == cv::ocl::Device::TYPE_CPU; cv 60 modules/imgproc/src/clahe.cpp cv::String opts; cv 64 modules/imgproc/src/clahe.cpp opts = cv::format("-D WAVE_SIZE=%d", _k.preferedWorkGroupSizeMultiple()); cv 66 modules/imgproc/src/clahe.cpp cv::ocl::Kernel k("calcLut", cv::ocl::imgproc::clahe_oclsrc, opts); cv 70 modules/imgproc/src/clahe.cpp cv::UMat src = _src.getUMat(); cv 72 modules/imgproc/src/clahe.cpp cv::UMat dst = _dst.getUMat(); cv 82 modules/imgproc/src/clahe.cpp idx = k.set(idx, cv::ocl::KernelArg::ReadOnlyNoSize(src)); cv 83 modules/imgproc/src/clahe.cpp idx = k.set(idx, cv::ocl::KernelArg::WriteOnlyNoSize(dst)); cv 92 modules/imgproc/src/clahe.cpp static bool transform(cv::InputArray _src, cv::OutputArray _dst, cv::InputArray _lut, cv 93 modules/imgproc/src/clahe.cpp const int tilesX, const int tilesY, const cv::Size & tileSize) cv 96 modules/imgproc/src/clahe.cpp cv::ocl::Kernel k("transform", cv::ocl::imgproc::clahe_oclsrc); cv 104 modules/imgproc/src/clahe.cpp cv::UMat src = _src.getUMat(); cv 106 modules/imgproc/src/clahe.cpp cv::UMat dst = _dst.getUMat(); cv 107 modules/imgproc/src/clahe.cpp cv::UMat lut = _lut.getUMat(); cv 113 modules/imgproc/src/clahe.cpp idx = k.set(idx, cv::ocl::KernelArg::ReadOnlyNoSize(src)); cv 114 modules/imgproc/src/clahe.cpp idx = k.set(idx, cv::ocl::KernelArg::WriteOnlyNoSize(dst)); cv 115 modules/imgproc/src/clahe.cpp idx = k.set(idx, cv::ocl::KernelArg::ReadOnlyNoSize(lut)); cv 131 modules/imgproc/src/clahe.cpp class CLAHE_CalcLut_Body : public cv::ParallelLoopBody cv 134 modules/imgproc/src/clahe.cpp CLAHE_CalcLut_Body(const cv::Mat& src, const cv::Mat& lut, const cv::Size& tileSize, const int& tilesX, const int& clipLimit, const float& lutScale) : cv 139 modules/imgproc/src/clahe.cpp void operator ()(const cv::Range& range) const; cv 142 modules/imgproc/src/clahe.cpp cv::Mat src_; cv 143 modules/imgproc/src/clahe.cpp mutable cv::Mat lut_; cv 145 modules/imgproc/src/clahe.cpp cv::Size tileSize_; cv 152 modules/imgproc/src/clahe.cpp void CLAHE_CalcLut_Body<T,histSize,shift>::operator ()(const cv::Range& range) const cv 164 modules/imgproc/src/clahe.cpp cv::Rect tileROI; cv 170 modules/imgproc/src/clahe.cpp const cv::Mat tile = src_(tileROI); cv 225 modules/imgproc/src/clahe.cpp tileLut[i] = cv::saturate_cast<T>(sum * lutScale_); cv 231 modules/imgproc/src/clahe.cpp class CLAHE_Interpolation_Body : public cv::ParallelLoopBody cv 234 modules/imgproc/src/clahe.cpp CLAHE_Interpolation_Body(const cv::Mat& src, const cv::Mat& dst, const cv::Mat& lut, const cv::Size& tileSize, const int& tilesX, const int& tilesY) : cv 264 modules/imgproc/src/clahe.cpp void operator ()(const cv::Range& range) const; cv 267 modules/imgproc/src/clahe.cpp cv::Mat src_; cv 268 modules/imgproc/src/clahe.cpp mutable cv::Mat dst_; cv 269 modules/imgproc/src/clahe.cpp cv::Mat lut_; cv 271 modules/imgproc/src/clahe.cpp cv::Size tileSize_; cv 275 modules/imgproc/src/clahe.cpp cv::AutoBuffer<int> buf; cv 281 modules/imgproc/src/clahe.cpp void CLAHE_Interpolation_Body<T>::operator ()(const cv::Range& range) const cv 313 modules/imgproc/src/clahe.cpp dstRow[x] = cv::saturate_cast<T>(res); cv 318 modules/imgproc/src/clahe.cpp class CLAHE_Impl : public cv::CLAHE cv 323 modules/imgproc/src/clahe.cpp void apply(cv::InputArray src, cv::OutputArray dst); cv 328 modules/imgproc/src/clahe.cpp void setTilesGridSize(cv::Size tileGridSize); cv 329 modules/imgproc/src/clahe.cpp cv::Size getTilesGridSize() const; cv 338 modules/imgproc/src/clahe.cpp cv::Mat srcExt_; cv 339 modules/imgproc/src/clahe.cpp cv::Mat lut_; cv 342 modules/imgproc/src/clahe.cpp cv::UMat usrcExt_; cv 343 modules/imgproc/src/clahe.cpp cv::UMat ulut_; cv 352 modules/imgproc/src/clahe.cpp void CLAHE_Impl::apply(cv::InputArray _src, cv::OutputArray _dst) cv 357 modules/imgproc/src/clahe.cpp bool useOpenCL = cv::ocl::useOpenCL() && _src.isUMat() && _src.dims()<=2 && _src.type() == CV_8UC1; cv 362 modules/imgproc/src/clahe.cpp cv::Size tileSize; cv 363 modules/imgproc/src/clahe.cpp cv::_InputArray _srcForLut; cv 367 modules/imgproc/src/clahe.cpp tileSize = cv::Size(_src.size().width / tilesX_, _src.size().height / tilesY_); cv 375 modules/imgproc/src/clahe.cpp cv::copyMakeBorder(_src, usrcExt_, 0, tilesY_ - (_src.size().height % tilesY_), 0, tilesX_ - (_src.size().width % tilesX_), cv::BORDER_REFLECT_101); cv 376 modules/imgproc/src/clahe.cpp tileSize = cv::Size(usrcExt_.size().width / tilesX_, usrcExt_.size().height / tilesY_); cv 382 modules/imgproc/src/clahe.cpp cv::copyMakeBorder(_src, srcExt_, 0, tilesY_ - (_src.size().height % tilesY_), 0, tilesX_ - (_src.size().width % tilesX_), cv::BORDER_REFLECT_101); cv 383 modules/imgproc/src/clahe.cpp tileSize = cv::Size(srcExt_.size().width / tilesX_, srcExt_.size().height / tilesY_); cv 407 modules/imgproc/src/clahe.cpp cv::Mat src = _src.getMat(); cv 409 modules/imgproc/src/clahe.cpp cv::Mat dst = _dst.getMat(); cv 410 modules/imgproc/src/clahe.cpp cv::Mat srcForLut = _srcForLut.getMat(); cv 413 modules/imgproc/src/clahe.cpp cv::Ptr<cv::ParallelLoopBody> calcLutBody; cv 415 modules/imgproc/src/clahe.cpp calcLutBody = cv::makePtr<CLAHE_CalcLut_Body<uchar, 256, 0> >(srcForLut, lut_, tileSize, tilesX_, clipLimit, lutScale); cv 417 modules/imgproc/src/clahe.cpp calcLutBody = cv::makePtr<CLAHE_CalcLut_Body<ushort, 4096, 4> >(srcForLut, lut_, tileSize, tilesX_, clipLimit, lutScale); cv 421 modules/imgproc/src/clahe.cpp cv::parallel_for_(cv::Range(0, tilesX_ * tilesY_), *calcLutBody); cv 423 modules/imgproc/src/clahe.cpp cv::Ptr<cv::ParallelLoopBody> interpolationBody; cv 425 modules/imgproc/src/clahe.cpp interpolationBody = cv::makePtr<CLAHE_Interpolation_Body<uchar> >(src, dst, lut_, tileSize, tilesX_, tilesY_); cv 427 modules/imgproc/src/clahe.cpp interpolationBody = cv::makePtr<CLAHE_Interpolation_Body<ushort> >(src, dst, lut_, tileSize, tilesX_, tilesY_); cv 429 modules/imgproc/src/clahe.cpp cv::parallel_for_(cv::Range(0, src.rows), *interpolationBody); cv 442 modules/imgproc/src/clahe.cpp void CLAHE_Impl::setTilesGridSize(cv::Size tileGridSize) cv 448 modules/imgproc/src/clahe.cpp cv::Size CLAHE_Impl::getTilesGridSize() const cv 450 modules/imgproc/src/clahe.cpp return cv::Size(tilesX_, tilesY_); cv 464 modules/imgproc/src/clahe.cpp cv::Ptr<cv::CLAHE> cv::createCLAHE(double clipLimit, cv::Size tileGridSize) cv 6695 modules/imgproc/src/color.cpp cv::String opts = format("-D depth=%d -D scn=%d -D PIX_PER_WI_Y=%d ", cv 7332 modules/imgproc/src/color.cpp void cv::cvtColor( InputArray _src, OutputArray _dst, int code, int dcn ) cv 8628 modules/imgproc/src/color.cpp cv::Mat src = cv::cvarrToMat(srcarr), dst0 = cv::cvarrToMat(dstarr), dst = dst0; cv 8631 modules/imgproc/src/color.cpp cv::cvtColor(src, dst, code, dst.channels()); cv 69 modules/imgproc/src/connectedcomponents.cpp cv::Mat statsv; cv 71 modules/imgproc/src/connectedcomponents.cpp cv::Mat centroidsv; cv 78 modules/imgproc/src/connectedcomponents.cpp _mstatsv->create(cv::Size(CC_STAT_MAX, nlabels), cv::DataType<int>::type); cv 80 modules/imgproc/src/connectedcomponents.cpp _mcentroidsv->create(cv::Size(2, nlabels), cv::DataType<double>::type); cv 192 modules/imgproc/src/connectedcomponents.cpp LabelT operator()(const cv::Mat &I, cv::Mat &L, int connectivity, StatsOp &sop){ cv 340 modules/imgproc/src/connectedcomponents.cpp int connectedComponents_sub1(const cv::Mat &I, cv::Mat &L, int connectivity, StatsOp &sop){ cv 367 modules/imgproc/src/connectedcomponents.cpp int cv::connectedComponents(InputArray _img, OutputArray _labels, int connectivity, int ltype){ cv 368 modules/imgproc/src/connectedcomponents.cpp const cv::Mat img = _img.getMat(); cv 370 modules/imgproc/src/connectedcomponents.cpp cv::Mat labels = _labels.getMat(); cv 382 modules/imgproc/src/connectedcomponents.cpp int cv::connectedComponentsWithStats(InputArray _img, OutputArray _labels, OutputArray statsv, cv 385 modules/imgproc/src/connectedcomponents.cpp const cv::Mat img = _img.getMat(); cv 387 modules/imgproc/src/connectedcomponents.cpp cv::Mat labels = _labels.getMat(); cv 1300 modules/imgproc/src/contours.cpp cv::Ptr<CvMemStorage> storage00; cv 1301 modules/imgproc/src/contours.cpp cv::Ptr<CvMemStorage> storage01; cv 1705 modules/imgproc/src/contours.cpp void cv::findContours( InputOutputArray _image, OutputArrayOfArrays _contours, cv 1758 modules/imgproc/src/contours.cpp void cv::findContours( InputOutputArray _image, OutputArrayOfArrays _contours, cv 473 modules/imgproc/src/convhull.cpp cv::AutoBuffer<double> _ptbuf; cv 474 modules/imgproc/src/convhull.cpp cv::Mat h0; cv 475 modules/imgproc/src/convhull.cpp cv::convexHull(cv::cvarrToMat(ptseq, false, false, 0, &_ptbuf), h0, cv 736 modules/imgproc/src/convhull.cpp cv::AutoBuffer<double> _buf; cv 737 modules/imgproc/src/convhull.cpp return cv::isContourConvex(cv::cvarrToMat(contour, false, false, 0, &_buf)) ? 1 : 0; cv 408 modules/imgproc/src/corner.cpp cv::format("-D BLK_X=%d -D BLK_Y=%d -D %s -D SRCTYPE=%s%s", cv 526 modules/imgproc/src/corner.cpp void cv::cornerMinEigenVal( InputArray _src, OutputArray _dst, int blockSize, int ksize, int borderType ) cv 597 modules/imgproc/src/corner.cpp void cv::cornerHarris( InputArray _src, OutputArray _dst, int blockSize, int ksize, double k, int borderType ) cv 658 modules/imgproc/src/corner.cpp void cv::cornerEigenValsAndVecs( InputArray _src, OutputArray _dst, int blockSize, int ksize, int borderType ) cv 671 modules/imgproc/src/corner.cpp void cv::preCornerDetect( InputArray _src, OutputArray _dst, int ksize, int borderType ) cv 698 modules/imgproc/src/corner.cpp volatile bool haveSSE2 = cv::checkHardwareSupport(CV_CPU_SSE2); cv 754 modules/imgproc/src/corner.cpp cv::Mat src = cv::cvarrToMat(srcarr), dst = cv::cvarrToMat(dstarr); cv 757 modules/imgproc/src/corner.cpp cv::cornerMinEigenVal( src, dst, block_size, aperture_size, cv::BORDER_REPLICATE ); cv 764 modules/imgproc/src/corner.cpp cv::Mat src = cv::cvarrToMat(srcarr), dst = cv::cvarrToMat(dstarr); cv 767 modules/imgproc/src/corner.cpp cv::cornerHarris( src, dst, block_size, aperture_size, k, cv::BORDER_REPLICATE ); cv 775 modules/imgproc/src/corner.cpp cv::Mat src = cv::cvarrToMat(srcarr), dst = cv::cvarrToMat(dstarr); cv 778 modules/imgproc/src/corner.cpp cv::cornerEigenValsAndVecs( src, dst, block_size, aperture_size, cv::BORDER_REPLICATE ); cv 785 modules/imgproc/src/corner.cpp cv::Mat src = cv::cvarrToMat(srcarr), dst = cv::cvarrToMat(dstarr); cv 788 modules/imgproc/src/corner.cpp cv::preCornerDetect( src, dst, aperture_size, cv::BORDER_REPLICATE ); cv 44 modules/imgproc/src/cornersubpix.cpp void cv::cornerSubPix( InputArray _image, InputOutputArray _corners, cv 54 modules/imgproc/src/cornersubpix.cpp cv::Mat src = _image.getMat(), cornersmat = _corners.getMat(); cv 165 modules/imgproc/src/cornersubpix.cpp cv::Mat src = cv::cvarrToMat(srcarr), corners(count, 1, CV_32FC2, _corners); cv 166 modules/imgproc/src/cornersubpix.cpp cv::cornerSubPix(src, corners, win, zeroZone, criteria); cv 934 modules/imgproc/src/demosaicing.cpp cv::AutoBuffer<ushort> _buf(bufstep*brows); cv 940 modules/imgproc/src/demosaicing.cpp bool haveSSE = cv::checkHardwareSupport(CV_CPU_SSE2); cv 1196 modules/imgproc/src/demosaicing.cpp dstrow[blueIdx] = cv::saturate_cast<uchar>(B); cv 1197 modules/imgproc/src/demosaicing.cpp dstrow[1] = cv::saturate_cast<uchar>(G); cv 1198 modules/imgproc/src/demosaicing.cpp dstrow[blueIdx^2] = cv::saturate_cast<uchar>(R); cv 1469 modules/imgproc/src/demosaicing.cpp public cv::ParallelLoopBody cv 1616 modules/imgproc/src/demosaicing.cpp void cv::demosaicing(InputArray _src, OutputArray _dst, int code, int dcn) cv 167 modules/imgproc/src/deriv.cpp void cv::getDerivKernels( OutputArray kx, OutputArray ky, int dx, int dy, cv 177 modules/imgproc/src/deriv.cpp cv::Ptr<cv::FilterEngine> cv::createDerivFilter(int srcType, int dstType, cv 319 modules/imgproc/src/deriv.cpp cv::AutoBuffer<char> buffer; cv 421 modules/imgproc/src/deriv.cpp cv::AutoBuffer<char> buffer; cv 555 modules/imgproc/src/deriv.cpp void cv::Sobel( InputArray _src, OutputArray _dst, int ddepth, int dx, int dy, cv 613 modules/imgproc/src/deriv.cpp void cv::Scharr( InputArray _src, OutputArray _dst, int ddepth, int dx, int dy, cv 722 modules/imgproc/src/deriv.cpp String opts = cv::format("-D BLK_X=%d -D BLK_Y=%d -D RADIUS=%d%s%s" cv 802 modules/imgproc/src/deriv.cpp void cv::Laplacian( InputArray _src, OutputArray _dst, int ddepth, int ksize, cv 947 modules/imgproc/src/deriv.cpp cv::Mat src = cv::cvarrToMat(srcarr), dst = cv::cvarrToMat(dstarr); cv 951 modules/imgproc/src/deriv.cpp cv::Sobel( src, dst, dst.depth(), dx, dy, aperture_size, 1, 0, cv::BORDER_REPLICATE ); cv 960 modules/imgproc/src/deriv.cpp cv::Mat src = cv::cvarrToMat(srcarr), dst = cv::cvarrToMat(dstarr); cv 964 modules/imgproc/src/deriv.cpp cv::Laplacian( src, dst, dst.depth(), aperture_size, 1, 0, cv::BORDER_REPLICATE ); cv 565 modules/imgproc/src/distransform.cpp cv::AutoBuffer<uchar> _buf(std::max(m*2*sizeof(float) + (m*3+1)*sizeof(int), n*2*sizeof(float))); cv 568 modules/imgproc/src/distransform.cpp int* sat_tab = cv::alignPtr((int*)(sqr_tab + m*2), sizeof(int)); cv 580 modules/imgproc/src/distransform.cpp cv::parallel_for_(cv::Range(0, n), cv::DTColumnInvoker(&src, &dst, sat_tab, sqr_tab), src.total()/(double)(1<<16)); cv 592 modules/imgproc/src/distransform.cpp cv::parallel_for_(cv::Range(0, m), cv::DTRowInvoker(&dst, sqr_tab, inv_tab)); cv 622 modules/imgproc/src/distransform.cpp lut[x] = cv::saturate_cast<uchar>(x+1); cv 710 modules/imgproc/src/distransform.cpp void cv::distanceTransform( InputArray _src, OutputArray _dst, OutputArray _labels, cv 848 modules/imgproc/src/distransform.cpp void cv::distanceTransform( InputArray _src, OutputArray _dst, cv 864 modules/imgproc/src/distransform.cpp cv::Mat src = cv::cvarrToMat(srcarr); cv 865 modules/imgproc/src/distransform.cpp const cv::Mat dst = cv::cvarrToMat(dstarr); cv 866 modules/imgproc/src/distransform.cpp const cv::Mat labels = cv::cvarrToMat(labelsarr); cv 868 modules/imgproc/src/distransform.cpp cv::distanceTransform(src, dst, labelsarr ? cv::_OutputArray(labels) : cv::_OutputArray(), cv 2112 modules/imgproc/src/drawing.cpp const char **faces = cv::g_HersheyGlyphs; cv 2154 modules/imgproc/src/drawing.cpp const char **faces = cv::g_HersheyGlyphs; cv 2183 modules/imgproc/src/drawing.cpp void cv::fillConvexPoly(InputOutputArray _img, InputArray _points, cv 2192 modules/imgproc/src/drawing.cpp void cv::fillPoly(InputOutputArray _img, InputArrayOfArrays pts, cv 2215 modules/imgproc/src/drawing.cpp void cv::polylines(InputOutputArray _img, InputArrayOfArrays pts, cv 2247 modules/imgproc/src/drawing.cpp using namespace cv; cv 2275 modules/imgproc/src/drawing.cpp void cv::drawContours( InputOutputArray _image, InputArrayOfArrays _contours, cv 2370 modules/imgproc/src/drawing.cpp std::vector<cv::PolyEdge> edges; cv 2371 modules/imgproc/src/drawing.cpp std::vector<cv::Point> pts; cv 2372 modules/imgproc/src/drawing.cpp cv::Scalar externalColor = _externalColor, holeColor = _holeColor; cv 2373 modules/imgproc/src/drawing.cpp cv::Mat img = cv::cvarrToMat(_img); cv 2374 modules/imgproc/src/drawing.cpp cv::Point offset = _offset; cv 2412 modules/imgproc/src/drawing.cpp cv::Point pt = ((CvChain*)contour)->origin; cv 2413 modules/imgproc/src/drawing.cpp cv::Point prev_pt = pt; cv 2429 modules/imgproc/src/drawing.cpp cv::ThickLine( img, prev_pt, pt, clr, thickness, line_type, 2, 0 ); cv 2440 modules/imgproc/src/drawing.cpp cv::ThickLine( img, prev_pt, cv 2441 modules/imgproc/src/drawing.cpp cv::Point(((CvChain*)contour)->origin) + offset, cv 2444 modules/imgproc/src/drawing.cpp cv::CollectPolyEdges(img, &pts[0], (int)pts.size(), cv 2450 modules/imgproc/src/drawing.cpp cv::Point pt1, pt2; cv 2464 modules/imgproc/src/drawing.cpp cv::ThickLine( img, pt1, pt2, clr, thickness, line_type, 2, shift ); cv 2470 modules/imgproc/src/drawing.cpp cv::CollectPolyEdges( img, &pts[0], (int)pts.size(), cv 2471 modules/imgproc/src/drawing.cpp edges, ext_buf, line_type, 0, cv::Point() ); cv 2476 modules/imgproc/src/drawing.cpp cv::FillEdgeCollection( img, edges, ext_buf ); cv 2486 modules/imgproc/src/drawing.cpp return cv::clipLine( size, *(cv::Point*)pt1, *(cv::Point*)pt2 ); cv 2494 modules/imgproc/src/drawing.cpp std::vector<cv::Point> pts; cv 2495 modules/imgproc/src/drawing.cpp cv::ellipse2Poly( center, axes, angle, arc_start, arc_end, delta, pts ); cv 2517 modules/imgproc/src/drawing.cpp scalar.val[0] = cv::saturate_cast<uchar>( icolor ); cv 2533 modules/imgproc/src/drawing.cpp scalar.val[0] = cv::saturate_cast<schar>( icolor ); cv 2570 modules/imgproc/src/drawing.cpp cv::LineIterator li(cv::cvarrToMat(img), pt1, pt2, connectivity, left_to_right!=0); cv 2586 modules/imgproc/src/drawing.cpp cv::Mat img = cv::cvarrToMat(_img); cv 2587 modules/imgproc/src/drawing.cpp cv::line( img, pt1, pt2, color, thickness, line_type, shift ); cv 2595 modules/imgproc/src/drawing.cpp cv::Mat img = cv::cvarrToMat(_img); cv 2596 modules/imgproc/src/drawing.cpp cv::rectangle( img, pt1, pt2, color, thickness, line_type, shift ); cv 2604 modules/imgproc/src/drawing.cpp cv::Mat img = cv::cvarrToMat(_img); cv 2605 modules/imgproc/src/drawing.cpp cv::rectangle( img, rec, color, thickness, line_type, shift ); cv 2612 modules/imgproc/src/drawing.cpp cv::Mat img = cv::cvarrToMat(_img); cv 2613 modules/imgproc/src/drawing.cpp cv::circle( img, center, radius, color, thickness, line_type, shift ); cv 2621 modules/imgproc/src/drawing.cpp cv::Mat img = cv::cvarrToMat(_img); cv 2622 modules/imgproc/src/drawing.cpp cv::ellipse( img, center, axes, angle, start_angle, end_angle, cv 2630 modules/imgproc/src/drawing.cpp cv::Mat img = cv::cvarrToMat(_img); cv 2631 modules/imgproc/src/drawing.cpp cv::fillConvexPoly( img, (const cv::Point*)pts, npts, cv 2639 modules/imgproc/src/drawing.cpp cv::Mat img = cv::cvarrToMat(_img); cv 2641 modules/imgproc/src/drawing.cpp cv::fillPoly( img, (const cv::Point**)pts, npts, ncontours, color, line_type, shift ); cv 2649 modules/imgproc/src/drawing.cpp cv::Mat img = cv::cvarrToMat(_img); cv 2651 modules/imgproc/src/drawing.cpp cv::polylines( img, (const cv::Point**)pts, npts, ncontours, cv 2658 modules/imgproc/src/drawing.cpp cv::Mat img = cv::cvarrToMat(_img); cv 2660 modules/imgproc/src/drawing.cpp cv::putText( img, text, org, _font->font_face, (_font->hscale+_font->vscale)*0.5, cv 2672 modules/imgproc/src/drawing.cpp font->ascii = cv::getFontData(font_face); cv 2686 modules/imgproc/src/drawing.cpp cv::Size size = cv::getTextSize( text, _font->font_face, (_font->hscale + _font->vscale)*0.5, cv 122 modules/imgproc/src/emd.cpp cv::AutoBuffer<char>& _buffer ); cv 157 modules/imgproc/src/emd.cpp cv::AutoBuffer<char> local_buf; cv 328 modules/imgproc/src/emd.cpp cv::AutoBuffer<char>& _buffer ) cv 1141 modules/imgproc/src/emd.cpp float cv::EMD( InputArray _signature1, InputArray _signature2, cv 265 modules/imgproc/src/featureselect.cpp void cv::goodFeaturesToTrack( InputArray _image, OutputArray _corners, cv 413 modules/imgproc/src/featureselect.cpp cv::Mat image = cv::cvarrToMat(_image), mask; cv 414 modules/imgproc/src/featureselect.cpp std::vector<cv::Point2f> corners; cv 417 modules/imgproc/src/featureselect.cpp mask = cv::cvarrToMat(_maskImage); cv 420 modules/imgproc/src/featureselect.cpp cv::goodFeaturesToTrack( image, corners, *_corner_count, quality_level, cv 425 modules/imgproc/src/filter.cpp int cv::getKernelType(InputArray filter_kernel, Point anchor) cv 3623 modules/imgproc/src/filter.cpp cv::Ptr<cv::BaseRowFilter> cv::getLinearRowFilter( int srcType, int bufType, cv 3677 modules/imgproc/src/filter.cpp cv::Ptr<cv::BaseColumnFilter> cv::getLinearColumnFilter( int bufType, int dstType, cv 3774 modules/imgproc/src/filter.cpp cv::Ptr<cv::FilterEngine> cv::createSeparableLinearFilter( cv 4024 modules/imgproc/src/filter.cpp const cv::ocl::Device &device = cv::ocl::Device::getDefault(); cv 4032 modules/imgproc/src/filter.cpp cv::Mat kernelMat = _kernel.getMat(); cv 4033 modules/imgproc/src/filter.cpp cv::Size sz = _src.size(), wholeSize; cv 4113 modules/imgproc/src/filter.cpp if (!k.create("filter2DSmall", cv::ocl::imgproc::filter2DSmall_oclsrc, build_options)) cv 4162 modules/imgproc/src/filter.cpp if (!k.create("filter2D", cv::ocl::imgproc::filter2D_oclsrc, opts)) cv 4223 modules/imgproc/src/filter.cpp cv::String build_options = cv::format("-D RADIUSX=%d -D LSIZE0=%d -D LSIZE1=%d -D CN=%d -D %s -D %s -D %s" cv 4242 modules/imgproc/src/filter.cpp ocl::Kernel k(kernelName.c_str(), cv::ocl::imgproc::filterSepRow_oclsrc, cv 4281 modules/imgproc/src/filter.cpp cv::String build_options = cv::format("-D RADIUSY=%d -D LSIZE0=%d -D LSIZE1=%d -D CN=%d" cv 4292 modules/imgproc/src/filter.cpp ocl::Kernel k("col_filter", cv::ocl::imgproc::filterSepCol_oclsrc, cv 4331 modules/imgproc/src/filter.cpp String opts = cv::format("-D BLK_X=%d -D BLK_Y=%d -D RADIUSX=%d -D RADIUSY=%d%s%s" cv 4448 modules/imgproc/src/filter.cpp cv::Ptr<cv::BaseFilter> cv::getLinearFilter(int srcType, int dstType, cv 4526 modules/imgproc/src/filter.cpp cv::Ptr<cv::FilterEngine> cv::createLinearFilter( int _srcType, int _dstType, cv 4559 modules/imgproc/src/filter.cpp void cv::filter2D( InputArray _src, OutputArray _dst, int ddepth, cv 4710 modules/imgproc/src/filter.cpp void cv::sepFilter2D( InputArray _src, OutputArray _dst, int ddepth, cv 4734 modules/imgproc/src/filter.cpp cv::Mat src = cv::cvarrToMat(srcarr), dst = cv::cvarrToMat(dstarr); cv 4735 modules/imgproc/src/filter.cpp cv::Mat kernel = cv::cvarrToMat(_kernel); cv 4739 modules/imgproc/src/filter.cpp cv::filter2D( src, dst, dst.depth(), kernel, anchor, 0, cv::BORDER_REPLICATE ); cv 458 modules/imgproc/src/floodfill.cpp int cv::floodFill( InputOutputArray _image, InputOutputArray _mask, cv 628 modules/imgproc/src/floodfill.cpp int cv::floodFill( InputOutputArray _image, Point seedPoint, cv 644 modules/imgproc/src/floodfill.cpp cv::Mat img = cv::cvarrToMat(arr), mask = cv::cvarrToMat(maskarr); cv 645 modules/imgproc/src/floodfill.cpp int area = cv::floodFill(img, mask, seed_point, newVal, cv 646 modules/imgproc/src/floodfill.cpp comp ? (cv::Rect*)&comp->rect : 0, cv 51 modules/imgproc/src/gabor.cpp cv::Mat cv::getGaborKernel( Size ksize, double sigma, double theta, cv 46 modules/imgproc/src/generalized_hough.cpp using namespace cv; cv 492 modules/imgproc/src/generalized_hough.cpp Ptr<GeneralizedHoughBallard> cv::createGeneralizedHoughBallard() cv 941 modules/imgproc/src/generalized_hough.cpp Ptr<GeneralizedHoughGuil> cv::createGeneralizedHoughGuil() cv 91 modules/imgproc/src/geometry.cpp cv::RotatedRect(box).points((cv::Point2f*)pt); cv 95 modules/imgproc/src/geometry.cpp double cv::pointPolygonTest( InputArray _contour, Point2f pt, bool measureDist ) cv 248 modules/imgproc/src/geometry.cpp cv::AutoBuffer<double> abuf; cv 249 modules/imgproc/src/geometry.cpp cv::Mat contour = cv::cvarrToMat(_contour, false, false, 0, &abuf); cv 250 modules/imgproc/src/geometry.cpp return cv::pointPolygonTest(contour, pt, measure_dist != 0); cv 505 modules/imgproc/src/geometry.cpp float cv::intersectConvexConvex( InputArray _p1, InputArray _p2, OutputArray _p12, bool handleNested ) cv 46 modules/imgproc/src/grabcut.cpp using namespace cv; cv 528 modules/imgproc/src/grabcut.cpp void cv::grabCut( InputArray _img, InputOutputArray _mask, Rect rect, cv 1223 modules/imgproc/src/histogram.cpp void cv::calcHist( const Mat* images, int nimages, const int* channels, cv 1537 modules/imgproc/src/histogram.cpp void cv::calcHist( const Mat* images, int nimages, const int* channels, cv 1547 modules/imgproc/src/histogram.cpp void cv::calcHist( InputArrayOfArrays images, const std::vector<int>& channels, cv 1876 modules/imgproc/src/histogram.cpp void cv::calcBackProject( const Mat* images, int nimages, const int* channels, cv 2039 modules/imgproc/src/histogram.cpp void cv::calcBackProject( const Mat* images, int nimages, const int* channels, cv 2217 modules/imgproc/src/histogram.cpp void cv::calcBackProject( InputArrayOfArrays images, const std::vector<int>& channels, cv 2272 modules/imgproc/src/histogram.cpp double cv::compareHist( InputArray _H1, InputArray _H2, int method ) cv 2478 modules/imgproc/src/histogram.cpp double cv::compareHist( const SparseMat& H1, const SparseMat& H2, int method ) cv 2900 modules/imgproc/src/histogram.cpp cv::Mat H1 = cv::cvarrToMat(hist1->bins); cv 2901 modules/imgproc/src/histogram.cpp cv::Mat H2 = cv::cvarrToMat(hist2->bins); cv 2902 modules/imgproc/src/histogram.cpp return cv::compareHist(H1, H2, method); cv 3029 modules/imgproc/src/histogram.cpp cv::SparseMat sH1, sH2; cv 3032 modules/imgproc/src/histogram.cpp result = cv::compareHist( sH1, sH2, CV_COMP_KL_DIV ); cv 3189 modules/imgproc/src/histogram.cpp std::vector<cv::Mat> images(dims); cv 3191 modules/imgproc/src/histogram.cpp images[i] = cv::cvarrToMat(img[i]); cv 3193 modules/imgproc/src/histogram.cpp cv::Mat _mask; cv 3195 modules/imgproc/src/histogram.cpp _mask = cv::cvarrToMat(mask); cv 3213 modules/imgproc/src/histogram.cpp cv::Mat H = cv::cvarrToMat(hist->bins); cv 3214 modules/imgproc/src/histogram.cpp cv::calcHist( &images[0], (int)images.size(), 0, _mask, cv 3223 modules/imgproc/src/histogram.cpp cv::SparseMat sH; cv 3225 modules/imgproc/src/histogram.cpp cv::calcHist( &images[0], (int)images.size(), 0, _mask, sH, sH.dims(), cv 3231 modules/imgproc/src/histogram.cpp cv::SparseMatConstIterator it = sH.begin(); cv 3266 modules/imgproc/src/histogram.cpp std::vector<cv::Mat> images(dims); cv 3268 modules/imgproc/src/histogram.cpp images[i] = cv::cvarrToMat(img[i]); cv 3270 modules/imgproc/src/histogram.cpp cv::Mat _dst = cv::cvarrToMat(dst); cv 3276 modules/imgproc/src/histogram.cpp cv::Mat H = cv::cvarrToMat(hist->bins); cv 3277 modules/imgproc/src/histogram.cpp cv::calcBackProject( &images[0], (int)images.size(), cv 3282 modules/imgproc/src/histogram.cpp cv::SparseMat sH; cv 3284 modules/imgproc/src/histogram.cpp cv::calcBackProject( &images[0], (int)images.size(), cv 3443 modules/imgproc/src/histogram.cpp class EqualizeHistCalcHist_Invoker : public cv::ParallelLoopBody cv 3448 modules/imgproc/src/histogram.cpp EqualizeHistCalcHist_Invoker(cv::Mat& src, int* histogram, cv::Mutex* histogramLock) cv 3452 modules/imgproc/src/histogram.cpp void operator()( const cv::Range& rowRange ) const cv 3482 modules/imgproc/src/histogram.cpp cv::AutoLock lock(*histogramLock_); cv 3488 modules/imgproc/src/histogram.cpp static bool isWorthParallel( const cv::Mat& src ) cv 3496 modules/imgproc/src/histogram.cpp cv::Mat& src_; cv 3498 modules/imgproc/src/histogram.cpp cv::Mutex* histogramLock_; cv 3501 modules/imgproc/src/histogram.cpp class EqualizeHistLut_Invoker : public cv::ParallelLoopBody cv 3504 modules/imgproc/src/histogram.cpp EqualizeHistLut_Invoker( cv::Mat& src, cv::Mat& dst, int* lut ) cv 3510 modules/imgproc/src/histogram.cpp void operator()( const cv::Range& rowRange ) const cv 3553 modules/imgproc/src/histogram.cpp static bool isWorthParallel( const cv::Mat& src ) cv 3561 modules/imgproc/src/histogram.cpp cv::Mat& src_; cv 3562 modules/imgproc/src/histogram.cpp cv::Mat& dst_; cv 3568 modules/imgproc/src/histogram.cpp cv::equalizeHist(cv::cvarrToMat(srcarr), cv::cvarrToMat(dstarr)); cv 3622 modules/imgproc/src/histogram.cpp void cv::equalizeHist( InputArray _src, OutputArray _dst ) cv 3644 modules/imgproc/src/histogram.cpp cv::Range heightRange(0, src.rows); cv 849 modules/imgproc/src/hough.cpp void cv::HoughLines( InputArray _image, OutputArray _lines, cv 868 modules/imgproc/src/hough.cpp void cv::HoughLinesP(InputArray _image, OutputArray _lines, cv 890 modules/imgproc/src/hough.cpp cv::Mat image = cv::cvarrToMat(src_image); cv 891 modules/imgproc/src/hough.cpp std::vector<cv::Vec2f> l2; cv 892 modules/imgproc/src/hough.cpp std::vector<cv::Vec4i> l4; cv 977 modules/imgproc/src/hough.cpp cv::Mat lx = method == CV_HOUGH_STANDARD || method == CV_HOUGH_MULTI_SCALE ? cv 978 modules/imgproc/src/hough.cpp cv::Mat(nlines, 1, CV_32FC2, &l2[0]) : cv::Mat(nlines, 1, CV_32SC4, &l4[0]); cv 982 modules/imgproc/src/hough.cpp cv::Mat dst(nlines, 1, lx.type(), mat->data.ptr); cv 1008 modules/imgproc/src/hough.cpp cv::Ptr<CvMat> dx, dy; cv 1009 modules/imgproc/src/hough.cpp cv::Ptr<CvMat> edges, accum, dist_buf; cv 1011 modules/imgproc/src/hough.cpp cv::Ptr<CvMemStorage> storage; cv 1126 modules/imgproc/src/hough.cpp std::sort(sort_buf.begin(), sort_buf.begin() + center_count, cv::hough_cmp_gt(adata)); cv 1181 modules/imgproc/src/hough.cpp std::sort(sort_buf.begin(), sort_buf.begin() + nz_count1, cv::hough_cmp_gt((int*)ddata)); cv 1320 modules/imgproc/src/hough.cpp void cv::HoughCircles( InputArray _image, OutputArray _circles, cv 71 modules/imgproc/src/imgwarp.cpp bool IPPSetSimple(cv::Scalar value, void *dataPointer, int step, IppiSize &size, ippiSetFunc func) cv 79 modules/imgproc/src/imgwarp.cpp static bool IPPSet(const cv::Scalar &value, void *dataPointer, int step, IppiSize &size, int channels, int depth) cv 2921 modules/imgproc/src/imgwarp.cpp cv::String compileOpts = format("-D USE_SAMPLER -D depth=%d -D T=%s -D T1=%s " cv 3099 modules/imgproc/src/imgwarp.cpp void cv::resize( InputArray _src, OutputArray _dst, Size dsize, cv 4092 modules/imgproc/src/imgwarp.cpp WT cv = cval[k], sum = cv*ONE; cv 4100 modules/imgproc/src/imgwarp.cpp sum += (S[x[0]] - cv)*w[0]; cv 4102 modules/imgproc/src/imgwarp.cpp sum += (S[x[1]] - cv)*w[1]; cv 4104 modules/imgproc/src/imgwarp.cpp sum += (S[x[2]] - cv)*w[2]; cv 4106 modules/imgproc/src/imgwarp.cpp sum += (S[x[3]] - cv)*w[3]; cv 4195 modules/imgproc/src/imgwarp.cpp WT cv = cval[k], sum = cv*ONE; cv 4203 modules/imgproc/src/imgwarp.cpp sum += (S1[x[0]] - cv)*w[0]; cv 4205 modules/imgproc/src/imgwarp.cpp sum += (S1[x[1]] - cv)*w[1]; cv 4207 modules/imgproc/src/imgwarp.cpp sum += (S1[x[2]] - cv)*w[2]; cv 4209 modules/imgproc/src/imgwarp.cpp sum += (S1[x[3]] - cv)*w[3]; cv 4211 modules/imgproc/src/imgwarp.cpp sum += (S1[x[4]] - cv)*w[4]; cv 4213 modules/imgproc/src/imgwarp.cpp sum += (S1[x[5]] - cv)*w[5]; cv 4215 modules/imgproc/src/imgwarp.cpp sum += (S1[x[6]] - cv)*w[6]; cv 4217 modules/imgproc/src/imgwarp.cpp sum += (S1[x[7]] - cv)*w[7]; cv 4624 modules/imgproc/src/imgwarp.cpp void cv::remap( InputArray _src, OutputArray _dst, cv 4766 modules/imgproc/src/imgwarp.cpp void cv::convertMaps( InputArray _map1, InputArray _map2, cv 5476 modules/imgproc/src/imgwarp.cpp if ( !(borderType == cv::BORDER_CONSTANT && cv 5477 modules/imgproc/src/imgwarp.cpp (interpolation == cv::INTER_NEAREST || interpolation == cv::INTER_LINEAR || interpolation == cv::INTER_CUBIC)) || cv 5562 modules/imgproc/src/imgwarp.cpp void cv::warpAffine( InputArray _src, OutputArray _dst, cv 5616 modules/imgproc/src/imgwarp.cpp ( borderType == cv::BORDER_TRANSPARENT || borderType == cv::BORDER_CONSTANT) ) cv 6087 modules/imgproc/src/imgwarp.cpp void cv::warpPerspective( InputArray _src, OutputArray _dst, InputArray _M0, cv 6124 modules/imgproc/src/imgwarp.cpp ( borderType == cv::BORDER_TRANSPARENT || borderType == cv::BORDER_CONSTANT ) && cv 6186 modules/imgproc/src/imgwarp.cpp cv::Mat cv::getRotationMatrix2D( Point2f center, double angle, double scale ) cv 6229 modules/imgproc/src/imgwarp.cpp cv::Mat cv::getPerspectiveTransform( const Point2f src[], const Point2f dst[] ) cv 6275 modules/imgproc/src/imgwarp.cpp cv::Mat cv::getAffineTransform( const Point2f src[], const Point2f dst[] ) cv 6298 modules/imgproc/src/imgwarp.cpp void cv::invertAffineTransform(InputArray _matM, OutputArray __iM) cv 6339 modules/imgproc/src/imgwarp.cpp cv::Mat cv::getPerspectiveTransform(InputArray _src, InputArray _dst) cv 6346 modules/imgproc/src/imgwarp.cpp cv::Mat cv::getAffineTransform(InputArray _src, InputArray _dst) cv 6356 modules/imgproc/src/imgwarp.cpp cv::Mat src = cv::cvarrToMat(srcarr), dst = cv::cvarrToMat(dstarr); cv 6358 modules/imgproc/src/imgwarp.cpp cv::resize( src, dst, dst.size(), (double)dst.cols/src.cols, cv 6367 modules/imgproc/src/imgwarp.cpp cv::Mat src = cv::cvarrToMat(srcarr), dst = cv::cvarrToMat(dstarr); cv 6368 modules/imgproc/src/imgwarp.cpp cv::Mat matrix = cv::cvarrToMat(marr); cv 6370 modules/imgproc/src/imgwarp.cpp cv::warpAffine( src, dst, matrix, dst.size(), flags, cv 6371 modules/imgproc/src/imgwarp.cpp (flags & CV_WARP_FILL_OUTLIERS) ? cv::BORDER_CONSTANT : cv::BORDER_TRANSPARENT, cv 6379 modules/imgproc/src/imgwarp.cpp cv::Mat src = cv::cvarrToMat(srcarr), dst = cv::cvarrToMat(dstarr); cv 6380 modules/imgproc/src/imgwarp.cpp cv::Mat matrix = cv::cvarrToMat(marr); cv 6382 modules/imgproc/src/imgwarp.cpp cv::warpPerspective( src, dst, matrix, dst.size(), flags, cv 6383 modules/imgproc/src/imgwarp.cpp (flags & CV_WARP_FILL_OUTLIERS) ? cv::BORDER_CONSTANT : cv::BORDER_TRANSPARENT, cv 6392 modules/imgproc/src/imgwarp.cpp cv::Mat src = cv::cvarrToMat(srcarr), dst = cv::cvarrToMat(dstarr), dst0 = dst; cv 6393 modules/imgproc/src/imgwarp.cpp cv::Mat mapx = cv::cvarrToMat(_mapx), mapy = cv::cvarrToMat(_mapy); cv 6395 modules/imgproc/src/imgwarp.cpp cv::remap( src, dst, mapx, mapy, flags & cv::INTER_MAX, cv 6396 modules/imgproc/src/imgwarp.cpp (flags & CV_WARP_FILL_OUTLIERS) ? cv::BORDER_CONSTANT : cv::BORDER_TRANSPARENT, cv 6406 modules/imgproc/src/imgwarp.cpp cv::Mat M0 = cv::cvarrToMat(matrix), M = cv::getRotationMatrix2D(center, angle, scale); cv 6418 modules/imgproc/src/imgwarp.cpp cv::Mat M0 = cv::cvarrToMat(matrix), cv 6419 modules/imgproc/src/imgwarp.cpp M = cv::getPerspectiveTransform((const cv::Point2f*)src, (const cv::Point2f*)dst); cv 6431 modules/imgproc/src/imgwarp.cpp cv::Mat M0 = cv::cvarrToMat(matrix), cv 6432 modules/imgproc/src/imgwarp.cpp M = cv::getAffineTransform((const cv::Point2f*)src, (const cv::Point2f*)dst); cv 6442 modules/imgproc/src/imgwarp.cpp cv::Mat map1 = cv::cvarrToMat(arr1), map2; cv 6443 modules/imgproc/src/imgwarp.cpp cv::Mat dstmap1 = cv::cvarrToMat(dstarr1), dstmap2; cv 6446 modules/imgproc/src/imgwarp.cpp map2 = cv::cvarrToMat(arr2); cv 6449 modules/imgproc/src/imgwarp.cpp dstmap2 = cv::cvarrToMat(dstarr2); cv 6451 modules/imgproc/src/imgwarp.cpp dstmap2 = cv::Mat(dstmap2.size(), CV_16UC1, dstmap2.ptr(), dstmap2.step); cv 6454 modules/imgproc/src/imgwarp.cpp cv::convertMaps( map1, map2, dstmap1, dstmap2, dstmap1.type(), false ); cv 6467 modules/imgproc/src/imgwarp.cpp cv::Ptr<CvMat> mapx, mapy; cv 6488 modules/imgproc/src/imgwarp.cpp cv::AutoBuffer<double> _exp_tab(dsize.width); cv 6517 modules/imgproc/src/imgwarp.cpp cv::AutoBuffer<float> _buf(4*dsize.width); cv 6574 modules/imgproc/src/imgwarp.cpp void cv::logPolar( InputArray _src, OutputArray _dst, cv 6591 modules/imgproc/src/imgwarp.cpp cv::Ptr<CvMat> mapx, mapy; cv 6640 modules/imgproc/src/imgwarp.cpp cv::AutoBuffer<float> _buf(4*dsize.width); cv 6677 modules/imgproc/src/imgwarp.cpp void cv::linearPolar( InputArray _src, OutputArray _dst, cv 594 modules/imgproc/src/linefit.cpp void cv::fitLine( InputArray _points, OutputArray _line, int distType, cv 629 modules/imgproc/src/linefit.cpp cv::AutoBuffer<double> buf; cv 630 modules/imgproc/src/linefit.cpp cv::Mat points = cv::cvarrToMat(array, false, false, 0, &buf); cv 631 modules/imgproc/src/linefit.cpp cv::Mat linemat(points.checkVector(2) >= 0 ? 4 : 6, 1, CV_32F, line); cv 633 modules/imgproc/src/linefit.cpp cv::fitLine(points, linemat, dist, param, reps, aeps); cv 74 modules/imgproc/src/lsd.cpp cv::Point p; cv 44 modules/imgproc/src/matchcontours.cpp double cv::matchShapes(InputArray contour1, InputArray contour2, int method, double) cv 154 modules/imgproc/src/matchcontours.cpp cv::AutoBuffer<double> abuf1, abuf2; cv 155 modules/imgproc/src/matchcontours.cpp cv::Mat contour1 = cv::cvarrToMat(_contour1, false, false, 0, &abuf1); cv 156 modules/imgproc/src/matchcontours.cpp cv::Mat contour2 = cv::cvarrToMat(_contour2, false, false, 0, &abuf2); cv 158 modules/imgproc/src/matchcontours.cpp return cv::matchShapes(contour1, contour2, method, parameter); cv 107 modules/imgproc/src/min_enclosing_triangle.cpp static void advanceBToRightChain(const std::vector<cv::Point2f> &polygon, cv 113 modules/imgproc/src/min_enclosing_triangle.cpp static double angleOfLineWrtOxAxis(const cv::Point2f &a, const cv::Point2f &b); cv 115 modules/imgproc/src/min_enclosing_triangle.cpp static bool areEqualPoints(const cv::Point2f &point1, const cv::Point2f &point2); cv 124 modules/imgproc/src/min_enclosing_triangle.cpp double sideCExtraParam, cv::Point2f &intersectionPoint1, cv 125 modules/imgproc/src/min_enclosing_triangle.cpp cv::Point2f &intersectionPoint2); cv 127 modules/imgproc/src/min_enclosing_triangle.cpp static bool areOnTheSameSideOfLine(const cv::Point2f &p1, const cv::Point2f &p2, cv 128 modules/imgproc/src/min_enclosing_triangle.cpp const cv::Point2f &a, const cv::Point2f &b); cv 130 modules/imgproc/src/min_enclosing_triangle.cpp static double areaOfTriangle(const cv::Point2f &a, const cv::Point2f &b, const cv::Point2f &c); cv 132 modules/imgproc/src/min_enclosing_triangle.cpp static void copyResultingTriangle(const std::vector<cv::Point2f> &resultingTriangle, cv::OutputArray triangle); cv 134 modules/imgproc/src/min_enclosing_triangle.cpp static void createConvexHull(cv::InputArray points, std::vector<cv::Point2f> &polygon); cv 136 modules/imgproc/src/min_enclosing_triangle.cpp static double distanceBtwPoints(const cv::Point2f &a, const cv::Point2f &b); cv 138 modules/imgproc/src/min_enclosing_triangle.cpp static double distanceFromPointToLine(const cv::Point2f &a, const cv::Point2f &linePointB, cv 139 modules/imgproc/src/min_enclosing_triangle.cpp const cv::Point2f &linePointC); cv 141 modules/imgproc/src/min_enclosing_triangle.cpp static bool findGammaIntersectionPoints(const std::vector<cv::Point2f> &polygon, unsigned int nrOfPoints, cv 143 modules/imgproc/src/min_enclosing_triangle.cpp const cv::Point2f &side1StartVertex, const cv::Point2f &side1EndVertex, cv 144 modules/imgproc/src/min_enclosing_triangle.cpp const cv::Point2f &side2StartVertex, const cv::Point2f &side2EndVertex, cv 145 modules/imgproc/src/min_enclosing_triangle.cpp cv::Point2f &intersectionPoint1, cv::Point2f &intersectionPoint2); cv 147 modules/imgproc/src/min_enclosing_triangle.cpp static void findMinEnclosingTriangle(cv::InputArray points, cv 148 modules/imgproc/src/min_enclosing_triangle.cpp CV_OUT cv::OutputArray triangle, CV_OUT double &area); cv 150 modules/imgproc/src/min_enclosing_triangle.cpp static void findMinEnclosingTriangle(const std::vector<cv::Point2f> &polygon, cv 151 modules/imgproc/src/min_enclosing_triangle.cpp std::vector<cv::Point2f> &triangle, double &area); cv 153 modules/imgproc/src/min_enclosing_triangle.cpp static void findMinimumAreaEnclosingTriangle(const std::vector<cv::Point2f> &polygon, cv 154 modules/imgproc/src/min_enclosing_triangle.cpp std::vector<cv::Point2f> &triangle, double &area); cv 156 modules/imgproc/src/min_enclosing_triangle.cpp static cv::Point2f findVertexCOnSideB(const std::vector<cv::Point2f> &polygon, unsigned int nrOfPoints, cv 158 modules/imgproc/src/min_enclosing_triangle.cpp const cv::Point2f &sideBStartVertex, cv 159 modules/imgproc/src/min_enclosing_triangle.cpp const cv::Point2f &sideBEndVertex, cv 160 modules/imgproc/src/min_enclosing_triangle.cpp const cv::Point2f &sideCStartVertex, cv 161 modules/imgproc/src/min_enclosing_triangle.cpp const cv::Point2f &sideCEndVertex); cv 163 modules/imgproc/src/min_enclosing_triangle.cpp static bool gamma(unsigned int polygonPointIndex, cv::Point2f &gammaPoint, cv 164 modules/imgproc/src/min_enclosing_triangle.cpp const std::vector<cv::Point2f> &polygon, unsigned int nrOfPoints, cv 169 modules/imgproc/src/min_enclosing_triangle.cpp static double height(const cv::Point2f &polygonPoint, const std::vector<cv::Point2f> &polygon, cv 172 modules/imgproc/src/min_enclosing_triangle.cpp static double height(unsigned int polygonPointIndex, const std::vector<cv::Point2f> &polygon, cv 175 modules/imgproc/src/min_enclosing_triangle.cpp static void initialise(std::vector<cv::Point2f> &triangle, double &area); cv 178 modules/imgproc/src/min_enclosing_triangle.cpp const std::vector<cv::Point2f> &polygon, unsigned int nrOfPoints, cv 181 modules/imgproc/src/min_enclosing_triangle.cpp static bool intersectsAbove(const cv::Point2f &gammaPoint, unsigned int polygonPointIndex, cv 182 modules/imgproc/src/min_enclosing_triangle.cpp const std::vector<cv::Point2f> &polygon, unsigned int nrOfPoints, cv 186 modules/imgproc/src/min_enclosing_triangle.cpp const std::vector<cv::Point2f> &polygon, cv 189 modules/imgproc/src/min_enclosing_triangle.cpp static bool intersectsBelow(const cv::Point2f &gammaPoint, unsigned int polygonPointIndex, cv 190 modules/imgproc/src/min_enclosing_triangle.cpp const std::vector<cv::Point2f> &polygon, unsigned int nrOfPoints, cv 203 modules/imgproc/src/min_enclosing_triangle.cpp static bool isLocalMinimalTriangle(cv::Point2f &vertexA, cv::Point2f &vertexB, cv 204 modules/imgproc/src/min_enclosing_triangle.cpp cv::Point2f &vertexC, const std::vector<cv::Point2f> &polygon, cv 206 modules/imgproc/src/min_enclosing_triangle.cpp unsigned int validationFlag, const cv::Point2f &sideAStartVertex, cv 207 modules/imgproc/src/min_enclosing_triangle.cpp const cv::Point2f &sideAEndVertex, const cv::Point2f &sideBStartVertex, cv 208 modules/imgproc/src/min_enclosing_triangle.cpp const cv::Point2f &sideBEndVertex, const cv::Point2f &sideCStartVertex, cv 209 modules/imgproc/src/min_enclosing_triangle.cpp const cv::Point2f &sideCEndVertex); cv 211 modules/imgproc/src/min_enclosing_triangle.cpp static bool isNotBTangency(const std::vector<cv::Point2f> &polygon, cv 217 modules/imgproc/src/min_enclosing_triangle.cpp static bool isPointOnLineSegment(const cv::Point2f &point, const cv::Point2f &lineSegmentStart, cv 218 modules/imgproc/src/min_enclosing_triangle.cpp const cv::Point2f &lineSegmentEnd); cv 220 modules/imgproc/src/min_enclosing_triangle.cpp static bool isValidMinimalTriangle(const cv::Point2f &vertexA, const cv::Point2f &vertexB, cv 221 modules/imgproc/src/min_enclosing_triangle.cpp const cv::Point2f &vertexC, const std::vector<cv::Point2f> &polygon, cv 223 modules/imgproc/src/min_enclosing_triangle.cpp unsigned int validationFlag, const cv::Point2f &sideAStartVertex, cv 224 modules/imgproc/src/min_enclosing_triangle.cpp const cv::Point2f &sideAEndVertex, const cv::Point2f &sideBStartVertex, cv 225 modules/imgproc/src/min_enclosing_triangle.cpp const cv::Point2f &sideBEndVertex, const cv::Point2f &sideCStartVertex, cv 226 modules/imgproc/src/min_enclosing_triangle.cpp const cv::Point2f &sideCEndVertex); cv 230 modules/imgproc/src/min_enclosing_triangle.cpp static void lineEquationDeterminedByPoints(const cv::Point2f &p, const cv::Point2f &q, cv 233 modules/imgproc/src/min_enclosing_triangle.cpp static std::vector<double> lineEquationParameters(const cv::Point2f& p, const cv::Point2f &q); cv 235 modules/imgproc/src/min_enclosing_triangle.cpp static bool lineIntersection(const cv::Point2f &a1, const cv::Point2f &b1, const cv::Point2f &a2, cv 236 modules/imgproc/src/min_enclosing_triangle.cpp const cv::Point2f &b2, cv::Point2f &intersection); cv 239 modules/imgproc/src/min_enclosing_triangle.cpp cv::Point2f &intersection); cv 243 modules/imgproc/src/min_enclosing_triangle.cpp static cv::Point2f middlePoint(const cv::Point2f &a, const cv::Point2f &b); cv 245 modules/imgproc/src/min_enclosing_triangle.cpp static bool middlePointOfSideB(cv::Point2f &middlePointOfSideB, const cv::Point2f &sideAStartVertex, cv 246 modules/imgproc/src/min_enclosing_triangle.cpp const cv::Point2f &sideAEndVertex, const cv::Point2f &sideBStartVertex, cv 247 modules/imgproc/src/min_enclosing_triangle.cpp const cv::Point2f &sideBEndVertex, const cv::Point2f &sideCStartVertex, cv 248 modules/imgproc/src/min_enclosing_triangle.cpp const cv::Point2f &sideCEndVertex); cv 250 modules/imgproc/src/min_enclosing_triangle.cpp static void moveAIfLowAndBIfHigh(const std::vector<cv::Point2f> &polygon, cv 258 modules/imgproc/src/min_enclosing_triangle.cpp static void returnMinimumAreaEnclosingTriangle(const std::vector<cv::Point2f> &polygon, cv 259 modules/imgproc/src/min_enclosing_triangle.cpp std::vector<cv::Point2f> &triangle, double &area); cv 261 modules/imgproc/src/min_enclosing_triangle.cpp static void searchForBTangency(const std::vector<cv::Point2f> &polygon, cv 269 modules/imgproc/src/min_enclosing_triangle.cpp static void updateMinimumAreaEnclosingTriangle(std::vector<cv::Point2f> &triangle, double &area, cv 270 modules/imgproc/src/min_enclosing_triangle.cpp const cv::Point2f &vertexA, const cv::Point2f &vertexB, cv 271 modules/imgproc/src/min_enclosing_triangle.cpp const cv::Point2f &vertexC); cv 273 modules/imgproc/src/min_enclosing_triangle.cpp static void updateSideB(const std::vector<cv::Point2f> &polygon, cv 276 modules/imgproc/src/min_enclosing_triangle.cpp cv::Point2f &sideBStartVertex, cv::Point2f &sideBEndVertex); cv 278 modules/imgproc/src/min_enclosing_triangle.cpp static void updateSidesBA(const std::vector<cv::Point2f> &polygon, cv 281 modules/imgproc/src/min_enclosing_triangle.cpp cv::Point2f &sideAStartVertex, cv::Point2f &sideAEndVertex, cv 282 modules/imgproc/src/min_enclosing_triangle.cpp cv::Point2f &sideBStartVertex, cv::Point2f &sideBEndVertex, cv 283 modules/imgproc/src/min_enclosing_triangle.cpp const cv::Point2f &sideCStartVertex, const cv::Point2f &sideCEndVertex); cv 285 modules/imgproc/src/min_enclosing_triangle.cpp static void updateSidesCA(const std::vector<cv::Point2f> &polygon, cv 287 modules/imgproc/src/min_enclosing_triangle.cpp cv::Point2f &sideAStartVertex, cv::Point2f &sideAEndVertex, cv 288 modules/imgproc/src/min_enclosing_triangle.cpp cv::Point2f &sideCStartVertex, cv::Point2f &sideCEndVertex); cv 301 modules/imgproc/src/min_enclosing_triangle.cpp double cv::minEnclosingTriangle(cv::InputArray points, CV_OUT cv::OutputArray triangle) { cv 321 modules/imgproc/src/min_enclosing_triangle.cpp static void findMinEnclosingTriangle(cv::InputArray points, cv 322 modules/imgproc/src/min_enclosing_triangle.cpp CV_OUT cv::OutputArray triangle, CV_OUT double &area) { cv 323 modules/imgproc/src/min_enclosing_triangle.cpp std::vector<cv::Point2f> resultingTriangle, polygon; cv 335 modules/imgproc/src/min_enclosing_triangle.cpp static void createConvexHull(cv::InputArray points, std::vector<cv::Point2f> &polygon) { cv 336 modules/imgproc/src/min_enclosing_triangle.cpp cv::Mat pointsMat = points.getMat(); cv 337 modules/imgproc/src/min_enclosing_triangle.cpp std::vector<cv::Point2f> pointsVector; cv 356 modules/imgproc/src/min_enclosing_triangle.cpp static void findMinEnclosingTriangle(const std::vector<cv::Point2f> &polygon, cv 357 modules/imgproc/src/min_enclosing_triangle.cpp std::vector<cv::Point2f> &triangle, double &area) { cv 372 modules/imgproc/src/min_enclosing_triangle.cpp static void copyResultingTriangle(const std::vector<cv::Point2f> &resultingTriangle, cv 373 modules/imgproc/src/min_enclosing_triangle.cpp cv::OutputArray triangle) { cv 374 modules/imgproc/src/min_enclosing_triangle.cpp cv::Mat(resultingTriangle).copyTo(triangle); cv 382 modules/imgproc/src/min_enclosing_triangle.cpp static void initialise(std::vector<cv::Point2f> &triangle, double &area) { cv 395 modules/imgproc/src/min_enclosing_triangle.cpp static void findMinimumAreaEnclosingTriangle(const std::vector<cv::Point2f> &polygon, cv 396 modules/imgproc/src/min_enclosing_triangle.cpp std::vector<cv::Point2f> &triangle, double &area) { cv 401 modules/imgproc/src/min_enclosing_triangle.cpp cv::Point2f vertexA, vertexB, vertexC; cv 403 modules/imgproc/src/min_enclosing_triangle.cpp cv::Point2f sideAStartVertex, sideAEndVertex; cv 404 modules/imgproc/src/min_enclosing_triangle.cpp cv::Point2f sideBStartVertex, sideBEndVertex; cv 405 modules/imgproc/src/min_enclosing_triangle.cpp cv::Point2f sideCStartVertex, sideCEndVertex; cv 452 modules/imgproc/src/min_enclosing_triangle.cpp static void returnMinimumAreaEnclosingTriangle(const std::vector<cv::Point2f> &polygon, cv 453 modules/imgproc/src/min_enclosing_triangle.cpp std::vector<cv::Point2f> &triangle, double &area) { cv 472 modules/imgproc/src/min_enclosing_triangle.cpp static void advanceBToRightChain(const std::vector<cv::Point2f> &polygon, cv 491 modules/imgproc/src/min_enclosing_triangle.cpp static void moveAIfLowAndBIfHigh(const std::vector<cv::Point2f> &polygon, cv 494 modules/imgproc/src/min_enclosing_triangle.cpp cv::Point2f gammaOfA; cv 515 modules/imgproc/src/min_enclosing_triangle.cpp static void searchForBTangency(const std::vector<cv::Point2f> &polygon, cv 518 modules/imgproc/src/min_enclosing_triangle.cpp cv::Point2f gammaOfB; cv 539 modules/imgproc/src/min_enclosing_triangle.cpp static bool isNotBTangency(const std::vector<cv::Point2f> &polygon, cv 542 modules/imgproc/src/min_enclosing_triangle.cpp cv::Point2f gammaOfB; cv 567 modules/imgproc/src/min_enclosing_triangle.cpp static void updateSidesCA(const std::vector<cv::Point2f> &polygon, cv 569 modules/imgproc/src/min_enclosing_triangle.cpp cv::Point2f &sideAStartVertex, cv::Point2f &sideAEndVertex, cv 570 modules/imgproc/src/min_enclosing_triangle.cpp cv::Point2f &sideCStartVertex, cv::Point2f &sideCEndVertex) { cv 595 modules/imgproc/src/min_enclosing_triangle.cpp static void updateSidesBA(const std::vector<cv::Point2f> &polygon, cv 598 modules/imgproc/src/min_enclosing_triangle.cpp cv::Point2f &sideAStartVertex, cv::Point2f &sideAEndVertex, cv 599 modules/imgproc/src/min_enclosing_triangle.cpp cv::Point2f &sideBStartVertex, cv::Point2f &sideBEndVertex, cv 600 modules/imgproc/src/min_enclosing_triangle.cpp const cv::Point2f &sideCStartVertex, const cv::Point2f &sideCEndVertex) { cv 606 modules/imgproc/src/min_enclosing_triangle.cpp cv::Point2f sideBMiddlePoint; cv 636 modules/imgproc/src/min_enclosing_triangle.cpp static void updateSideB(const std::vector<cv::Point2f> &polygon, cv 639 modules/imgproc/src/min_enclosing_triangle.cpp cv::Point2f &sideBStartVertex, cv::Point2f &sideBEndVertex) { cv 641 modules/imgproc/src/min_enclosing_triangle.cpp CV_Error(cv::Error::StsInternal, ERR_SIDE_B_GAMMA); cv 668 modules/imgproc/src/min_enclosing_triangle.cpp static bool isLocalMinimalTriangle(cv::Point2f &vertexA, cv::Point2f &vertexB, cv 669 modules/imgproc/src/min_enclosing_triangle.cpp cv::Point2f &vertexC, const std::vector<cv::Point2f> &polygon, cv 671 modules/imgproc/src/min_enclosing_triangle.cpp unsigned int validationFlag, const cv::Point2f &sideAStartVertex, cv 672 modules/imgproc/src/min_enclosing_triangle.cpp const cv::Point2f &sideAEndVertex, const cv::Point2f &sideBStartVertex, cv 673 modules/imgproc/src/min_enclosing_triangle.cpp const cv::Point2f &sideBEndVertex, const cv::Point2f &sideCStartVertex, cv 674 modules/imgproc/src/min_enclosing_triangle.cpp const cv::Point2f &sideCEndVertex) { cv 711 modules/imgproc/src/min_enclosing_triangle.cpp static bool isValidMinimalTriangle(const cv::Point2f &vertexA, const cv::Point2f &vertexB, cv 712 modules/imgproc/src/min_enclosing_triangle.cpp const cv::Point2f &vertexC, const std::vector<cv::Point2f> &polygon, cv 714 modules/imgproc/src/min_enclosing_triangle.cpp unsigned int validationFlag, const cv::Point2f &sideAStartVertex, cv 715 modules/imgproc/src/min_enclosing_triangle.cpp const cv::Point2f &sideAEndVertex, const cv::Point2f &sideBStartVertex, cv 716 modules/imgproc/src/min_enclosing_triangle.cpp const cv::Point2f &sideBEndVertex, const cv::Point2f &sideCStartVertex, cv 717 modules/imgproc/src/min_enclosing_triangle.cpp const cv::Point2f &sideCEndVertex) { cv 718 modules/imgproc/src/min_enclosing_triangle.cpp cv::Point2f midpointSideA = middlePoint(vertexB, vertexC); cv 719 modules/imgproc/src/min_enclosing_triangle.cpp cv::Point2f midpointSideB = middlePoint(vertexA, vertexC); cv 720 modules/imgproc/src/min_enclosing_triangle.cpp cv::Point2f midpointSideC = middlePoint(vertexA, vertexB); cv 743 modules/imgproc/src/min_enclosing_triangle.cpp static void updateMinimumAreaEnclosingTriangle(std::vector<cv::Point2f> &triangle, double &area, cv 744 modules/imgproc/src/min_enclosing_triangle.cpp const cv::Point2f &vertexA, const cv::Point2f &vertexB, cv 745 modules/imgproc/src/min_enclosing_triangle.cpp const cv::Point2f &vertexC) { cv 769 modules/imgproc/src/min_enclosing_triangle.cpp static bool middlePointOfSideB(cv::Point2f &middlePointOfSideB, const cv::Point2f &sideAStartVertex, cv 770 modules/imgproc/src/min_enclosing_triangle.cpp const cv::Point2f &sideAEndVertex, const cv::Point2f &sideBStartVertex, cv 771 modules/imgproc/src/min_enclosing_triangle.cpp const cv::Point2f &sideBEndVertex, const cv::Point2f &sideCStartVertex, cv 772 modules/imgproc/src/min_enclosing_triangle.cpp const cv::Point2f &sideCEndVertex) { cv 773 modules/imgproc/src/min_enclosing_triangle.cpp cv::Point2f vertexA, vertexC; cv 796 modules/imgproc/src/min_enclosing_triangle.cpp static bool intersectsBelow(const cv::Point2f &gammaPoint, unsigned int polygonPointIndex, cv 797 modules/imgproc/src/min_enclosing_triangle.cpp const std::vector<cv::Point2f> &polygon, unsigned int nrOfPoints, cv 815 modules/imgproc/src/min_enclosing_triangle.cpp static bool intersectsAbove(const cv::Point2f &gammaPoint, unsigned int polygonPointIndex, cv 816 modules/imgproc/src/min_enclosing_triangle.cpp const std::vector<cv::Point2f> &polygon, unsigned int nrOfPoints, cv 832 modules/imgproc/src/min_enclosing_triangle.cpp const std::vector<cv::Point2f> &polygon, unsigned int nrOfPoints, cv 879 modules/imgproc/src/min_enclosing_triangle.cpp const std::vector<cv::Point2f> &polygon, cv 908 modules/imgproc/src/min_enclosing_triangle.cpp static bool gamma(unsigned int polygonPointIndex, cv::Point2f &gammaPoint, cv 909 modules/imgproc/src/min_enclosing_triangle.cpp const std::vector<cv::Point2f> &polygon, unsigned int nrOfPoints, cv 911 modules/imgproc/src/min_enclosing_triangle.cpp cv::Point2f intersectionPoint1, intersectionPoint2; cv 951 modules/imgproc/src/min_enclosing_triangle.cpp static cv::Point2f findVertexCOnSideB(const std::vector<cv::Point2f> &polygon, unsigned int nrOfPoints, cv 953 modules/imgproc/src/min_enclosing_triangle.cpp const cv::Point2f &sideBStartVertex, cv 954 modules/imgproc/src/min_enclosing_triangle.cpp const cv::Point2f &sideBEndVertex, cv 955 modules/imgproc/src/min_enclosing_triangle.cpp const cv::Point2f &sideCStartVertex, cv 956 modules/imgproc/src/min_enclosing_triangle.cpp const cv::Point2f &sideCEndVertex) { cv 957 modules/imgproc/src/min_enclosing_triangle.cpp cv::Point2f intersectionPoint1, intersectionPoint2; cv 964 modules/imgproc/src/min_enclosing_triangle.cpp CV_Error(cv::Error::StsInternal, ERR_VERTEX_C_ON_SIDE_B); cv 989 modules/imgproc/src/min_enclosing_triangle.cpp static bool findGammaIntersectionPoints(const std::vector<cv::Point2f> &polygon, unsigned int nrOfPoints, cv 991 modules/imgproc/src/min_enclosing_triangle.cpp const cv::Point2f &side1StartVertex, const cv::Point2f &side1EndVertex, cv 992 modules/imgproc/src/min_enclosing_triangle.cpp const cv::Point2f &side2StartVertex, const cv::Point2f &side2EndVertex, cv 993 modules/imgproc/src/min_enclosing_triangle.cpp cv::Point2f &intersectionPoint1, cv::Point2f &intersectionPoint2) { cv 1049 modules/imgproc/src/min_enclosing_triangle.cpp double sideCExtraParam, cv::Point2f &intersectionPoint1, cv 1050 modules/imgproc/src/min_enclosing_triangle.cpp cv::Point2f &intersectionPoint2) { cv 1069 modules/imgproc/src/min_enclosing_triangle.cpp static std::vector<double> lineEquationParameters(const cv::Point2f& p, const cv::Point2f &q) { cv 1091 modules/imgproc/src/min_enclosing_triangle.cpp static double height(const cv::Point2f &polygonPoint, const std::vector<cv::Point2f> &polygon, cv 1093 modules/imgproc/src/min_enclosing_triangle.cpp cv::Point2f pointC = polygon[c]; cv 1094 modules/imgproc/src/min_enclosing_triangle.cpp cv::Point2f pointCPredecessor = polygon[predecessor(c, nrOfPoints)]; cv 1108 modules/imgproc/src/min_enclosing_triangle.cpp static double height(unsigned int polygonPointIndex, const std::vector<cv::Point2f> &polygon, cv 1110 modules/imgproc/src/min_enclosing_triangle.cpp cv::Point2f pointC = polygon[c]; cv 1111 modules/imgproc/src/min_enclosing_triangle.cpp cv::Point2f pointCPredecessor = polygon[predecessor(c, nrOfPoints)]; cv 1113 modules/imgproc/src/min_enclosing_triangle.cpp cv::Point2f polygonPoint = polygon[polygonPointIndex]; cv 1199 modules/imgproc/src/min_enclosing_triangle.cpp static double angleOfLineWrtOxAxis(const cv::Point2f &a, const cv::Point2f &b) { cv 1285 modules/imgproc/src/min_enclosing_triangle.cpp static double distanceFromPointToLine(const cv::Point2f &a, const cv::Point2f &linePointB, cv 1286 modules/imgproc/src/min_enclosing_triangle.cpp const cv::Point2f &linePointC) { cv 1305 modules/imgproc/src/min_enclosing_triangle.cpp static double distanceBtwPoints(const cv::Point2f &a, const cv::Point2f &b) { cv 1322 modules/imgproc/src/min_enclosing_triangle.cpp static double areaOfTriangle(const cv::Point2f &a, const cv::Point2f &b, const cv::Point2f &c) { cv 1336 modules/imgproc/src/min_enclosing_triangle.cpp static cv::Point2f middlePoint(const cv::Point2f &a, const cv::Point2f &b) { cv 1340 modules/imgproc/src/min_enclosing_triangle.cpp return cv::Point2f(static_cast<float>(middleX), static_cast<float>(middleY)); cv 1367 modules/imgproc/src/min_enclosing_triangle.cpp cv::Point2f &intersection) { cv 1404 modules/imgproc/src/min_enclosing_triangle.cpp static bool lineIntersection(const cv::Point2f &a1, const cv::Point2f &b1, const cv::Point2f &a2, cv 1405 modules/imgproc/src/min_enclosing_triangle.cpp const cv::Point2f &b2, cv::Point2f &intersection) { cv 1438 modules/imgproc/src/min_enclosing_triangle.cpp static void lineEquationDeterminedByPoints(const cv::Point2f &p, const cv::Point2f &q, cv 1454 modules/imgproc/src/min_enclosing_triangle.cpp static bool areOnTheSameSideOfLine(const cv::Point2f &p1, const cv::Point2f &p2, cv 1455 modules/imgproc/src/min_enclosing_triangle.cpp const cv::Point2f &a, const cv::Point2f &b) { cv 1472 modules/imgproc/src/min_enclosing_triangle.cpp static bool isPointOnLineSegment(const cv::Point2f &point, const cv::Point2f &lineSegmentStart, cv 1473 modules/imgproc/src/min_enclosing_triangle.cpp const cv::Point2f &lineSegmentEnd) { cv 1513 modules/imgproc/src/min_enclosing_triangle.cpp static bool areEqualPoints(const cv::Point2f &point1, const cv::Point2f &point2) { cv 556 modules/imgproc/src/moments.cpp cv::Moments cv::moments( InputArray _src, bool binary ) cv 669 modules/imgproc/src/moments.cpp Mat src(src0, cv::Rect(x, y, tileSize.width, tileSize.height)); cv 673 modules/imgproc/src/moments.cpp cv::Mat tmp(tileSize, CV_8U, nzbuf); cv 674 modules/imgproc/src/moments.cpp cv::compare( src, 0, tmp, CV_CMP_NE ); cv 730 modules/imgproc/src/moments.cpp void cv::HuMoments( const Moments& m, double hu[7] ) cv 757 modules/imgproc/src/moments.cpp void cv::HuMoments( const Moments& m, OutputArray _hu ) cv 769 modules/imgproc/src/moments.cpp cv::Mat src; cv 771 modules/imgproc/src/moments.cpp cv::extractImageCOI(arr, src, img->roi->coi-1); cv 773 modules/imgproc/src/moments.cpp src = cv::cvarrToMat(arr); cv 774 modules/imgproc/src/moments.cpp cv::Moments m = cv::moments(src, binary != 0); cv 851 modules/imgproc/src/morph.cpp cv::Ptr<cv::BaseRowFilter> cv::getMorphologyRowFilter(int op, int type, int ksize, int anchor) cv 898 modules/imgproc/src/morph.cpp cv::Ptr<cv::BaseColumnFilter> cv::getMorphologyColumnFilter(int op, int type, int ksize, int anchor) cv 946 modules/imgproc/src/morph.cpp cv::Ptr<cv::BaseFilter> cv::getMorphologyFilter(int op, int type, InputArray _kernel, Point anchor) cv 984 modules/imgproc/src/morph.cpp cv::Ptr<cv::FilterEngine> cv::createMorphologyFilter( int op, int type, InputArray _kernel, cv 1028 modules/imgproc/src/morph.cpp cv::Mat cv::getStructuringElement(int shape, Size ksize, Point anchor) cv 1271 modules/imgproc/src/morph.cpp !( borderType == cv::BORDER_REPLICATE || (borderType == cv::BORDER_CONSTANT && borderValue == morphologyDefaultBorderValue() && cv 1276 modules/imgproc/src/morph.cpp if( borderType == cv::BORDER_CONSTANT && kernel.data ) cv 1450 modules/imgproc/src/morph.cpp actual_op == op ? "" : cv::format(" -D %s", op2str[actual_op]).c_str()); cv 1452 modules/imgproc/src/morph.cpp ocl::Kernel kernel("filterSmall", cv::ocl::imgproc::filterSmall_oclsrc, opts); cv 1601 modules/imgproc/src/morph.cpp current_op == op ? "" : cv::format(" -D %s", op2str[current_op]).c_str()); cv 1687 modules/imgproc/src/morph.cpp borderType == cv::BORDER_CONSTANT && borderValue == morphologyDefaultBorderValue() && cv 1743 modules/imgproc/src/morph.cpp void cv::erode( InputArray src, OutputArray dst, InputArray kernel, cv 1751 modules/imgproc/src/morph.cpp void cv::dilate( InputArray src, OutputArray dst, InputArray kernel, cv 1822 modules/imgproc/src/morph.cpp void cv::morphologyEx( InputArray _src, OutputArray _dst, int op, cv 1837 modules/imgproc/src/morph.cpp borderType == cv::BORDER_CONSTANT && borderValue == morphologyDefaultBorderValue(), cv 1890 modules/imgproc/src/morph.cpp cv::Size ksize = cv::Size(cols, rows); cv 1891 modules/imgproc/src/morph.cpp cv::Point anchor = cv::Point(anchorX, anchorY); cv 1892 modules/imgproc/src/morph.cpp CV_Assert( cols > 0 && rows > 0 && anchor.inside(cv::Rect(0,0,cols,rows)) && cv 1913 modules/imgproc/src/morph.cpp cv::Mat elem = cv::getStructuringElement(shape, ksize, anchor); cv 1931 modules/imgproc/src/morph.cpp static void convertConvKernel( const IplConvKernel* src, cv::Mat& dst, cv::Point& anchor ) cv 1935 modules/imgproc/src/morph.cpp anchor = cv::Point(1,1); cv 1939 modules/imgproc/src/morph.cpp anchor = cv::Point(src->anchorX, src->anchorY); cv 1951 modules/imgproc/src/morph.cpp cv::Mat src = cv::cvarrToMat(srcarr), dst = cv::cvarrToMat(dstarr), kernel; cv 1953 modules/imgproc/src/morph.cpp cv::Point anchor; cv 1955 modules/imgproc/src/morph.cpp cv::erode( src, dst, kernel, anchor, iterations, cv::BORDER_REPLICATE ); cv 1962 modules/imgproc/src/morph.cpp cv::Mat src = cv::cvarrToMat(srcarr), dst = cv::cvarrToMat(dstarr), kernel; cv 1964 modules/imgproc/src/morph.cpp cv::Point anchor; cv 1966 modules/imgproc/src/morph.cpp cv::dilate( src, dst, kernel, anchor, iterations, cv::BORDER_REPLICATE ); cv 1974 modules/imgproc/src/morph.cpp cv::Mat src = cv::cvarrToMat(srcarr), dst = cv::cvarrToMat(dstarr), kernel; cv 1976 modules/imgproc/src/morph.cpp cv::Point anchor; cv 1989 modules/imgproc/src/morph.cpp cv::morphologyEx( src, dst, op, kernel, anchor, iterations, cv::BORDER_REPLICATE ); cv 409 modules/imgproc/src/phasecorr.cpp static Point2d weightedCentroid(InputArray _src, cv::Point peakLocation, cv::Size weightBoxSize, double* response) cv 491 modules/imgproc/src/phasecorr.cpp cv::Point2d cv::phaseCorrelate(InputArray _src1, InputArray _src2, InputArray _window, double* response) cv 572 modules/imgproc/src/phasecorr.cpp void cv::createHanningWindow(OutputArray _dst, cv::Size winSize, int type) cv 610 modules/imgproc/src/phasecorr.cpp cv::sqrt(dst, dst); cv 1169 modules/imgproc/src/pyramids.cpp void cv::pyrDown( InputArray _src, OutputArray _dst, const Size& _dsz, int borderType ) cv 1246 modules/imgproc/src/pyramids.cpp void cv::pyrUp( InputArray _src, OutputArray _dst, const Size& _dsz, int borderType ) cv 1323 modules/imgproc/src/pyramids.cpp void cv::buildPyramid( InputArray _src, OutputArrayOfArrays _dst, int maxlevel, int borderType ) cv 1441 modules/imgproc/src/pyramids.cpp cv::Mat src = cv::cvarrToMat(srcarr), dst = cv::cvarrToMat(dstarr); cv 1444 modules/imgproc/src/pyramids.cpp cv::pyrDown( src, dst, dst.size() ); cv 1449 modules/imgproc/src/pyramids.cpp cv::Mat src = cv::cvarrToMat(srcarr), dst = cv::cvarrToMat(dstarr); cv 1452 modules/imgproc/src/pyramids.cpp cv::pyrUp( src, dst, dst.size() ); cv 343 modules/imgproc/src/rotcalipers.cpp cv::RotatedRect cv::minAreaRect( InputArray _points ) cv 394 modules/imgproc/src/rotcalipers.cpp cv::AutoBuffer<double> abuf; cv 395 modules/imgproc/src/rotcalipers.cpp cv::Mat points = cv::cvarrToMat(array, false, false, 0, &abuf); cv 397 modules/imgproc/src/rotcalipers.cpp cv::RotatedRect rr = cv::minAreaRect(points); cv 401 modules/imgproc/src/rotcalipers.cpp void cv::boxPoints(cv::RotatedRect box, OutputArray _pts) cv 365 modules/imgproc/src/samplers.cpp void cv::getRectSubPix( InputArray _image, Size patchSize, Point2f center, cv 425 modules/imgproc/src/samplers.cpp cv::Mat src = cv::cvarrToMat(srcarr); cv 426 modules/imgproc/src/samplers.cpp const cv::Mat dst = cv::cvarrToMat(dstarr); cv 429 modules/imgproc/src/samplers.cpp cv::getRectSubPix(src, dst.size(), center, dst, dst.type()); cv 436 modules/imgproc/src/samplers.cpp const cv::Mat src = cv::cvarrToMat(srcarr), m = cv::cvarrToMat(mat); cv 437 modules/imgproc/src/samplers.cpp cv::Mat dst = cv::cvarrToMat(dstarr); cv 441 modules/imgproc/src/samplers.cpp cv::Size win_size = dst.size(); cv 443 modules/imgproc/src/samplers.cpp cv::Mat M(2, 3, CV_64F, matrix); cv 451 modules/imgproc/src/samplers.cpp cv::getQuadrangleSubPix_8u32f_CnR( src.ptr(), src.step, src.size(), cv 457 modules/imgproc/src/samplers.cpp cv::warpAffine(src, dst, M, dst.size(), cv 458 modules/imgproc/src/samplers.cpp cv::INTER_LINEAR + cv::WARP_INVERSE_MAP, cv 459 modules/imgproc/src/samplers.cpp cv::BORDER_REPLICATE); cv 468 modules/imgproc/src/samplers.cpp cv::Mat img = cv::cvarrToMat(_img); cv 469 modules/imgproc/src/samplers.cpp cv::LineIterator li(img, pt1, pt2, connectivity, false); cv 88 modules/imgproc/src/segmentation.cpp void cv::watershed( InputArray _src, InputOutputArray _markers ) cv 331 modules/imgproc/src/segmentation.cpp void cv::pyrMeanShiftFiltering( InputArray _src, OutputArray _dst, cv 349 modules/imgproc/src/segmentation.cpp std::vector<cv::Mat> src_pyramid(max_level+1); cv 350 modules/imgproc/src/segmentation.cpp std::vector<cv::Mat> dst_pyramid(max_level+1); cv 351 modules/imgproc/src/segmentation.cpp cv::Mat mask0; cv 392 modules/imgproc/src/segmentation.cpp cv::pyrDown( src_pyramid[level-1], src_pyramid[level], src_pyramid[level].size() ); cv 402 modules/imgproc/src/segmentation.cpp cv::Mat src = src_pyramid[level]; cv 403 modules/imgproc/src/segmentation.cpp cv::Size size = src.size(); cv 415 modules/imgproc/src/segmentation.cpp cv::Size size1 = dst_pyramid[level+1].size(); cv 416 modules/imgproc/src/segmentation.cpp cv::Mat m( size.height, size.width, CV_8UC1, mask0.ptr() ); cv 422 modules/imgproc/src/segmentation.cpp cv::pyrUp( dst_pyramid[level+1], dst_pyramid[level], dst_pyramid[level].size() ); cv 423 modules/imgproc/src/segmentation.cpp m.setTo(cv::Scalar::all(0)); cv 435 modules/imgproc/src/segmentation.cpp cv::dilate( m, m, cv::Mat() ); cv 553 modules/imgproc/src/segmentation.cpp cv::Mat src = cv::cvarrToMat(_src), markers = cv::cvarrToMat(_markers); cv 554 modules/imgproc/src/segmentation.cpp cv::watershed(src, markers); cv 563 modules/imgproc/src/segmentation.cpp cv::Mat src = cv::cvarrToMat(srcarr); cv 564 modules/imgproc/src/segmentation.cpp const cv::Mat dst = cv::cvarrToMat(dstarr); cv 566 modules/imgproc/src/segmentation.cpp cv::pyrMeanShiftFiltering(src, dst, sp0, sr, max_level, termcrit); cv 196 modules/imgproc/src/shapedescr.cpp void cv::minEnclosingCircle( InputArray _points, Point2f& _center, float& _radius ) cv 296 modules/imgproc/src/shapedescr.cpp double cv::arcLength( InputArray _curve, bool is_closed ) cv 338 modules/imgproc/src/shapedescr.cpp double cv::contourArea( InputArray _contour, bool oriented ) cv 369 modules/imgproc/src/shapedescr.cpp cv::RotatedRect cv::fitEllipse( InputArray _points ) cv 499 modules/imgproc/src/shapedescr.cpp if(cv::checkHardwareSupport(CV_CPU_SSE4_2)) cv 698 modules/imgproc/src/shapedescr.cpp cv::Rect cv::boundingRect(InputArray array) cv 709 modules/imgproc/src/shapedescr.cpp cv::AutoBuffer<double> abuf; cv 710 modules/imgproc/src/shapedescr.cpp cv::Mat points = cv::cvarrToMat(array, false, false, 0, &abuf); cv 711 modules/imgproc/src/shapedescr.cpp cv::Point2f center; cv 714 modules/imgproc/src/shapedescr.cpp cv::minEnclosingCircle(points, center, radius); cv 935 modules/imgproc/src/shapedescr.cpp cv::AutoBuffer<double> abuf; cv 936 modules/imgproc/src/shapedescr.cpp cv::Mat points = cv::cvarrToMat(contour, false, false, 0, &abuf); cv 937 modules/imgproc/src/shapedescr.cpp return cv::contourArea( points, oriented !=0 ); cv 1039 modules/imgproc/src/shapedescr.cpp cv::AutoBuffer<double> abuf; cv 1040 modules/imgproc/src/shapedescr.cpp cv::Mat points = cv::cvarrToMat(array, false, false, 0, &abuf); cv 1041 modules/imgproc/src/shapedescr.cpp return cv::fitEllipse(points); cv 1090 modules/imgproc/src/shapedescr.cpp rect = cv::maskBoundingRect(cv::cvarrToMat(mat)); cv 1094 modules/imgproc/src/shapedescr.cpp cv::AutoBuffer<double> abuf; cv 1095 modules/imgproc/src/shapedescr.cpp rect = cv::pointSetBoundingRect(cv::cvarrToMat(ptseq, false, false, 0, &abuf)); cv 1136 modules/imgproc/src/smooth.cpp if (!kernel.create("filterSmall", cv::ocl::imgproc::filterSmall_oclsrc, build_options)) cv 1171 modules/imgproc/src/smooth.cpp kernel.create("boxFilter", cv::ocl::imgproc::boxFilter_oclsrc, opts); cv 1212 modules/imgproc/src/smooth.cpp cv::Ptr<cv::BaseRowFilter> cv::getRowSumFilter(int srcType, int sumType, int ksize, int anchor) cv 1247 modules/imgproc/src/smooth.cpp cv::Ptr<cv::BaseColumnFilter> cv::getColumnSumFilter(int sumType, int dstType, int ksize, cv 1287 modules/imgproc/src/smooth.cpp cv::Ptr<cv::FilterEngine> cv::createBoxFilter( int srcType, int dstType, Size ksize, cv 1307 modules/imgproc/src/smooth.cpp void cv::boxFilter( InputArray _src, OutputArray _dst, int ddepth, cv 1409 modules/imgproc/src/smooth.cpp void cv::blur( InputArray src, OutputArray dst, cv 1490 modules/imgproc/src/smooth.cpp void cv::sqrBoxFilter( InputArray _src, OutputArray _dst, int ddepth, cv 1535 modules/imgproc/src/smooth.cpp cv::Mat cv::getGaussianKernel( int n, double sigma, int ktype ) cv 1617 modules/imgproc/src/smooth.cpp cv::Ptr<cv::FilterEngine> cv::createGaussianFilter( int type, Size ksize, cv 1628 modules/imgproc/src/smooth.cpp void cv::GaussianBlur( InputArray _src, OutputArray _dst, Size ksize, cv 1861 modules/imgproc/src/smooth.cpp COP( c, j, src[cn*j+c], += (cv::HT)(r+2) ); cv 1920 modules/imgproc/src/smooth.cpp for ( luc[c][k] = cv::HT(j-r); luc[c][k] < MIN(j+r+1,n); ++luc[c][k] ) cv 1983 modules/imgproc/src/smooth.cpp for ( luc[c][k] = cv::HT(j-r); luc[c][k] < MIN(j+r+1,n); ++luc[c][k] ) cv 2599 modules/imgproc/src/smooth.cpp cv::String kname = format( useOptimized ? "medianFilter%d_u" : "medianFilter%d", m) ; cv 2600 modules/imgproc/src/smooth.cpp cv::String kdefs = useOptimized ? cv 2635 modules/imgproc/src/smooth.cpp void cv::medianBlur( InputArray _src0, OutputArray _dst, int ksize ) cv 2734 modules/imgproc/src/smooth.cpp cv::copyMakeBorder( src0, src, 0, 0, ksize/2, ksize/2, BORDER_REPLICATE ); cv 3409 modules/imgproc/src/smooth.cpp void cv::bilateralFilter( InputArray _src, OutputArray _dst, int d, cv 3435 modules/imgproc/src/smooth.cpp cv::Mat src = cv::cvarrToMat(srcarr), dst0 = cv::cvarrToMat(dstarr), dst = dst0; cv 3444 modules/imgproc/src/smooth.cpp cv::boxFilter( src, dst, dst.depth(), cv::Size(param1, param2), cv::Point(-1,-1), cv 3445 modules/imgproc/src/smooth.cpp smooth_type == CV_BLUR, cv::BORDER_REPLICATE ); cv 3447 modules/imgproc/src/smooth.cpp cv::GaussianBlur( src, dst, cv::Size(param1, param2), param3, param4, cv::BORDER_REPLICATE ); cv 3449 modules/imgproc/src/smooth.cpp cv::medianBlur( src, dst, param1 ); cv 3451 modules/imgproc/src/smooth.cpp cv::bilateralFilter( src, dst, param1, param3, param4, cv::BORDER_REPLICATE ); cv 428 modules/imgproc/src/sumpixels.cpp void cv::integral( InputArray _src, OutputArray _sum, OutputArray _sqsum, OutputArray _tilted, int sdepth, int sqdepth ) cv 536 modules/imgproc/src/sumpixels.cpp void cv::integral( InputArray src, OutputArray sum, int sdepth ) cv 541 modules/imgproc/src/sumpixels.cpp void cv::integral( InputArray src, OutputArray sum, OutputArray sqsum, int sdepth, int sqdepth ) cv 551 modules/imgproc/src/sumpixels.cpp cv::Mat src = cv::cvarrToMat(image), sum = cv::cvarrToMat(sumImage), sum0 = sum; cv 552 modules/imgproc/src/sumpixels.cpp cv::Mat sqsum0, sqsum, tilted0, tilted; cv 553 modules/imgproc/src/sumpixels.cpp cv::Mat *psqsum = 0, *ptilted = 0; cv 557 modules/imgproc/src/sumpixels.cpp sqsum0 = sqsum = cv::cvarrToMat(sumSqImage); cv 563 modules/imgproc/src/sumpixels.cpp tilted0 = tilted = cv::cvarrToMat(tiltedSumImage); cv 566 modules/imgproc/src/sumpixels.cpp cv::integral( src, sum, psqsum ? cv::_OutputArray(*psqsum) : cv::_OutputArray(), cv 567 modules/imgproc/src/sumpixels.cpp ptilted ? cv::_OutputArray(*ptilted) : cv::_OutputArray(), sum.depth() ); cv 218 modules/imgproc/src/templmatch.cpp dft(result_spect, result_data, cv::DFT_INVERSE | cv::DFT_REAL_OUTPUT | cv::DFT_SCALE); cv 900 modules/imgproc/src/templmatch.cpp void cv::matchTemplate( InputArray _img, InputArray _templ, OutputArray _result, int method, InputArray _mask ) cv 904 modules/imgproc/src/templmatch.cpp cv::matchTemplateMask(_img, _templ, _result, method, _mask); cv 1089 modules/imgproc/src/templmatch.cpp cv::Mat img = cv::cvarrToMat(_img), templ = cv::cvarrToMat(_templ), cv 1090 modules/imgproc/src/templmatch.cpp result = cv::cvarrToMat(_result); cv 1091 modules/imgproc/src/templmatch.cpp CV_Assert( result.size() == cv::Size(std::abs(img.cols - templ.cols) + 1, cv 1186 modules/imgproc/src/thresh.cpp double cv::threshold( InputArray _src, OutputArray _dst, double thresh, double maxval, int type ) cv 1276 modules/imgproc/src/thresh.cpp void cv::adaptiveThreshold( InputArray _src, OutputArray _dst, double maxValue, cv 1340 modules/imgproc/src/thresh.cpp cv::Mat src = cv::cvarrToMat(srcarr), dst = cv::cvarrToMat(dstarr), dst0 = dst; cv 1345 modules/imgproc/src/thresh.cpp thresh = cv::threshold( src, dst, thresh, maxval, type ); cv 1356 modules/imgproc/src/thresh.cpp cv::Mat src = cv::cvarrToMat(srcIm), dst = cv::cvarrToMat(dstIm); cv 1358 modules/imgproc/src/thresh.cpp cv::adaptiveThreshold( src, dst, maxValue, method, type, blockSize, delta ); cv 45 modules/imgproc/src/undistort.cpp cv::Mat cv::getDefaultNewCameraMatrix( InputArray _cameraMatrix, Size imgsize, cv 62 modules/imgproc/src/undistort.cpp void cv::initUndistortRectifyMap( InputArray _cameraMatrix, InputArray _distCoeffs, cv 170 modules/imgproc/src/undistort.cpp void cv::undistort( InputArray _src, OutputArray _dst, InputArray _cameraMatrix, cv 219 modules/imgproc/src/undistort.cpp cv::Mat src = cv::cvarrToMat(srcarr), dst = cv::cvarrToMat(dstarr), dst0 = dst; cv 220 modules/imgproc/src/undistort.cpp cv::Mat A = cv::cvarrToMat(Aarr), distCoeffs = cv::cvarrToMat(dist_coeffs), newA; cv 222 modules/imgproc/src/undistort.cpp newA = cv::cvarrToMat(newAarr); cv 225 modules/imgproc/src/undistort.cpp cv::undistort( src, dst, A, distCoeffs, newA ); cv 232 modules/imgproc/src/undistort.cpp cv::Mat A = cv::cvarrToMat(Aarr), distCoeffs = cv::cvarrToMat(dist_coeffs); cv 233 modules/imgproc/src/undistort.cpp cv::Mat mapx = cv::cvarrToMat(mapxarr), mapy, mapx0 = mapx, mapy0; cv 236 modules/imgproc/src/undistort.cpp mapy0 = mapy = cv::cvarrToMat(mapyarr); cv 238 modules/imgproc/src/undistort.cpp cv::initUndistortRectifyMap( A, distCoeffs, cv::Mat(), A, cv 247 modules/imgproc/src/undistort.cpp cv::Mat A = cv::cvarrToMat(Aarr), distCoeffs, R, Ar; cv 248 modules/imgproc/src/undistort.cpp cv::Mat mapx = cv::cvarrToMat(mapxarr), mapy, mapx0 = mapx, mapy0; cv 251 modules/imgproc/src/undistort.cpp mapy0 = mapy = cv::cvarrToMat(mapyarr); cv 254 modules/imgproc/src/undistort.cpp distCoeffs = cv::cvarrToMat(dist_coeffs); cv 256 modules/imgproc/src/undistort.cpp R = cv::cvarrToMat(Rarr); cv 258 modules/imgproc/src/undistort.cpp Ar = cv::cvarrToMat(ArArr); cv 260 modules/imgproc/src/undistort.cpp cv::initUndistortRectifyMap( A, distCoeffs, R, Ar, mapx.size(), mapx.type(), mapx, mapy ); cv 391 modules/imgproc/src/undistort.cpp void cv::undistortPoints( InputArray _src, OutputArray _dst, cv 498 modules/imgproc/src/undistort.cpp float cv::initWideAngleProjMap( InputArray _cameraMatrix0, InputArray _distCoeffs0, cv 82 modules/imgproc/src/utils.cpp cv::Mat src = cv::cvarrToMat(srcarr), dst = cv::cvarrToMat(dstarr); cv 87 modules/imgproc/src/utils.cpp cv::copyMakeBorder( src, dst, top, bottom, left, right, borderType, value ); cv 112 modules/imgproc/test/ocl/test_accumulate.cpp OCL_OFF(cv::accumulate(src_roi, dst_roi)); cv 113 modules/imgproc/test/ocl/test_accumulate.cpp OCL_ON(cv::accumulate(usrc_roi, udst_roi)); cv 125 modules/imgproc/test/ocl/test_accumulate.cpp OCL_OFF(cv::accumulate(src_roi, dst_roi, mask_roi)); cv 126 modules/imgproc/test/ocl/test_accumulate.cpp OCL_ON(cv::accumulate(usrc_roi, udst_roi, umask_roi)); cv 142 modules/imgproc/test/ocl/test_accumulate.cpp OCL_OFF(cv::accumulateSquare(src_roi, dst_roi)); cv 143 modules/imgproc/test/ocl/test_accumulate.cpp OCL_ON(cv::accumulateSquare(usrc_roi, udst_roi)); cv 155 modules/imgproc/test/ocl/test_accumulate.cpp OCL_OFF(cv::accumulateSquare(src_roi, dst_roi, mask_roi)); cv 156 modules/imgproc/test/ocl/test_accumulate.cpp OCL_ON(cv::accumulateSquare(usrc_roi, udst_roi, umask_roi)); cv 172 modules/imgproc/test/ocl/test_accumulate.cpp OCL_OFF(cv::accumulateProduct(src_roi, src2_roi, dst_roi)); cv 173 modules/imgproc/test/ocl/test_accumulate.cpp OCL_ON(cv::accumulateProduct(usrc_roi, usrc2_roi, udst_roi)); cv 185 modules/imgproc/test/ocl/test_accumulate.cpp OCL_OFF(cv::accumulateProduct(src_roi, src2_roi, dst_roi, mask_roi)); cv 186 modules/imgproc/test/ocl/test_accumulate.cpp OCL_ON(cv::accumulateProduct(usrc_roi, usrc2_roi, udst_roi, umask_roi)); cv 202 modules/imgproc/test/ocl/test_accumulate.cpp OCL_OFF(cv::accumulateWeighted(src_roi, dst_roi, alpha)); cv 203 modules/imgproc/test/ocl/test_accumulate.cpp OCL_ON(cv::accumulateWeighted(usrc_roi, udst_roi, alpha)); cv 215 modules/imgproc/test/ocl/test_accumulate.cpp OCL_OFF(cv::accumulateWeighted(src_roi, dst_roi, alpha)); cv 216 modules/imgproc/test/ocl/test_accumulate.cpp OCL_ON(cv::accumulateWeighted(usrc_roi, udst_roi, alpha)); cv 117 modules/imgproc/test/ocl/test_blend.cpp OCL_OFF(cv::blendLinear(src1_roi, src2_roi, weights1_roi, weights2_roi, dst_roi)); cv 118 modules/imgproc/test/ocl/test_blend.cpp OCL_ON(cv::blendLinear(usrc1_roi, usrc2_roi, uweights1_roi, uweights2_roi, udst_roi)); cv 109 modules/imgproc/test/ocl/test_boxfilter.cpp OCL_OFF(cv::boxFilter(src_roi, dst_roi, -1, ksize, anchor, normalize, borderType)); cv 110 modules/imgproc/test/ocl/test_boxfilter.cpp OCL_ON(cv::boxFilter(usrc_roi, udst_roi, -1, ksize, anchor, normalize, borderType)); cv 126 modules/imgproc/test/ocl/test_boxfilter.cpp OCL_OFF(cv::sqrBoxFilter(src_roi, dst_roi, ddepth, ksize, anchor, normalize, borderType)); cv 127 modules/imgproc/test/ocl/test_boxfilter.cpp OCL_ON(cv::sqrBoxFilter(usrc_roi, udst_roi, ddepth, ksize, anchor, normalize, borderType)); cv 104 modules/imgproc/test/ocl/test_canny.cpp if (cv::ocl::Device::getDefault().isNVidia()) cv 108 modules/imgproc/test/ocl/test_canny.cpp OCL_OFF(cv::Canny(src_roi, dst_roi, low_thresh, high_thresh, apperture_size, useL2gradient)); cv 109 modules/imgproc/test/ocl/test_canny.cpp OCL_ON(cv::Canny(usrc_roi, udst_roi, low_thresh, high_thresh, apperture_size, useL2gradient)); cv 98 modules/imgproc/test/ocl/test_color.cpp OCL_OFF(cv::cvtColor(src_roi, dst_roi, code, channelsOut)); cv 99 modules/imgproc/test/ocl/test_color.cpp OCL_ON(cv::cvtColor(usrc_roi, udst_roi, code, channelsOut)); cv 131 modules/imgproc/test/ocl/test_color.cpp OCL_TEST_P(CvtColor, BGRA2GRAY) { performTest(4, 1, CVTCODE(BGRA2GRAY), cv::ocl::Device::getDefault().isNVidia() ? 1 : 1e-3); } cv 79 modules/imgproc/test/ocl/test_filter2d.cpp cv::normalize(temp, kernel, 1.0, 0.0, NORM_L1); cv 117 modules/imgproc/test/ocl/test_filter2d.cpp OCL_OFF(cv::filter2D(src_roi, dst_roi, -1, kernel, anchor, delta, borderType)); cv 118 modules/imgproc/test/ocl/test_filter2d.cpp OCL_ON(cv::filter2D(usrc_roi, udst_roi, -1, kernel, anchor, delta, borderType)); cv 141 modules/imgproc/test/ocl/test_filters.cpp OCL_OFF(cv::bilateralFilter(src_roi, dst_roi, ksize, sigmacolor, sigmaspace, borderType)); cv 142 modules/imgproc/test/ocl/test_filters.cpp OCL_ON(cv::bilateralFilter(usrc_roi, udst_roi, ksize, sigmacolor, sigmaspace, borderType)); cv 161 modules/imgproc/test/ocl/test_filters.cpp OCL_OFF(cv::Laplacian(src_roi, dst_roi, -1, ksize, scale, 10, borderType)); cv 162 modules/imgproc/test/ocl/test_filters.cpp OCL_ON(cv::Laplacian(usrc_roi, udst_roi, -1, ksize, scale, 10, borderType)); cv 183 modules/imgproc/test/ocl/test_filters.cpp OCL_OFF(cv::Sobel(src_roi, dst_roi, -1, dx, dy, ksize, scale, /* delta */0, borderType)); cv 184 modules/imgproc/test/ocl/test_filters.cpp OCL_ON(cv::Sobel(usrc_roi, udst_roi, -1, dx, dy, ksize, scale, /* delta */0, borderType)); cv 204 modules/imgproc/test/ocl/test_filters.cpp OCL_OFF(cv::Scharr(src_roi, dst_roi, -1, dx, dy, scale, /* delta */ 0, borderType)); cv 205 modules/imgproc/test/ocl/test_filters.cpp OCL_ON(cv::Scharr(usrc_roi, udst_roi, -1, dx, dy, scale, /* delta */ 0, borderType)); cv 225 modules/imgproc/test/ocl/test_filters.cpp OCL_OFF(cv::GaussianBlur(src_roi, dst_roi, Size(ksize, ksize), sigma1, sigma2, borderType)); cv 226 modules/imgproc/test/ocl/test_filters.cpp OCL_ON(cv::GaussianBlur(usrc_roi, udst_roi, Size(ksize, ksize), sigma1, sigma2, borderType)); cv 247 modules/imgproc/test/ocl/test_filters.cpp OCL_OFF(cv::erode(src_roi, dst_roi, kernel, Point(-1, -1), iterations) ); cv 248 modules/imgproc/test/ocl/test_filters.cpp OCL_ON(cv::erode(usrc_roi, udst_roi, kernel, Point(-1, -1), iterations) ); cv 269 modules/imgproc/test/ocl/test_filters.cpp OCL_OFF(cv::dilate(src_roi, dst_roi, kernel, Point(-1, -1), iterations) ); cv 270 modules/imgproc/test/ocl/test_filters.cpp OCL_ON(cv::dilate(usrc_roi, udst_roi, kernel, Point(-1, -1), iterations) ); cv 346 modules/imgproc/test/ocl/test_filters.cpp OCL_OFF(cv::morphologyEx(src_roi, dst_roi, op, kernel, Point(-1, -1), iterations) ); cv 347 modules/imgproc/test/ocl/test_filters.cpp OCL_ON(cv::morphologyEx(usrc_roi, udst_roi, op, kernel, Point(-1, -1), iterations) ); cv 103 modules/imgproc/test/ocl/test_gftt.cpp OCL_OFF(cv::goodFeaturesToTrack(src_roi, points, maxCorners, qualityLevel, minDistance, noArray())); cv 107 modules/imgproc/test/ocl/test_gftt.cpp OCL_ON(cv::goodFeaturesToTrack(usrc_roi, upoints, maxCorners, qualityLevel, minDistance)); cv 134 modules/imgproc/test/ocl/test_gftt.cpp OCL_ON(cv::goodFeaturesToTrack(usrc_roi, upoints, maxCorners, qualityLevel, minDistance)); cv 125 modules/imgproc/test/ocl/test_histogram.cpp cv::calcHist(images_roi, channels, noArray(), tmpHist, hist_size, ranges); cv 182 modules/imgproc/test/ocl/test_histogram.cpp if (cv::ocl::useOpenCL() && cv::ocl::Device::getDefault().isAMD()) cv 205 modules/imgproc/test/ocl/test_histogram.cpp OCL_OFF(cv::calcBackProject(images_roi, channels, hist_roi, dst_roi, ranges, scale)); cv 206 modules/imgproc/test/ocl/test_histogram.cpp OCL_ON(cv::calcBackProject(uimages_roi, channels, uhist_roi, udst_roi, ranges, scale)); cv 263 modules/imgproc/test/ocl/test_histogram.cpp OCL_OFF(cv::calcHist(std::vector<Mat>(1, src_roi), channels, noArray(), hist_roi, histSize, ranges, false)); cv 264 modules/imgproc/test/ocl/test_histogram.cpp OCL_ON(cv::calcHist(std::vector<UMat>(1, usrc_roi), channels, noArray(), uhist_roi, histSize, ranges, false)); cv 88 modules/imgproc/test/ocl/test_houghlines.cpp OCL_OFF(cv::HoughLines(src, dst, rhoStep, thetaStep, threshold)); cv 89 modules/imgproc/test/ocl/test_houghlines.cpp OCL_ON(cv::HoughLines(usrc, udst, rhoStep, thetaStep, threshold)); cv 100 modules/imgproc/test/ocl/test_houghlines.cpp OCL_OFF(cv::HoughLines(src, dst, rhoStep, thetaStep, threshold)); cv 101 modules/imgproc/test/ocl/test_houghlines.cpp OCL_ON(cv::HoughLines(usrc, udst, rhoStep, thetaStep, threshold)); cv 168 modules/imgproc/test/ocl/test_houghlines.cpp OCL_OFF(cv::HoughLinesP(src, dst, rhoStep, thetaStep, threshold, minLineLength, maxGap)); cv 169 modules/imgproc/test/ocl/test_houghlines.cpp OCL_ON(cv::HoughLinesP(usrc, udst, rhoStep, thetaStep, threshold, minLineLength, maxGap)); cv 167 modules/imgproc/test/ocl/test_imgproc.cpp OCL_OFF(cv::copyMakeBorder(src_roi, dst_roi, border.top, border.bot, border.lef, border.rig, borderType, val)); cv 168 modules/imgproc/test/ocl/test_imgproc.cpp OCL_ON(cv::copyMakeBorder(usrc_roi, udst_roi, border.top, border.bot, border.lef, border.rig, borderType, val)); cv 184 modules/imgproc/test/ocl/test_imgproc.cpp OCL_OFF(cv::equalizeHist(src_roi, dst_roi)); cv 185 modules/imgproc/test/ocl/test_imgproc.cpp OCL_ON(cv::equalizeHist(usrc_roi, udst_roi)); cv 235 modules/imgproc/test/ocl/test_imgproc.cpp OCL_OFF(cv::cornerMinEigenVal(src_roi, dst_roi, blockSize, apertureSize, borderType)); cv 236 modules/imgproc/test/ocl/test_imgproc.cpp OCL_ON(cv::cornerMinEigenVal(usrc_roi, udst_roi, blockSize, apertureSize, borderType)); cv 255 modules/imgproc/test/ocl/test_imgproc.cpp OCL_OFF(cv::cornerHarris(src_roi, dst_roi, blockSize, apertureSize, k, borderType)); cv 256 modules/imgproc/test/ocl/test_imgproc.cpp OCL_ON(cv::cornerHarris(usrc_roi, udst_roi, blockSize, apertureSize, k, borderType)); cv 274 modules/imgproc/test/ocl/test_imgproc.cpp OCL_OFF(cv::preCornerDetect(src_roi, dst_roi, apertureSize, borderType)); cv 275 modules/imgproc/test/ocl/test_imgproc.cpp OCL_ON(cv::preCornerDetect(usrc_roi, udst_roi, apertureSize, borderType)); cv 333 modules/imgproc/test/ocl/test_imgproc.cpp OCL_OFF(cv::integral(src_roi, dst_roi, sdepth)); cv 334 modules/imgproc/test/ocl/test_imgproc.cpp OCL_ON(cv::integral(usrc_roi, udst_roi, sdepth)); cv 346 modules/imgproc/test/ocl/test_imgproc.cpp OCL_OFF(cv::integral(src_roi, dst_roi, dst2_roi, sdepth, sqdepth)); cv 347 modules/imgproc/test/ocl/test_imgproc.cpp OCL_ON(cv::integral(usrc_roi, udst_roi, udst2_roi, sdepth, sqdepth)); cv 378 modules/imgproc/test/ocl/test_imgproc.cpp OCL_OFF(cv::threshold(src_roi, dst_roi, thresh, maxVal, thresholdType)); cv 379 modules/imgproc/test/ocl/test_imgproc.cpp OCL_ON(cv::threshold(usrc_roi, udst_roi, thresh, maxVal, thresholdType)); cv 428 modules/imgproc/test/ocl/test_imgproc.cpp Ptr<CLAHE> clahe = cv::createCLAHE(clipLimit, gridSize); cv 120 modules/imgproc/test/ocl/test_match_template.cpp OCL_OFF(cv::matchTemplate(image_roi, templ_roi, result_roi, method)); cv 121 modules/imgproc/test/ocl/test_match_template.cpp OCL_ON(cv::matchTemplate(uimage_roi, utempl_roi, uresult_roi, method)); cv 96 modules/imgproc/test/ocl/test_medianfilter.cpp OCL_OFF(cv::medianBlur(src_roi, dst_roi, ksize)); cv 97 modules/imgproc/test/ocl/test_medianfilter.cpp OCL_ON(cv::medianBlur(usrc_roi, udst_roi, ksize)); cv 85 modules/imgproc/test/ocl/test_sepfilter2D.cpp cv::normalize(temp, kernelX, 1.0, 0.0, NORM_L1); cv 87 modules/imgproc/test/ocl/test_sepfilter2D.cpp cv::normalize(temp, kernelY, 1.0, 0.0, NORM_L1); cv 115 modules/imgproc/test/ocl/test_sepfilter2D.cpp OCL_OFF(cv::sepFilter2D(src_roi, dst_roi, -1, kernelX, kernelY, anchor, delta, borderType)); cv 116 modules/imgproc/test/ocl/test_sepfilter2D.cpp OCL_ON(cv::sepFilter2D(usrc_roi, udst_roi, -1, kernelX, kernelY, anchor, delta, borderType)); cv 130 modules/imgproc/test/ocl/test_warp.cpp OCL_OFF(cv::warpAffine(src_roi, dst_roi, M, dsize, interpolation)); cv 131 modules/imgproc/test/ocl/test_warp.cpp OCL_ON(cv::warpAffine(usrc_roi, udst_roi, M, dsize, interpolation)); cv 157 modules/imgproc/test/ocl/test_warp.cpp OCL_OFF(cv::warpPerspective(src_roi, dst_roi, M, dsize, interpolation)); cv 158 modules/imgproc/test/ocl/test_warp.cpp OCL_ON(cv::warpPerspective(usrc_roi, udst_roi, M, dsize, interpolation)); cv 229 modules/imgproc/test/ocl/test_warp.cpp OCL_OFF(cv::resize(src_roi, dst_roi, Size(), fx, fy, interpolation)); cv 230 modules/imgproc/test/ocl/test_warp.cpp OCL_ON(cv::resize(usrc_roi, udst_roi, Size(), fx, fy, interpolation)); cv 307 modules/imgproc/test/ocl/test_warp.cpp OCL_OFF(cv::remap(src_roi, dst_roi, map1_roi, map2_roi, INTER_NEAREST, borderType, val)); cv 308 modules/imgproc/test/ocl/test_warp.cpp OCL_ON(cv::remap(usrc_roi, udst_roi, umap1_roi, umap2_roi, INTER_NEAREST, borderType, val)); cv 325 modules/imgproc/test/ocl/test_warp.cpp if (cv::ocl::Device::getDefault().isNVidia()) cv 329 modules/imgproc/test/ocl/test_warp.cpp OCL_OFF(cv::remap(src_roi, dst_roi, map1_roi, map2_roi, INTER_LINEAR, borderType, val)); cv 330 modules/imgproc/test/ocl/test_warp.cpp OCL_ON(cv::remap(usrc_roi, udst_roi, umap1_roi, umap2_roi, INTER_LINEAR, borderType, val)); cv 45 modules/imgproc/test/test_approxpoly.cpp using namespace cv; cv 45 modules/imgproc/test/test_bilateral_filter.cpp using namespace cv; cv 50 modules/imgproc/test/test_boundingrect.cpp using namespace cv; cv 64 modules/imgproc/test/test_boundingrect.cpp template <typename T> cv::Rect get_bounding_rect(const vector <Point_<T> > src); cv 75 modules/imgproc/test/test_boundingrect.cpp src.push_back(Point_<T>(cv::randu<T>(), cv::randu<T>())); cv 78 modules/imgproc/test/test_boundingrect.cpp template <typename T> cv::Rect CV_BoundingRectTest::get_bounding_rect(const vector <Point_<T> > src) cv 109 modules/imgproc/test/test_boundingrect.cpp cv::Rect right = get_bounding_rect <T> (src); cv 111 modules/imgproc/test/test_boundingrect.cpp cv::Rect rect[2] = { boundingRect(src), boundingRect(Mat(src)) }; cv 44 modules/imgproc/test/test_canny.cpp using namespace cv; cv 131 modules/imgproc/test/test_canny.cpp cv::Mat _out = cv::cvarrToMat(test_array[OUTPUT][0]); cv 132 modules/imgproc/test/test_canny.cpp cv::Canny(cv::cvarrToMat(test_array[INPUT][0]), _out, threshold1, threshold2, cv 44 modules/imgproc/test/test_color.cpp using namespace cv; cv 163 modules/imgproc/test/test_color.cpp cv::Mat _out0 = cv::cvarrToMat(out0), _out1 = cv::cvarrToMat(test_array[OUTPUT][1]); cv 168 modules/imgproc/test/test_color.cpp cv::cvtColor( cv::cvarrToMat(inplace ? out0 : test_array[INPUT][0]), _out0, fwd_code, _out0.channels()); cv 178 modules/imgproc/test/test_color.cpp cv::cvtColor(cv::cvarrToMat(out0), _out1, inv_code, _out1.channels()); cv 1582 modules/imgproc/test/test_color.cpp cv::Mat _out = cv::cvarrToMat(test_array[OUTPUT][0]); cv 1583 modules/imgproc/test/test_color.cpp cv::cvtColor(cv::cvarrToMat(test_array[INPUT][0]), _out, fwd_code, _out.channels()); cv 1888 modules/imgproc/test/test_color.cpp src.at<cv::Vec3f>(i, j) = cv::Vec3f(b, g, r); cv 1919 modules/imgproc/test/test_color.cpp cv::Mat lab; cv 1920 modules/imgproc/test/test_color.cpp cv::cvtColor(src, lab, mode); cv 1921 modules/imgproc/test/test_color.cpp std::cout << "lab: " << lab(cv::Rect(y, x / cn, 1, 1)) << std::endl; cv 1923 modules/imgproc/test/test_color.cpp std::cout << "src: " << src(cv::Rect(y, x / cn, 1, 1)) << std::endl; cv 1943 modules/imgproc/test/test_color.cpp cv::Mat lab; cv 1946 modules/imgproc/test/test_color.cpp cv::cvtColor(src, lab, forward_code); cv 1948 modules/imgproc/test/test_color.cpp cv::Mat recons; cv 1949 modules/imgproc/test/test_color.cpp cv::cvtColor(lab, recons, inverse_code); cv 2129 modules/imgproc/test/test_color.cpp cv::demosaicing(bayer, actual, CV_BayerBG2BGR_EA + i); cv 46 modules/imgproc/test/test_connectedcomponents.cpp using namespace cv; cv 45 modules/imgproc/test/test_contours.cpp using namespace cv; cv 44 modules/imgproc/test/test_convhull.cpp using namespace cv; cv 164 modules/imgproc/test/test_convhull.cpp static cv::Point2f cv 165 modules/imgproc/test/test_convhull.cpp cvTsMiddlePoint(const cv::Point2f &a, const cv::Point2f &b) cv 167 modules/imgproc/test/test_convhull.cpp return cv::Point2f((a.x + b.x) / 2, (a.y + b.y) / 2); cv 171 modules/imgproc/test/test_convhull.cpp cvTsIsPointOnLineSegment(const cv::Point2f &x, const cv::Point2f &a, const cv::Point2f &b) cv 508 modules/imgproc/test/test_convhull.cpp cv::Mat _points = cv::cvarrToMat(points); cv 514 modules/imgproc/test/test_convhull.cpp cv::convexHull(_points, _hull, clockwise); cv 520 modules/imgproc/test/test_convhull.cpp std::vector<cv::Point> _hull; cv 521 modules/imgproc/test/test_convhull.cpp cv::convexHull(_points, _hull, clockwise); cv 527 modules/imgproc/test/test_convhull.cpp std::vector<cv::Point2f> _hull; cv 528 modules/imgproc/test/test_convhull.cpp cv::convexHull(_points, _hull, clockwise); cv 697 modules/imgproc/test/test_convhull.cpp cv::RotatedRect r = cv::minAreaRect(cv::cvarrToMat(points)); cv 699 modules/imgproc/test/test_convhull.cpp r.points((cv::Point2f*)box_pt); cv 802 modules/imgproc/test/test_convhull.cpp std::vector<cv::Point2f> getTriangleMiddlePoints(); cv 804 modules/imgproc/test/test_convhull.cpp std::vector<cv::Point2f> convexPolygon; cv 805 modules/imgproc/test/test_convhull.cpp std::vector<cv::Point2f> triangle; cv 813 modules/imgproc/test/test_convhull.cpp std::vector<cv::Point2f> CV_MinTriangleTest::getTriangleMiddlePoints() cv 815 modules/imgproc/test/test_convhull.cpp std::vector<cv::Point2f> triangleMiddlePoints; cv 827 modules/imgproc/test/test_convhull.cpp std::vector<cv::Point2f> pointsAsVector; cv 829 modules/imgproc/test/test_convhull.cpp cv::cvarrToMat(points).convertTo(pointsAsVector, CV_32F); cv 831 modules/imgproc/test/test_convhull.cpp cv::minEnclosingTriangle(pointsAsVector, triangle); cv 832 modules/imgproc/test/test_convhull.cpp cv::convexHull(pointsAsVector, convexPolygon, true, true); cv 867 modules/imgproc/test/test_convhull.cpp if (cv::pointPolygonTest(triangle, cv::Point2f(convexPolygon[i].x, convexPolygon[i].y), true) < (-eps)) cv 872 modules/imgproc/test/test_convhull.cpp std::vector<cv::Point2f> middlePoints = getTriangleMiddlePoints(); cv 958 modules/imgproc/test/test_convhull.cpp cv::Point2f tmpcenter; cv 959 modules/imgproc/test/test_convhull.cpp cv::minEnclosingCircle(cv::cvarrToMat(points), tmpcenter, radius); cv 1083 modules/imgproc/test/test_convhull.cpp result = cv::arcLength(cv::cvarrToMat(points), cv 1239 modules/imgproc/test/test_convhull.cpp box = (CvBox2D)cv::fitEllipse(cv::cvarrToMat(points)); cv 1407 modules/imgproc/test/test_convhull.cpp box = (CvBox2D)cv::fitEllipse(pointsMat); cv 1541 modules/imgproc/test/test_convhull.cpp cv::fitLine(cv::cvarrToMat(points), (cv::Vec4f&)line[0], dist_type, 0, reps, aeps); cv 1543 modules/imgproc/test/test_convhull.cpp cv::fitLine(cv::cvarrToMat(points), (cv::Vec6f&)line[0], dist_type, 0, reps, aeps); cv 1775 modules/imgproc/test/test_convhull.cpp moments = (CvMoments)cv::moments(cv::cvarrToMat(points)); cv 1776 modules/imgproc/test/test_convhull.cpp area = cv::contourArea(cv::cvarrToMat(points)); cv 3 modules/imgproc/test/test_cvtyuv.cpp using namespace cv; cv 642 modules/imgproc/test/test_cvtyuv.cpp cv::cvtColor(src, dst, code, -1); cv 689 modules/imgproc/test/test_cvtyuv.cpp cv::cvtColor(src, dst, code, -1); cv 44 modules/imgproc/test/test_distancetransform.cpp using namespace cv; cv 44 modules/imgproc/test/test_emd.cpp using namespace cv; cv 44 modules/imgproc/test/test_filter.cpp using namespace cv; cv 1895 modules/imgproc/test/test_filter.cpp Mat src(3, 3, CV_8UC1, cv::Scalar::all(255)), dst; cv 1897 modules/imgproc/test/test_filter.cpp src_roi.setTo(cv::Scalar::all(0)); cv 1908 modules/imgproc/test/test_filter.cpp src = Mat(5, 5, CV_8UC1, cv::Scalar(255)); cv 44 modules/imgproc/test/test_floodfill.cpp using namespace cv; cv 212 modules/imgproc/test/test_floodfill.cpp cv::Mat img = cv::cvarrToMat(test_array[INPUT_OUTPUT][0]), cv 213 modules/imgproc/test/test_floodfill.cpp mask = test_array[INPUT_OUTPUT][1] ? cv::cvarrToMat(test_array[INPUT_OUTPUT][1]) : cv::Mat(); cv 214 modules/imgproc/test/test_floodfill.cpp cv::Rect rect; cv 217 modules/imgproc/test/test_floodfill.cpp area = cv::floodFill( img, seed_pt, new_val, &rect, l_diff, u_diff, flags ); cv 219 modules/imgproc/test/test_floodfill.cpp area = cv::floodFill( img, mask, seed_pt, new_val, &rect, l_diff, u_diff, flags ); cv 49 modules/imgproc/test/test_grabcut.cpp using namespace cv; cv 44 modules/imgproc/test/test_histograms.cpp using namespace cv; cv 633 modules/imgproc/test/test_histograms.cpp cv::SparseMat h; cv 636 modules/imgproc/test/test_histograms.cpp cv::minMaxLoc(h, &_min_val, &_max_val, min_idx, max_idx ); cv 731 modules/imgproc/test/test_histograms.cpp cv::SparseMat h; cv 733 modules/imgproc/test/test_histograms.cpp cv::normalize(h, h, factor, CV_L1); cv 983 modules/imgproc/test/test_histograms.cpp cv::SparseMat h0, h1; cv 987 modules/imgproc/test/test_histograms.cpp result[k] = cv::compareHist(h0, h1, k); cv 46 modules/imgproc/test/test_houghLines.cpp using namespace cv; cv 46 modules/imgproc/test/test_imgproc_umat.cpp using namespace cv; cv 44 modules/imgproc/test/test_imgwarp.cpp using namespace cv; cv 193 modules/imgproc/test/test_imgwarp.cpp cv::Mat src(1, cols*cn, CV_32F, &buffer[0]); cv 194 modules/imgproc/test/test_imgwarp.cpp cv::Mat dst(1, cols*cn, depth, ptr); cv 528 modules/imgproc/test/test_imgwarp.cpp cv::max(tmp, 0.9, tmp); cv 529 modules/imgproc/test/test_imgwarp.cpp cv::min(tmp, 1.1, tmp); cv 530 modules/imgproc/test/test_imgwarp.cpp cv::multiply(tmp, mat, mat, 1.); cv 552 modules/imgproc/test/test_imgwarp.cpp cv::invert(A, invA, CV_SVD); cv 553 modules/imgproc/test/test_imgwarp.cpp cv::gemm(invA, b, -1, Mat(), 0, invAb); cv 652 modules/imgproc/test/test_imgwarp.cpp cv::getPerspectiveTransform( s, d ).convertTo( mat, mat.depth() ); cv 669 modules/imgproc/test/test_imgwarp.cpp cv::invert(srcM, dstM, CV_SVD); cv 810 modules/imgproc/test/test_imgwarp.cpp cv::Mat input0; cv 811 modules/imgproc/test/test_imgwarp.cpp cv::Mat input1; cv 812 modules/imgproc/test/test_imgwarp.cpp cv::Mat input2; cv 813 modules/imgproc/test/test_imgwarp.cpp cv::Mat input_new_cam; cv 814 modules/imgproc/test/test_imgwarp.cpp cv::Mat input_output; cv 867 modules/imgproc/test/test_imgwarp.cpp cv::undistort(input0,input_output,input1,cv::Mat()); cv 871 modules/imgproc/test/test_imgwarp.cpp cv::undistort(input0,input_output,input1,input2); cv 1094 modules/imgproc/test/test_imgwarp.cpp cv::merge(p, 2, test_mat[REF_OUTPUT][0]); cv 1206 modules/imgproc/test/test_imgwarp.cpp cv::Mat _out = cv::cvarrToMat(test_array[INPUT_OUTPUT][0]); cv 1207 modules/imgproc/test/test_imgwarp.cpp cv::getRectSubPix( cv::cvarrToMat(test_array[INPUT][0]), _out.size(), center, _out, _out.type()); cv 1400 modules/imgproc/test/test_imgwarp.cpp cv::fitLine(points_vector, line, CV_DIST_L2, 0 ,0 ,0); cv 1420 modules/imgproc/test/test_imgwarp.cpp cv::fitLine(points_vector, line, CV_DIST_L2, 0 ,0 ,0); cv 1427 modules/imgproc/test/test_imgwarp.cpp cv::Mat mat1 = Mat::zeros(3, 1, CV_32SC2); cv 1430 modules/imgproc/test/test_imgwarp.cpp cv::fitLine(mat1, line1, CV_DIST_L2, 0 ,0 ,0); cv 1437 modules/imgproc/test/test_imgwarp.cpp cv::Matx<int, 3, 2> mat2; cv 1440 modules/imgproc/test/test_imgwarp.cpp cv::fitLine(mat2, line2, CV_DIST_L2, 0 ,0 ,0); cv 1447 modules/imgproc/test/test_imgwarp.cpp cv::Mat mat1 = Mat::zeros(2, 1, CV_32SC3); cv 1450 modules/imgproc/test/test_imgwarp.cpp cv::fitLine(mat1, line1, CV_DIST_L2, 0 ,0 ,0); cv 1457 modules/imgproc/test/test_imgwarp.cpp cv::Mat mat2 = Mat::zeros(2, 3, CV_32SC1); cv 1460 modules/imgproc/test/test_imgwarp.cpp cv::fitLine(mat2, line2, CV_DIST_L2, 0 ,0 ,0); cv 1493 modules/imgproc/test/test_imgwarp.cpp cv::Mat src(16, 16, CV_16UC1, input_data); cv 1494 modules/imgproc/test/test_imgwarp.cpp cv::Mat expected(5, 5, CV_16UC1, expected_data); cv 1495 modules/imgproc/test/test_imgwarp.cpp cv::Mat actual(expected.size(), expected.type()); cv 1497 modules/imgproc/test/test_imgwarp.cpp cv::resize(src, actual, cv::Size(), 0.3, 0.3, INTER_AREA); cv 1533 modules/imgproc/test/test_imgwarp.cpp ASSERT_EQ(cvtest::norm(one_channel_diff, cv::NORM_INF), 0); cv 1555 modules/imgproc/test/test_imgwarp.cpp return cv::saturate_cast<T>(val >> 2); cv 1564 modules/imgproc/test/test_imgwarp.cpp return cv::saturate_cast<T>(val * 0.25); cv 1569 modules/imgproc/test/test_imgwarp.cpp void resizeArea(const cv::Mat & src, cv::Mat & dst) cv 1603 modules/imgproc/test/test_imgwarp.cpp cv::RNG rng(17); cv 1613 modules/imgproc/test/test_imgwarp.cpp cv::Mat src(size, size, type), dst_actual(size >> 1, size >> 1, type), cv 1616 modules/imgproc/test/test_imgwarp.cpp rng.fill(src, cv::RNG::UNIFORM, -1000, 1000, true); cv 1629 modules/imgproc/test/test_imgwarp.cpp cv::resize(src, dst_actual, dst_actual.size(), 0, 0, cv::INTER_AREA); cv 1631 modules/imgproc/test/test_imgwarp.cpp ASSERT_GE(eps, cvtest::norm(dst_reference, dst_actual, cv::NORM_INF)); cv 48 modules/imgproc/test/test_imgwarp_strict.cpp using namespace cv; cv 438 modules/imgproc/test/test_imgwarp_strict.cpp cv::resize(src, dst, dst.size(), 0, 0, interpolation); cv 1036 modules/imgproc/test/test_imgwarp_strict.cpp cv::warpAffine(src, dst, M, dst.size(), interpolation, borderType, borderValue); cv 1101 modules/imgproc/test/test_imgwarp_strict.cpp cv::remap(_src, _dst, mapx, mapy, inter, borderType, borderValue); cv 1157 modules/imgproc/test/test_imgwarp_strict.cpp cv::warpPerspective(src, dst, M, dst.size(), interpolation, borderType, borderValue); cv 1228 modules/imgproc/test/test_imgwarp_strict.cpp cv::remap(_src, _dst, mapx, mapy, inter, borderType, borderValue); cv 48 modules/imgproc/test/test_intersection.cpp using namespace cv; cv 5 modules/imgproc/test/test_lsd.cpp using namespace cv; cv 43 modules/imgproc/test/test_moments.cpp using namespace cv; cv 45 modules/imgproc/test/test_pc.cpp using namespace cv; cv 73 modules/imgproc/test/test_pc.cpp cv::rectangle(r1, Point(100, 100), Point(110, 110), Scalar(0, 0, 0), CV_FILLED); cv 74 modules/imgproc/test/test_pc.cpp cv::rectangle(r2, Point(90, 80), Point(100, 90), Scalar(0, 0, 0), CV_FILLED); cv 44 modules/imgproc/test/test_templmatch.cpp using namespace cv; cv 142 modules/imgproc/test/test_templmatch.cpp cv::Mat _out = cv::cvarrToMat(test_array[OUTPUT][0]); cv 143 modules/imgproc/test/test_templmatch.cpp cv::matchTemplate(cv::cvarrToMat(test_array[INPUT][0]), cv::cvarrToMat(test_array[INPUT][1]), _out, method); cv 44 modules/imgproc/test/test_thresh.cpp using namespace cv; cv 46 modules/imgproc/test/test_watershed.cpp using namespace cv; cv 9 modules/java/generator/src/cpp/Mat.cpp using namespace cv; cv 19 modules/java/generator/src/cpp/Mat.cpp if(dynamic_cast<const cv::Exception*>(e)) { cv 49 modules/java/generator/src/cpp/Mat.cpp return (jlong) new cv::Mat(); cv 470 modules/java/generator/src/cpp/Mat.cpp } catch(const cv::Exception& e) { cv 1756 modules/java/generator/src/cpp/Mat.cpp #define PUT_ITEM(T, R, C) { T*dst = (T*)me->ptr(R, C); for(int ch=0; ch<me->channels() && count>0; count--,ch++,src++,dst++) *dst = cv::saturate_cast<T>(*src); } cv 1767 modules/java/generator/src/cpp/Mat.cpp cv::Mat* me = (cv::Mat*) self; cv 1818 modules/java/generator/src/cpp/Mat.cpp template<typename T> static int mat_put(cv::Mat* m, int row, int col, int count, char* buff) cv 1860 modules/java/generator/src/cpp/Mat.cpp cv::Mat* me = (cv::Mat*) self; cv 1887 modules/java/generator/src/cpp/Mat.cpp cv::Mat* me = (cv::Mat*) self; cv 1914 modules/java/generator/src/cpp/Mat.cpp cv::Mat* me = (cv::Mat*) self; cv 1941 modules/java/generator/src/cpp/Mat.cpp cv::Mat* me = (cv::Mat*) self; cv 1962 modules/java/generator/src/cpp/Mat.cpp template<typename T> int mat_get(cv::Mat* m, int row, int col, int count, char* buff) cv 2003 modules/java/generator/src/cpp/Mat.cpp cv::Mat* me = (cv::Mat*) self; cv 2030 modules/java/generator/src/cpp/Mat.cpp cv::Mat* me = (cv::Mat*) self; cv 2057 modules/java/generator/src/cpp/Mat.cpp cv::Mat* me = (cv::Mat*) self; cv 2084 modules/java/generator/src/cpp/Mat.cpp cv::Mat* me = (cv::Mat*) self; cv 2111 modules/java/generator/src/cpp/Mat.cpp cv::Mat* me = (cv::Mat*) self; cv 2138 modules/java/generator/src/cpp/Mat.cpp cv::Mat* me = (cv::Mat*) self; cv 2176 modules/java/generator/src/cpp/Mat.cpp cv::Mat* me = (cv::Mat*) self; //TODO: check for NULL cv 4 modules/java/generator/src/cpp/converters.cpp using namespace cv; cv 177 modules/java/generator/src/cpp/converters.cpp void Mat_to_vector_Mat(cv::Mat& mat, std::vector<cv::Mat>& v_mat) cv 196 modules/java/generator/src/cpp/converters.cpp void vector_Mat_to_Mat(std::vector<cv::Mat>& v_mat, cv::Mat& mat) cv 4 modules/java/generator/src/cpp/converters.h void Mat_to_vector_int(cv::Mat& mat, std::vector<int>& v_int); cv 5 modules/java/generator/src/cpp/converters.h void vector_int_to_Mat(std::vector<int>& v_int, cv::Mat& mat); cv 7 modules/java/generator/src/cpp/converters.h void Mat_to_vector_double(cv::Mat& mat, std::vector<double>& v_double); cv 8 modules/java/generator/src/cpp/converters.h void vector_double_to_Mat(std::vector<double>& v_double, cv::Mat& mat); cv 10 modules/java/generator/src/cpp/converters.h void Mat_to_vector_float(cv::Mat& mat, std::vector<float>& v_float); cv 11 modules/java/generator/src/cpp/converters.h void vector_float_to_Mat(std::vector<float>& v_float, cv::Mat& mat); cv 13 modules/java/generator/src/cpp/converters.h void Mat_to_vector_uchar(cv::Mat& mat, std::vector<uchar>& v_uchar); cv 14 modules/java/generator/src/cpp/converters.h void vector_uchar_to_Mat(std::vector<uchar>& v_uchar, cv::Mat& mat); cv 16 modules/java/generator/src/cpp/converters.h void Mat_to_vector_char(cv::Mat& mat, std::vector<char>& v_char); cv 17 modules/java/generator/src/cpp/converters.h void vector_char_to_Mat(std::vector<char>& v_char, cv::Mat& mat); cv 19 modules/java/generator/src/cpp/converters.h void Mat_to_vector_Rect(cv::Mat& mat, std::vector<cv::Rect>& v_rect); cv 20 modules/java/generator/src/cpp/converters.h void vector_Rect_to_Mat(std::vector<cv::Rect>& v_rect, cv::Mat& mat); cv 23 modules/java/generator/src/cpp/converters.h void Mat_to_vector_Point(cv::Mat& mat, std::vector<cv::Point>& v_point); cv 24 modules/java/generator/src/cpp/converters.h void Mat_to_vector_Point2f(cv::Mat& mat, std::vector<cv::Point2f>& v_point); cv 25 modules/java/generator/src/cpp/converters.h void Mat_to_vector_Point2d(cv::Mat& mat, std::vector<cv::Point2d>& v_point); cv 26 modules/java/generator/src/cpp/converters.h void Mat_to_vector_Point3i(cv::Mat& mat, std::vector<cv::Point3i>& v_point); cv 27 modules/java/generator/src/cpp/converters.h void Mat_to_vector_Point3f(cv::Mat& mat, std::vector<cv::Point3f>& v_point); cv 28 modules/java/generator/src/cpp/converters.h void Mat_to_vector_Point3d(cv::Mat& mat, std::vector<cv::Point3d>& v_point); cv 30 modules/java/generator/src/cpp/converters.h void vector_Point_to_Mat(std::vector<cv::Point>& v_point, cv::Mat& mat); cv 31 modules/java/generator/src/cpp/converters.h void vector_Point2f_to_Mat(std::vector<cv::Point2f>& v_point, cv::Mat& mat); cv 32 modules/java/generator/src/cpp/converters.h void vector_Point2d_to_Mat(std::vector<cv::Point2d>& v_point, cv::Mat& mat); cv 33 modules/java/generator/src/cpp/converters.h void vector_Point3i_to_Mat(std::vector<cv::Point3i>& v_point, cv::Mat& mat); cv 34 modules/java/generator/src/cpp/converters.h void vector_Point3f_to_Mat(std::vector<cv::Point3f>& v_point, cv::Mat& mat); cv 35 modules/java/generator/src/cpp/converters.h void vector_Point3d_to_Mat(std::vector<cv::Point3d>& v_point, cv::Mat& mat); cv 37 modules/java/generator/src/cpp/converters.h void vector_Vec4i_to_Mat(std::vector<cv::Vec4i>& v_vec, cv::Mat& mat); cv 38 modules/java/generator/src/cpp/converters.h void vector_Vec4f_to_Mat(std::vector<cv::Vec4f>& v_vec, cv::Mat& mat); cv 39 modules/java/generator/src/cpp/converters.h void vector_Vec6f_to_Mat(std::vector<cv::Vec6f>& v_vec, cv::Mat& mat); cv 41 modules/java/generator/src/cpp/converters.h void Mat_to_vector_Mat(cv::Mat& mat, std::vector<cv::Mat>& v_mat); cv 42 modules/java/generator/src/cpp/converters.h void vector_Mat_to_Mat(std::vector<cv::Mat>& v_mat, cv::Mat& mat); cv 44 modules/java/generator/src/cpp/converters.h void Mat_to_vector_vector_char(cv::Mat& mat, std::vector< std::vector< char > >& vv_ch); cv 45 modules/java/generator/src/cpp/converters.h void vector_vector_char_to_Mat(std::vector< std::vector< char > >& vv_ch, cv::Mat& mat); cv 47 modules/java/generator/src/cpp/converters.h void Mat_to_vector_vector_Point(cv::Mat& mat, std::vector< std::vector< cv::Point > >& vv_pt); cv 48 modules/java/generator/src/cpp/converters.h void vector_vector_Point_to_Mat(std::vector< std::vector< cv::Point > >& vv_pt, cv::Mat& mat); cv 50 modules/java/generator/src/cpp/converters.h void Mat_to_vector_vector_Point2f(cv::Mat& mat, std::vector< std::vector< cv::Point2f > >& vv_pt); cv 51 modules/java/generator/src/cpp/converters.h void vector_vector_Point2f_to_Mat(std::vector< std::vector< cv::Point2f > >& vv_pt, cv::Mat& mat); cv 53 modules/java/generator/src/cpp/converters.h void Mat_to_vector_vector_Point3f(cv::Mat& mat, std::vector< std::vector< cv::Point3f > >& vv_pt); cv 54 modules/java/generator/src/cpp/converters.h void vector_vector_Point3f_to_Mat(std::vector< std::vector< cv::Point3f > >& vv_pt, cv::Mat& mat); cv 10 modules/java/generator/src/cpp/utils.cpp using namespace cv; cv 51 modules/java/generator/src/cpp/utils.cpp } catch(const cv::Exception& e) { cv 133 modules/java/generator/src/cpp/utils.cpp } catch(const cv::Exception& e) { cv 545 modules/ml/include/opencv2/ml.hpp CV_WRAP virtual cv::Mat getClassWeights() const = 0; cv 547 modules/ml/include/opencv2/ml.hpp CV_WRAP virtual void setClassWeights(const cv::Mat &val) = 0; cv 554 modules/ml/include/opencv2/ml.hpp CV_WRAP virtual cv::TermCriteria getTermCriteria() const = 0; cv 556 modules/ml/include/opencv2/ml.hpp CV_WRAP virtual void setTermCriteria(const cv::TermCriteria &val) = 0; cv 1017 modules/ml/include/opencv2/ml.hpp CV_WRAP virtual cv::Mat getPriors() const = 0; cv 1019 modules/ml/include/opencv2/ml.hpp CV_WRAP virtual void setPriors(const cv::Mat &val) = 0; cv 1281 modules/ml/include/opencv2/ml.hpp CV_WRAP virtual cv::Mat getLayerSizes() const = 0; cv 265 modules/ml/src/ann_mlp.cpp cv::AutoBuffer<double> _buf(buf_sz+noutputs); cv 207 modules/ml/src/boost.cpp cv::AutoBuffer<double> buf(n + nvars); cv 466 modules/ml/src/boost.cpp CV_WRAP_SAME_PROPERTY_S(cv::Mat, Priors, impl.params) cv 458 modules/ml/src/em.cpp cv::max(weights, DBL_MIN, weights); cv 327 modules/ml/src/gbt.cpp rng = &cv::theRNG(); cv 889 modules/ml/src/gbt.cpp class Tree_predictor : public cv::ParallelLoopBody cv 899 modules/ml/src/gbt.cpp static cv::Mutex SumMutex; cv 910 modules/ml/src/gbt.cpp Tree_predictor( const Tree_predictor& p, cv::Split ) : cv 918 modules/ml/src/gbt.cpp virtual void operator()(const cv::Range& range) const cv 942 modules/ml/src/gbt.cpp cv::AutoLock lock(SumMutex); cv 952 modules/ml/src/gbt.cpp cv::Mutex Tree_predictor::SumMutex; cv 970 modules/ml/src/gbt.cpp cv::parallel_for_(cv::Range(begin, end), predictor); cv 1103 modules/ml/src/gbt.cpp cv::String s; cv 1116 modules/ml/src/gbt.cpp s = cv::format("trees_%d", j); cv 1153 modules/ml/src/gbt.cpp cv::String s; cv 1169 modules/ml/src/gbt.cpp s = cv::format("trees_%d", j); cv 1199 modules/ml/src/gbt.cpp class Sample_predictor : public cv::ParallelLoopBody cv 1222 modules/ml/src/gbt.cpp Sample_predictor( const Sample_predictor& p, cv::Split ) : cv 1229 modules/ml/src/gbt.cpp virtual void operator()(const cv::Range& range) const cv 1288 modules/ml/src/gbt.cpp cv::parallel_for_(cv::Range(0,n), predictor); cv 1320 modules/ml/src/gbt.cpp CvGBTrees::CvGBTrees( const cv::Mat& trainData, int tflag, cv 1321 modules/ml/src/gbt.cpp const cv::Mat& responses, const cv::Mat& varIdx, cv 1322 modules/ml/src/gbt.cpp const cv::Mat& sampleIdx, const cv::Mat& varType, cv 1323 modules/ml/src/gbt.cpp const cv::Mat& missingDataMask, cv 1341 modules/ml/src/gbt.cpp bool CvGBTrees::train( const cv::Mat& trainData, int tflag, cv 1342 modules/ml/src/gbt.cpp const cv::Mat& responses, const cv::Mat& varIdx, cv 1343 modules/ml/src/gbt.cpp const cv::Mat& sampleIdx, const cv::Mat& varType, cv 1344 modules/ml/src/gbt.cpp const cv::Mat& missingDataMask, cv 1357 modules/ml/src/gbt.cpp float CvGBTrees::predict( const cv::Mat& sample, const cv::Mat& _missing, cv 1358 modules/ml/src/gbt.cpp const cv::Range& slice, int k ) const cv 1362 modules/ml/src/gbt.cpp slice==cv::Range::all() ? CV_WHOLE_SEQ : cvSlice(slice.start, slice.end), k); cv 176 modules/ml/src/nbayes.cpp cv::max(w, min_variation, w); cv 242 modules/ml/src/nbayes.cpp cv::AutoBuffer<double> _buffer(nvars*2); cv 334 modules/ml/src/nbayes.cpp cv::parallel_for_(cv::Range(0, nsamples), cv 174 modules/ml/src/precomp.hpp CV_IMPL_PROPERTY_S(cv::Mat, Priors, priors) cv 287 modules/ml/src/precomp.hpp CV_WRAP_SAME_PROPERTY_S(cv::Mat, Priors, params) cv 373 modules/ml/src/rtrees.cpp CV_WRAP_SAME_PROPERTY_S(cv::Mat, Priors, impl.params) cv 1258 modules/ml/src/svm.cpp CV_IMPL_PROPERTY_S(cv::Mat, ClassWeights, params.classWeights) cv 1259 modules/ml/src/svm.cpp CV_IMPL_PROPERTY_S(cv::TermCriteria, TermCriteria, params.termCrit) cv 470 modules/ml/src/tree.cpp cv::AutoBuffer<double> buf(std::max(m, 3)*(cv_n+1)); cv 645 modules/ml/src/tree.cpp cv::AutoBuffer<uchar> buf(n*(sizeof(float) + sizeof(int)) + m*2*sizeof(double)); cv 718 modules/ml/src/tree.cpp cv::AutoBuffer<double> buf(n + k); cv 45 modules/ml/test/test_emknearestkmeans.cpp using namespace cv; cv 46 modules/ml/test/test_emknearestkmeans.cpp using cv::ml::TrainData; cv 47 modules/ml/test/test_emknearestkmeans.cpp using cv::ml::EM; cv 48 modules/ml/test/test_emknearestkmeans.cpp using cv::ml::KNearest; cv 355 modules/ml/test/test_emknearestkmeans.cpp const cv::TermCriteria& _termCrit=cv::TermCriteria(cv::TermCriteria::COUNT+cv::TermCriteria::EPS, 100, FLT_EPSILON), cv 356 modules/ml/test/test_emknearestkmeans.cpp const cv::Mat* _probs=0, const cv::Mat* _weights=0, cv 357 modules/ml/test/test_emknearestkmeans.cpp const cv::Mat* _means=0, const std::vector<cv::Mat>* _covs=0) cv 367 modules/ml/test/test_emknearestkmeans.cpp const cv::Mat* probs; cv 368 modules/ml/test/test_emknearestkmeans.cpp const cv::Mat* weights; cv 369 modules/ml/test/test_emknearestkmeans.cpp const cv::Mat* means; cv 370 modules/ml/test/test_emknearestkmeans.cpp const std::vector<cv::Mat>* covs; cv 372 modules/ml/test/test_emknearestkmeans.cpp cv::TermCriteria termCrit; cv 383 modules/ml/test/test_emknearestkmeans.cpp const cv::Mat& trainData, const cv::Mat& trainLabels, cv 384 modules/ml/test/test_emknearestkmeans.cpp const cv::Mat& testData, const cv::Mat& testLabels, cv 389 modules/ml/test/test_emknearestkmeans.cpp const cv::Mat& trainData, const cv::Mat& trainLabels, cv 390 modules/ml/test/test_emknearestkmeans.cpp const cv::Mat& testData, const cv::Mat& testLabels, cv 395 modules/ml/test/test_emknearestkmeans.cpp cv::Mat labels; cv 466 modules/ml/test/test_emknearestkmeans.cpp Mat probs(trainData.rows, params.nclusters, CV_64FC1, cv::Scalar(1)); cv 468 modules/ml/test/test_emknearestkmeans.cpp Mat weights(1, params.nclusters, CV_64FC1, cv::Scalar(1)); cv 558 modules/ml/test/test_emknearestkmeans.cpp string filename = cv::tempfile(".xml"); cv 60 modules/ml/test/test_gbttest.cpp cv::RNG& rng = cv::theRNG(); cv 74 modules/ml/test/test_gbttest.cpp cv::theRNG().state = initSeed; cv 183 modules/ml/test/test_gbttest.cpp model_file_name1 = cv::tempfile(); cv 184 modules/ml/test/test_gbttest.cpp model_file_name2 = cv::tempfile(); cv 62 modules/ml/test/test_lr.cpp using namespace cv; cv 63 modules/ml/test/test_lr.cpp using namespace cv::ml; cv 44 modules/ml/test/test_mltests.cpp using namespace cv; cv 44 modules/ml/test/test_mltests2.cpp using namespace cv; cv 30 modules/ml/test/test_precomp.hpp using cv::Ptr; cv 31 modules/ml/test/test_precomp.hpp using cv::ml::StatModel; cv 32 modules/ml/test/test_precomp.hpp using cv::ml::TrainData; cv 33 modules/ml/test/test_precomp.hpp using cv::ml::NormalBayesClassifier; cv 34 modules/ml/test/test_precomp.hpp using cv::ml::SVM; cv 35 modules/ml/test/test_precomp.hpp using cv::ml::KNearest; cv 36 modules/ml/test/test_precomp.hpp using cv::ml::ParamGrid; cv 37 modules/ml/test/test_precomp.hpp using cv::ml::ANN_MLP; cv 38 modules/ml/test/test_precomp.hpp using cv::ml::DTrees; cv 39 modules/ml/test/test_precomp.hpp using cv::ml::Boost; cv 40 modules/ml/test/test_precomp.hpp using cv::ml::RTrees; cv 63 modules/ml/test/test_precomp.hpp cv::FileStorage validationFS; cv 47 modules/ml/test/test_save_load.cpp using namespace cv; cv 186 modules/ml/test/test_save_load.cpp using namespace cv::ml; cv 274 modules/ml/test/test_save_load.cpp Ptr<cv::ml::SVM> svm1, svm2, svm3; cv 44 modules/ml/test/test_svmtrainauto.cpp using namespace cv; cv 46 modules/ml/test/test_svmtrainauto.cpp using cv::ml::SVM; cv 47 modules/ml/test/test_svmtrainauto.cpp using cv::ml::TrainData; cv 60 modules/ml/test/test_svmtrainauto.cpp cv::Mat samples = cv::Mat::zeros( datasize, 2, CV_32FC1 ); cv 61 modules/ml/test/test_svmtrainauto.cpp cv::Mat responses = cv::Mat::zeros( datasize, 1, CV_32S ); cv 72 modules/ml/test/test_svmtrainauto.cpp cv::Ptr<TrainData> data = TrainData::create( samples, cv::ml::ROW_SAMPLE, responses ); cv 73 modules/ml/test/test_svmtrainauto.cpp cv::Ptr<SVM> svm = SVM::create(); cv 77 modules/ml/test/test_svmtrainauto.cpp cv::Mat test_point0 = cv::Mat( 1, 2, CV_32FC1, test_data0 ); cv 80 modules/ml/test/test_svmtrainauto.cpp cv::Mat test_point1 = cv::Mat( 1, 2, CV_32FC1, test_data1 ); cv 332 modules/objdetect/include/opencv2/objdetect.hpp std::vector<cv::Point> locations; cv 439 modules/objdetect/include/opencv2/objdetect.hpp virtual void detectROI(const cv::Mat& img, const std::vector<cv::Point> &locations, cv 440 modules/objdetect/include/opencv2/objdetect.hpp CV_OUT std::vector<cv::Point>& foundLocations, CV_OUT std::vector<double>& confidences, cv 441 modules/objdetect/include/opencv2/objdetect.hpp double hitThreshold = 0, cv::Size winStride = Size(), cv 442 modules/objdetect/include/opencv2/objdetect.hpp cv::Size padding = Size()) const; cv 445 modules/objdetect/include/opencv2/objdetect.hpp virtual void detectMultiScaleROI(const cv::Mat& img, cv 446 modules/objdetect/include/opencv2/objdetect.hpp CV_OUT std::vector<cv::Rect>& foundLocations, cv 453 modules/objdetect/include/opencv2/objdetect.hpp void groupRectangles(std::vector<cv::Rect>& rectList, std::vector<double>& weights, int groupThreshold, double eps) const; cv 79 modules/objdetect/include/opencv2/objdetect/detection_based_tracker.hpp virtual void detect(const cv::Mat& image, std::vector<cv::Rect>& objects) = 0; cv 81 modules/objdetect/include/opencv2/objdetect/detection_based_tracker.hpp void setMinObjectSize(const cv::Size& min) cv 85 modules/objdetect/include/opencv2/objdetect/detection_based_tracker.hpp void setMaxObjectSize(const cv::Size& max) cv 89 modules/objdetect/include/opencv2/objdetect/detection_based_tracker.hpp cv::Size getMinObjectSize() const cv 93 modules/objdetect/include/opencv2/objdetect/detection_based_tracker.hpp cv::Size getMaxObjectSize() const cv 116 modules/objdetect/include/opencv2/objdetect/detection_based_tracker.hpp cv::Size minObjSize; cv 117 modules/objdetect/include/opencv2/objdetect/detection_based_tracker.hpp cv::Size maxObjSize; cv 122 modules/objdetect/include/opencv2/objdetect/detection_based_tracker.hpp DetectionBasedTracker(cv::Ptr<IDetector> mainDetector, cv::Ptr<IDetector> trackingDetector, const Parameters& params); cv 129 modules/objdetect/include/opencv2/objdetect/detection_based_tracker.hpp virtual void process(const cv::Mat& imageGray); cv 135 modules/objdetect/include/opencv2/objdetect/detection_based_tracker.hpp typedef std::pair<cv::Rect, int> Object; cv 136 modules/objdetect/include/opencv2/objdetect/detection_based_tracker.hpp virtual void getObjects(std::vector<cv::Rect>& result) const; cv 149 modules/objdetect/include/opencv2/objdetect/detection_based_tracker.hpp cv::Rect location; cv 151 modules/objdetect/include/opencv2/objdetect/detection_based_tracker.hpp ExtObject(int _id, cv::Rect _location, ObjectStatus _status) cv 159 modules/objdetect/include/opencv2/objdetect/detection_based_tracker.hpp virtual int addObject(const cv::Rect& location); //returns id of the new object cv 163 modules/objdetect/include/opencv2/objdetect/detection_based_tracker.hpp cv::Ptr<SeparateDetectionWork> separateDetectionWork; cv 184 modules/objdetect/include/opencv2/objdetect/detection_based_tracker.hpp typedef std::vector<cv::Rect> PositionsVector; cv 192 modules/objdetect/include/opencv2/objdetect/detection_based_tracker.hpp TrackedObject(const cv::Rect& rect):numDetectedFrames(1), numFramesNotDetected(0) cv 211 modules/objdetect/include/opencv2/objdetect/detection_based_tracker.hpp cv::Ptr<IDetector> cascadeForTracking; cv 213 modules/objdetect/include/opencv2/objdetect/detection_based_tracker.hpp void updateTrackedObjects(const std::vector<cv::Rect>& detectedObjects); cv 214 modules/objdetect/include/opencv2/objdetect/detection_based_tracker.hpp cv::Rect calcTrackedObjectPositionToShow(int i) const; cv 215 modules/objdetect/include/opencv2/objdetect/detection_based_tracker.hpp cv::Rect calcTrackedObjectPositionToShow(int i, ObjectStatus& status) const; cv 216 modules/objdetect/include/opencv2/objdetect/detection_based_tracker.hpp void detectInRegion(const cv::Mat& img, const cv::Rect& r, std::vector<cv::Rect>& detectedObjectsInRegions); cv 7 modules/objdetect/perf/opencl/perf_cascades.cpp using namespace cv; cv 57 modules/objdetect/perf/opencl/perf_hogdetect.cpp public std::binary_function<cv::Rect, cv::Rect, bool> cv 59 modules/objdetect/perf/opencl/perf_hogdetect.cpp bool operator()(const cv::Rect& a, cv 60 modules/objdetect/perf/opencl/perf_hogdetect.cpp const cv::Rect& b) const cv 76 modules/objdetect/perf/opencl/perf_hogdetect.cpp imread(getDataPath("gpu/hog/road.png"), cv::IMREAD_GRAYSCALE).copyTo(src); cv 79 modules/objdetect/perf/opencl/perf_hogdetect.cpp vector<cv::Rect> found_locations; cv 1294 modules/objdetect/src/cascadedetect.cpp cv::AutoBuffer<int> stripeSizeBuf(nscales); cv 101 modules/objdetect/src/detection_based_tracker.cpp using namespace cv; cv 103 modules/objdetect/src/detection_based_tracker.cpp static inline cv::Point2f centerRect(const cv::Rect& r) cv 105 modules/objdetect/src/detection_based_tracker.cpp return cv::Point2f(r.x+((float)r.width)/2, r.y+((float)r.height)/2); cv 108 modules/objdetect/src/detection_based_tracker.cpp static inline cv::Rect scale_rect(const cv::Rect& r, float scale) cv 110 modules/objdetect/src/detection_based_tracker.cpp cv::Point2f m=centerRect(r); cv 116 modules/objdetect/src/detection_based_tracker.cpp return cv::Rect(x, y, cvRound(width), cvRound(height)); cv 124 modules/objdetect/src/detection_based_tracker.cpp class cv::DetectionBasedTracker::SeparateDetectionWork cv 127 modules/objdetect/src/detection_based_tracker.cpp SeparateDetectionWork(cv::DetectionBasedTracker& _detectionBasedTracker, cv::Ptr<DetectionBasedTracker::IDetector> _detector); cv 158 modules/objdetect/src/detection_based_tracker.cpp cv::Ptr<DetectionBasedTracker::IDetector> cascadeInThread; cv 171 modules/objdetect/src/detection_based_tracker.cpp std::vector<cv::Rect> resultDetect; cv 184 modules/objdetect/src/detection_based_tracker.cpp cv::Mat imageSeparateDetecting; cv 192 modules/objdetect/src/detection_based_tracker.cpp cv::DetectionBasedTracker::SeparateDetectionWork::SeparateDetectionWork(DetectionBasedTracker& _detectionBasedTracker, cv::Ptr<DetectionBasedTracker::IDetector> _detector) cv 229 modules/objdetect/src/detection_based_tracker.cpp cv::DetectionBasedTracker::SeparateDetectionWork::~SeparateDetectionWork() cv 240 modules/objdetect/src/detection_based_tracker.cpp bool cv::DetectionBasedTracker::SeparateDetectionWork::run() cv 275 modules/objdetect/src/detection_based_tracker.cpp catch(cv::Exception& e) { \ cv 283 modules/objdetect/src/detection_based_tracker.cpp void* cv::workcycleObjectDetectorFunction(void* p) cv 285 modules/objdetect/src/detection_based_tracker.cpp CATCH_ALL_AND_LOG({ ((cv::DetectionBasedTracker::SeparateDetectionWork*)p)->workcycleObjectDetector(); }); cv 287 modules/objdetect/src/detection_based_tracker.cpp ((cv::DetectionBasedTracker::SeparateDetectionWork*)p)->lock(); cv 288 modules/objdetect/src/detection_based_tracker.cpp ((cv::DetectionBasedTracker::SeparateDetectionWork*)p)->stateThread = cv::DetectionBasedTracker::SeparateDetectionWork::STATE_THREAD_STOPPED; cv 289 modules/objdetect/src/detection_based_tracker.cpp ((cv::DetectionBasedTracker::SeparateDetectionWork*)p)->isObjectDetectingReady=false; cv 290 modules/objdetect/src/detection_based_tracker.cpp ((cv::DetectionBasedTracker::SeparateDetectionWork*)p)->shouldObjectDetectingResultsBeForgot=false; cv 292 modules/objdetect/src/detection_based_tracker.cpp ((cv::DetectionBasedTracker::SeparateDetectionWork*)p)->objectDetectorThreadStartStop.notify_one(); cv 294 modules/objdetect/src/detection_based_tracker.cpp pthread_cond_signal(&(((cv::DetectionBasedTracker::SeparateDetectionWork*)p)->objectDetectorThreadStartStop)); cv 296 modules/objdetect/src/detection_based_tracker.cpp ((cv::DetectionBasedTracker::SeparateDetectionWork*)p)->unlock(); cv 303 modules/objdetect/src/detection_based_tracker.cpp void cv::DetectionBasedTracker::SeparateDetectionWork::workcycleObjectDetector() cv 452 modules/objdetect/src/detection_based_tracker.cpp void cv::DetectionBasedTracker::SeparateDetectionWork::stop() cv 484 modules/objdetect/src/detection_based_tracker.cpp void cv::DetectionBasedTracker::SeparateDetectionWork::resetTracking() cv 512 modules/objdetect/src/detection_based_tracker.cpp bool cv::DetectionBasedTracker::SeparateDetectionWork::communicateWithDetectingThread(const Mat& imageGray, std::vector<Rect>& rectsWhereRegions) cv 575 modules/objdetect/src/detection_based_tracker.cpp cv::DetectionBasedTracker::Parameters::Parameters() cv 581 modules/objdetect/src/detection_based_tracker.cpp cv::DetectionBasedTracker::InnerParameters::InnerParameters() cv 594 modules/objdetect/src/detection_based_tracker.cpp cv::DetectionBasedTracker::DetectionBasedTracker(cv::Ptr<IDetector> mainDetector, cv::Ptr<IDetector> trackingDetector, const Parameters& params) cv 615 modules/objdetect/src/detection_based_tracker.cpp cv::DetectionBasedTracker::~DetectionBasedTracker() cv 688 modules/objdetect/src/detection_based_tracker.cpp void cv::DetectionBasedTracker::getObjects(std::vector<cv::Rect>& result) const cv 702 modules/objdetect/src/detection_based_tracker.cpp void cv::DetectionBasedTracker::getObjects(std::vector<Object>& result) const cv 715 modules/objdetect/src/detection_based_tracker.cpp void cv::DetectionBasedTracker::getObjects(std::vector<ExtObject>& result) const cv 727 modules/objdetect/src/detection_based_tracker.cpp bool cv::DetectionBasedTracker::run() cv 735 modules/objdetect/src/detection_based_tracker.cpp void cv::DetectionBasedTracker::stop() cv 742 modules/objdetect/src/detection_based_tracker.cpp void cv::DetectionBasedTracker::resetTracking() cv 750 modules/objdetect/src/detection_based_tracker.cpp void cv::DetectionBasedTracker::updateTrackedObjects(const std::vector<Rect>& detectedObjects) cv 871 modules/objdetect/src/detection_based_tracker.cpp int cv::DetectionBasedTracker::addObject(const Rect& location) cv 880 modules/objdetect/src/detection_based_tracker.cpp Rect cv::DetectionBasedTracker::calcTrackedObjectPositionToShow(int i) const cv 885 modules/objdetect/src/detection_based_tracker.cpp Rect cv::DetectionBasedTracker::calcTrackedObjectPositionToShow(int i, ObjectStatus& status) const cv 971 modules/objdetect/src/detection_based_tracker.cpp void cv::DetectionBasedTracker::detectInRegion(const Mat& img, const Rect& r, std::vector<Rect>& detectedObjectsInRegions) cv 1008 modules/objdetect/src/detection_based_tracker.cpp bool cv::DetectionBasedTracker::setParameters(const Parameters& params) cv 1026 modules/objdetect/src/detection_based_tracker.cpp const cv::DetectionBasedTracker::Parameters& DetectionBasedTracker::getParameters() const cv 824 modules/objdetect/src/haar.cpp if(cv::checkHardwareSupport(CV_CPU_AVX)) cv 829 modules/objdetect/src/haar.cpp bool haveSSE2 = cv::checkHardwareSupport(CV_CPU_SSE2); cv 1501 modules/objdetect/src/haar.cpp cv::Ptr<CvMat> temp, sum, tilted, sqsum, normImg, sumcanny, imgSmall; cv 1503 modules/objdetect/src/haar.cpp cv::Ptr<CvMemStorage> temp_storage; cv 1505 modules/objdetect/src/haar.cpp std::vector<cv::Rect> allCandidates; cv 1506 modules/objdetect/src/haar.cpp std::vector<cv::Rect> rectList; cv 1513 modules/objdetect/src/haar.cpp cv::Mutex mtx; cv 1615 modules/objdetect/src/haar.cpp cv::Mat fsum(sum1.rows, sum1.cols, CV_32F, sum1.data.ptr, sum1.step); cv 1616 modules/objdetect/src/haar.cpp cv::cvarrToMat(&sum1).convertTo(fsum, CV_32F, 1, -(1<<24)); cv 1622 modules/objdetect/src/haar.cpp cv::Mat _norm1 = cv::cvarrToMat(&norm1), _mask1 = cv::cvarrToMat(&mask1); cv 1623 modules/objdetect/src/haar.cpp cv::parallel_for_(cv::Range(0, stripCount), cv 1624 modules/objdetect/src/haar.cpp cv::HaarDetectObjects_ScaleImage_Invoker(cascade, cv 1626 modules/objdetect/src/haar.cpp factor, cv::cvarrToMat(&sum1), cv::cvarrToMat(&sqsum1), &_norm1, &_mask1, cv 1627 modules/objdetect/src/haar.cpp cv::Rect(equRect), allCandidates, rejectLevels, levelWeights, outputRejectLevels, &mtx)); cv 1633 modules/objdetect/src/haar.cpp cv::Rect scanROI; cv 1719 modules/objdetect/src/haar.cpp cv::parallel_for_(cv::Range(startY, endY), cv 1720 modules/objdetect/src/haar.cpp cv::HaarDetectObjects_ScaleCascade_Invoker(cascade, winSize, cv::Range(startX, endX), cv 1734 modules/objdetect/src/haar.cpp cv::Rect maxRect; cv 1784 modules/objdetect/src/haar.cpp cv::Rect r = rectList[i]; cv 1785 modules/objdetect/src/haar.cpp if( r.area() > cv::Rect(result_comp.rect).area() ) cv 73 modules/objdetect/src/hog.cpp static Size numPartsWithin(cv::Size size, cv::Size part_size, cv 74 modules/objdetect/src/hog.cpp cv::Size stride) cv 122 modules/objdetect/src/hog.cpp cv::Size blocks_per_img = numPartsWithin(winSize, blockSize, blockStride); cv 1136 modules/objdetect/src/hog.cpp bool is_cpu = cv::ocl::Device::getDefault().type() == cv::ocl::Device::TYPE_CPU; cv 1137 modules/objdetect/src/hog.cpp cv::String opts; cv 1141 modules/objdetect/src/hog.cpp opts = cv::format("-D WAVE_SIZE=%d", k.preferedWorkGroupSizeMultiple()); cv 1203 modules/objdetect/src/hog.cpp bool is_cpu = cv::ocl::Device::getDefault().type() == cv::ocl::Device::TYPE_CPU; cv 1204 modules/objdetect/src/hog.cpp cv::String opts; cv 1214 modules/objdetect/src/hog.cpp opts = cv::format("-D WAVE_SIZE=%d", k.preferedWorkGroupSizeMultiple()); cv 1233 modules/objdetect/src/hog.cpp opts = cv::format("-D WAVE_SIZE=%d", k.preferedWorkGroupSizeMultiple()); cv 1645 modules/objdetect/src/hog.cpp bool is_cpu = cv::ocl::Device::getDefault().type() == cv::ocl::Device::TYPE_CPU; cv 1646 modules/objdetect/src/hog.cpp cv::String opts; cv 1660 modules/objdetect/src/hog.cpp opts = cv::format("-D WAVE_SIZE=%d", k.preferedWorkGroupSizeMultiple()); cv 1676 modules/objdetect/src/hog.cpp opts = cv::format("-D WAVE_SIZE=%d", k.preferedWorkGroupSizeMultiple()); cv 1692 modules/objdetect/src/hog.cpp opts = cv::format("-D WAVE_SIZE=%d", k.preferedWorkGroupSizeMultiple()); cv 3326 modules/objdetect/src/hog.cpp void HOGDescriptor::detectROI(const cv::Mat& img, const std::vector<cv::Point> &locations, cv 3327 modules/objdetect/src/hog.cpp CV_OUT std::vector<cv::Point>& foundLocations, CV_OUT std::vector<double>& confidences, cv 3328 modules/objdetect/src/hog.cpp double hitThreshold, cv::Size winStride, cv::Size padding) const cv 3419 modules/objdetect/src/hog.cpp void HOGDescriptor::detectMultiScaleROI(const cv::Mat& img, cv 3420 modules/objdetect/src/hog.cpp CV_OUT std::vector<cv::Rect>& foundLocations, std::vector<DetectionROI>& locations, cv 3432 modules/objdetect/src/hog.cpp cv::groupRectangles(foundLocations, groupThreshold, 0.2); cv 3527 modules/objdetect/src/hog.cpp void HOGDescriptor::groupRectangles(std::vector<cv::Rect>& rectList, std::vector<double>& weights, int groupThreshold, double eps) const cv 3539 modules/objdetect/src/hog.cpp std::vector<cv::Rect_<double> > rrects(nclasses); cv 3558 modules/objdetect/src/hog.cpp cv::Rect_<double> r = rrects[i]; cv 3560 modules/objdetect/src/hog.cpp rrects[i] = cv::Rect_<double>(cv::saturate_cast<double>(r.x*s), cv 3561 modules/objdetect/src/hog.cpp cv::saturate_cast<double>(r.y*s), cv 3562 modules/objdetect/src/hog.cpp cv::saturate_cast<double>(r.width*s), cv 3563 modules/objdetect/src/hog.cpp cv::saturate_cast<double>(r.height*s)); cv 3571 modules/objdetect/src/hog.cpp cv::Rect r1 = rrects[i]; cv 3584 modules/objdetect/src/hog.cpp cv::Rect r2 = rrects[j]; cv 3586 modules/objdetect/src/hog.cpp int dx = cv::saturate_cast<int>( r2.width * eps ); cv 3587 modules/objdetect/src/hog.cpp int dy = cv::saturate_cast<int>( r2.height * eps ); cv 46 modules/objdetect/test/test_cascadeandhog.cpp using namespace cv; cv 532 modules/objdetect/test/test_cascadeandhog.cpp string tempfilename = cv::tempfile(".xml"); cv 553 modules/objdetect/test/test_cascadeandhog.cpp public cv::HOGDescriptor cv 561 modules/objdetect/test/test_cascadeandhog.cpp cv::HOGDescriptor(instance), actual_hog(&instance), cv 27 modules/photo/perf/opencl/perf_denoising.cpp cv::fastNlMeansDenoising(original, result, 10); cv 43 modules/photo/perf/opencl/perf_denoising.cpp cv::fastNlMeansDenoisingColored(original, result, 10, 10); cv 66 modules/photo/perf/opencl/perf_denoising.cpp cv::fastNlMeansDenoisingMulti(original, result, imgs_count / 2, imgs_count, 15); cv 90 modules/photo/perf/opencl/perf_denoising.cpp cv::fastNlMeansDenoisingColoredMulti(original, result, imgs_count / 2, imgs_count, 10, 15); cv 61 modules/photo/perf/perf_cuda.cpp DEF_PARAM_TEST(Sz_Depth_Cn_WinSz_BlockSz, cv::Size, MatDepth, MatCn, int, int); cv 72 modules/photo/perf/perf_cuda.cpp const cv::Size size = GET_PARAM(0); cv 79 modules/photo/perf/perf_cuda.cpp const int borderMode = cv::BORDER_REFLECT101; cv 83 modules/photo/perf/perf_cuda.cpp cv::Mat src(size, type); cv 88 modules/photo/perf/perf_cuda.cpp const cv::cuda::GpuMat d_src(src); cv 89 modules/photo/perf/perf_cuda.cpp cv::cuda::GpuMat dst; cv 91 modules/photo/perf/perf_cuda.cpp TEST_CYCLE() cv::cuda::nonLocalMeans(d_src, dst, h, search_widow_size, block_size, borderMode); cv 105 modules/photo/perf/perf_cuda.cpp DEF_PARAM_TEST(Sz_Depth_Cn_WinSz_BlockSz, cv::Size, MatDepth, MatCn, int, int); cv 116 modules/photo/perf/perf_cuda.cpp const cv::Size size = GET_PARAM(0); cv 124 modules/photo/perf/perf_cuda.cpp cv::Mat src(size, type); cv 129 modules/photo/perf/perf_cuda.cpp const cv::cuda::GpuMat d_src(src); cv 130 modules/photo/perf/perf_cuda.cpp cv::cuda::GpuMat dst; cv 132 modules/photo/perf/perf_cuda.cpp TEST_CYCLE() cv::cuda::fastNlMeansDenoising(d_src, dst, h, search_widow_size, block_size); cv 138 modules/photo/perf/perf_cuda.cpp cv::Mat dst; cv 140 modules/photo/perf/perf_cuda.cpp TEST_CYCLE() cv::fastNlMeansDenoising(src, dst, h, block_size, search_widow_size); cv 149 modules/photo/perf/perf_cuda.cpp DEF_PARAM_TEST(Sz_Depth_WinSz_BlockSz, cv::Size, MatDepth, int, int); cv 159 modules/photo/perf/perf_cuda.cpp const cv::Size size = GET_PARAM(0); cv 167 modules/photo/perf/perf_cuda.cpp cv::Mat src(size, type); cv 172 modules/photo/perf/perf_cuda.cpp const cv::cuda::GpuMat d_src(src); cv 173 modules/photo/perf/perf_cuda.cpp cv::cuda::GpuMat dst; cv 175 modules/photo/perf/perf_cuda.cpp TEST_CYCLE() cv::cuda::fastNlMeansDenoisingColored(d_src, dst, h, h, search_widow_size, block_size); cv 181 modules/photo/perf/perf_cuda.cpp cv::Mat dst; cv 183 modules/photo/perf/perf_cuda.cpp TEST_CYCLE() cv::fastNlMeansDenoisingColored(src, dst, h, h, block_size, search_widow_size); cv 4 modules/photo/perf/perf_inpaint.cpp using namespace cv; cv 51 modules/photo/src/contrast_preserve.cpp using namespace cv; cv 53 modules/photo/src/contrast_preserve.cpp void cv::decolor(InputArray _src, OutputArray _dst, OutputArray _color_boost) cv 49 modules/photo/src/contrast_preserve.hpp using namespace cv; cv 57 modules/photo/src/denoising.cpp parallel_for_(cv::Range(0, src.rows), cv 64 modules/photo/src/denoising.cpp parallel_for_(cv::Range(0, src.rows), cv 69 modules/photo/src/denoising.cpp parallel_for_(cv::Range(0, src.rows), cv 76 modules/photo/src/denoising.cpp parallel_for_(cv::Range(0, src.rows), cv 81 modules/photo/src/denoising.cpp parallel_for_(cv::Range(0, src.rows), cv 88 modules/photo/src/denoising.cpp parallel_for_(cv::Range(0, src.rows), cv 93 modules/photo/src/denoising.cpp parallel_for_(cv::Range(0, src.rows), cv 104 modules/photo/src/denoising.cpp void cv::fastNlMeansDenoising( InputArray _src, OutputArray _dst, float h, cv 111 modules/photo/src/denoising.cpp void cv::fastNlMeansDenoising( InputArray _src, OutputArray _dst, const std::vector<float>& h, cv 168 modules/photo/src/denoising.cpp void cv::fastNlMeansDenoisingColored( InputArray _src, OutputArray _dst, cv 253 modules/photo/src/denoising.cpp parallel_for_(cv::Range(0, srcImgs[0].rows), cv 261 modules/photo/src/denoising.cpp parallel_for_(cv::Range(0, srcImgs[0].rows), cv 267 modules/photo/src/denoising.cpp parallel_for_(cv::Range(0, srcImgs[0].rows), cv 275 modules/photo/src/denoising.cpp parallel_for_(cv::Range(0, srcImgs[0].rows), cv 281 modules/photo/src/denoising.cpp parallel_for_(cv::Range(0, srcImgs[0].rows), cv 289 modules/photo/src/denoising.cpp parallel_for_(cv::Range(0, srcImgs[0].rows), cv 295 modules/photo/src/denoising.cpp parallel_for_(cv::Range(0, srcImgs[0].rows), cv 307 modules/photo/src/denoising.cpp void cv::fastNlMeansDenoisingMulti( InputArrayOfArrays _srcImgs, OutputArray _dst, cv 315 modules/photo/src/denoising.cpp void cv::fastNlMeansDenoisingMulti( InputArrayOfArrays _srcImgs, OutputArray _dst, cv 376 modules/photo/src/denoising.cpp void cv::fastNlMeansDenoisingColoredMulti( InputArrayOfArrays _srcImgs, OutputArray _dst, cv 58 modules/photo/src/denoising.cuda.cpp using namespace cv; cv 59 modules/photo/src/denoising.cuda.cpp using namespace cv::cuda; cv 63 modules/photo/src/denoising.cuda.cpp void cv::cuda::nonLocalMeans(InputArray, OutputArray, float, int, int, int, Stream&) { throw_no_cuda(); } cv 64 modules/photo/src/denoising.cuda.cpp void cv::cuda::fastNlMeansDenoising(InputArray, OutputArray, float, int, int, Stream&) { throw_no_cuda(); } cv 65 modules/photo/src/denoising.cuda.cpp void cv::cuda::fastNlMeansDenoisingColored(InputArray, OutputArray, float, float, int, int, Stream&) { throw_no_cuda(); } cv 81 modules/photo/src/denoising.cuda.cpp void cv::cuda::nonLocalMeans(InputArray _src, OutputArray _dst, float h, int search_window, int block_window, int borderMode, Stream& stream) cv 83 modules/photo/src/denoising.cuda.cpp using cv::cuda::device::imgproc::nlm_bruteforce_gpu; cv 119 modules/photo/src/denoising.cuda.cpp void cv::cuda::fastNlMeansDenoising(InputArray _src, OutputArray _dst, float h, int search_window, int block_window, Stream& stream) cv 131 modules/photo/src/denoising.cuda.cpp cv::cuda::copyMakeBorder(src, extended_src, border_size, border_size, border_size, border_size, cv::BORDER_DEFAULT, Scalar(), stream); cv 138 modules/photo/src/denoising.cuda.cpp using namespace cv::cuda::device::imgproc; cv 148 modules/photo/src/denoising.cuda.cpp void cv::cuda::fastNlMeansDenoisingColored(InputArray _src, OutputArray _dst, float h_luminance, float h_color, int search_window, int block_window, Stream& stream) cv 157 modules/photo/src/denoising.cuda.cpp cv::cuda::cvtColor(src, lab, cv::COLOR_BGR2Lab, 0, stream); cv 167 modules/photo/src/denoising.cuda.cpp cv::cuda::cvtColor(lab, _dst, cv::COLOR_Lab2BGR, 0, stream); cv 51 modules/photo/src/fast_nlmeans_denoising_invoker.hpp using namespace cv; cv 45 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp using namespace cv; cv 51 modules/photo/src/fast_nlmeans_multi_denoising_invoker.hpp using namespace cv; cv 102 modules/photo/src/fast_nlmeans_multi_denoising_invoker.hpp cv::Mat& dst, cv 125 modules/photo/src/fast_nlmeans_multi_denoising_invoker.hpp border_size_, border_size_, border_size_, border_size_, cv::BORDER_DEFAULT); cv 388 modules/photo/src/inpaint.cpp CV_MAT_3COLOR_ELEM(*out,uchar,i-1,j-1,color) = cv::saturate_cast<uchar>(sat); cv 500 modules/photo/src/inpaint.cpp CV_MAT_ELEM(*out,uchar,i-1,j-1) = cv::saturate_cast<uchar>(sat); cv 597 modules/photo/src/inpaint.cpp CV_MAT_3COLOR_ELEM(*out,uchar,i-1,j-1,color) = cv::saturate_cast<uchar>((double)Ia/s); cv 685 modules/photo/src/inpaint.cpp CV_MAT_ELEM(*out,uchar,i-1,j-1) = cv::saturate_cast<uchar>((double)Ia/s); cv 721 modules/photo/src/inpaint.cpp template<> void cv::DefaultDeleter<IplConvKernel>::operator ()(IplConvKernel* obj) const cv 731 modules/photo/src/inpaint.cpp cv::Ptr<CvMat> mask, band, f, t, out; cv 732 modules/photo/src/inpaint.cpp cv::Ptr<CvPriorityQueueFloat> Heap, Out; cv 733 modules/photo/src/inpaint.cpp cv::Ptr<IplConvKernel> el_cross, el_range; cv 775 modules/photo/src/inpaint.cpp Heap=cv::makePtr<CvPriorityQueueFloat>(); cv 786 modules/photo/src/inpaint.cpp if( flags == cv::INPAINT_TELEA ) cv 793 modules/photo/src/inpaint.cpp Out=cv::makePtr<CvPriorityQueueFloat>(); cv 803 modules/photo/src/inpaint.cpp else if (flags == cv::INPAINT_NS) { cv 806 modules/photo/src/inpaint.cpp CV_Error( cv::Error::StsBadArg, "The flags argument must be one of CV_INPAINT_TELEA or CV_INPAINT_NS" ); cv 810 modules/photo/src/inpaint.cpp void cv::inpaint( InputArray _src, InputArray _mask, OutputArray _dst, cv 50 modules/photo/src/npr.cpp using namespace cv; cv 52 modules/photo/src/npr.cpp void cv::edgePreservingFilter(InputArray _src, OutputArray _dst, int flags, float sigma_s, float sigma_r) cv 74 modules/photo/src/npr.cpp void cv::detailEnhance(InputArray _src, OutputArray _dst, float sigma_s, float sigma_r) cv 119 modules/photo/src/npr.cpp void cv::pencilSketch(InputArray _src, OutputArray _dst1, OutputArray _dst2, float sigma_s, float sigma_r, float shade_factor) cv 143 modules/photo/src/npr.cpp void cv::stylization(InputArray _src, OutputArray _dst, float sigma_s, float sigma_r) cv 51 modules/photo/src/npr.hpp using namespace cv; cv 48 modules/photo/src/seamless_cloning.cpp using namespace cv; cv 50 modules/photo/src/seamless_cloning.cpp void cv::seamlessClone(InputArray _src, InputArray _dst, InputArray _mask, Point p, OutputArray _blend, int flags) cv 117 modules/photo/src/seamless_cloning.cpp void cv::colorChange(InputArray _src, InputArray _mask, OutputArray _dst, float r, float g, float b) cv 143 modules/photo/src/seamless_cloning.cpp void cv::illuminationChange(InputArray _src, InputArray _mask, OutputArray _dst, float a, float b) cv 169 modules/photo/src/seamless_cloning.cpp void cv::textureFlattening(InputArray _src, InputArray _mask, OutputArray _dst, cv 56 modules/photo/src/seamless_cloning.hpp void normalClone(const cv::Mat& destination, const cv::Mat &mask, const cv::Mat &wmask, cv::Mat &cloned, int flag); cv 57 modules/photo/src/seamless_cloning.hpp void illuminationChange(cv::Mat &I, cv::Mat &mask, cv::Mat &wmask, cv::Mat &cloned, float alpha, float beta); cv 58 modules/photo/src/seamless_cloning.hpp void localColorChange(cv::Mat &I, cv::Mat &mask, cv::Mat &wmask, cv::Mat &cloned, float red_mul, float green_mul, float blue_mul); cv 59 modules/photo/src/seamless_cloning.hpp void textureFlatten(cv::Mat &I, cv::Mat &mask, cv::Mat &wmask, float low_threshold, float high_threhold, int kernel_size, cv::Mat &cloned); cv 63 modules/photo/src/seamless_cloning.hpp void initVariables(const cv::Mat &destination, const cv::Mat &binaryMask); cv 64 modules/photo/src/seamless_cloning.hpp void computeDerivatives(const cv::Mat &destination, const cv::Mat &patch, const cv::Mat &binaryMask); cv 65 modules/photo/src/seamless_cloning.hpp void scalarProduct(cv::Mat mat, float r, float g, float b); cv 66 modules/photo/src/seamless_cloning.hpp void poisson(const cv::Mat &destination); cv 67 modules/photo/src/seamless_cloning.hpp void evaluate(const cv::Mat &I, const cv::Mat &wmask, const cv::Mat &cloned); cv 72 modules/photo/src/seamless_cloning.hpp void poissonSolver(const cv::Mat &img, cv::Mat &gxx , cv::Mat &gyy, cv::Mat &result); cv 74 modules/photo/src/seamless_cloning.hpp void arrayProduct(const cv::Mat& lhs, const cv::Mat& rhs, cv::Mat& result) const; cv 76 modules/photo/src/seamless_cloning.hpp void computeGradientX(const cv::Mat &img, cv::Mat &gx); cv 77 modules/photo/src/seamless_cloning.hpp void computeGradientY(const cv::Mat &img, cv::Mat &gy); cv 78 modules/photo/src/seamless_cloning.hpp void computeLaplacianX(const cv::Mat &img, cv::Mat &gxx); cv 79 modules/photo/src/seamless_cloning.hpp void computeLaplacianY(const cv::Mat &img, cv::Mat &gyy); cv 82 modules/photo/src/seamless_cloning.hpp std::vector <cv::Mat> rgbx_channel, rgby_channel, output; cv 83 modules/photo/src/seamless_cloning.hpp cv::Mat destinationGradientX, destinationGradientY; cv 84 modules/photo/src/seamless_cloning.hpp cv::Mat patchGradientX, patchGradientY; cv 85 modules/photo/src/seamless_cloning.hpp cv::Mat binaryMaskFloat, binaryMaskFloatInverted; cv 44 modules/photo/src/seamless_cloning_impl.cpp using namespace cv; cv 290 modules/photo/src/seamless_cloning_impl.cpp void Cloning::arrayProduct(const cv::Mat& lhs, const cv::Mat& rhs, cv::Mat& result) const cv 85 modules/photo/test/ocl/test_denoising.cpp OCL_OFF(cv::fastNlMeansDenoising(src_roi, dst_roi, std::vector<float>(1, h[0]), templateWindowSize, searchWindowSize, normType)); cv 86 modules/photo/test/ocl/test_denoising.cpp OCL_ON(cv::fastNlMeansDenoising(usrc_roi, udst_roi, std::vector<float>(1, h[0]), templateWindowSize, searchWindowSize, normType)); cv 100 modules/photo/test/ocl/test_denoising.cpp OCL_OFF(cv::fastNlMeansDenoising(src_roi, dst_roi, h, templateWindowSize, searchWindowSize, normType)); cv 101 modules/photo/test/ocl/test_denoising.cpp OCL_ON(cv::fastNlMeansDenoising(usrc_roi, udst_roi, h, templateWindowSize, searchWindowSize, normType)); cv 115 modules/photo/test/ocl/test_denoising.cpp OCL_OFF(cv::fastNlMeansDenoisingColored(src_roi, dst_roi, h[0], h[0], templateWindowSize, searchWindowSize)); cv 116 modules/photo/test/ocl/test_denoising.cpp OCL_ON(cv::fastNlMeansDenoisingColored(usrc_roi, udst_roi, h[0], h[0], templateWindowSize, searchWindowSize)); cv 56 modules/photo/test/test_cloning.cpp using namespace cv; cv 47 modules/photo/test/test_decolor.cpp using namespace cv; cv 43 modules/photo/test/test_denoise_tvl1.cpp void make_noisy(const cv::Mat& img, cv::Mat& noisy, double sigma, double pepper_salt_ratio,cv::RNG& rng) cv 46 modules/photo/test/test_denoise_tvl1.cpp cv::Mat noise(img.size(), img.type()), mask(img.size(), CV_8U); cv 47 modules/photo/test/test_denoise_tvl1.cpp rng.fill(noise,cv::RNG::NORMAL,128.0,sigma); cv 48 modules/photo/test/test_denoise_tvl1.cpp cv::addWeighted(img, 1, noise, 1, -128, noisy); cv 49 modules/photo/test/test_denoise_tvl1.cpp cv::randn(noise, cv::Scalar::all(0), cv::Scalar::all(2)); cv 51 modules/photo/test/test_denoise_tvl1.cpp cv::randu(mask, 0, cvRound(1./pepper_salt_ratio)); cv 52 modules/photo/test/test_denoise_tvl1.cpp cv::Mat half = mask.colRange(0, img.cols/2); cv 53 modules/photo/test/test_denoise_tvl1.cpp half = cv::Scalar::all(1); cv 55 modules/photo/test/test_denoise_tvl1.cpp cv::addWeighted(noisy, 1, noise, 1, -128, noisy); cv 58 modules/photo/test/test_denoise_tvl1.cpp void make_spotty(cv::Mat& img,cv::RNG& rng, int r=3,int n=1000) cv 64 modules/photo/test/test_denoise_tvl1.cpp img(cv::Range(y,y+r),cv::Range(x,x+r))=(uchar)0; cv 66 modules/photo/test/test_denoise_tvl1.cpp img(cv::Range(y,y+r),cv::Range(x,x+r))=(uchar)255; cv 70 modules/photo/test/test_denoise_tvl1.cpp bool validate_pixel(const cv::Mat& image,int x,int y,uchar val) cv 79 modules/photo/test/test_denoise_tvl1.cpp cv::RNG rng(42); cv 80 modules/photo/test/test_denoise_tvl1.cpp cv::Mat img = cv::imread(cvtest::TS::ptr()->get_data_path() + "shared/lena.png", 0), noisy, res; cv 85 modules/photo/test/test_denoise_tvl1.cpp std::vector<cv::Mat> images(obs_num, cv::Mat()); cv 93 modules/photo/test/test_denoise_tvl1.cpp cv::denoise_TVL1(images, res); cv 47 modules/photo/test/test_denoising.cpp using namespace cv; cv 151 modules/photo/test/test_denoising.cpp cv::Mat img(50, 50, CV_8UC1, cv::Scalar::all(255)); cv 152 modules/photo/test/test_denoising.cpp cv::Mat filtered; cv 153 modules/photo/test/test_denoising.cpp cv::fastNlMeansDenoising(img, filtered); cv 155 modules/photo/test/test_denoising.cpp int nonWhitePixelsCount = (int)img.total() - cv::countNonZero(filtered == img); cv 60 modules/photo/test/test_denoising.cuda.cpp using cv::cuda::GpuMat; cv 62 modules/photo/test/test_denoising.cuda.cpp cv::Mat bgr = readImage("../gpu/denoising/lena_noised_gaussian_sigma=20_multi_0.png", cv::IMREAD_COLOR); cv 64 modules/photo/test/test_denoising.cuda.cpp cv::resize(bgr, bgr, cv::Size(256, 256)); cv 66 modules/photo/test/test_denoising.cuda.cpp cv::Mat gray; cv 67 modules/photo/test/test_denoising.cuda.cpp cv::cvtColor(bgr, gray, cv::COLOR_BGR2GRAY); cv 70 modules/photo/test/test_denoising.cuda.cpp cv::cuda::nonLocalMeans(GpuMat(bgr), dbgr, 20); cv 71 modules/photo/test/test_denoising.cuda.cpp cv::cuda::nonLocalMeans(GpuMat(gray), dgray, 20); cv 74 modules/photo/test/test_denoising.cuda.cpp dumpImage("../gpu/denoising/nlm_denoised_lena_bgr.png", cv::Mat(dbgr)); cv 75 modules/photo/test/test_denoising.cuda.cpp dumpImage("../gpu/denoising/nlm_denoised_lena_gray.png", cv::Mat(dgray)); cv 78 modules/photo/test/test_denoising.cuda.cpp cv::Mat bgr_gold = readImage("../gpu/denoising/nlm_denoised_lena_bgr.png", cv::IMREAD_COLOR); cv 79 modules/photo/test/test_denoising.cuda.cpp cv::Mat gray_gold = readImage("../gpu/denoising/nlm_denoised_lena_gray.png", cv::IMREAD_GRAYSCALE); cv 81 modules/photo/test/test_denoising.cuda.cpp cv::resize(bgr_gold, bgr_gold, cv::Size(256, 256)); cv 82 modules/photo/test/test_denoising.cuda.cpp cv::resize(gray_gold, gray_gold, cv::Size(256, 256)); cv 93 modules/photo/test/test_denoising.cuda.cpp using cv::cuda::GpuMat; cv 95 modules/photo/test/test_denoising.cuda.cpp cv::Mat bgr = readImage("../gpu/denoising/lena_noised_gaussian_sigma=20_multi_0.png", cv::IMREAD_COLOR); cv 98 modules/photo/test/test_denoising.cuda.cpp cv::Mat gray; cv 99 modules/photo/test/test_denoising.cuda.cpp cv::cvtColor(bgr, gray, cv::COLOR_BGR2GRAY); cv 103 modules/photo/test/test_denoising.cuda.cpp cv::cuda::fastNlMeansDenoising(GpuMat(gray), dgray, 20); cv 104 modules/photo/test/test_denoising.cuda.cpp cv::cuda::fastNlMeansDenoisingColored(GpuMat(bgr), dbgr, 20, 10); cv 107 modules/photo/test/test_denoising.cuda.cpp dumpImage("../gpu/denoising/fnlm_denoised_lena_bgr.png", cv::Mat(dbgr)); cv 108 modules/photo/test/test_denoising.cuda.cpp dumpImage("../gpu/denoising/fnlm_denoised_lena_gray.png", cv::Mat(dgray)); cv 111 modules/photo/test/test_denoising.cuda.cpp cv::Mat bgr_gold = readImage("../gpu/denoising/fnlm_denoised_lena_bgr.png", cv::IMREAD_COLOR); cv 112 modules/photo/test/test_denoising.cuda.cpp cv::Mat gray_gold = readImage("../gpu/denoising/fnlm_denoised_lena_gray.png", cv::IMREAD_GRAYSCALE); cv 44 modules/photo/test/test_hdr.cpp using namespace cv; cv 47 modules/photo/test/test_inpaint.cpp using namespace cv; cv 81 modules/photo/test/test_inpaint.cpp cv::cvtColor(mask, mask1ch, COLOR_BGR2GRAY); cv 47 modules/photo/test/test_npr.cpp using namespace cv; cv 79 modules/python/src2/cv2.cpp catch (const cv::Exception &e) \ cv 85 modules/python/src2/cv2.cpp using namespace cv; cv 175 modules/python/src2/cv2.cpp cv::AutoBuffer<npy_intp> _sizes(dims + 1); cv 539 modules/python/src2/cv2.cpp value = cv::saturate_cast<uchar>(ivalue); cv 1019 modules/python/src2/cv2.cpp bool pyopencv_to(PyObject *o, cv::flann::IndexParams& p, const char *name) cv 1067 modules/python/src2/cv2.cpp bool pyopencv_to(PyObject* obj, cv::flann::SearchParams & value, const char * name) cv 1069 modules/python/src2/cv2.cpp return pyopencv_to<cv::flann::IndexParams>(obj, value, name); cv 219 modules/shape/include/opencv2/shape/shape_distance.hpp CV_EXPORTS_W Ptr<HausdorffDistanceExtractor> createHausdorffDistanceExtractor(int distanceFlag=cv::NORM_L2, float rankProp=0.6f); cv 60 modules/shape/src/emdL1.cpp float EmdL1::getEMDL1(cv::Mat &sig1, cv::Mat &sig2) cv 788 modules/shape/src/emdL1.cpp float cv::EMDL1(InputArray _signature1, InputArray _signature2) cv 99 modules/shape/src/emdL1_def.hpp float getEMDL1(cv::Mat &sig1, cv::Mat &sig2); cv 125 modules/shape/src/haus_dis.cpp cv::sort(shortest, sorted, SORT_EVERY_ROW | SORT_DESCENDING); cv 136 modules/shape/src/hist_cost.cpp cv::Mat scd1 = descriptors1.clone(); cv 137 modules/shape/src/hist_cost.cpp cv::Mat scd2 = descriptors2.clone(); cv 260 modules/shape/src/hist_cost.cpp cv::Mat scd1=descriptors1.clone(); cv 261 modules/shape/src/hist_cost.cpp cv::Mat scd2=descriptors2.clone(); cv 266 modules/shape/src/hist_cost.cpp cv::Mat row = scd1.row(i); cv 271 modules/shape/src/hist_cost.cpp cv::Mat row = scd2.row(i); cv 282 modules/shape/src/hist_cost.cpp cv::Mat sig1(scd1.cols,2,CV_32F), sig2(scd2.cols,2,CV_32F); cv 294 modules/shape/src/hist_cost.cpp costMatrix.at<float>(i,j) = cv::EMD(sig1, sig2, flag); cv 381 modules/shape/src/hist_cost.cpp cv::Mat scd1=descriptors1.clone(); cv 382 modules/shape/src/hist_cost.cpp cv::Mat scd2=descriptors2.clone(); cv 387 modules/shape/src/hist_cost.cpp cv::Mat row = scd1.row(i); cv 392 modules/shape/src/hist_cost.cpp cv::Mat row = scd2.row(i); cv 497 modules/shape/src/hist_cost.cpp cv::Mat scd1=descriptors1.clone(); cv 498 modules/shape/src/hist_cost.cpp cv::Mat scd2=descriptors2.clone(); cv 503 modules/shape/src/hist_cost.cpp cv::Mat row = scd1.row(i); cv 508 modules/shape/src/hist_cost.cpp cv::Mat row = scd2.row(i); cv 519 modules/shape/src/hist_cost.cpp cv::Mat sig1(scd1.cols,1,CV_32F), sig2(scd2.cols,1,CV_32F); cv 522 modules/shape/src/hist_cost.cpp costMatrix.at<float>(i,j) = cv::EMDL1(sig1, sig2); cv 309 modules/shape/src/sc_dis.cpp iAppearance = float(cv::sum(appIm)[0]/sset1.cols); cv 324 modules/shape/src/sc_dis.cpp void SCD::extractSCD(cv::Mat &contour, cv::Mat &descriptors, const std::vector<int> &queryInliers, const float _meanDistance) cv 326 modules/shape/src/sc_dis.cpp cv::Mat contourMat = contour; cv 327 modules/shape/src/sc_dis.cpp cv::Mat disMatrix = cv::Mat::zeros(contourMat.cols, contourMat.cols, CV_32F); cv 328 modules/shape/src/sc_dis.cpp cv::Mat angleMatrix = cv::Mat::zeros(contourMat.cols, contourMat.cols, CV_32F); cv 337 modules/shape/src/sc_dis.cpp descriptors = cv::Mat::zeros(contourMat.cols, descriptorSize(), CV_32F); cv 402 modules/shape/src/sc_dis.cpp void SCD::buildNormalizedDistanceMatrix(cv::Mat &contour, cv::Mat &disMatrix, const std::vector<int> &queryInliers, const float _meanDistance) cv 404 modules/shape/src/sc_dis.cpp cv::Mat contourMat = contour; cv 405 modules/shape/src/sc_dis.cpp cv::Mat mask(disMatrix.rows, disMatrix.cols, CV_8U); cv 411 modules/shape/src/sc_dis.cpp disMatrix.at<float>(i,j) = (float)norm( cv::Mat(contourMat.at<cv::Point2f>(0,i)-contourMat.at<cv::Point2f>(0,j)), cv::NORM_L2 ); cv 437 modules/shape/src/sc_dis.cpp void SCD::buildAngleMatrix(cv::Mat &contour, cv::Mat &angleMatrix) const cv 439 modules/shape/src/sc_dis.cpp cv::Mat contourMat = contour; cv 442 modules/shape/src/sc_dis.cpp cv::Point2f massCenter(0,0); cv 447 modules/shape/src/sc_dis.cpp massCenter+=contourMat.at<cv::Point2f>(0,i); cv 464 modules/shape/src/sc_dis.cpp cv::Point2f dif = contourMat.at<cv::Point2f>(0,i) - contourMat.at<cv::Point2f>(0,j); cv 469 modules/shape/src/sc_dis.cpp cv::Point2f refPt = contourMat.at<cv::Point2f>(0,i) - massCenter; cv 480 modules/shape/src/sc_dis.cpp void SCDMatcher::matchDescriptors(cv::Mat &descriptors1, cv::Mat &descriptors2, std::vector<cv::DMatch> &matches, cv 481 modules/shape/src/sc_dis.cpp cv::Ptr<cv::HistogramCostExtractor> &comparer, std::vector<int> &inliers1, std::vector<int> &inliers2) cv 486 modules/shape/src/sc_dis.cpp cv::Mat costMat; cv 493 modules/shape/src/sc_dis.cpp void SCDMatcher::buildCostMatrix(const cv::Mat &descriptors1, const cv::Mat &descriptors2, cv 494 modules/shape/src/sc_dis.cpp cv::Mat &costMatrix, cv::Ptr<cv::HistogramCostExtractor> &comparer) const cv 499 modules/shape/src/sc_dis.cpp void SCDMatcher::hungarian(cv::Mat &costMatrix, std::vector<cv::DMatch> &outMatches, std::vector<int> &inliers1, cv 734 modules/shape/src/sc_dis.cpp cv::Mat trueCostMatrix(costMatrix, cv::Rect(0,0,sizeScd1, sizeScd2)); cv 758 modules/shape/src/sc_dis.cpp cv::DMatch singleMatch(colsol[i],i,costMatrix.at<float>(colsol[i],i));//queryIdx,trainIdx,distance cv 66 modules/shape/src/scd_def.hpp void extractSCD(cv::Mat& contour, cv::Mat& descriptors, cv 95 modules/shape/src/scd_def.hpp void buildNormalizedDistanceMatrix(cv::Mat& contour, cv 96 modules/shape/src/scd_def.hpp cv::Mat& disMatrix, const std::vector<int> &queryInliers, cv 99 modules/shape/src/scd_def.hpp void buildAngleMatrix(cv::Mat& contour, cv 100 modules/shape/src/scd_def.hpp cv::Mat& angleMatrix) const; cv 115 modules/shape/src/scd_def.hpp void matchDescriptors(cv::Mat& descriptors1, cv::Mat& descriptors2, std::vector<cv::DMatch>& matches, cv::Ptr<cv::HistogramCostExtractor>& comparer, cv 124 modules/shape/src/scd_def.hpp void buildCostMatrix(const cv::Mat& descriptors1, const cv::Mat& descriptors2, cv 125 modules/shape/src/scd_def.hpp cv::Mat& costMatrix, cv::Ptr<cv::HistogramCostExtractor>& comparer) const; cv 126 modules/shape/src/scd_def.hpp void hungarian(cv::Mat& costMatrix, std::vector<cv::DMatch>& outMatches, std::vector<int> &inliers1, cv 44 modules/shape/test/test_shape.cpp using namespace cv; cv 144 modules/stitching/include/opencv2/stitching.hpp const cv::UMat& matchingMask() const { return matching_mask_; } cv 145 modules/stitching/include/opencv2/stitching.hpp void setMatchingMask(const cv::UMat &mask) cv 228 modules/stitching/include/opencv2/stitching.hpp cv::UMat matching_mask_; cv 237 modules/stitching/include/opencv2/stitching.hpp std::vector<cv::UMat> imgs_; cv 238 modules/stitching/include/opencv2/stitching.hpp std::vector<std::vector<cv::Rect> > rois_; cv 239 modules/stitching/include/opencv2/stitching.hpp std::vector<cv::Size> full_img_sizes_; cv 242 modules/stitching/include/opencv2/stitching.hpp std::vector<cv::UMat> seam_est_imgs_; cv 85 modules/stitching/include/opencv2/stitching/detail/matchers.hpp void operator ()(InputArray image, ImageFeatures &features, const std::vector<cv::Rect> &rois); cv 200 modules/stitching/include/opencv2/stitching/detail/matchers.hpp const cv::UMat &mask = cv::UMat()); cv 263 modules/stitching/include/opencv2/stitching/detail/matchers.hpp const cv::UMat &mask = cv::UMat()); cv 263 modules/stitching/include/opencv2/stitching/detail/seam_finders.hpp void find(const std::vector<cv::UMat> &src, const std::vector<cv::Point> &corners, cv 264 modules/stitching/include/opencv2/stitching/detail/seam_finders.hpp std::vector<cv::UMat> &masks); cv 268 modules/stitching/include/opencv2/stitching/detail/seam_finders.hpp void setGraphWeightsColor(const cv::Mat &img1, const cv::Mat &img2, const cv::Mat &mask1, const cv::Mat &mask2, cv 269 modules/stitching/include/opencv2/stitching/detail/seam_finders.hpp cv::Mat &terminals, cv::Mat &leftT, cv::Mat &rightT, cv::Mat &top, cv::Mat &bottom); cv 270 modules/stitching/include/opencv2/stitching/detail/seam_finders.hpp void setGraphWeightsColorGrad(const cv::Mat &img1, const cv::Mat &img2, const cv::Mat &dx1, const cv::Mat &dx2, cv 271 modules/stitching/include/opencv2/stitching/detail/seam_finders.hpp const cv::Mat &dy1, const cv::Mat &dy2, const cv::Mat &mask1, const cv::Mat &mask2, cv 272 modules/stitching/include/opencv2/stitching/detail/seam_finders.hpp cv::Mat &terminals, cv::Mat &leftT, cv::Mat &rightT, cv::Mat &top, cv::Mat &bottom); cv 77 modules/stitching/include/opencv2/stitching/detail/util.hpp if ((_level) >= ::cv::detail::stitchingLogLevel()) \ cv 10 modules/stitching/perf/opencl/perf_stitch.cpp using namespace cv; cv 151 modules/stitching/perf/opencl/perf_warpers.cpp cv::waitKey(); cv 7 modules/stitching/perf/perf_stich.cpp using namespace cv; cv 45 modules/stitching/src/autocalib.cpp using namespace cv; cv 371 modules/stitching/src/blenders.cpp if ( !cv::ocl::useOpenCL() || cv 489 modules/stitching/src/blenders.cpp if ( !cv::ocl::useOpenCL() || cv 554 modules/stitching/src/blenders.cpp cv::Mat imgMat = img.getMat(); cv 45 modules/stitching/src/matchers.cpp using namespace cv; cv 46 modules/stitching/src/matchers.cpp using namespace cv::detail; cv 47 modules/stitching/src/matchers.cpp using namespace cv::cuda; cv 157 modules/stitching/src/matchers.cpp Ptr<cv::DescriptorMatcher> matcher; cv 47 modules/stitching/src/motion_estimators.cpp using namespace cv; cv 48 modules/stitching/src/motion_estimators.cpp using namespace cv::detail; cv 615 modules/stitching/src/seam_finders.cpp cv::partition(specialPoints, labels, ClosePoints(10)); cv 46 modules/stitching/src/warpers_cuda.cpp using namespace cv; cv 47 modules/stitching/src/warpers_cuda.cpp using namespace cv::cuda; cv 149 modules/stitching/src/warpers_cuda.cpp Rect cv::detail::PlaneWarperGpu::buildMaps(Size src_size, InputArray K, InputArray R, cv 155 modules/stitching/src/warpers_cuda.cpp Rect cv::detail::PlaneWarperGpu::buildMaps(Size src_size, InputArray K, InputArray R, InputArray T, cv 180 modules/stitching/src/warpers_cuda.cpp Point cv::detail::PlaneWarperGpu::warp(const cuda::GpuMat & src, InputArray K, InputArray R, cv 188 modules/stitching/src/warpers_cuda.cpp Point cv::detail::PlaneWarperGpu::warp(const cuda::GpuMat & src, InputArray K, InputArray R, InputArray T, cv 210 modules/stitching/src/warpers_cuda.cpp Rect cv::detail::SphericalWarperGpu::buildMaps(Size src_size, InputArray K, InputArray R, cuda::GpuMat & xmap, cuda::GpuMat & ymap) cv 233 modules/stitching/src/warpers_cuda.cpp Point cv::detail::SphericalWarperGpu::warp(const cuda::GpuMat & src, InputArray K, InputArray R, cv 255 modules/stitching/src/warpers_cuda.cpp Rect cv::detail::CylindricalWarperGpu::buildMaps(Size src_size, InputArray K, InputArray R, cv 279 modules/stitching/src/warpers_cuda.cpp Point cv::detail::CylindricalWarperGpu::warp(const cuda::GpuMat & src, InputArray K, InputArray R, cv 44 modules/stitching/test/test_blenders.cpp using namespace cv; cv 47 modules/stitching/test/test_matchers.cpp using namespace cv; cv 87 modules/superres/include/opencv2/superres.hpp class CV_EXPORTS SuperResolution : public cv::Algorithm, public FrameSource cv 163 modules/superres/include/opencv2/superres.hpp virtual Ptr<cv::superres::DenseOpticalFlowExt> getOpticalFlow() const = 0; cv 165 modules/superres/include/opencv2/superres.hpp virtual void setOpticalFlow(const Ptr<cv::superres::DenseOpticalFlowExt> &val) = 0; cv 56 modules/superres/include/opencv2/superres/optical_flow.hpp class CV_EXPORTS DenseOpticalFlowExt : public cv::Algorithm cv 50 modules/superres/perf/perf_superres.cpp using namespace cv; cv 51 modules/superres/perf/perf_superres.cpp using namespace cv::superres; cv 52 modules/superres/perf/perf_superres.cpp using namespace cv::cuda; cv 97 modules/superres/perf/perf_superres.cpp cv::Size size = frame0.size(); cv 102 modules/superres/perf/perf_superres.cpp flow1.setTo(cv::Scalar::all(0)); cv 109 modules/superres/perf/perf_superres.cpp flow1.setTo(cv::Scalar::all(0)); cv 110 modules/superres/perf/perf_superres.cpp flow2.setTo(cv::Scalar::all(0)); cv 49 modules/superres/src/btv_l1.cpp using namespace cv; cv 50 modules/superres/src/btv_l1.cpp using namespace cv::superres; cv 51 modules/superres/src/btv_l1.cpp using namespace cv::superres::detail; cv 463 modules/superres/src/btv_l1.cpp class BTVL1_Base : public cv::superres::SuperResolution cv 482 modules/superres/src/btv_l1.cpp CV_IMPL_PROPERTY_S(Ptr<cv::superres::DenseOpticalFlowExt>, OpticalFlow, opticalFlow_) cv 494 modules/superres/src/btv_l1.cpp Ptr<cv::superres::DenseOpticalFlowExt> opticalFlow_; cv 1100 modules/superres/src/btv_l1.cpp Ptr<cv::superres::SuperResolution> cv::superres::createSuperResolution_BTVL1() cv 48 modules/superres/src/btv_l1_cuda.cpp using namespace cv; cv 49 modules/superres/src/btv_l1_cuda.cpp using namespace cv::cuda; cv 50 modules/superres/src/btv_l1_cuda.cpp using namespace cv::superres; cv 51 modules/superres/src/btv_l1_cuda.cpp using namespace cv::superres::detail; cv 55 modules/superres/src/btv_l1_cuda.cpp Ptr<SuperResolution> cv::superres::createSuperResolution_BTVL1_CUDA() cv 210 modules/superres/src/btv_l1_cuda.cpp class BTVL1_CUDA_Base : public cv::superres::SuperResolution cv 230 modules/superres/src/btv_l1_cuda.cpp CV_IMPL_PROPERTY_S(Ptr<cv::superres::DenseOpticalFlowExt>, OpticalFlow, opticalFlow_) cv 242 modules/superres/src/btv_l1_cuda.cpp Ptr<cv::superres::DenseOpticalFlowExt> opticalFlow_; cv 576 modules/superres/src/btv_l1_cuda.cpp Ptr<SuperResolution> cv::superres::createSuperResolution_BTVL1_CUDA() cv 44 modules/superres/src/frame_source.cpp using namespace cv; cv 45 modules/superres/src/frame_source.cpp using namespace cv::cuda; cv 46 modules/superres/src/frame_source.cpp using namespace cv::superres; cv 47 modules/superres/src/frame_source.cpp using namespace cv::superres::detail; cv 49 modules/superres/src/frame_source.cpp cv::superres::FrameSource::~FrameSource() cv 75 modules/superres/src/frame_source.cpp Ptr<FrameSource> cv::superres::createFrameSource_Empty() cv 85 modules/superres/src/frame_source.cpp Ptr<FrameSource> cv::superres::createFrameSource_Video(const String& fileName) cv 88 modules/superres/src/frame_source.cpp CV_Error(cv::Error::StsNotImplemented, "The called functionality is disabled for current build or platform"); cv 92 modules/superres/src/frame_source.cpp Ptr<FrameSource> cv::superres::createFrameSource_Camera(int deviceId) cv 95 modules/superres/src/frame_source.cpp CV_Error(cv::Error::StsNotImplemented, "The called functionality is disabled for current build or platform"); cv 180 modules/superres/src/frame_source.cpp Ptr<FrameSource> cv::superres::createFrameSource_Video(const String& fileName) cv 185 modules/superres/src/frame_source.cpp Ptr<FrameSource> cv::superres::createFrameSource_Camera(int deviceId) cv 197 modules/superres/src/frame_source.cpp Ptr<FrameSource> cv::superres::createFrameSource_Video_CUDA(const String& fileName) cv 200 modules/superres/src/frame_source.cpp CV_Error(cv::Error::StsNotImplemented, "The called functionality is disabled for current build or platform"); cv 251 modules/superres/src/frame_source.cpp Ptr<FrameSource> cv::superres::createFrameSource_Video_CUDA(const String& fileName) cv 45 modules/superres/src/input_array_utility.cpp using namespace cv; cv 46 modules/superres/src/input_array_utility.cpp using namespace cv::cuda; cv 48 modules/superres/src/input_array_utility.cpp Mat cv::superres::arrGetMat(InputArray arr, Mat& buf) cv 65 modules/superres/src/input_array_utility.cpp UMat cv::superres::arrGetUMat(InputArray arr, UMat& buf) cv 82 modules/superres/src/input_array_utility.cpp GpuMat cv::superres::arrGetGpuMat(InputArray arr, GpuMat& buf) cv 130 modules/superres/src/input_array_utility.cpp void cv::superres::arrCopy(InputArray src, OutputArray dst) cv 191 modules/superres/src/input_array_utility.cpp CV_Error(cv::Error::StsNotImplemented, "The called functionality is disabled for current build or platform"); cv 196 modules/superres/src/input_array_utility.cpp cv::cvtColor(src, dst, code, cn); cv 236 modules/superres/src/input_array_utility.cpp Mat cv::superres::convertToType(const Mat& src, int type, Mat& buf0, Mat& buf1) cv 261 modules/superres/src/input_array_utility.cpp UMat cv::superres::convertToType(const UMat& src, int type, UMat& buf0, UMat& buf1) cv 286 modules/superres/src/input_array_utility.cpp GpuMat cv::superres::convertToType(const GpuMat& src, int type, GpuMat& buf0, GpuMat& buf1) cv 46 modules/superres/src/optical_flow.cpp using namespace cv; cv 47 modules/superres/src/optical_flow.cpp using namespace cv::cuda; cv 48 modules/superres/src/optical_flow.cpp using namespace cv::superres; cv 49 modules/superres/src/optical_flow.cpp using namespace cv::superres::detail; cv 56 modules/superres/src/optical_flow.cpp class CpuOpticalFlow : public virtual cv::superres::DenseOpticalFlowExt cv 176 modules/superres/src/optical_flow.cpp class Farneback : public CpuOpticalFlow, public cv::superres::FarnebackOpticalFlow cv 233 modules/superres/src/optical_flow.cpp Ptr<cv::superres::FarnebackOpticalFlow> cv::superres::createOptFlow_Farneback() cv 331 modules/superres/src/optical_flow.cpp class DualTVL1 : public CpuOpticalFlow, public virtual cv::superres::DualTVL1OpticalFlow cv 351 modules/superres/src/optical_flow.cpp Ptr<cv::DualTVL1OpticalFlow> alg_; cv 356 modules/superres/src/optical_flow.cpp alg_ = cv::createOptFlow_DualTVL1(); cv 376 modules/superres/src/optical_flow.cpp Ptr<cv::superres::DualTVL1OpticalFlow> cv::superres::createOptFlow_DualTVL1() cv 386 modules/superres/src/optical_flow.cpp Ptr<cv::superres::FarnebackOpticalFlow> cv::superres::createOptFlow_Farneback_CUDA() cv 388 modules/superres/src/optical_flow.cpp CV_Error(cv::Error::StsNotImplemented, "The called functionality is disabled for current build or platform"); cv 389 modules/superres/src/optical_flow.cpp return Ptr<cv::superres::FarnebackOpticalFlow>(); cv 392 modules/superres/src/optical_flow.cpp Ptr<cv::superres::DualTVL1OpticalFlow> cv::superres::createOptFlow_DualTVL1_CUDA() cv 394 modules/superres/src/optical_flow.cpp CV_Error(cv::Error::StsNotImplemented, "The called functionality is disabled for current build or platform"); cv 395 modules/superres/src/optical_flow.cpp return Ptr<cv::superres::DualTVL1OpticalFlow>(); cv 398 modules/superres/src/optical_flow.cpp Ptr<cv::superres::BroxOpticalFlow> cv::superres::createOptFlow_Brox_CUDA() cv 400 modules/superres/src/optical_flow.cpp CV_Error(cv::Error::StsNotImplemented, "The called functionality is disabled for current build or platform"); cv 401 modules/superres/src/optical_flow.cpp return Ptr<cv::superres::BroxOpticalFlow>(); cv 404 modules/superres/src/optical_flow.cpp Ptr<cv::superres::PyrLKOpticalFlow> cv::superres::createOptFlow_PyrLK_CUDA() cv 406 modules/superres/src/optical_flow.cpp CV_Error(cv::Error::StsNotImplemented, "The called functionality is disabled for current build or platform"); cv 407 modules/superres/src/optical_flow.cpp return Ptr<cv::superres::PyrLKOpticalFlow>(); cv 414 modules/superres/src/optical_flow.cpp class GpuOpticalFlow : public virtual cv::superres::DenseOpticalFlowExt cv 482 modules/superres/src/optical_flow.cpp class Brox_CUDA : public GpuOpticalFlow, public virtual cv::superres::BroxOpticalFlow cv 553 modules/superres/src/optical_flow.cpp Ptr<cv::superres::BroxOpticalFlow> cv::superres::createOptFlow_Brox_CUDA() cv 563 modules/superres/src/optical_flow.cpp class PyrLK_CUDA : public GpuOpticalFlow, public cv::superres::PyrLKOpticalFlow cv 622 modules/superres/src/optical_flow.cpp Ptr<cv::superres::PyrLKOpticalFlow> cv::superres::createOptFlow_PyrLK_CUDA() cv 632 modules/superres/src/optical_flow.cpp class Farneback_CUDA : public GpuOpticalFlow, public cv::superres::FarnebackOpticalFlow cv 707 modules/superres/src/optical_flow.cpp Ptr<cv::superres::FarnebackOpticalFlow> cv::superres::createOptFlow_Farneback_CUDA() cv 717 modules/superres/src/optical_flow.cpp class DualTVL1_CUDA : public GpuOpticalFlow, public cv::superres::DualTVL1OpticalFlow cv 796 modules/superres/src/optical_flow.cpp Ptr<cv::superres::DualTVL1OpticalFlow> cv::superres::createOptFlow_DualTVL1_CUDA() cv 45 modules/superres/src/super_resolution.cpp using namespace cv; cv 46 modules/superres/src/super_resolution.cpp using namespace cv::superres; cv 48 modules/superres/src/super_resolution.cpp cv::superres::SuperResolution::SuperResolution() cv 55 modules/superres/src/super_resolution.cpp void cv::superres::SuperResolution::setInput(const Ptr<FrameSource>& frameSource) cv 62 modules/superres/src/super_resolution.cpp void cv::superres::SuperResolution::nextFrame(OutputArray frame) cv 75 modules/superres/src/super_resolution.cpp void cv::superres::SuperResolution::reset() cv 82 modules/superres/src/super_resolution.cpp void cv::superres::SuperResolution::collectGarbage() cv 48 modules/superres/test/test_superres.cpp class AllignedFrameSource : public cv::superres::FrameSource cv 51 modules/superres/test/test_superres.cpp AllignedFrameSource(const cv::Ptr<cv::superres::FrameSource>& base, int scale); cv 53 modules/superres/test/test_superres.cpp void nextFrame(cv::OutputArray frame); cv 57 modules/superres/test/test_superres.cpp cv::Ptr<cv::superres::FrameSource> base_; cv 59 modules/superres/test/test_superres.cpp cv::Mat origFrame_; cv 63 modules/superres/test/test_superres.cpp AllignedFrameSource::AllignedFrameSource(const cv::Ptr<cv::superres::FrameSource>& base, int scale) : cv 69 modules/superres/test/test_superres.cpp void AllignedFrameSource::nextFrame(cv::OutputArray frame) cv 74 modules/superres/test/test_superres.cpp cv::superres::arrCopy(origFrame_, frame); cv 77 modules/superres/test/test_superres.cpp cv::Rect ROI(0, 0, (origFrame_.cols / scale_) * scale_, (origFrame_.rows / scale_) * scale_); cv 78 modules/superres/test/test_superres.cpp cv::superres::arrCopy(origFrame_(ROI), frame); cv 87 modules/superres/test/test_superres.cpp class DegradeFrameSource : public cv::superres::FrameSource cv 90 modules/superres/test/test_superres.cpp DegradeFrameSource(const cv::Ptr<cv::superres::FrameSource>& base, int scale); cv 92 modules/superres/test/test_superres.cpp void nextFrame(cv::OutputArray frame); cv 96 modules/superres/test/test_superres.cpp cv::Ptr<cv::superres::FrameSource> base_; cv 98 modules/superres/test/test_superres.cpp cv::Mat origFrame_; cv 99 modules/superres/test/test_superres.cpp cv::Mat blurred_; cv 100 modules/superres/test/test_superres.cpp cv::Mat deg_; cv 104 modules/superres/test/test_superres.cpp DegradeFrameSource::DegradeFrameSource(const cv::Ptr<cv::superres::FrameSource>& base, int scale) : cv 110 modules/superres/test/test_superres.cpp static void addGaussNoise(cv::OutputArray _image, double sigma) cv 113 modules/superres/test/test_superres.cpp cv::Mat noise(_image.size(), CV_32FC(cn)); cv 114 modules/superres/test/test_superres.cpp cvtest::TS::ptr()->get_rng().fill(noise, cv::RNG::NORMAL, 0.0, sigma); cv 116 modules/superres/test/test_superres.cpp cv::addWeighted(_image, 1.0, noise, 1.0, 0.0, _image, depth); cv 119 modules/superres/test/test_superres.cpp static void addSpikeNoise(cv::OutputArray _image, int frequency) cv 121 modules/superres/test/test_superres.cpp cv::Mat_<uchar> mask(_image.size(), 0); cv 128 modules/superres/test/test_superres.cpp _image.setTo(cv::Scalar::all(255), mask); cv 131 modules/superres/test/test_superres.cpp void DegradeFrameSource::nextFrame(cv::OutputArray frame) cv 135 modules/superres/test/test_superres.cpp cv::GaussianBlur(origFrame_, blurred_, cv::Size(5, 5), 0); cv 136 modules/superres/test/test_superres.cpp cv::resize(blurred_, deg_, cv::Size(), iscale_, iscale_, cv::INTER_NEAREST); cv 141 modules/superres/test/test_superres.cpp cv::superres::arrCopy(deg_, frame); cv 149 modules/superres/test/test_superres.cpp double MSSIM(cv::InputArray _i1, cv::InputArray _i2) cv 156 modules/superres/test/test_superres.cpp cv::Mat I1, I2; cv 160 modules/superres/test/test_superres.cpp cv::Mat I2_2 = I2.mul(I2); // I2^2 cv 161 modules/superres/test/test_superres.cpp cv::Mat I1_2 = I1.mul(I1); // I1^2 cv 162 modules/superres/test/test_superres.cpp cv::Mat I1_I2 = I1.mul(I2); // I1 * I2 cv 164 modules/superres/test/test_superres.cpp cv::Mat mu1, mu2; cv 165 modules/superres/test/test_superres.cpp cv::GaussianBlur(I1, mu1, cv::Size(11, 11), 1.5); cv 166 modules/superres/test/test_superres.cpp cv::GaussianBlur(I2, mu2, cv::Size(11, 11), 1.5); cv 168 modules/superres/test/test_superres.cpp cv::Mat mu1_2 = mu1.mul(mu1); cv 169 modules/superres/test/test_superres.cpp cv::Mat mu2_2 = mu2.mul(mu2); cv 170 modules/superres/test/test_superres.cpp cv::Mat mu1_mu2 = mu1.mul(mu2); cv 172 modules/superres/test/test_superres.cpp cv::Mat sigma1_2, sigma2_2, sigma12; cv 174 modules/superres/test/test_superres.cpp cv::GaussianBlur(I1_2, sigma1_2, cv::Size(11, 11), 1.5); cv 177 modules/superres/test/test_superres.cpp cv::GaussianBlur(I2_2, sigma2_2, cv::Size(11, 11), 1.5); cv 180 modules/superres/test/test_superres.cpp cv::GaussianBlur(I1_I2, sigma12, cv::Size(11, 11), 1.5); cv 183 modules/superres/test/test_superres.cpp cv::Mat t1, t2; cv 184 modules/superres/test/test_superres.cpp cv::Mat numerator; cv 185 modules/superres/test/test_superres.cpp cv::Mat denominator; cv 198 modules/superres/test/test_superres.cpp cv::Mat ssim_map; cv 199 modules/superres/test/test_superres.cpp cv::divide(numerator, denominator, ssim_map); cv 202 modules/superres/test/test_superres.cpp cv::Scalar mssim = cv::mean(ssim_map); cv 214 modules/superres/test/test_superres.cpp void RunTest(cv::Ptr<cv::superres::SuperResolution> superRes); cv 218 modules/superres/test/test_superres.cpp void SuperResolution::RunTest(cv::Ptr<cv::superres::SuperResolution> superRes) cv 233 modules/superres/test/test_superres.cpp cv::Ptr<cv::superres::FrameSource> goldSource(new AllignedFrameSource(cv::superres::createFrameSource_Video(inputVideoName), scale)); cv 234 modules/superres/test/test_superres.cpp cv::Ptr<cv::superres::FrameSource> lowResSource(new DegradeFrameSource( cv 235 modules/superres/test/test_superres.cpp cv::makePtr<AllignedFrameSource>(cv::superres::createFrameSource_Video(inputVideoName), scale), scale)); cv 238 modules/superres/test/test_superres.cpp cv::Mat frame; cv 243 modules/superres/test/test_superres.cpp cv::Rect inner(btvKernelSize, btvKernelSize, frame.cols - 2 * btvKernelSize, frame.rows - 2 * btvKernelSize); cv 250 modules/superres/test/test_superres.cpp cv::Mat goldFrame; cv 272 modules/superres/test/test_superres.cpp RunTest<cv::Mat>(cv::superres::createSuperResolution_BTVL1()); cv 279 modules/superres/test/test_superres.cpp RunTest<cv::Mat>(cv::superres::createSuperResolution_BTVL1_CUDA()); cv 291 modules/superres/test/test_superres.cpp RunTest<cv::UMat>(cv::superres::createSuperResolution_BTVL1()); cv 46 modules/ts/include/opencv2/ts.hpp using cv::RNG; cv 47 modules/ts/include/opencv2/ts.hpp using cv::Mat; cv 48 modules/ts/include/opencv2/ts.hpp using cv::Scalar; cv 49 modules/ts/include/opencv2/ts.hpp using cv::Size; cv 50 modules/ts/include/opencv2/ts.hpp using cv::Point; cv 51 modules/ts/include/opencv2/ts.hpp using cv::Rect; cv 52 modules/ts/include/opencv2/ts.hpp using cv::InputArray; cv 53 modules/ts/include/opencv2/ts.hpp using cv::noArray; cv 99 modules/ts/include/opencv2/ts.hpp CV_EXPORTS void convert(const Mat& src, cv::OutputArray dst, int dtype, double alpha=1, double beta=0); cv 497 modules/ts/include/opencv2/ts.hpp catch(const cv::Exception& e) cv 530 modules/ts/include/opencv2/ts.hpp DefaultRngAuto() : old_state(cv::theRNG().state) { cv::theRNG().state = (uint64)-1; } cv 531 modules/ts/include/opencv2/ts.hpp ~DefaultRngAuto() { cv::theRNG().state = old_state; } cv 73 modules/ts/include/opencv2/ts/cuda_perf.hpp DEF_PARAM_TEST_1(Sz, cv::Size); cv 75 modules/ts/include/opencv2/ts/cuda_perf.hpp DEF_PARAM_TEST(Sz_Depth, cv::Size, perf::MatDepth); cv 76 modules/ts/include/opencv2/ts/cuda_perf.hpp DEF_PARAM_TEST(Sz_Depth_Cn, cv::Size, perf::MatDepth, MatCn); cv 84 modules/ts/include/opencv2/ts/cuda_perf.hpp cv::Mat gpu_##mat(mat); \ cv 90 modules/ts/include/opencv2/ts/cuda_perf.hpp cv::Mat cpu_##mat(mat); \ cv 94 modules/ts/include/opencv2/ts/cuda_perf.hpp CV_EXPORTS cv::Mat readImage(const std::string& fileName, int flags = cv::IMREAD_COLOR); cv 109 modules/ts/include/opencv2/ts/cuda_perf.hpp CV_EXPORTS void sortKeyPoints(std::vector<cv::KeyPoint>& keypoints, cv::InputOutputArray _descriptors = cv::noArray()); cv 62 modules/ts/include/opencv2/ts/cuda_test.hpp CV_EXPORTS cv::Size randomSize(int minVal, int maxVal); cv 63 modules/ts/include/opencv2/ts/cuda_test.hpp CV_EXPORTS cv::Scalar randomScalar(double minVal, double maxVal); cv 64 modules/ts/include/opencv2/ts/cuda_test.hpp CV_EXPORTS cv::Mat randomMat(cv::Size size, int type, double minVal = 0.0, double maxVal = 255.0); cv 69 modules/ts/include/opencv2/ts/cuda_test.hpp CV_EXPORTS cv::cuda::GpuMat createMat(cv::Size size, int type, bool useRoi = false); cv 70 modules/ts/include/opencv2/ts/cuda_test.hpp CV_EXPORTS cv::cuda::GpuMat loadMat(const cv::Mat& m, bool useRoi = false); cv 76 modules/ts/include/opencv2/ts/cuda_test.hpp CV_EXPORTS cv::Mat readImage(const std::string& fileName, int flags = cv::IMREAD_COLOR); cv 79 modules/ts/include/opencv2/ts/cuda_test.hpp CV_EXPORTS cv::Mat readImageType(const std::string& fname, int type); cv 85 modules/ts/include/opencv2/ts/cuda_test.hpp CV_EXPORTS bool supportFeature(const cv::cuda::DeviceInfo& info, cv::cuda::FeatureSet feature); cv 95 modules/ts/include/opencv2/ts/cuda_test.hpp const std::vector<cv::cuda::DeviceInfo>& values() const { return devices_; } cv 98 modules/ts/include/opencv2/ts/cuda_test.hpp std::vector<cv::cuda::DeviceInfo> devices_; cv 106 modules/ts/include/opencv2/ts/cuda_test.hpp CV_EXPORTS void minMaxLocGold(const cv::Mat& src, double* minVal_, double* maxVal_ = 0, cv::Point* minLoc_ = 0, cv::Point* maxLoc_ = 0, const cv::Mat& mask = cv::Mat()); cv 108 modules/ts/include/opencv2/ts/cuda_test.hpp CV_EXPORTS cv::Mat getMat(cv::InputArray arr); cv 110 modules/ts/include/opencv2/ts/cuda_test.hpp CV_EXPORTS testing::AssertionResult assertMatNear(const char* expr1, const char* expr2, const char* eps_expr, cv::InputArray m1, cv::InputArray m2, double eps); cv 154 modules/ts/include/opencv2/ts/cuda_test.hpp CV_EXPORTS double checkSimilarity(cv::InputArray m1, cv::InputArray m2); cv 205 modules/ts/include/opencv2/ts/cuda_test.hpp cv::cuda::resetDevice(); \ cv 214 modules/ts/include/opencv2/ts/cuda_test.hpp #define DIFFERENT_SIZES testing::Values(cv::Size(128, 128), cv::Size(113, 113)) cv 323 modules/ts/include/opencv2/ts/cuda_test.hpp #define ALL_BORDER_TYPES testing::Values(BorderType(cv::BORDER_REFLECT101), BorderType(cv::BORDER_REPLICATE), BorderType(cv::BORDER_CONSTANT), BorderType(cv::BORDER_REFLECT), BorderType(cv::BORDER_WRAP)) cv 330 modules/ts/include/opencv2/ts/cuda_test.hpp CV_EXPORTS testing::AssertionResult assertKeyPointsEquals(const char* gold_expr, const char* actual_expr, std::vector<cv::KeyPoint>& gold, std::vector<cv::KeyPoint>& actual); cv 334 modules/ts/include/opencv2/ts/cuda_test.hpp CV_EXPORTS int getMatchedPointsCount(std::vector<cv::KeyPoint>& gold, std::vector<cv::KeyPoint>& actual); cv 335 modules/ts/include/opencv2/ts/cuda_test.hpp CV_EXPORTS int getMatchedPointsCount(const std::vector<cv::KeyPoint>& keypoints1, const std::vector<cv::KeyPoint>& keypoints2, const std::vector<cv::DMatch>& matches); cv 340 modules/ts/include/opencv2/ts/cuda_test.hpp CV_EXPORTS void dumpImage(const std::string& fileName, const cv::Mat& image); cv 341 modules/ts/include/opencv2/ts/cuda_test.hpp CV_EXPORTS void showDiff(cv::InputArray gold, cv::InputArray actual, double eps); cv 355 modules/ts/include/opencv2/ts/cuda_test.hpp CV_TEST_MAIN(resourcesubdir, cvtest::parseCudaDeviceOptions(argc, argv), cvtest::printCudaInfo(), cv::setUseOptimized(false)) cv 121 modules/ts/include/opencv2/ts/ocl_perf.hpp if (cv::ocl::useOpenCL()) cv 122 modules/ts/include/opencv2/ts/ocl_perf.hpp cv::ocl::finish(); cv 59 modules/ts/include/opencv2/ts/ocl_test.hpp using namespace cv; cv 197 modules/ts/include/opencv2/ts/ocl_test.hpp cv::RNG rng; cv 201 modules/ts/include/opencv2/ts/ocl_test.hpp rng = cv::RNG(OCL_RNG_SEED); cv 227 modules/ts/include/opencv2/ts/ocl_test.hpp return cv::Size((int)randomDoubleLog(minVal, maxVal), (int)randomDoubleLog(minVal, maxVal)); cv 229 modules/ts/include/opencv2/ts/ocl_test.hpp return cv::Size(randomInt(minVal, maxVal), randomInt(minVal, maxVal)); cv 236 modules/ts/include/opencv2/ts/ocl_test.hpp return cv::Size((int)randomDoubleLog(minValX, maxValX), (int)randomDoubleLog(minValY, maxValY)); cv 238 modules/ts/include/opencv2/ts/ocl_test.hpp return cv::Size(randomInt(minVal, maxVal), randomInt(minVal, maxVal)); cv 279 modules/ts/include/opencv2/ts/ocl_test.hpp static double checkRectSimilarity(const cv::Size & sz, std::vector<cv::Rect>& ob1, std::vector<cv::Rect>& ob2); cv 282 modules/ts/include/opencv2/ts/ocl_test.hpp static cv::Mat readImage(const String &fileName, int flags = cv::IMREAD_COLOR); cv 283 modules/ts/include/opencv2/ts/ocl_test.hpp static cv::Mat readImageType(const String &fname, int type); cv 292 modules/ts/include/opencv2/ts/ocl_test.hpp return cvtest::norm(m1.getMat(), m2.getMat(), cv::NORM_INF, mask) / cv 294 modules/ts/include/opencv2/ts/ocl_test.hpp (double)std::max(cvtest::norm(m1.getMat(), cv::NORM_INF), cvtest::norm(m2.getMat(), cv::NORM_INF))); cv 299 modules/ts/include/opencv2/ts/ocl_test.hpp double norm_inf = cvtest::norm(m1.getMat(), m2.getMat(), cv::NORM_INF, mask); cv 302 modules/ts/include/opencv2/ts/ocl_test.hpp (double)std::max(cvtest::norm(m1.getMat(), cv::NORM_INF), cvtest::norm(m2.getMat(), cv::NORM_INF))); cv 353 modules/ts/include/opencv2/ts/ocl_test.hpp #define OCL_OFF(fn) cv::ocl::setUseOpenCL(false); fn cv 354 modules/ts/include/opencv2/ts/ocl_test.hpp #define OCL_ON(fn) cv::ocl::setUseOpenCL(true); fn cv 35 modules/ts/include/opencv2/ts/ts_ext.hpp void GTEST_TEST_CLASS_NAME_(test_case_name, test_name)::TestBody() { cv::ipp::setIppStatus(0); Body(); checkIppStatus(); } \ cv 60 modules/ts/include/opencv2/ts/ts_ext.hpp void GTEST_TEST_CLASS_NAME_(test_fixture, test_name)::TestBody() { cv::ipp::setIppStatus(0); Body(); checkIppStatus(); } \ cv 89 modules/ts/include/opencv2/ts/ts_ext.hpp void GTEST_TEST_CLASS_NAME_(test_case_name, test_name)::TestBody() { cv::ipp::setIppStatus(0); Body(); checkIppStatus(); } \ cv 37 modules/ts/include/opencv2/ts/ts_perf.hpp const cv::Size szQVGA = cv::Size(320, 240); cv 38 modules/ts/include/opencv2/ts/ts_perf.hpp const cv::Size szVGA = cv::Size(640, 480); cv 39 modules/ts/include/opencv2/ts/ts_perf.hpp const cv::Size szSVGA = cv::Size(800, 600); cv 40 modules/ts/include/opencv2/ts/ts_perf.hpp const cv::Size szXGA = cv::Size(1024, 768); cv 41 modules/ts/include/opencv2/ts/ts_perf.hpp const cv::Size szSXGA = cv::Size(1280, 1024); cv 42 modules/ts/include/opencv2/ts/ts_perf.hpp const cv::Size szWQHD = cv::Size(2560, 1440); cv 44 modules/ts/include/opencv2/ts/ts_perf.hpp const cv::Size sznHD = cv::Size(640, 360); cv 45 modules/ts/include/opencv2/ts/ts_perf.hpp const cv::Size szqHD = cv::Size(960, 540); cv 46 modules/ts/include/opencv2/ts/ts_perf.hpp const cv::Size sz240p = szQVGA; cv 47 modules/ts/include/opencv2/ts/ts_perf.hpp const cv::Size sz720p = cv::Size(1280, 720); cv 48 modules/ts/include/opencv2/ts/ts_perf.hpp const cv::Size sz1080p = cv::Size(1920, 1080); cv 49 modules/ts/include/opencv2/ts/ts_perf.hpp const cv::Size sz1440p = szWQHD; cv 50 modules/ts/include/opencv2/ts/ts_perf.hpp const cv::Size sz2160p = cv::Size(3840, 2160);//UHDTV1 4K cv 51 modules/ts/include/opencv2/ts/ts_perf.hpp const cv::Size sz4320p = cv::Size(7680, 4320);//UHDTV2 8K cv 53 modules/ts/include/opencv2/ts/ts_perf.hpp const cv::Size sz3MP = cv::Size(2048, 1536); cv 54 modules/ts/include/opencv2/ts/ts_perf.hpp const cv::Size sz5MP = cv::Size(2592, 1944); cv 55 modules/ts/include/opencv2/ts/ts_perf.hpp const cv::Size sz2K = cv::Size(2048, 2048); cv 57 modules/ts/include/opencv2/ts/ts_perf.hpp const cv::Size szODD = cv::Size(127, 61); cv 59 modules/ts/include/opencv2/ts/ts_perf.hpp const cv::Size szSmall24 = cv::Size(24, 24); cv 60 modules/ts/include/opencv2/ts/ts_perf.hpp const cv::Size szSmall32 = cv::Size(32, 32); cv 61 modules/ts/include/opencv2/ts/ts_perf.hpp const cv::Size szSmall64 = cv::Size(64, 64); cv 62 modules/ts/include/opencv2/ts/ts_perf.hpp const cv::Size szSmall128 = cv::Size(128, 128); cv 102 modules/ts/include/opencv2/ts/ts_perf.hpp using namespace cv;using namespace cv::cuda; using namespace cv::ocl; \ cv 118 modules/ts/include/opencv2/ts/ts_perf.hpp using namespace cv;using namespace cv::cuda; using namespace cv::ocl; \ cv 132 modules/ts/include/opencv2/ts/ts_perf.hpp using namespace cv;using namespace cv::cuda; using namespace cv::ocl; \ cv 169 modules/ts/include/opencv2/ts/ts_perf.hpp static Regression& add(TestBase* test, const std::string& name, cv::InputArray array, double eps = DBL_EPSILON, ERROR_TYPE err = ERROR_ABSOLUTE); cv 170 modules/ts/include/opencv2/ts/ts_perf.hpp static Regression& addMoments(TestBase* test, const std::string& name, const cv::Moments & array, double eps = DBL_EPSILON, ERROR_TYPE err = ERROR_ABSOLUTE); cv 171 modules/ts/include/opencv2/ts/ts_perf.hpp static Regression& addKeypoints(TestBase* test, const std::string& name, const std::vector<cv::KeyPoint>& array, double eps = DBL_EPSILON, ERROR_TYPE err = ERROR_ABSOLUTE); cv 172 modules/ts/include/opencv2/ts/ts_perf.hpp static Regression& addMatches(TestBase* test, const std::string& name, const std::vector<cv::DMatch>& array, double eps = DBL_EPSILON, ERROR_TYPE err = ERROR_ABSOLUTE); cv 175 modules/ts/include/opencv2/ts/ts_perf.hpp Regression& operator() (const std::string& name, cv::InputArray array, double eps = DBL_EPSILON, ERROR_TYPE err = ERROR_ABSOLUTE); cv 185 modules/ts/include/opencv2/ts/ts_perf.hpp cv::RNG regRNG;//own random numbers generator to make collection and verification work identical cv 188 modules/ts/include/opencv2/ts/ts_perf.hpp cv::FileStorage storageIn; cv 189 modules/ts/include/opencv2/ts/ts_perf.hpp cv::FileStorage storageOut; cv 190 modules/ts/include/opencv2/ts/ts_perf.hpp cv::FileNode rootIn; cv 194 modules/ts/include/opencv2/ts/ts_perf.hpp cv::FileStorage& write(); cv 197 modules/ts/include/opencv2/ts/ts_perf.hpp static bool isVector(cv::InputArray a); cv 198 modules/ts/include/opencv2/ts/ts_perf.hpp static double getElem(cv::Mat& m, int x, int y, int cn = 0); cv 201 modules/ts/include/opencv2/ts/ts_perf.hpp void write(cv::InputArray array); cv 202 modules/ts/include/opencv2/ts/ts_perf.hpp void write(cv::Mat m); cv 203 modules/ts/include/opencv2/ts/ts_perf.hpp void verify(cv::FileNode node, cv::InputArray array, double eps, ERROR_TYPE err); cv 204 modules/ts/include/opencv2/ts/ts_perf.hpp void verify(cv::FileNode node, cv::Mat actual, double eps, std::string argname, ERROR_TYPE err); cv 279 modules/ts/include/opencv2/ts/ts_perf.hpp std::vector<cv::String> funName; cv 288 modules/ts/include/opencv2/ts/ts_perf.hpp cv::setImpl(0); cv 296 modules/ts/include/opencv2/ts/ts_perf.hpp flagsToVars(cv::getImpl(implCode, funName)); cv 299 modules/ts/include/opencv2/ts/ts_perf.hpp std::vector<cv::String> GetCallsForImpl(int impl) cv 301 modules/ts/include/opencv2/ts/ts_perf.hpp std::vector<cv::String> out; cv 315 modules/ts/include/opencv2/ts/ts_perf.hpp std::vector<cv::String> savedName; cv 372 modules/ts/include/opencv2/ts/ts_perf.hpp class PerfSkipTestException: public cv::Exception {}; cv 395 modules/ts/include/opencv2/ts/ts_perf.hpp static void warmup(cv::InputOutputArray a, WarmUpType wtype = WARMUP_READ); cv 405 modules/ts/include/opencv2/ts/ts_perf.hpp typedef std::vector<std::pair<int, cv::Size> > SizeVector; cv 434 modules/ts/include/opencv2/ts/ts_perf.hpp static void warmup_impl(cv::Mat m, WarmUpType wtype); cv 435 modules/ts/include/opencv2/ts/ts_perf.hpp static int getSizeInBytes(cv::InputArray a); cv 436 modules/ts/include/opencv2/ts/ts_perf.hpp static cv::Size getSize(cv::InputArray a); cv 437 modules/ts/include/opencv2/ts/ts_perf.hpp static void declareArray(SizeVector& sizes, cv::InputOutputArray a, WarmUpType wtype); cv 442 modules/ts/include/opencv2/ts/ts_perf.hpp _declareHelper& in(cv::InputOutputArray a1, WarmUpType wtype = WARMUP_READ); cv 443 modules/ts/include/opencv2/ts/ts_perf.hpp _declareHelper& in(cv::InputOutputArray a1, cv::InputOutputArray a2, WarmUpType wtype = WARMUP_READ); cv 444 modules/ts/include/opencv2/ts/ts_perf.hpp _declareHelper& in(cv::InputOutputArray a1, cv::InputOutputArray a2, cv::InputOutputArray a3, WarmUpType wtype = WARMUP_READ); cv 445 modules/ts/include/opencv2/ts/ts_perf.hpp _declareHelper& in(cv::InputOutputArray a1, cv::InputOutputArray a2, cv::InputOutputArray a3, cv::InputOutputArray a4, WarmUpType wtype = WARMUP_READ); cv 447 modules/ts/include/opencv2/ts/ts_perf.hpp _declareHelper& out(cv::InputOutputArray a1, WarmUpType wtype = WARMUP_WRITE); cv 448 modules/ts/include/opencv2/ts/ts_perf.hpp _declareHelper& out(cv::InputOutputArray a1, cv::InputOutputArray a2, WarmUpType wtype = WARMUP_WRITE); cv 449 modules/ts/include/opencv2/ts/ts_perf.hpp _declareHelper& out(cv::InputOutputArray a1, cv::InputOutputArray a2, cv::InputOutputArray a3, WarmUpType wtype = WARMUP_WRITE); cv 450 modules/ts/include/opencv2/ts/ts_perf.hpp _declareHelper& out(cv::InputOutputArray a1, cv::InputOutputArray a2, cv::InputOutputArray a3, cv::InputOutputArray a4, WarmUpType wtype = WARMUP_WRITE); cv 477 modules/ts/include/opencv2/ts/ts_perf.hpp typedef std::tr1::tuple<cv::Size, MatType> Size_MatType_t; cv 480 modules/ts/include/opencv2/ts/ts_perf.hpp typedef std::tr1::tuple<cv::Size, MatDepth> Size_MatDepth_t; cv 657 modules/ts/include/opencv2/ts/ts_perf.hpp public std::binary_function<cv::Rect_<T>, cv::Rect_<T>, bool> cv 659 modules/ts/include/opencv2/ts/ts_perf.hpp bool operator()(const cv::Rect_<T>& r1, const cv::Rect_<T>& r2) const cv 671 modules/ts/include/opencv2/ts/ts_perf.hpp public std::binary_function<cv::KeyPoint, cv::KeyPoint, bool> cv 673 modules/ts/include/opencv2/ts/ts_perf.hpp bool operator()(const cv::KeyPoint& kp1, const cv::KeyPoint& kp2) const cv 689 modules/ts/include/opencv2/ts/ts_perf.hpp void CV_EXPORTS sort(std::vector<cv::KeyPoint>& pts, cv::InputOutputArray descriptors); cv 47 modules/ts/src/cuda_perf.cpp using namespace cv; cv 265 modules/ts/src/cuda_perf.cpp for (int i = 0; i < cv::cuda::getCudaEnabledDeviceCount(); i++) cv 266 modules/ts/src/cuda_perf.cpp cv::cuda::printCudaDeviceInfo(i); cv 271 modules/ts/src/cuda_perf.cpp std::vector<cv::KeyPoint>* keypoints; cv 273 modules/ts/src/cuda_perf.cpp explicit KeypointIdxCompare(std::vector<cv::KeyPoint>* _keypoints) : keypoints(_keypoints) {} cv 277 modules/ts/src/cuda_perf.cpp cv::KeyPoint kp1 = (*keypoints)[i1]; cv 278 modules/ts/src/cuda_perf.cpp cv::KeyPoint kp2 = (*keypoints)[i2]; cv 289 modules/ts/src/cuda_perf.cpp void sortKeyPoints(std::vector<cv::KeyPoint>& keypoints, cv::InputOutputArray _descriptors) cv 297 modules/ts/src/cuda_perf.cpp std::vector<cv::KeyPoint> new_keypoints; cv 298 modules/ts/src/cuda_perf.cpp cv::Mat new_descriptors; cv 302 modules/ts/src/cuda_perf.cpp cv::Mat descriptors; cv 46 modules/ts/src/cuda_test.cpp using namespace cv; cv 47 modules/ts/src/cuda_test.cpp using namespace cv::cuda; cv 195 modules/ts/src/cuda_test.cpp cv::CommandLineParser cmd(argc, argv, cv 215 modules/ts/src/cuda_test.cpp cv::cuda::DeviceInfo info(device); cv 287 modules/ts/src/cuda_test.cpp minLoc = cv::Point(x, y); cv 293 modules/ts/src/cuda_test.cpp maxLoc = cv::Point(x, y); cv 422 modules/ts/src/cuda_test.cpp threshold(diff, diff, eps, 255.0, cv::THRESH_BINARY); cv 437 modules/ts/src/cuda_test.cpp bool keyPointsEquals(const cv::KeyPoint& p1, const cv::KeyPoint& p2) cv 444 modules/ts/src/cuda_test.cpp double dist = cv::norm(p1.pt - p2.pt); cv 459 modules/ts/src/cuda_test.cpp struct KeyPointLess : std::binary_function<cv::KeyPoint, cv::KeyPoint, bool> cv 461 modules/ts/src/cuda_test.cpp bool operator()(const cv::KeyPoint& kp1, const cv::KeyPoint& kp2) const cv 468 modules/ts/src/cuda_test.cpp testing::AssertionResult assertKeyPointsEquals(const char* gold_expr, const char* actual_expr, std::vector<cv::KeyPoint>& gold, std::vector<cv::KeyPoint>& actual) cv 482 modules/ts/src/cuda_test.cpp const cv::KeyPoint& p1 = gold[i]; cv 483 modules/ts/src/cuda_test.cpp const cv::KeyPoint& p2 = actual[i]; cv 501 modules/ts/src/cuda_test.cpp int getMatchedPointsCount(std::vector<cv::KeyPoint>& gold, std::vector<cv::KeyPoint>& actual) cv 510 modules/ts/src/cuda_test.cpp const cv::KeyPoint& p1 = gold[i]; cv 511 modules/ts/src/cuda_test.cpp const cv::KeyPoint& p2 = actual[i]; cv 520 modules/ts/src/cuda_test.cpp int getMatchedPointsCount(const std::vector<cv::KeyPoint>& keypoints1, const std::vector<cv::KeyPoint>& keypoints2, const std::vector<cv::DMatch>& matches) cv 526 modules/ts/src/cuda_test.cpp const cv::DMatch& m = matches[i]; cv 528 modules/ts/src/cuda_test.cpp const cv::KeyPoint& p1 = keypoints1[m.queryIdx]; cv 529 modules/ts/src/cuda_test.cpp const cv::KeyPoint& p2 = keypoints2[m.trainIdx]; cv 545 modules/ts/src/cuda_test.cpp void cv::cuda::PrintTo(const DeviceInfo& info, std::ostream* os) cv 55 modules/ts/src/ocl_perf.cpp if (!cv::ocl::useOpenCL()) cv 59 modules/ts/src/ocl_perf.cpp const cv::ocl::Device& dev = cv::ocl::Device::getDefault(); cv 68 modules/ts/src/ocl_perf.cpp cv::randu(dst, 0, 256); cv 70 modules/ts/src/ocl_perf.cpp cv::randu(dst, -128, 128); cv 72 modules/ts/src/ocl_perf.cpp cv::randu(dst, 0, 1024); cv 74 modules/ts/src/ocl_perf.cpp cv::randu(dst, -1.0, 1.0); cv 76 modules/ts/src/ocl_perf.cpp cv::randu(dst, -4096, 4096); cv 49 modules/ts/src/ocl_test.cpp using namespace cv; cv 97 modules/ts/src/ocl_test.cpp using namespace cv::ocl; cv 109 modules/ts/src/ocl_test.cpp cv::ocl::getPlatfomsInfo(platforms); cv 124 modules/ts/src/ocl_test.cpp DUMP_PROPERTY_XML( cv::format("cv_ocl_platform_%d_device_%d", (int)i, (int)j ), cv 125 modules/ts/src/ocl_test.cpp cv::format("(Platform=%s)(Type=%s)(Name=%s)(Version=%s)", cv 222 modules/ts/src/ocl_test.cpp return cv::imread(cvtest::TS::ptr()->get_data_path() + fileName, flags); cv 227 modules/ts/src/ocl_test.cpp Mat src = readImage(fname, CV_MAT_CN(type) == 1 ? cv::IMREAD_GRAYSCALE : cv::IMREAD_COLOR); cv 231 modules/ts/src/ocl_test.cpp cv::cvtColor(src, temp, cv::COLOR_BGR2BGRA); cv 267 modules/ts/src/ocl_test.cpp cv::Mat cpu_result(sz, CV_8UC1); cv 272 modules/ts/src/ocl_test.cpp cv::Mat cpu_result_roi(cpu_result, *r); cv 276 modules/ts/src/ocl_test.cpp int cpu_area = cv::countNonZero(cpu_result > 0); cv 278 modules/ts/src/ocl_test.cpp cv::Mat gpu_result(sz, CV_8UC1); cv 282 modules/ts/src/ocl_test.cpp cv::Mat gpu_result_roi(gpu_result, *r2); cv 287 modules/ts/src/ocl_test.cpp cv::Mat result_; cv 289 modules/ts/src/ocl_test.cpp int result = cv::countNonZero(result_ > 0); cv 305 modules/ts/src/ocl_test.cpp threshold(diff, diff_thresh, eps, 255.0, cv::THRESH_BINARY); cv 307 modules/ts/src/ocl_test.cpp if (alwaysShow || cv::countNonZero(diff_thresh.reshape(1)) > 0) cv 325 modules/ts/src/ocl_test.cpp cv::waitKey(); cv 224 modules/ts/src/ts.cpp catch (const cv::Exception& exc) cv 259 modules/ts/src/ts.cpp double freq = cv::getTickFrequency(); cv 355 modules/ts/src/ts.cpp catch(const cv::Exception& e) cv 464 modules/ts/src/ts.cpp cv::redirectError((cv::ErrorCallback)tsErrorCallback, this); cv 490 modules/ts/src/ts.cpp cv::setUseOptimized(false); cv 667 modules/ts/src/ts.cpp int status = cv::ipp::getIppStatus(); cv 668 modules/ts/src/ts.cpp EXPECT_LE(0, status) << cv::ipp::getIppErrorLocation().c_str(); cv 678 modules/ts/src/ts.cpp cv::CommandLineParser parser(argc, argv, command_line_keys); cv 218 modules/ts/src/ts_arrtest.cpp test_mat[i][j] = cv::cvarrToMat(arr); cv 9 modules/ts/src/ts_func.cpp using namespace cv; cv 279 modules/ts/src/ts_func.cpp void convert(const Mat& src, cv::OutputArray _dst, int dtype, double alpha, double beta) cv 2220 modules/ts/src/ts_func.cpp if( !c.empty() && c.data == d.data && (flags & cv::GEMM_3_T) ) cv 2231 modules/ts/src/ts_func.cpp if( flags & cv::GEMM_1_T ) cv 2237 modules/ts/src/ts_func.cpp if( flags & cv::GEMM_2_T ) cv 2250 modules/ts/src/ts_func.cpp if( flags & cv::GEMM_3_T ) cv 2960 modules/ts/src/ts_func.cpp std::string buildInfo( cv::getBuildInformation() ); cv 82 modules/ts/src/ts_perf.cpp cv::setNumThreads(-1); cv 88 modules/ts/src/ts_perf.cpp static void randu(cv::Mat& m) cv 94 modules/ts/src/ts_perf.cpp cv::Mat mr = cv::Mat(m.rows, (int)(m.cols * m.elemSize()), CV_8U, m.ptr(), m.step[0]); cv 95 modules/ts/src/ts_perf.cpp cv::randu(mr, cv::Mat(1, 1, CV_32S, minmax), cv::Mat(1, 1, CV_32S, minmax + 1)); cv 101 modules/ts/src/ts_perf.cpp cv::Mat mr = m.reshape(1); cv 102 modules/ts/src/ts_perf.cpp cv::randu(mr, cv::Mat(1, 1, CV_32F, minmax), cv::Mat(1, 1, CV_32F, minmax + 1)); cv 108 modules/ts/src/ts_perf.cpp cv::Mat mr = m.reshape(1); cv 109 modules/ts/src/ts_perf.cpp cv::randu(mr, cv::Mat(1, 1, CV_64F, minmax), cv::Mat(1, 1, CV_64F, minmax + 1)); cv 117 modules/ts/src/ts_perf.cpp class PerfEarlyExitException: public cv::Exception {}; cv 129 modules/ts/src/ts_perf.cpp Regression& Regression::add(TestBase* test, const std::string& name, cv::InputArray array, double eps, ERROR_TYPE err) cv 135 modules/ts/src/ts_perf.cpp Regression& Regression::addMoments(TestBase* test, const std::string& name, const cv::Moments& array, double eps, ERROR_TYPE err) cv 137 modules/ts/src/ts_perf.cpp int len = (int)sizeof(cv::Moments) / sizeof(double); cv 138 modules/ts/src/ts_perf.cpp cv::Mat m(1, len, CV_64F, (void*)&array); cv 143 modules/ts/src/ts_perf.cpp Regression& Regression::addKeypoints(TestBase* test, const std::string& name, const std::vector<cv::KeyPoint>& array, double eps, ERROR_TYPE err) cv 146 modules/ts/src/ts_perf.cpp cv::Mat pt (len, 1, CV_32FC2, len ? (void*)&array[0].pt : 0, sizeof(cv::KeyPoint)); cv 147 modules/ts/src/ts_perf.cpp cv::Mat size (len, 1, CV_32FC1, len ? (void*)&array[0].size : 0, sizeof(cv::KeyPoint)); cv 148 modules/ts/src/ts_perf.cpp cv::Mat angle (len, 1, CV_32FC1, len ? (void*)&array[0].angle : 0, sizeof(cv::KeyPoint)); cv 149 modules/ts/src/ts_perf.cpp cv::Mat response(len, 1, CV_32FC1, len ? (void*)&array[0].response : 0, sizeof(cv::KeyPoint)); cv 150 modules/ts/src/ts_perf.cpp cv::Mat octave (len, 1, CV_32SC1, len ? (void*)&array[0].octave : 0, sizeof(cv::KeyPoint)); cv 151 modules/ts/src/ts_perf.cpp cv::Mat class_id(len, 1, CV_32SC1, len ? (void*)&array[0].class_id : 0, sizeof(cv::KeyPoint)); cv 161 modules/ts/src/ts_perf.cpp Regression& Regression::addMatches(TestBase* test, const std::string& name, const std::vector<cv::DMatch>& array, double eps, ERROR_TYPE err) cv 164 modules/ts/src/ts_perf.cpp cv::Mat queryIdx(len, 1, CV_32SC1, len ? (void*)&array[0].queryIdx : 0, sizeof(cv::DMatch)); cv 165 modules/ts/src/ts_perf.cpp cv::Mat trainIdx(len, 1, CV_32SC1, len ? (void*)&array[0].trainIdx : 0, sizeof(cv::DMatch)); cv 166 modules/ts/src/ts_perf.cpp cv::Mat imgIdx (len, 1, CV_32SC1, len ? (void*)&array[0].imgIdx : 0, sizeof(cv::DMatch)); cv 167 modules/ts/src/ts_perf.cpp cv::Mat distance(len, 1, CV_32FC1, len ? (void*)&array[0].distance : 0, sizeof(cv::DMatch)); cv 213 modules/ts/src/ts_perf.cpp if (storageIn.open(storageInPath, cv::FileStorage::READ)) cv 221 modules/ts/src/ts_perf.cpp catch(cv::Exception&) cv 230 modules/ts/src/ts_perf.cpp Regression::Regression() : regRNG(cv::getTickCount())//this rng should be really random cv 246 modules/ts/src/ts_perf.cpp cv::FileStorage& Regression::write() cv 251 modules/ts/src/ts_perf.cpp ? cv::FileStorage::APPEND : cv::FileStorage::WRITE; cv 258 modules/ts/src/ts_perf.cpp else if (mode == cv::FileStorage::WRITE && !rootIn.empty()) cv 294 modules/ts/src/ts_perf.cpp bool Regression::isVector(cv::InputArray a) cv 296 modules/ts/src/ts_perf.cpp return a.kind() == cv::_InputArray::STD_VECTOR_MAT || a.kind() == cv::_InputArray::STD_VECTOR_VECTOR || cv 297 modules/ts/src/ts_perf.cpp a.kind() == cv::_InputArray::STD_VECTOR_UMAT; cv 300 modules/ts/src/ts_perf.cpp double Regression::getElem(cv::Mat& m, int y, int x, int cn) cv 315 modules/ts/src/ts_perf.cpp void Regression::write(cv::Mat m) cv 320 modules/ts/src/ts_perf.cpp cv::minMaxIdx(m, &min, &max); cv 342 modules/ts/src/ts_perf.cpp void Regression::verify(cv::FileNode node, cv::Mat actual, double eps, std::string argname, ERROR_TYPE err) cv 353 modules/ts/src/ts_perf.cpp cv::minMaxIdx(actual, &actual_min, &actual_max); cv 360 modules/ts/src/ts_perf.cpp cv::FileNode last = node["last"]; cv 373 modules/ts/src/ts_perf.cpp cv::FileNode rng1 = node["rng1"]; cv 386 modules/ts/src/ts_perf.cpp cv::FileNode rng2 = node["rng2"]; cv 398 modules/ts/src/ts_perf.cpp void Regression::write(cv::InputArray array) cv 409 modules/ts/src/ts_perf.cpp cv::Mat m = array.getMat(idx); cv 425 modules/ts/src/ts_perf.cpp static int countViolations(const cv::Mat& expected, const cv::Mat& actual, const cv::Mat& diff, double eps, double* max_violation = 0, double* max_allowed = 0) cv 427 modules/ts/src/ts_perf.cpp cv::Mat diff64f; cv 430 modules/ts/src/ts_perf.cpp cv::Mat expected_abs = cv::abs(expected.reshape(1)); cv 431 modules/ts/src/ts_perf.cpp cv::Mat actual_abs = cv::abs(actual.reshape(1)); cv 432 modules/ts/src/ts_perf.cpp cv::Mat maximum, mask; cv 433 modules/ts/src/ts_perf.cpp cv::max(expected_abs, actual_abs, maximum); cv 434 modules/ts/src/ts_perf.cpp cv::multiply(maximum, cv::Vec<double, 1>(eps), maximum, CV_64F); cv 435 modules/ts/src/ts_perf.cpp cv::compare(diff64f, maximum, mask, cv::CMP_GT); cv 437 modules/ts/src/ts_perf.cpp int v = cv::countNonZero(mask); cv 442 modules/ts/src/ts_perf.cpp cv::minMaxIdx(maximum, 0, max_allowed, 0, loc, mask); cv 449 modules/ts/src/ts_perf.cpp void Regression::verify(cv::FileNode node, cv::InputArray array, double eps, ERROR_TYPE err) cv 456 modules/ts/src/ts_perf.cpp cv::FileNode valnode = node["val"]; cv 463 modules/ts/src/ts_perf.cpp cv::Mat actual = array.getMat(idx); cv 469 modules/ts/src/ts_perf.cpp verify(node, actual, eps, cv::format("%s[%d]", node.name().c_str(), idx), err); cv 473 modules/ts/src/ts_perf.cpp cv::Mat expected; cv 486 modules/ts/src/ts_perf.cpp cv::Mat diff; cv 487 modules/ts/src/ts_perf.cpp cv::absdiff(expected, actual, diff); cv 491 modules/ts/src/ts_perf.cpp if (!cv::checkRange(diff, true, 0, 0, eps)) cv 497 modules/ts/src/ts_perf.cpp cv::minMaxIdx(diff.reshape(1), 0, &max); cv 529 modules/ts/src/ts_perf.cpp cv::Mat expected; cv 531 modules/ts/src/ts_perf.cpp cv::Mat actual = array.getMat(); cv 543 modules/ts/src/ts_perf.cpp cv::Mat diff; cv 544 modules/ts/src/ts_perf.cpp cv::absdiff(expected, actual, diff); cv 548 modules/ts/src/ts_perf.cpp if (!cv::checkRange(diff, true, 0, 0, eps)) cv 554 modules/ts/src/ts_perf.cpp cv::minMaxIdx(diff.reshape(1), 0, &max); cv 578 modules/ts/src/ts_perf.cpp Regression& Regression::operator() (const std::string& name, cv::InputArray array, double eps, ERROR_TYPE err) cv 591 modules/ts/src/ts_perf.cpp cv::FileNode n = rootIn[nodename]; cv 616 modules/ts/src/ts_perf.cpp cv::FileNode this_arg = n[name]; cv 781 modules/ts/src/ts_perf.cpp cv::CommandLineParser args(argc, argv, command_line_keys); cv 848 modules/ts/src/ts_perf.cpp cv::setUseCollection(1); cv 850 modules/ts/src/ts_perf.cpp cv::setUseCollection(0); cv 866 modules/ts/src/ts_perf.cpp param_cuda_device = std::max(0, std::min(cv::cuda::getCudaEnabledDeviceCount(), args.get<int>("perf_cuda_device"))); cv 870 modules/ts/src/ts_perf.cpp cv::cuda::DeviceInfo info(param_cuda_device); cv 877 modules/ts/src/ts_perf.cpp cv::cuda::setDevice(param_cuda_device); cv 909 modules/ts/src/ts_perf.cpp timeLimitDefault = param_time_limit == 0.0 ? 1 : (int64)(param_time_limit * cv::getTickFrequency()); cv 922 modules/ts/src/ts_perf.cpp cv::cuda::DeviceInfo info(param_cuda_device); cv 957 modules/ts/src/ts_perf.cpp cv::Mat a(2048, 2048, CV_32S, cv::Scalar(1)); cv 958 modules/ts/src/ts_perf.cpp cv::Mat b(2048, 2048, CV_32S, cv::Scalar(2)); cv 977 modules/ts/src/ts_perf.cpp CV_Assert(compensation < 0.01 * cv::getTickFrequency()); cv 1001 modules/ts/src/ts_perf.cpp void TestBase::declareArray(SizeVector& sizes, cv::InputOutputArray a, WarmUpType wtype) cv 1005 modules/ts/src/ts_perf.cpp sizes.push_back(std::pair<int, cv::Size>(getSizeInBytes(a), getSize(a))); cv 1008 modules/ts/src/ts_perf.cpp else if (a.kind() != cv::_InputArray::NONE) cv 1012 modules/ts/src/ts_perf.cpp void TestBase::warmup(cv::InputOutputArray a, WarmUpType wtype) cv 1022 modules/ts/src/ts_perf.cpp cv::randu(a, 0, 256); cv 1024 modules/ts/src/ts_perf.cpp cv::randu(a, -128, 128); cv 1026 modules/ts/src/ts_perf.cpp cv::randu(a, 0, 1024); cv 1028 modules/ts/src/ts_perf.cpp cv::randu(a, -1.0, 1.0); cv 1030 modules/ts/src/ts_perf.cpp cv::randu(a, -4096, 4096); cv 1032 modules/ts/src/ts_perf.cpp CV_Error(cv::Error::StsUnsupportedFormat, "Unsupported format"); cv 1036 modules/ts/src/ts_perf.cpp else if (a.kind() != cv::_InputArray::STD_VECTOR_MAT && a.kind() != cv::_InputArray::STD_VECTOR_VECTOR) cv 1046 modules/ts/src/ts_perf.cpp int TestBase::getSizeInBytes(cv::InputArray a) cv 1050 modules/ts/src/ts_perf.cpp if (a.kind() != cv::_InputArray::STD_VECTOR_MAT && a.kind() != cv::_InputArray::STD_VECTOR_VECTOR) cv 1060 modules/ts/src/ts_perf.cpp cv::Size TestBase::getSize(cv::InputArray a) cv 1062 modules/ts/src/ts_perf.cpp if (a.kind() != cv::_InputArray::STD_VECTOR_MAT && a.kind() != cv::_InputArray::STD_VECTOR_VECTOR) cv 1064 modules/ts/src/ts_perf.cpp return cv::Size(); cv 1090 modules/ts/src/ts_perf.cpp cv::theRNG().state = param_seed; //this rng should generate same numbers for each run cv 1110 modules/ts/src/ts_perf.cpp if (totalTime - lastActivityPrintTime >= cv::getTickFrequency() * 10) cv 1225 modules/ts/src/ts_perf.cpp if (currentIter == 1) RecordProperty("test_start", cv::format("%llu",t1).c_str()); cv 1226 modules/ts/src/ts_perf.cpp if (!has_next) RecordProperty("test_complete", cv::format("%llu",t1).c_str()); cv 1235 modules/ts/src/ts_perf.cpp void TestBase::warmup_impl(cv::Mat m, WarmUpType wtype) cv 1240 modules/ts/src/ts_perf.cpp cv::sum(m.reshape(1)); cv 1243 modules/ts/src/ts_perf.cpp m.reshape(1).setTo(cv::Scalar::all(0)); cv 1271 modules/ts/src/ts_perf.cpp lastTime = cv::getTickCount(); cv 1276 modules/ts/src/ts_perf.cpp int64 time = cv::getTickCount(); cv 1295 modules/ts/src/ts_perf.cpp metrics.frequency = cv::getTickFrequency(); cv 1450 modules/ts/src/ts_perf.cpp RecordProperty("frequency", cv::format("%.0f", m.frequency).c_str()); cv 1451 modules/ts/src/ts_perf.cpp RecordProperty("min", cv::format("%.0f", m.min).c_str()); cv 1452 modules/ts/src/ts_perf.cpp RecordProperty("median", cv::format("%.0f", m.median).c_str()); cv 1453 modules/ts/src/ts_perf.cpp RecordProperty("gmean", cv::format("%.0f", m.gmean).c_str()); cv 1454 modules/ts/src/ts_perf.cpp RecordProperty("gstddev", cv::format("%.6f", m.gstddev).c_str()); cv 1455 modules/ts/src/ts_perf.cpp RecordProperty("mean", cv::format("%.0f", m.mean).c_str()); cv 1456 modules/ts/src/ts_perf.cpp RecordProperty("stddev", cv::format("%.0f", m.stddev).c_str()); cv 1465 modules/ts/src/ts_perf.cpp std::vector<cv::String> rec; cv 1521 modules/ts/src/ts_perf.cpp std::vector<cv::String> rec; cv 1558 modules/ts/src/ts_perf.cpp cv::theRNG().state = param_seed; // this rng should generate same numbers for each run cv 1561 modules/ts/src/ts_perf.cpp cv::setNumThreads(param_threads); cv 1611 modules/ts/src/ts_perf.cpp if(implConf.icv) {printf("ICV_MT "); std::vector<cv::String> fun = implConf.GetCallsForImpl(CV_IMPL_IPP|CV_IMPL_MT); printf("("); for(int i=0; i<fun.size();i++ ){printf("%s ", fun[i].c_str());} printf(") "); } cv 1612 modules/ts/src/ts_perf.cpp if(implConf.ipp) {printf("IPP_MT "); std::vector<cv::String> fun = implConf.GetCallsForImpl(CV_IMPL_IPP|CV_IMPL_MT); printf("("); for(int i=0; i<fun.size();i++ ){printf("%s ", fun[i].c_str());} printf(") "); } cv 1616 modules/ts/src/ts_perf.cpp if(implConf.icv) {printf("ICV "); std::vector<cv::String> fun = implConf.GetCallsForImpl(CV_IMPL_IPP); printf("("); for(int i=0; i<fun.size();i++ ){printf("%s ", fun[i].c_str());} printf(") "); } cv 1617 modules/ts/src/ts_perf.cpp if(implConf.ipp) {printf("IPP "); std::vector<cv::String> fun = implConf.GetCallsForImpl(CV_IMPL_IPP); printf("("); for(int i=0; i<fun.size();i++ ){printf("%s ", fun[i].c_str());} printf(") "); } cv 1619 modules/ts/src/ts_perf.cpp if(implConf.ocl) {printf("OCL "); std::vector<cv::String> fun = implConf.GetCallsForImpl(CV_IMPL_OCL); printf("("); for(int i=0; i<fun.size();i++ ){printf("%s ", fun[i].c_str());} printf(") "); } cv 1695 modules/ts/src/ts_perf.cpp catch(cv::Exception& e) cv 1699 modules/ts/src/ts_perf.cpp if (e.code == cv::Error::GpuApiCallError) cv 1700 modules/ts/src/ts_perf.cpp cv::cuda::resetDevice(); cv 1733 modules/ts/src/ts_perf.cpp test->timeLimit = (int64)(timeLimitSecs * cv::getTickFrequency()); cv 1740 modules/ts/src/ts_perf.cpp cv::setNumThreads(n); cv 1750 modules/ts/src/ts_perf.cpp TestBase::_declareHelper& TestBase::_declareHelper::in(cv::InputOutputArray a1, WarmUpType wtype) cv 1757 modules/ts/src/ts_perf.cpp TestBase::_declareHelper& TestBase::_declareHelper::in(cv::InputOutputArray a1, cv::InputOutputArray a2, WarmUpType wtype) cv 1765 modules/ts/src/ts_perf.cpp TestBase::_declareHelper& TestBase::_declareHelper::in(cv::InputOutputArray a1, cv::InputOutputArray a2, cv::InputOutputArray a3, WarmUpType wtype) cv 1774 modules/ts/src/ts_perf.cpp TestBase::_declareHelper& TestBase::_declareHelper::in(cv::InputOutputArray a1, cv::InputOutputArray a2, cv::InputOutputArray a3, cv::InputOutputArray a4, WarmUpType wtype) cv 1784 modules/ts/src/ts_perf.cpp TestBase::_declareHelper& TestBase::_declareHelper::out(cv::InputOutputArray a1, WarmUpType wtype) cv 1791 modules/ts/src/ts_perf.cpp TestBase::_declareHelper& TestBase::_declareHelper::out(cv::InputOutputArray a1, cv::InputOutputArray a2, WarmUpType wtype) cv 1799 modules/ts/src/ts_perf.cpp TestBase::_declareHelper& TestBase::_declareHelper::out(cv::InputOutputArray a1, cv::InputOutputArray a2, cv::InputOutputArray a3, WarmUpType wtype) cv 1808 modules/ts/src/ts_perf.cpp TestBase::_declareHelper& TestBase::_declareHelper::out(cv::InputOutputArray a1, cv::InputOutputArray a2, cv::InputOutputArray a3, cv::InputOutputArray a4, WarmUpType wtype) cv 1835 modules/ts/src/ts_perf.cpp std::vector<cv::KeyPoint>& pts_; cv 1838 modules/ts/src/ts_perf.cpp KeypointComparator(std::vector<cv::KeyPoint>& pts) : pts_(pts), cmp() {} cv 1849 modules/ts/src/ts_perf.cpp void perf::sort(std::vector<cv::KeyPoint>& pts, cv::InputOutputArray descriptors) cv 1851 modules/ts/src/ts_perf.cpp cv::Mat desc = descriptors.getMat(); cv 1854 modules/ts/src/ts_perf.cpp cv::AutoBuffer<int> idxs(desc.rows); cv 1861 modules/ts/src/ts_perf.cpp std::vector<cv::KeyPoint> spts(pts.size()); cv 1862 modules/ts/src/ts_perf.cpp cv::Mat sdesc(desc.size(), desc.type()); cv 1867 modules/ts/src/ts_perf.cpp cv::Mat row = sdesc.row(j); cv 39 modules/video/perf/opencl/perf_bgfg_mog2.cpp cv::Mat frame; cv 66 modules/video/perf/opencl/perf_bgfg_mog2.cpp cv::VideoCapture cap(inputFile); cv 74 modules/video/perf/opencl/perf_bgfg_mog2.cpp Ptr<cv::BackgroundSubtractorMOG2> mog2 = createBackgroundSubtractorMOG2(); cv 96 modules/video/perf/opencl/perf_bgfg_mog2.cpp cv::VideoCapture cap(inputFile); cv 104 modules/video/perf/opencl/perf_bgfg_mog2.cpp Ptr<cv::BackgroundSubtractorMOG2> mog2 = createBackgroundSubtractorMOG2(); cv 29 modules/video/perf/opencl/perf_motempl.cpp OCL_TEST_CYCLE() cv::updateMotionHistory(silhouette, mhi, 1, 0.5); cv 69 modules/video/perf/opencl/perf_optflow_dualTVL1.cpp Mat frame0 = imread(getDataPath("cv/optflow/RubberWhale1.png"), cv::IMREAD_GRAYSCALE); cv 72 modules/video/perf/opencl/perf_optflow_dualTVL1.cpp Mat frame1 = imread(getDataPath("cv/optflow/RubberWhale2.png"), cv::IMREAD_GRAYSCALE); cv 90 modules/video/perf/opencl/perf_optflow_dualTVL1.cpp cv::Ptr<cv::DualTVL1OpticalFlow> alg = cv::createOptFlow_DualTVL1(); cv 74 modules/video/perf/opencl/perf_optflow_farneback.cpp Mat frame0 = imread(getDataPath("gpu/opticalflow/rubberwhale1.png"), cv::IMREAD_GRAYSCALE); cv 77 modules/video/perf/opencl/perf_optflow_farneback.cpp Mat frame1 = imread(getDataPath("gpu/opticalflow/rubberwhale2.png"), cv::IMREAD_GRAYSCALE); cv 101 modules/video/perf/opencl/perf_optflow_farneback.cpp cv::calcOpticalFlowFarneback(uFrame0, uFrame1, uFlow, pyrScale, numLevels, winSize, numIters, polyN, polySigma, flags); cv 106 modules/video/perf/opencl/perf_optflow_farneback.cpp cv::calcOpticalFlowFarneback(uFrame0, uFrame1, uFlow, pyrScale, numLevels, winSize, numIters, polyN, polySigma, flags); cv 67 modules/video/perf/opencl/perf_optflow_pyrlk.cpp Mat frame0 = imread(getDataPath("gpu/opticalflow/rubberwhale1.png"), cv::IMREAD_GRAYSCALE); cv 70 modules/video/perf/opencl/perf_optflow_pyrlk.cpp Mat frame1 = imread(getDataPath("gpu/opticalflow/rubberwhale2.png"), cv::IMREAD_GRAYSCALE); cv 93 modules/video/perf/opencl/perf_optflow_pyrlk.cpp cv::calcOpticalFlowPyrLK(uFrame0, uFrame1, pts, uNextPts, uStatus, uErr, winSize, maxLevel, criteria, flags, minEigThreshold); cv 4 modules/video/perf/perf_ecc.cpp using namespace cv; cv 4 modules/video/perf/perf_optflowpyrlk.cpp using namespace cv; cv 40 modules/video/perf/perf_optflowpyrlk.cpp string filename1 = getDataPath(cv::format(get<0>(GetParam()).c_str(), get<1>(GetParam()))); cv 41 modules/video/perf/perf_optflowpyrlk.cpp string filename2 = getDataPath(cv::format(get<0>(GetParam()).c_str(), get<1>(GetParam()) + 1)); cv 113 modules/video/perf/perf_optflowpyrlk.cpp string filename1 = getDataPath(cv::format(get<0>(GetParam()).c_str(), get<1>(GetParam()))); cv 114 modules/video/perf/perf_optflowpyrlk.cpp string filename2 = getDataPath(cv::format(get<0>(GetParam()).c_str(), get<1>(GetParam()) + 1)); cv 4 modules/video/perf/perf_tvl1optflow.cpp using namespace cv; cv 218 modules/video/src/bgfg_gaussmix2.cpp u_bgmodelUsedModes.setTo(cv::Scalar::all(0)); cv 44 modules/video/src/camshift.cpp int cv::meanShift( InputArray _probImage, Rect& window, TermCriteria criteria ) cv 108 modules/video/src/camshift.cpp cv::RotatedRect cv::CamShift( InputArray _probImage, Rect& window, cv 53 modules/video/src/compat_video.cpp cv::Mat img = cv::cvarrToMat(imgProb); cv 54 modules/video/src/compat_video.cpp cv::Rect window = windowIn; cv 55 modules/video/src/compat_video.cpp int iters = cv::meanShift(img, window, criteria); cv 60 modules/video/src/compat_video.cpp comp->area = cvRound(cv::sum(img(window))[0]); cv 73 modules/video/src/compat_video.cpp cv::Mat img = cv::cvarrToMat(imgProb); cv 74 modules/video/src/compat_video.cpp cv::Rect window = windowIn; cv 75 modules/video/src/compat_video.cpp cv::RotatedRect rr = cv::CamShift(img, window, criteria); cv 80 modules/video/src/compat_video.cpp cv::Rect roi = rr.boundingRect() & cv::Rect(0, 0, img.cols, img.rows); cv 81 modules/video/src/compat_video.cpp comp->area = cvRound(cv::sum(img(roi))[0]); cv 275 modules/video/src/compat_video.cpp cv::Mat A = cv::cvarrToMat(arrA), B = cv::cvarrToMat(arrB); cv 276 modules/video/src/compat_video.cpp cv::Mat ptA(count, 1, CV_32FC2, (void*)featuresA); cv 277 modules/video/src/compat_video.cpp cv::Mat ptB(count, 1, CV_32FC2, (void*)featuresB); cv 278 modules/video/src/compat_video.cpp cv::Mat st, err; cv 281 modules/video/src/compat_video.cpp st = cv::Mat(count, 1, CV_8U, (void*)status); cv 283 modules/video/src/compat_video.cpp err = cv::Mat(count, 1, CV_32F, (void*)error); cv 284 modules/video/src/compat_video.cpp cv::calcOpticalFlowPyrLK( A, B, ptA, ptB, st, cv 285 modules/video/src/compat_video.cpp error ? cv::_OutputArray(err) : (cv::_OutputArray)cv::noArray(), cv 296 modules/video/src/compat_video.cpp cv::Mat prev = cv::cvarrToMat(_prev), next = cv::cvarrToMat(_next); cv 297 modules/video/src/compat_video.cpp cv::Mat flow = cv::cvarrToMat(_flow); cv 299 modules/video/src/compat_video.cpp cv::calcOpticalFlowFarneback( prev, next, flow, pyr_scale, levels, cv 307 modules/video/src/compat_video.cpp cv::Mat matA = cv::cvarrToMat(arrA), matB = cv::cvarrToMat(arrB); cv 308 modules/video/src/compat_video.cpp const cv::Mat matM0 = cv::cvarrToMat(arrM); cv 310 modules/video/src/compat_video.cpp cv::Mat matM = cv::estimateRigidTransform(matA, matB, full_affine != 0); cv 313 modules/video/src/compat_video.cpp matM = cv::cvarrToMat(arrM); cv 314 modules/video/src/compat_video.cpp matM.setTo(cv::Scalar::all(0)); cv 49 modules/video/src/ecc.cpp using namespace cv; cv 316 modules/video/src/ecc.cpp double cv::findTransformECC(InputArray templateImage, cv 52 modules/video/src/lkpyramid.cpp static void calcSharrDeriv(const cv::Mat& src, cv::Mat& dst) cv 54 modules/video/src/lkpyramid.cpp using namespace cv; cv 55 modules/video/src/lkpyramid.cpp using cv::detail::deriv_type; cv 194 modules/video/src/lkpyramid.cpp cv::detail::LKTrackerInvoker::LKTrackerInvoker( cv 224 modules/video/src/lkpyramid.cpp void cv::detail::LKTrackerInvoker::operator()(const Range& range) const cv 232 modules/video/src/lkpyramid.cpp cv::AutoBuffer<deriv_type> _buf(winSize.area()*(cn + cn2)); cv 744 modules/video/src/lkpyramid.cpp int cv::buildOpticalFlowPyramid(InputArray _img, OutputArrayOfArrays pyramid, Size winSize, int maxLevel, bool withDerivatives, cv 753 modules/video/src/lkpyramid.cpp int derivType = CV_MAKETYPE(DataType<cv::detail::deriv_type>::depth, img.channels() * 2); cv 948 modules/video/src/lkpyramid.cpp if (!kernel.create("lkSparse", cv::ocl::video::pyrlk_oclsrc, "")) cv 982 modules/video/src/lkpyramid.cpp cv::String build_options; cv 986 modules/video/src/lkpyramid.cpp build_options = cv::format("-D WAVE_SIZE=%d", waveSize); cv 989 modules/video/src/lkpyramid.cpp if (!kernel.create("lkSparse", cv::ocl::video::pyrlk_oclsrc, build_options)) cv 1017 modules/video/src/lkpyramid.cpp return (cv::ocl::Device::TYPE_CPU == cv::ocl::Device::getDefault().type()); cv 1031 modules/video/src/lkpyramid.cpp if (!cv::ocl::Device::getDefault().imageSupport()) cv 1088 modules/video/src/lkpyramid.cpp void cv::calcOpticalFlowPyrLK( InputArray _prevImg, InputArray _nextImg, cv 1105 modules/video/src/lkpyramid.cpp const int derivDepth = DataType<cv::detail::deriv_type>::depth; cv 1248 modules/video/src/lkpyramid.cpp typedef tegra::LKTrackerInvoker<cv::detail::LKTrackerInvoker> LKTrackerInvoker; cv 1250 modules/video/src/lkpyramid.cpp typedef cv::detail::LKTrackerInvoker LKTrackerInvoker; cv 1350 modules/video/src/lkpyramid.cpp cv::Mat cv::estimateRigidTransform( InputArray src1, InputArray src2, bool fullAffine ) cv 690 modules/video/src/optflowgf.cpp if (flags & cv::OPTFLOW_USE_INITIAL_FLOW) cv 810 modules/video/src/optflowgf.cpp cv::Mat t_g(1, n + 1, CV_32FC1, g); t_g.copyTo(m_g); cv 811 modules/video/src/optflowgf.cpp cv::Mat t_xg(1, n + 1, CV_32FC1, xg); t_xg.copyTo(m_xg); cv 812 modules/video/src/optflowgf.cpp cv::Mat t_xxg(1, n + 1, CV_32FC1, xxg); t_xxg.copyTo(m_xxg); cv 851 modules/video/src/optflowgf.cpp if (!kernel.create("gaussianBlur", cv::ocl::video::optical_flow_farneback_oclsrc, "")) cv 878 modules/video/src/optflowgf.cpp if (!kernel.create("gaussianBlur5", cv::ocl::video::optical_flow_farneback_oclsrc, "")) cv 903 modules/video/src/optflowgf.cpp const cv::ocl::Device &device = cv::ocl::Device::getDefault(); cv 906 modules/video/src/optflowgf.cpp cv::String build_options = cv::format("-D polyN=%d -D USE_DOUBLE=%d", polyN, useDouble ? 1 : 0); cv 908 modules/video/src/optflowgf.cpp cv::String build_options = cv::format("-D polyN=%d", polyN); cv 911 modules/video/src/optflowgf.cpp if (!kernel.create("polynomialExpansion", cv::ocl::video::optical_flow_farneback_oclsrc, build_options)) cv 940 modules/video/src/optflowgf.cpp if (!kernel.create("boxFilter5", cv::ocl::video::optical_flow_farneback_oclsrc, "")) cv 967 modules/video/src/optflowgf.cpp if (!kernel.create("updateFlow", cv::ocl::video::optical_flow_farneback_oclsrc, "")) cv 991 modules/video/src/optflowgf.cpp if (!kernel.create("updateMatrices", cv::ocl::video::optical_flow_farneback_oclsrc, "")) cv 1078 modules/video/src/optflowgf.cpp void cv::calcOpticalFlowFarneback( InputArray _prev0, InputArray _next0, cv 85 modules/video/src/tvl1flow.cpp using namespace cv; cv 222 modules/video/src/tvl1flow.cpp if (!kernel.create("centeredGradientKernel", cv::ocl::video::optical_flow_tvl1_oclsrc, "")) cv 243 modules/video/src/tvl1flow.cpp if (!kernel.create("warpBackwardKernel", cv::ocl::video::optical_flow_tvl1_oclsrc, "")) cv 287 modules/video/src/tvl1flow.cpp if (!kernel.create("estimateUKernel", cv::ocl::video::optical_flow_tvl1_oclsrc, "")) cv 328 modules/video/src/tvl1flow.cpp if (!kernel.create("estimateDualVariablesKernel", cv::ocl::video::optical_flow_tvl1_oclsrc, "")) cv 532 modules/video/src/tvl1flow.cpp cv::split(_flow,umv); cv 1242 modules/video/src/tvl1flow.cpp cv::medianBlur(u1, u1, medianFiltering); cv 1243 modules/video/src/tvl1flow.cpp cv::medianBlur(u2, u2, medianFiltering); cv 1255 modules/video/src/tvl1flow.cpp error = cv::sum(diff)[0]; cv 1340 modules/video/src/tvl1flow.cpp cv::medianBlur(u1, u1, medianFiltering); cv 1341 modules/video/src/tvl1flow.cpp cv::medianBlur(u2, u2, medianFiltering); cv 1432 modules/video/src/tvl1flow.cpp Ptr<DualTVL1OpticalFlow> cv::createOptFlow_DualTVL1() cv 86 modules/video/test/ocl/test_optflow_farneback.cpp cv::Mat frame0 = readImage("optflow/RubberWhale1.png", cv::IMREAD_GRAYSCALE); cv 89 modules/video/test/ocl/test_optflow_farneback.cpp cv::Mat frame1 = readImage("optflow/RubberWhale2.png", cv::IMREAD_GRAYSCALE); cv 94 modules/video/test/ocl/test_optflow_farneback.cpp cv::Mat flow; cv::UMat uflow; cv 97 modules/video/test/ocl/test_optflow_farneback.cpp OCL_ON(cv::calcOpticalFlowFarneback(frame0, frame1, uflow, pyrScale, numLevels, winSize, numIters, polyN, polySigma, flags)); cv 99 modules/video/test/ocl/test_optflow_farneback.cpp flags |= cv::OPTFLOW_USE_INITIAL_FLOW; cv 101 modules/video/test/ocl/test_optflow_farneback.cpp OCL_OFF(cv::calcOpticalFlowFarneback(frame0, frame1, flow, pyrScale, numLevels, winSize, numIters, polyN, polySigma, flags)); cv 102 modules/video/test/ocl/test_optflow_farneback.cpp OCL_ON(cv::calcOpticalFlowFarneback(frame0, frame1, uflow, pyrScale, numLevels, winSize, numIters, polyN, polySigma, flags)); cv 112 modules/video/test/ocl/test_optflow_farneback.cpp Values(FarnebackOptFlowFlags(0), FarnebackOptFlowFlags(cv::OPTFLOW_FARNEBACK_GAUSSIAN)), cv 76 modules/video/test/ocl/test_optflow_tvl1flow.cpp cv::Mat frame0 = readImage("optflow/RubberWhale1.png", cv::IMREAD_GRAYSCALE); cv 79 modules/video/test/ocl/test_optflow_tvl1flow.cpp cv::Mat frame1 = readImage("optflow/RubberWhale2.png", cv::IMREAD_GRAYSCALE); cv 82 modules/video/test/ocl/test_optflow_tvl1flow.cpp cv::Mat flow; cv::UMat uflow; cv 85 modules/video/test/ocl/test_optflow_tvl1flow.cpp cv::Ptr<cv::DualTVL1OpticalFlow> alg = cv::createOptFlow_DualTVL1(); cv 81 modules/video/test/ocl/test_optflowpyrlk.cpp cv::Mat frame0 = readImage("optflow/RubberWhale1.png", cv::IMREAD_GRAYSCALE); cv 85 modules/video/test/ocl/test_optflowpyrlk.cpp cv::Mat frame1 = readImage("optflow/RubberWhale2.png", cv::IMREAD_GRAYSCALE); cv 89 modules/video/test/ocl/test_optflowpyrlk.cpp std::vector<cv::Point2f> pts; cv 90 modules/video/test/ocl/test_optflowpyrlk.cpp cv::goodFeaturesToTrack(frame0, pts, npoints, 0.01, 0.0); cv 92 modules/video/test/ocl/test_optflowpyrlk.cpp std::vector<cv::Point2f> cpuNextPts; cv 95 modules/video/test/ocl/test_optflowpyrlk.cpp OCL_OFF(cv::calcOpticalFlowPyrLK(frame0, frame1, pts, cpuNextPts, cpuStatusCPU, cpuErr, winSize, maxLevel, criteria, flags, minEigThreshold)); cv 98 modules/video/test/ocl/test_optflowpyrlk.cpp OCL_ON(cv::calcOpticalFlowPyrLK(umatFrame0, umatFrame1, pts, umatNextPts, umatStatus, umatErr, winSize, maxLevel, criteria, flags, minEigThreshold)); cv 99 modules/video/test/ocl/test_optflowpyrlk.cpp std::vector<cv::Point2f> nextPts; umatNextPts.reshape(2, 1).copyTo(nextPts); cv 117 modules/video/test/ocl/test_optflowpyrlk.cpp cv::Point2i a = nextPts[i]; cv 118 modules/video/test/ocl/test_optflowpyrlk.cpp cv::Point2i b = cpuNextPts[i]; cv 45 modules/video/test/test_accum.cpp using namespace cv; cv 45 modules/video/test/test_camshift.cpp using namespace cv; cv 45 modules/video/test/test_ecc.cpp using namespace cv; cv 126 modules/video/test/test_ecc.cpp cv::RNG rng = ts->get_rng(); cv 201 modules/video/test/test_ecc.cpp cv::RNG rng = ts->get_rng(); cv 275 modules/video/test/test_ecc.cpp cv::RNG rng = ts->get_rng(); cv 351 modules/video/test/test_ecc.cpp cv::RNG rng = ts->get_rng(); cv 426 modules/video/test/test_ecc.cpp cv::RNG rng = ts->get_rng(); cv 52 modules/video/test/test_estimaterigid.cpp using namespace cv; cv 85 modules/video/test/test_estimaterigid.cpp cv::RNG rng = ts->get_rng(); cv 122 modules/video/test/test_estimaterigid.cpp dB = cv::determinant(B); cv 147 modules/video/test/test_estimaterigid.cpp Mat aff = cv::getRotationMatrix2D(Point(img.cols/2, img.rows/2), 1, 0.99); cv 45 modules/video/test/test_kalman.cpp using namespace cv; cv 78 modules/video/test/test_optflowpyrlk.cpp cv::Mat imgI2, imgJ2; cv 120 modules/video/test/test_optflowpyrlk.cpp imgI2 = cv::imread( filename, cv::IMREAD_UNCHANGED ); cv 132 modules/video/test/test_optflowpyrlk.cpp imgJ2 = cv::imread( filename, cv::IMREAD_UNCHANGED ); cv 220 modules/video/test/test_optflowpyrlk.cpp cv::Mat lenaImg = cv::imread(path); cv 223 modules/video/test/test_optflowpyrlk.cpp cv::Mat wholeImage; cv 224 modules/video/test/test_optflowpyrlk.cpp cv::resize(lenaImg, wholeImage, cv::Size(1024, 1024)); cv 226 modules/video/test/test_optflowpyrlk.cpp cv::Mat img1 = wholeImage(cv::Rect(0, 0, 640, 360)).clone(); cv 227 modules/video/test/test_optflowpyrlk.cpp cv::Mat img2 = wholeImage(cv::Rect(40, 60, 640, 360)); cv 231 modules/video/test/test_optflowpyrlk.cpp std::vector<cv::Point2f> prev; cv 232 modules/video/test/test_optflowpyrlk.cpp std::vector<cv::Point2f> next; cv 234 modules/video/test/test_optflowpyrlk.cpp cv::RNG rng(123123); cv 241 modules/video/test/test_optflowpyrlk.cpp prev.push_back(cv::Point2f((float)x, (float)y)); cv 244 modules/video/test/test_optflowpyrlk.cpp ASSERT_NO_THROW(cv::calcOpticalFlowPyrLK(img1, img2, prev, next, status, error)); cv 46 modules/video/test/test_tvl1optflow.cpp using namespace cv; cv 111 modules/videoio/include/opencv2/videoio/cap_ios.h - (void)processImage:(cv::Mat&)image; cv 6 modules/videoio/perf/perf_input.cpp using namespace cv; cv 6 modules/videoio/perf/perf_output.cpp using namespace cv; cv 27 modules/videoio/perf/perf_output.cpp VideoWriter writer(cv::tempfile(".wmv"), VideoWriter::fourcc('W', 'M', 'V', '3'), cv 28 modules/videoio/perf/perf_output.cpp 25, cv::Size(image.cols, image.rows), isColor); cv 30 modules/videoio/perf/perf_output.cpp VideoWriter writer(cv::tempfile(".avi"), VideoWriter::fourcc('X', 'V', 'I', 'D'), cv 31 modules/videoio/perf/perf_output.cpp 25, cv::Size(image.cols, image.rows), isColor); cv 549 modules/videoio/src/cap.cpp capture = Ptr<IVideoCapture>(new cv::VideoCapture_WinRT(index)); cv 685 modules/videoio/src/cap.cpp cv::cvarrToMat(_img).copyTo(image); cv 688 modules/videoio/src/cap.cpp Mat temp = cv::cvarrToMat(_img); cv 3310 modules/videoio/src/cap_dshow.cpp cv::Mat mat = frame.getMat(); cv 60 modules/videoio/src/cap_ffmpeg.cpp static cv::Mutex _icvInitFFMPEG_mutex; cv 67 modules/videoio/src/cap_ffmpeg.cpp cv::AutoLock al(_icvInitFFMPEG_mutex); cv 88 modules/videoio/src/cap_gstreamer.cpp static cv::Mutex gst_initializer_mutex; cv 382 modules/videoio/src/cap_intelperc.cpp bool IntelPerCStreamImage::retrieveAsOutputArray(cv::OutputArray image) cv 395 modules/videoio/src/cap_intelperc.cpp cv::Mat temp(info.height, info.width, CV_8UC3, data.planes[0], data.pitches[0]); cv 508 modules/videoio/src/cap_intelperc.cpp bool IntelPerCStreamDepth::retrieveDepthAsOutputArray(cv::OutputArray image) cv 512 modules/videoio/src/cap_intelperc.cpp bool IntelPerCStreamDepth::retrieveIRAsOutputArray(cv::OutputArray image) cv 516 modules/videoio/src/cap_intelperc.cpp bool IntelPerCStreamDepth::retrieveUVAsOutputArray(cv::OutputArray image) cv 524 modules/videoio/src/cap_intelperc.cpp bool IntelPerCStreamDepth::retriveFrame(int type, int planeIdx, cv::OutputArray frame) cv 537 modules/videoio/src/cap_intelperc.cpp cv::Mat temp(info.height, info.width, type, data.planes[planeIdx], data.pitches[planeIdx]); cv 607 modules/videoio/src/cap_intelperc.cpp bool VideoCapture_IntelPerC::retrieveFrame(int outputType, cv::OutputArray frame) cv 68 modules/videoio/src/cap_openni.cpp const cv::String XMLConfig = cv 278 modules/videoio/src/cap_openni.cpp cv::Ptr<xn::DepthMetaData> depthPtr = cv::makePtr<xn::DepthMetaData>(); cv 284 modules/videoio/src/cap_openni.cpp cv::Ptr<xn::ImageMetaData> imagePtr = cv::makePtr<xn::ImageMetaData>(); cv 308 modules/videoio/src/cap_openni.cpp std::queue<cv::Ptr<xn::DepthMetaData> > depthQueue; cv 309 modules/videoio/src/cap_openni.cpp std::queue<cv::Ptr<xn::ImageMetaData> > imageQueue; cv 337 modules/videoio/src/cap_openni.cpp cv::Ptr<xn::DepthMetaData> depthPtr = cv::makePtr<xn::DepthMetaData>(), tmp; cv 355 modules/videoio/src/cap_openni.cpp cv::Ptr<xn::ImageMetaData> imagePtr = cv::makePtr<xn::ImageMetaData>(), tmp; cv 373 modules/videoio/src/cap_openni.cpp cv::Ptr<xn::DepthMetaData> depthPtr; cv 381 modules/videoio/src/cap_openni.cpp cv::Ptr<xn::ImageMetaData> imagePtr; cv 389 modules/videoio/src/cap_openni.cpp tbb::concurrent_bounded_queue<cv::Ptr<xn::DepthMetaData> > depthQueue; cv 390 modules/videoio/src/cap_openni.cpp tbb::concurrent_bounded_queue<cv::Ptr<xn::ImageMetaData> > imageQueue; cv 424 modules/videoio/src/cap_openni.cpp cv::Ptr<ApproximateSynchronizer> task; cv 460 modules/videoio/src/cap_openni.cpp cv::Mat mat; cv 502 modules/videoio/src/cap_openni.cpp cv::Ptr<ApproximateSyncGrabber> approxSyncGrabber; cv 857 modules/videoio/src/cap_openni.cpp CV_Error( CV_StsBadArg, cv::format("Such parameter (propIdx=%d) isn't supported for getting.\n", propIdx) ); cv 914 modules/videoio/src/cap_openni.cpp CV_Error( CV_StsBadArg, cv::format("Such parameter (propIdx=%d) isn't supported for setting.\n", propIdx) ); cv 965 modules/videoio/src/cap_openni.cpp CV_Error( CV_StsBadArg, cv::format("Depth generator does not support such parameter (propIdx=%d) for getting.\n", propIdx) ); cv 1015 modules/videoio/src/cap_openni.cpp CV_Error( CV_StsBadArg, cv::format("Depth generator does not support such parameter (propIdx=%d) for setting.\n", propIdx) ); cv 1053 modules/videoio/src/cap_openni.cpp CV_Error( CV_StsBadArg, cv::format("Image generator does not support such parameter (propIdx=%d) for getting.\n", propIdx) ); cv 1110 modules/videoio/src/cap_openni.cpp CV_Error( CV_StsBadArg, cv::format("Image generator does not support such parameter (propIdx=%d) for setting.\n", propIdx) ); cv 1142 modules/videoio/src/cap_openni.cpp inline void getDepthMapFromMetaData( const xn::DepthMetaData& depthMetaData, cv::Mat& depthMap, XnUInt64 noSampleValue, XnUInt64 shadowValue ) cv 1154 modules/videoio/src/cap_openni.cpp cv::Mat badMask = (depthMap == (double)noSampleValue) | (depthMap == (double)shadowValue) | (depthMap == 0); cv 1157 modules/videoio/src/cap_openni.cpp depthMap.setTo( cv::Scalar::all( CvCapture_OpenNI::INVALID_PIXEL_VAL ), badMask ); cv 1175 modules/videoio/src/cap_openni.cpp cv::Mat depth; cv 1181 modules/videoio/src/cap_openni.cpp cv::Mat pointCloud_XYZ( rows, cols, CV_32FC3, cv::Scalar::all(badPoint) ); cv 1203 modules/videoio/src/cap_openni.cpp pointCloud_XYZ.at<cv::Point3f>(y,x) = cv::Point3f( badCoord, badCoord, badCoord ); cv 1207 modules/videoio/src/cap_openni.cpp pointCloud_XYZ.at<cv::Point3f>(y,x) = cv::Point3f( real[ind].X*0.001f, real[ind].Y*0.001f, real[ind].Z*0.001f); // from mm to meters cv 1217 modules/videoio/src/cap_openni.cpp static void computeDisparity_32F( const xn::DepthMetaData& depthMetaData, cv::Mat& disp, XnDouble baseline, XnUInt64 F, cv 1220 modules/videoio/src/cap_openni.cpp cv::Mat depth; cv 1230 modules/videoio/src/cap_openni.cpp disp = cv::Scalar::all( CvCapture_OpenNI::INVALID_PIXEL_VAL ); cv 1247 modules/videoio/src/cap_openni.cpp cv::Mat disp32; cv 1270 modules/videoio/src/cap_openni.cpp cv::Mat depth; cv 1278 modules/videoio/src/cap_openni.cpp inline void getBGRImageFromMetaData( const xn::ImageMetaData& imageMetaData, cv::Mat& bgrImage ) cv 1283 modules/videoio/src/cap_openni.cpp cv::Mat rgbImage( imageMetaData.YRes(), imageMetaData.XRes(), CV_8UC3 ); cv 1288 modules/videoio/src/cap_openni.cpp cv::cvtColor( rgbImage, bgrImage, CV_RGB2BGR ); cv 1308 modules/videoio/src/cap_openni.cpp cv::Mat rgbImage; cv 1310 modules/videoio/src/cap_openni.cpp cv::cvtColor( rgbImage, outputMaps[CV_CAP_OPENNI_GRAY_IMAGE].mat, CV_BGR2GRAY ); cv 106 modules/videoio/src/cap_openni2.cpp cv::Mat mat; cv 142 modules/videoio/src/cap_openni2.cpp cv::Mat depthImage, colorImage; cv 230 modules/videoio/src/cap_openni2.cpp CV_Error(CV_StsError, cv::format("Failed to initialize:", openni::OpenNI::getExtendedError())); cv 237 modules/videoio/src/cap_openni2.cpp CV_Error(CV_StsError, cv::format("OpenCVKinect: Device open failed see: %s\n", openni::OpenNI::getExtendedError())); cv 256 modules/videoio/src/cap_openni2.cpp CV_Error(CV_StsError, cv::format("CvCapture_OpenNI2::CvCapture_OpenNI2 : Couldn't start depth stream: %s\n", openni::OpenNI::getExtendedError())); cv 263 modules/videoio/src/cap_openni2.cpp CV_Error(CV_StsError, cv::format("CvCapture_OpenNI2::CvCapture_OpenNI2 : Couldn't find depth stream:: %s\n", openni::OpenNI::getExtendedError())); cv 282 modules/videoio/src/cap_openni2.cpp CV_Error(CV_StsError, cv::format("CvCapture_OpenNI2::CvCapture_OpenNI2 : Couldn't start color stream: %s\n", openni::OpenNI::getExtendedError())); cv 290 modules/videoio/src/cap_openni2.cpp CV_Error(CV_StsError, cv::format("CvCapture_OpenNI2::CvCapture_OpenNI2 : Couldn't find color stream: %s\n", openni::OpenNI::getExtendedError())); cv 296 modules/videoio/src/cap_openni2.cpp CV_Error(CV_StsError, cv::format("CvCapture_OpenNI2::CvCapture_OpenNI2 : Could not read cameras parameters\n")); cv 331 modules/videoio/src/cap_openni2.cpp CV_Error(CV_StsError, cv::format("Failed to initialize:", openni::OpenNI::getExtendedError())); cv 339 modules/videoio/src/cap_openni2.cpp CV_Error(CV_StsError, cv::format("CvCapture_OpenNI2::CvCapture_OpenNI2 : Failed to open input file (%s): %s\n", filename, openni::OpenNI::getExtendedError())); cv 345 modules/videoio/src/cap_openni2.cpp CV_Error(CV_StsError, cv::format("CvCapture_OpenNI2::CvCapture_OpenNI2 : Could not read cameras parameters\n")); cv 368 modules/videoio/src/cap_openni2.cpp CV_Error(CV_StsError, cv::format("CvCapture_OpenNI2::readCamerasParams : Could not read pixel size!\n")); cv 379 modules/videoio/src/cap_openni2.cpp CV_Error(CV_StsError, cv::format("CvCapture_OpenNI2::readCamerasParams : Could not read virtual plane distance!\n")); cv 385 modules/videoio/src/cap_openni2.cpp CV_Error(CV_StsError, cv::format("CvCapture_OpenNI2::readCamerasParams : Could not read base line!\n")); cv 477 modules/videoio/src/cap_openni2.cpp CV_Error( CV_StsBadArg, cv::format("Such parameter (propIdx=%d) isn't supported for getting.\n", propIdx) ); cv 505 modules/videoio/src/cap_openni2.cpp CV_Error( CV_StsBadArg, cv::format("Such parameter (propIdx=%d) isn't supported for setting.\n", propIdx) ); cv 554 modules/videoio/src/cap_openni2.cpp CV_Error( CV_StsBadArg, cv::format("Depth generator does not support such parameter (propIdx=%d) for getting.\n", propIdx) ); cv 583 modules/videoio/src/cap_openni2.cpp CV_Error(CV_StsError, cv::format("CvCapture_OpenNI2::setDepthGeneratorProperty : %s\n", openni::OpenNI::getExtendedError())); cv 588 modules/videoio/src/cap_openni2.cpp CV_Error(CV_StsError, cv::format("CvCapture_OpenNI2::setDepthGeneratorProperty : Unsupported viewpoint.\n")); cv 598 modules/videoio/src/cap_openni2.cpp CV_Error(CV_StsError, cv::format("CvCapture_OpenNI2::setDepthGeneratorProperty : %s\n", openni::OpenNI::getExtendedError())); cv 605 modules/videoio/src/cap_openni2.cpp CV_Error( CV_StsBadArg, cv::format("Depth generator does not support such parameter (propIdx=%d) for setting.\n", propIdx) ); cv 640 modules/videoio/src/cap_openni2.cpp CV_Error( CV_StsBadArg, cv::format("Image generator does not support such parameter (propIdx=%d) for getting.\n", propIdx) ); cv 686 modules/videoio/src/cap_openni2.cpp CV_Error(CV_StsError, cv::format("CvCapture_OpenNI2::setImageGeneratorProperty : %s\n", openni::OpenNI::getExtendedError())); cv 692 modules/videoio/src/cap_openni2.cpp CV_Error( CV_StsBadArg, cv::format("Image generator does not support such parameter (propIdx=%d) for setting.\n", propIdx) ); cv 718 modules/videoio/src/cap_openni2.cpp inline void getDepthMapFromMetaData(const openni::VideoFrameRef& depthMetaData, cv::Mat& depthMap, int noSampleValue, int shadowValue) cv 723 modules/videoio/src/cap_openni2.cpp cv::Mat badMask = (depthMap == (double)noSampleValue) | (depthMap == (double)shadowValue) | (depthMap == 0); cv 726 modules/videoio/src/cap_openni2.cpp depthMap.setTo( cv::Scalar::all( CvCapture_OpenNI2::INVALID_PIXEL_VAL ), badMask ); cv 744 modules/videoio/src/cap_openni2.cpp cv::Mat depthImg; cv 750 modules/videoio/src/cap_openni2.cpp cv::Mat pointCloud_XYZ( rows, cols, CV_32FC3, cv::Scalar::all(badPoint) ); cv 760 modules/videoio/src/cap_openni2.cpp pointCloud_XYZ.at<cv::Point3f>(y, x) = cv::Point3f(badCoord, badCoord, badCoord); cv 763 modules/videoio/src/cap_openni2.cpp pointCloud_XYZ.at<cv::Point3f>(y, x) = cv::Point3f(worldX*0.001f, worldY*0.001f, worldZ*0.001f); // from mm to meters cv 773 modules/videoio/src/cap_openni2.cpp static void computeDisparity_32F( const openni::VideoFrameRef& depthMetaData, cv::Mat& disp, double baseline, int F, int noSampleValue, int shadowValue) cv 775 modules/videoio/src/cap_openni2.cpp cv::Mat depth; cv 784 modules/videoio/src/cap_openni2.cpp disp = cv::Scalar::all( CvCapture_OpenNI2::INVALID_PIXEL_VAL ); cv 801 modules/videoio/src/cap_openni2.cpp cv::Mat disp32; cv 824 modules/videoio/src/cap_openni2.cpp cv::Mat d; cv 832 modules/videoio/src/cap_openni2.cpp inline void getBGRImageFromMetaData( const openni::VideoFrameRef& imageMetaData, cv::Mat& bgrImage ) cv 834 modules/videoio/src/cap_openni2.cpp cv::Mat bufferImage; cv 842 modules/videoio/src/cap_openni2.cpp cv::cvtColor(bufferImage, bgrImage, cv::COLOR_RGB2BGR); cv 862 modules/videoio/src/cap_openni2.cpp cv::Mat rgbImage; cv 864 modules/videoio/src/cap_openni2.cpp cv::cvtColor( rgbImage, outputMaps[CV_CAP_OPENNI_GRAY_IMAGE].mat, CV_BGR2GRAY ); cv 375 modules/videoio/src/cap_pvapi.cpp cv::String ip=cv::format("%d.%d.%d.%d", ((unsigned int)value>>24)&255, ((unsigned int)value>>16)&255, ((unsigned int)value>>8)&255, (unsigned int)value&255); cv 437 modules/videoio/src/cap_pvapi.cpp cv::String pixelFormat; cv 1745 modules/videoio/src/cap_v4l.cpp cv::Mat temp=cv::imdecode(cv::Mat(std::vector<uchar>(src, src + length)), 1); cv 125 modules/videoio/src/cap_winrt_bridge.cpp requestForUIthreadAsync(cv::UPDATE_IMAGE_ELEMENT); cv 113 modules/videoio/src/cap_winrt_bridge.hpp cv::Mat frontInputMat; cv 114 modules/videoio/src/cap_winrt_bridge.hpp cv::Mat backInputMat; cv 155 modules/videoio/src/cap_winrt_capture.cpp bool VideoCapture_WinRT::retrieveFrame(int channel, cv::OutputArray outArray) cv 56 modules/videoio/src/cap_winrt_capture.hpp virtual bool retrieveFrame(int channel, cv::OutputArray outArray); cv 50 modules/videoio/test/test_basic_props.cpp using namespace cv; cv 46 modules/videoio/test/test_ffmpeg.cpp using namespace cv; cv 108 modules/videoio/test/test_ffmpeg.cpp string s = cv::format("%08x%s", tag, ext); cv 47 modules/videoio/test/test_framecount.cpp using namespace cv; cv 47 modules/videoio/test/test_positioning.cpp using namespace cv; cv 46 modules/videoio/test/test_video_io.cpp using namespace cv; cv 189 modules/videoio/test/test_video_io.cpp string full_name = cv::tempfile(ext.c_str()); cv 259 modules/videoio/test/test_video_io.cpp string tmp_name = cv::tempfile((cvtest::fourccToString(fmt.fourcc) + "." + fmt.ext).c_str()); cv 281 modules/videoio/test/test_video_io.cpp frames.push_back(cv::cvarrToMat(img, true)); cv 319 modules/videoio/test/test_video_io.cpp Mat img1 = cv::cvarrToMat(ipl1); cv 362 modules/videoio/test/test_video_io.cpp string full_name = cv::tempfile((s_digit.str() + ".bmp").c_str()); cv 434 modules/videoio/test/test_video_io.cpp const string video_file = cv::tempfile((fourcc_str + "." + ext).c_str()); cv 46 modules/videoio/test/test_video_pos.cpp using namespace cv; cv 68 modules/videoio/test/test_video_pos.cpp return cv::tempfile((cvtest::fourccToString(fmt.fourcc) + "." + fmt.ext).c_str()); cv 106 modules/videostab/include/opencv2/videostab/fast_marching.hpp cv::Mat_<uchar> flag_; // flag map cv 107 modules/videostab/include/opencv2/videostab/fast_marching.hpp cv::Mat_<float> dist_; // distance map cv 109 modules/videostab/include/opencv2/videostab/fast_marching.hpp cv::Mat_<int> index_; // index of point in the narrow band cv 54 modules/videostab/include/opencv2/videostab/fast_marching_inl.hpp Inpaint FastMarchingMethod::run(const cv::Mat &mask, Inpaint inpaint) cv 56 modules/videostab/include/opencv2/videostab/fast_marching_inl.hpp using namespace cv; cv 59 modules/videostab/include/opencv2/videostab/ring_buffer.hpp return items[cv::borderInterpolate(idx, static_cast<int>(items.size()), cv::BORDER_WRAP)]; cv 64 modules/videostab/include/opencv2/videostab/ring_buffer.hpp return items[cv::borderInterpolate(idx, static_cast<int>(items.size()), cv::BORDER_WRAP)]; cv 69 modules/videostab/src/global_motion.cpp int remaining = cv::cuda::device::globmotion::compactPoints( cv 452 modules/videostab/src/inpainting.cpp cv::Mat_<uchar> mask; cv 453 modules/videostab/src/inpainting.cpp cv::Mat_<cv::Point3_<uchar> > frame; cv 469 modules/videostab/src/inpainting.cpp cv::inpaint(frame, invMask_, frame, radius_, method_); cv 62 modules/videostab/src/precomp.hpp inline float intensity(const cv::Point3_<uchar> &bgr) cv 75 modules/videostab/src/wobble_suppression.cpp cv::cuda::device::globmotion::calcWobbleSuppressionMaps( cv 268 modules/viz/include/opencv2/viz/types.hpp inline cv::viz::Color::Color() : Scalar(0, 0, 0) {} cv 269 modules/viz/include/opencv2/viz/types.hpp inline cv::viz::Color::Color(double _gray) : Scalar(_gray, _gray, _gray) {} cv 270 modules/viz/include/opencv2/viz/types.hpp inline cv::viz::Color::Color(double _blue, double _green, double _red) : Scalar(_blue, _green, _red) {} cv 271 modules/viz/include/opencv2/viz/types.hpp inline cv::viz::Color::Color(const Scalar& color) : Scalar(color) {} cv 273 modules/viz/include/opencv2/viz/types.hpp inline cv::viz::Color::operator cv::Vec3b() const { return cv::Vec3d(val); } cv 275 modules/viz/include/opencv2/viz/types.hpp inline cv::viz::Color cv::viz::Color::black() { return Color( 0, 0, 0); } cv 276 modules/viz/include/opencv2/viz/types.hpp inline cv::viz::Color cv::viz::Color::green() { return Color( 0, 255, 0); } cv 277 modules/viz/include/opencv2/viz/types.hpp inline cv::viz::Color cv::viz::Color::blue() { return Color(255, 0, 0); } cv 278 modules/viz/include/opencv2/viz/types.hpp inline cv::viz::Color cv::viz::Color::cyan() { return Color(255, 255, 0); } cv 279 modules/viz/include/opencv2/viz/types.hpp inline cv::viz::Color cv::viz::Color::red() { return Color( 0, 0, 255); } cv 280 modules/viz/include/opencv2/viz/types.hpp inline cv::viz::Color cv::viz::Color::yellow() { return Color( 0, 255, 255); } cv 281 modules/viz/include/opencv2/viz/types.hpp inline cv::viz::Color cv::viz::Color::magenta() { return Color(255, 0, 255); } cv 282 modules/viz/include/opencv2/viz/types.hpp inline cv::viz::Color cv::viz::Color::white() { return Color(255, 255, 255); } cv 283 modules/viz/include/opencv2/viz/types.hpp inline cv::viz::Color cv::viz::Color::gray() { return Color(128, 128, 128); } cv 285 modules/viz/include/opencv2/viz/types.hpp inline cv::viz::Color cv::viz::Color::mlab() { return Color(255, 128, 128); } cv 287 modules/viz/include/opencv2/viz/types.hpp inline cv::viz::Color cv::viz::Color::navy() { return Color(0, 0, 128); } cv 288 modules/viz/include/opencv2/viz/types.hpp inline cv::viz::Color cv::viz::Color::olive() { return Color(0, 128, 128); } cv 289 modules/viz/include/opencv2/viz/types.hpp inline cv::viz::Color cv::viz::Color::maroon() { return Color(0, 0, 128); } cv 290 modules/viz/include/opencv2/viz/types.hpp inline cv::viz::Color cv::viz::Color::teal() { return Color(128, 128, 0); } cv 291 modules/viz/include/opencv2/viz/types.hpp inline cv::viz::Color cv::viz::Color::rose() { return Color(128, 0, 255); } cv 292 modules/viz/include/opencv2/viz/types.hpp inline cv::viz::Color cv::viz::Color::azure() { return Color(255, 128, 0); } cv 293 modules/viz/include/opencv2/viz/types.hpp inline cv::viz::Color cv::viz::Color::lime() { return Color(0, 255, 191); } cv 294 modules/viz/include/opencv2/viz/types.hpp inline cv::viz::Color cv::viz::Color::gold() { return Color(0, 215, 255); } cv 295 modules/viz/include/opencv2/viz/types.hpp inline cv::viz::Color cv::viz::Color::brown() { return Color(0, 75, 150); } cv 296 modules/viz/include/opencv2/viz/types.hpp inline cv::viz::Color cv::viz::Color::orange() { return Color(0, 165, 255); } cv 297 modules/viz/include/opencv2/viz/types.hpp inline cv::viz::Color cv::viz::Color::chartreuse() { return Color(0, 255, 128); } cv 298 modules/viz/include/opencv2/viz/types.hpp inline cv::viz::Color cv::viz::Color::orange_red() { return Color(0, 69, 255); } cv 299 modules/viz/include/opencv2/viz/types.hpp inline cv::viz::Color cv::viz::Color::purple() { return Color(128, 0, 128); } cv 300 modules/viz/include/opencv2/viz/types.hpp inline cv::viz::Color cv::viz::Color::indigo() { return Color(130, 0, 75); } cv 302 modules/viz/include/opencv2/viz/types.hpp inline cv::viz::Color cv::viz::Color::pink() { return Color(203, 192, 255); } cv 303 modules/viz/include/opencv2/viz/types.hpp inline cv::viz::Color cv::viz::Color::cherry() { return Color( 99, 29, 222); } cv 304 modules/viz/include/opencv2/viz/types.hpp inline cv::viz::Color cv::viz::Color::bluberry() { return Color(247, 134, 79); } cv 305 modules/viz/include/opencv2/viz/types.hpp inline cv::viz::Color cv::viz::Color::raspberry() { return Color( 92, 11, 227); } cv 306 modules/viz/include/opencv2/viz/types.hpp inline cv::viz::Color cv::viz::Color::silver() { return Color(192, 192, 192); } cv 307 modules/viz/include/opencv2/viz/types.hpp inline cv::viz::Color cv::viz::Color::violet() { return Color(226, 43, 138); } cv 308 modules/viz/include/opencv2/viz/types.hpp inline cv::viz::Color cv::viz::Color::apricot() { return Color(177, 206, 251); } cv 309 modules/viz/include/opencv2/viz/types.hpp inline cv::viz::Color cv::viz::Color::turquoise() { return Color(208, 224, 64); } cv 310 modules/viz/include/opencv2/viz/types.hpp inline cv::viz::Color cv::viz::Color::celestial_blue() { return Color(208, 151, 73); } cv 311 modules/viz/include/opencv2/viz/types.hpp inline cv::viz::Color cv::viz::Color::amethyst() { return Color(204, 102, 153); } cv 313 modules/viz/include/opencv2/viz/types.hpp inline cv::viz::Color cv::viz::Color::not_set() { return Color(-1, -1, -1); } cv 70 modules/viz/include/opencv2/viz/viz3d.hpp typedef cv::viz::Color Color; cv 280 modules/viz/include/opencv2/viz/widgets.hpp WSphere(const cv::Point3d ¢er, double radius, int sphere_resolution = 10, const Color &color = Color::white()); cv 51 modules/viz/src/clouds.cpp cv::viz::WCloud::WCloud(InputArray cloud, InputArray colors) cv 53 modules/viz/src/clouds.cpp WCloud cloud_widget(cloud, colors, cv::noArray()); cv 57 modules/viz/src/clouds.cpp cv::viz::WCloud::WCloud(InputArray cloud, const Color &color) cv 63 modules/viz/src/clouds.cpp cv::viz::WCloud::WCloud(InputArray cloud, const Color &color, InputArray normals) cv 69 modules/viz/src/clouds.cpp cv::viz::WCloud::WCloud(cv::InputArray cloud, cv::InputArray colors, cv::InputArray normals) cv 94 modules/viz/src/clouds.cpp template<> cv::viz::WCloud cv::viz::Widget::cast<cv::viz::WCloud>() cv 103 modules/viz/src/clouds.cpp cv::viz::WPaintedCloud::WPaintedCloud(InputArray cloud) cv 132 modules/viz/src/clouds.cpp cv::viz::WPaintedCloud::WPaintedCloud(InputArray cloud, const Point3d& p1, const Point3d& p2) cv 158 modules/viz/src/clouds.cpp cv::viz::WPaintedCloud::WPaintedCloud(InputArray cloud, const Point3d& p1, const Point3d& p2, const Color& c1, const Color c2) cv 198 modules/viz/src/clouds.cpp template<> cv::viz::WPaintedCloud cv::viz::Widget::cast<cv::viz::WPaintedCloud>() cv 207 modules/viz/src/clouds.cpp cv::viz::WCloudCollection::WCloudCollection() cv 227 modules/viz/src/clouds.cpp void cv::viz::WCloudCollection::addCloud(InputArray cloud, InputArray colors, const Affine3d &pose) cv 244 modules/viz/src/clouds.cpp void cv::viz::WCloudCollection::addCloud(InputArray cloud, const Color &color, const Affine3d &pose) cv 249 modules/viz/src/clouds.cpp void cv::viz::WCloudCollection::finalize() cv 266 modules/viz/src/clouds.cpp template<> cv::viz::WCloudCollection cv::viz::Widget::cast<cv::viz::WCloudCollection>() cv 275 modules/viz/src/clouds.cpp cv::viz::WCloudNormals::WCloudNormals(InputArray _cloud, InputArray _normals, int level, double scale, const Color &color) cv 352 modules/viz/src/clouds.cpp template<> cv::viz::WCloudNormals cv::viz::Widget::cast<cv::viz::WCloudNormals>() cv 361 modules/viz/src/clouds.cpp cv::viz::WMesh::WMesh(const Mesh &mesh) cv 444 modules/viz/src/clouds.cpp cv::viz::WMesh::WMesh(InputArray cloud, InputArray polygons, InputArray colors, InputArray normals) cv 454 modules/viz/src/clouds.cpp template<> CV_EXPORTS cv::viz::WMesh cv::viz::Widget::cast<cv::viz::WMesh>() cv 464 modules/viz/src/clouds.cpp cv::viz::WWidgetMerger::WWidgetMerger() cv 483 modules/viz/src/clouds.cpp void cv::viz::WWidgetMerger::addWidget(const Widget3D& widget, const Affine3d &pose) cv 500 modules/viz/src/clouds.cpp void cv::viz::WWidgetMerger::finalize() cv 514 modules/viz/src/clouds.cpp template<> CV_EXPORTS cv::viz::WWidgetMerger cv::viz::Widget::cast<cv::viz::WWidgetMerger>() cv 213 modules/viz/src/precomp.hpp inline vtkSmartPointer<vtkMatrix4x4> vtkmatrix(const cv::Matx44d &matrix) cv 50 modules/viz/src/shapes.cpp cv::viz::WLine::WLine(const Point3d &pt1, const Point3d &pt2, const Color &color) cv 69 modules/viz/src/shapes.cpp template<> cv::viz::WLine cv::viz::Widget::cast<cv::viz::WLine>() cv 78 modules/viz/src/shapes.cpp cv::viz::WSphere::WSphere(const Point3d ¢er, double radius, int sphere_resolution, const Color &color) cv 100 modules/viz/src/shapes.cpp template<> cv::viz::WSphere cv::viz::Widget::cast<cv::viz::WSphere>() cv 109 modules/viz/src/shapes.cpp cv::viz::WPlane::WPlane(const Size2d& size, const Color &color) cv 130 modules/viz/src/shapes.cpp cv::viz::WPlane::WPlane(const Point3d& center, const Vec3d& normal, const Vec3d& new_yaxis, const Size2d& size, const Color &color) cv 141 modules/viz/src/shapes.cpp template<> cv::viz::WPlane cv::viz::Widget::cast<cv::viz::WPlane>() cv 150 modules/viz/src/shapes.cpp cv::viz::WArrow::WArrow(const Point3d& pt1, const Point3d& pt2, double thickness, const Color &color) cv 181 modules/viz/src/shapes.cpp template<> cv::viz::WArrow cv::viz::Widget::cast<cv::viz::WArrow>() cv 190 modules/viz/src/shapes.cpp cv::viz::WCircle::WCircle(double radius, double thickness, const Color &color) cv 211 modules/viz/src/shapes.cpp cv::viz::WCircle::WCircle(double radius, const Point3d& center, const Vec3d& normal, double thickness, const Color &color) cv 223 modules/viz/src/shapes.cpp template<> cv::viz::WCircle cv::viz::Widget::cast<cv::viz::WCircle>() cv 232 modules/viz/src/shapes.cpp cv::viz::WCone::WCone(double length, double radius, int resolution, const Color &color) cv 253 modules/viz/src/shapes.cpp cv::viz::WCone::WCone(double radius, const Point3d& center, const Point3d& tip, int resolution, const Color &color) cv 265 modules/viz/src/shapes.cpp template<> cv::viz::WCone cv::viz::Widget::cast<cv::viz::WCone>() cv 274 modules/viz/src/shapes.cpp cv::viz::WCylinder::WCylinder(const Point3d& axis_point1, const Point3d& axis_point2, double radius, int numsides, const Color &color) cv 298 modules/viz/src/shapes.cpp template<> cv::viz::WCylinder cv::viz::Widget::cast<cv::viz::WCylinder>() cv 307 modules/viz/src/shapes.cpp cv::viz::WCube::WCube(const Point3d& min_point, const Point3d& max_point, bool wire_frame, const Color &color) cv 341 modules/viz/src/shapes.cpp template<> cv::viz::WCube cv::viz::Widget::cast<cv::viz::WCube>() cv 350 modules/viz/src/shapes.cpp cv::viz::WCoordinateSystem::WCoordinateSystem(double scale) cv 385 modules/viz/src/shapes.cpp template<> cv::viz::WCoordinateSystem cv::viz::Widget::cast<cv::viz::WCoordinateSystem>() cv 394 modules/viz/src/shapes.cpp cv::viz::WPolyLine::WPolyLine(InputArray points, InputArray colors) cv 419 modules/viz/src/shapes.cpp cv::viz::WPolyLine::WPolyLine(InputArray points, const Color &color) cv 425 modules/viz/src/shapes.cpp template<> cv::viz::WPolyLine cv::viz::Widget::cast<cv::viz::WPolyLine>() cv 435 modules/viz/src/shapes.cpp cv::viz::WGrid::WGrid(const Vec2i &cells, const Vec2d &cells_spacing, const Color &color) cv 464 modules/viz/src/shapes.cpp cv::viz::WGrid::WGrid(const Point3d& center, const Vec3d& normal, const Vec3d& new_yaxis, const Vec2i &cells, const Vec2d &cells_spacing, const Color &color) cv 475 modules/viz/src/shapes.cpp template<> cv::viz::WGrid cv::viz::Widget::cast<cv::viz::WGrid>() cv 484 modules/viz/src/shapes.cpp cv::viz::WText3D::WText3D(const String &text, const Point3d &position, double text_scale, bool face_camera, const Color &color) cv 514 modules/viz/src/shapes.cpp void cv::viz::WText3D::setText(const String &text) cv 529 modules/viz/src/shapes.cpp cv::String cv::viz::WText3D::getText() const cv 541 modules/viz/src/shapes.cpp template<> cv::viz::WText3D cv::viz::Widget::cast<cv::viz::WText3D>() cv 550 modules/viz/src/shapes.cpp cv::viz::WText::WText(const String &text, const Point &pos, int font_size, const Color &color) cv 570 modules/viz/src/shapes.cpp template<> cv::viz::WText cv::viz::Widget::cast<cv::viz::WText>() cv 576 modules/viz/src/shapes.cpp void cv::viz::WText::setText(const String &text) cv 583 modules/viz/src/shapes.cpp cv::String cv::viz::WText::getText() const cv 593 modules/viz/src/shapes.cpp cv::viz::WImageOverlay::WImageOverlay(InputArray image, const Rect &rect) cv 626 modules/viz/src/shapes.cpp void cv::viz::WImageOverlay::setImage(InputArray image) cv 661 modules/viz/src/shapes.cpp template<> cv::viz::WImageOverlay cv::viz::Widget::cast<cv::viz::WImageOverlay>() cv 670 modules/viz/src/shapes.cpp cv::viz::WImage3D::WImage3D(InputArray image, const Size2d &size) cv 700 modules/viz/src/shapes.cpp cv::viz::WImage3D::WImage3D(InputArray image, const Size2d &size, const Vec3d ¢er, const Vec3d &normal, const Vec3d &up_vector) cv 715 modules/viz/src/shapes.cpp void cv::viz::WImage3D::setImage(InputArray image) cv 731 modules/viz/src/shapes.cpp template<> cv::viz::WImage3D cv::viz::Widget::cast<cv::viz::WImage3D>() cv 790 modules/viz/src/shapes.cpp cv::viz::WCameraPosition::WCameraPosition(double scale) cv 802 modules/viz/src/shapes.cpp cv::viz::WCameraPosition::WCameraPosition(const Matx33d &K, double scale, const Color &color) cv 822 modules/viz/src/shapes.cpp cv::viz::WCameraPosition::WCameraPosition(const Vec2d &fov, double scale, const Color &color) cv 839 modules/viz/src/shapes.cpp cv::viz::WCameraPosition::WCameraPosition(const Matx33d &K, InputArray _image, double scale, const Color &color) cv 873 modules/viz/src/shapes.cpp cv::viz::WCameraPosition::WCameraPosition(const Vec2d &fov, InputArray _image, double scale, const Color &color) cv 905 modules/viz/src/shapes.cpp template<> cv::viz::WCameraPosition cv::viz::Widget::cast<cv::viz::WCameraPosition>() cv 914 modules/viz/src/shapes.cpp cv::viz::WTrajectory::WTrajectory(InputArray _path, int display_mode, double scale, const Color &color) cv 956 modules/viz/src/shapes.cpp template<> cv::viz::WTrajectory cv::viz::Widget::cast<cv::viz::WTrajectory>() cv 965 modules/viz/src/shapes.cpp cv::viz::WTrajectoryFrustums::WTrajectoryFrustums(InputArray _path, const Matx33d &K, double scale, const Color &color) cv 991 modules/viz/src/shapes.cpp cv::viz::WTrajectoryFrustums::WTrajectoryFrustums(InputArray _path, const Vec2d &fov, double scale, const Color &color) cv 1017 modules/viz/src/shapes.cpp template<> cv::viz::WTrajectoryFrustums cv::viz::Widget::cast<cv::viz::WTrajectoryFrustums>() cv 1026 modules/viz/src/shapes.cpp cv::viz::WTrajectorySpheres::WTrajectorySpheres(InputArray _path, double line_length, double radius, const Color &from, const Color &to) cv 1085 modules/viz/src/shapes.cpp template<> cv::viz::WTrajectorySpheres cv::viz::Widget::cast<cv::viz::WTrajectorySpheres>() cv 51 modules/viz/src/types.cpp cv::viz::KeyboardEvent::KeyboardEvent(Action _action, const String& _symbol, unsigned char _code, int _modifiers) cv 54 modules/viz/src/types.cpp cv::viz::MouseEvent::MouseEvent(const Type& _type, const MouseButton& _button, const Point& _pointer, int _modifiers) cv 60 modules/viz/src/types.cpp cv::viz::Mesh cv::viz::Mesh::load(const String& file) cv 95 modules/viz/src/types.cpp cv::viz::Camera::Camera(double fx, double fy, double cx, double cy, const Size &window_size) cv 100 modules/viz/src/types.cpp cv::viz::Camera::Camera(const Vec2d &fov, const Size &window_size) cv 111 modules/viz/src/types.cpp cv::viz::Camera::Camera(const cv::Matx33d & K, const Size &window_size) cv 120 modules/viz/src/types.cpp cv::viz::Camera::Camera(const Matx44d &proj, const Size &window_size) cv 146 modules/viz/src/types.cpp void cv::viz::Camera::init(double fx, double fy, double cx, double cy, const Size &window_size) cv 163 modules/viz/src/types.cpp void cv::viz::Camera::setWindowSize(const Size &window_size) cv 180 modules/viz/src/types.cpp void cv::viz::Camera::computeProjectionMatrix(Matx44d &proj) const cv 202 modules/viz/src/types.cpp cv::viz::Camera cv::viz::Camera::KinectCamera(const Size &window_size) cv 48 modules/viz/src/viz3d.cpp cv::viz::Viz3d::Viz3d(const String& window_name) : impl_(0) { create(window_name); } cv 50 modules/viz/src/viz3d.cpp cv::viz::Viz3d::Viz3d(const Viz3d& other) : impl_(other.impl_) cv 56 modules/viz/src/viz3d.cpp cv::viz::Viz3d& cv::viz::Viz3d::operator=(const Viz3d& other) cv 68 modules/viz/src/viz3d.cpp cv::viz::Viz3d::~Viz3d() { release(); } cv 70 modules/viz/src/viz3d.cpp void cv::viz::Viz3d::create(const String &window_name) cv 87 modules/viz/src/viz3d.cpp void cv::viz::Viz3d::release() cv 101 modules/viz/src/viz3d.cpp void cv::viz::Viz3d::spin() { impl_->spin(); } cv 102 modules/viz/src/viz3d.cpp void cv::viz::Viz3d::spinOnce(int time, bool force_redraw) { impl_->spinOnce(time, force_redraw); } cv 103 modules/viz/src/viz3d.cpp bool cv::viz::Viz3d::wasStopped() const { return impl_->wasStopped(); } cv 104 modules/viz/src/viz3d.cpp void cv::viz::Viz3d::close() { impl_->close(); } cv 106 modules/viz/src/viz3d.cpp void cv::viz::Viz3d::registerKeyboardCallback(KeyboardCallback callback, void* cookie) cv 109 modules/viz/src/viz3d.cpp void cv::viz::Viz3d::registerMouseCallback(MouseCallback callback, void* cookie) cv 112 modules/viz/src/viz3d.cpp void cv::viz::Viz3d::showWidget(const String &id, const Widget &widget, const Affine3d &pose) { impl_->showWidget(id, widget, pose); } cv 113 modules/viz/src/viz3d.cpp void cv::viz::Viz3d::removeWidget(const String &id) { impl_->removeWidget(id); } cv 114 modules/viz/src/viz3d.cpp cv::viz::Widget cv::viz::Viz3d::getWidget(const String &id) const { return impl_->getWidget(id); } cv 115 modules/viz/src/viz3d.cpp void cv::viz::Viz3d::removeAllWidgets() { impl_->removeAllWidgets(); } cv 117 modules/viz/src/viz3d.cpp void cv::viz::Viz3d::showImage(InputArray image, const Size& window_size) { impl_->showImage(image, window_size); } cv 119 modules/viz/src/viz3d.cpp void cv::viz::Viz3d::setWidgetPose(const String &id, const Affine3d &pose) { impl_->setWidgetPose(id, pose); } cv 120 modules/viz/src/viz3d.cpp void cv::viz::Viz3d::updateWidgetPose(const String &id, const Affine3d &pose) { impl_->updateWidgetPose(id, pose); } cv 121 modules/viz/src/viz3d.cpp cv::Affine3d cv::viz::Viz3d::getWidgetPose(const String &id) const { return impl_->getWidgetPose(id); } cv 123 modules/viz/src/viz3d.cpp void cv::viz::Viz3d::setCamera(const Camera &camera) { impl_->setCamera(camera); } cv 124 modules/viz/src/viz3d.cpp cv::viz::Camera cv::viz::Viz3d::getCamera() const { return impl_->getCamera(); } cv 125 modules/viz/src/viz3d.cpp void cv::viz::Viz3d::setViewerPose(const Affine3d &pose) { impl_->setViewerPose(pose); } cv 126 modules/viz/src/viz3d.cpp cv::Affine3d cv::viz::Viz3d::getViewerPose() { return impl_->getViewerPose(); } cv 128 modules/viz/src/viz3d.cpp void cv::viz::Viz3d::resetCameraViewpoint(const String &id) { impl_->resetCameraViewpoint(id); } cv 129 modules/viz/src/viz3d.cpp void cv::viz::Viz3d::resetCamera() { impl_->resetCamera(); } cv 131 modules/viz/src/viz3d.cpp void cv::viz::Viz3d::convertToWindowCoordinates(const Point3d &pt, Point3d &window_coord) { impl_->convertToWindowCoordinates(pt, window_coord); } cv 132 modules/viz/src/viz3d.cpp void cv::viz::Viz3d::converTo3DRay(const Point3d &window_coord, Point3d &origin, Vec3d &direction) { impl_->converTo3DRay(window_coord, origin, direction); } cv 134 modules/viz/src/viz3d.cpp cv::Size cv::viz::Viz3d::getWindowSize() const { return impl_->getWindowSize(); } cv 135 modules/viz/src/viz3d.cpp void cv::viz::Viz3d::setWindowSize(const Size &window_size) { impl_->setWindowSize(window_size); } cv 136 modules/viz/src/viz3d.cpp cv::String cv::viz::Viz3d::getWindowName() const { return impl_->getWindowName(); } cv 137 modules/viz/src/viz3d.cpp void cv::viz::Viz3d::saveScreenshot(const String &file) { impl_->saveScreenshot(file); } cv 138 modules/viz/src/viz3d.cpp void cv::viz::Viz3d::setWindowPosition(const Point& window_position) { impl_->setWindowPosition(window_position); } cv 139 modules/viz/src/viz3d.cpp void cv::viz::Viz3d::setFullScreen(bool mode) { impl_->setFullScreen(mode); } cv 140 modules/viz/src/viz3d.cpp void cv::viz::Viz3d::setBackgroundColor(const Color& color, const Color& color2) { impl_->setBackgroundColor(color, color2); } cv 142 modules/viz/src/viz3d.cpp void cv::viz::Viz3d::setBackgroundTexture(InputArray image) { impl_->setBackgroundTexture(image); } cv 143 modules/viz/src/viz3d.cpp void cv::viz::Viz3d::setBackgroundMeshLab() {impl_->setBackgroundMeshLab(); } cv 145 modules/viz/src/viz3d.cpp void cv::viz::Viz3d::setRenderingProperty(const String &id, int property, double value) { getWidget(id).setRenderingProperty(property, value); } cv 146 modules/viz/src/viz3d.cpp double cv::viz::Viz3d::getRenderingProperty(const String &id, int property) { return getWidget(id).getRenderingProperty(property); } cv 148 modules/viz/src/viz3d.cpp void cv::viz::Viz3d::setRepresentation(int representation) { impl_->setRepresentation(representation); } cv 150 modules/viz/src/viz3d.cpp void cv::viz::Viz3d::setGlobalWarnings(bool enabled) { vtkObject::SetGlobalWarningDisplay(enabled ? 1 : 0); } cv 48 modules/viz/src/vizcore.cpp cv::Affine3d cv::viz::makeTransformToGlobal(const Vec3d& axis_x, const Vec3d& axis_y, const Vec3d& axis_z, const Vec3d& origin) cv 57 modules/viz/src/vizcore.cpp cv::Affine3d cv::viz::makeCameraPose(const Vec3d& position, const Vec3d& focal_point, const Vec3d& y_dir) cv 96 modules/viz/src/vizcore.cpp cv::viz::VizStorage cv::viz::VizStorage::init; cv 97 modules/viz/src/vizcore.cpp cv::viz::VizMap cv::viz::VizStorage::storage; cv 99 modules/viz/src/vizcore.cpp void cv::viz::VizMap::replace_clear() { type().swap(m); } cv 100 modules/viz/src/vizcore.cpp cv::viz::VizMap::~VizMap() { replace_clear(); } cv 102 modules/viz/src/vizcore.cpp cv::viz::VizStorage::VizStorage() cv 106 modules/viz/src/vizcore.cpp void cv::viz::VizStorage::unregisterAll() { storage.replace_clear(); } cv 108 modules/viz/src/vizcore.cpp cv::viz::Viz3d& cv::viz::VizStorage::get(const String &window_name) cv 116 modules/viz/src/vizcore.cpp void cv::viz::VizStorage::add(const Viz3d& window) cv 124 modules/viz/src/vizcore.cpp bool cv::viz::VizStorage::windowExists(const String &window_name) cv 130 modules/viz/src/vizcore.cpp void cv::viz::VizStorage::removeUnreferenced() cv 139 modules/viz/src/vizcore.cpp cv::String cv::viz::VizStorage::generateWindowName(const String &window_name) cv 157 modules/viz/src/vizcore.cpp cv::viz::Viz3d cv::viz::getWindowByName(const String &window_name) { return Viz3d (window_name); } cv 158 modules/viz/src/vizcore.cpp void cv::viz::unregisterAllWindows() { VizStorage::unregisterAll(); } cv 160 modules/viz/src/vizcore.cpp cv::viz::Viz3d cv::viz::imshow(const String& window_name, InputArray image, const Size& window_size) cv 170 modules/viz/src/vizcore.cpp void cv::viz::writeCloud(const String& file, InputArray cloud, InputArray colors, InputArray normals, bool binary) cv 203 modules/viz/src/vizcore.cpp cv::Mat cv::viz::readCloud(const String& file, OutputArray colors, OutputArray normals) cv 233 modules/viz/src/vizcore.cpp cv::Mat cloud; cv 243 modules/viz/src/vizcore.cpp cv::viz::Mesh cv::viz::readMesh(const String& file) { return Mesh::load(file); } cv 248 modules/viz/src/vizcore.cpp bool cv::viz::readPose(const String& file, Affine3d& pose, const String& tag) cv 263 modules/viz/src/vizcore.cpp void cv::viz::writePose(const String& file, const Affine3d& pose, const String& tag) cv 269 modules/viz/src/vizcore.cpp void cv::viz::readTrajectory(OutputArray _traj, const String& files_format, int start, int end, const String& tag) cv 281 modules/viz/src/vizcore.cpp bool ok = readPose(cv::format(files_format.c_str(), i), affine, tag); cv 291 modules/viz/src/vizcore.cpp void cv::viz::writeTrajectory(InputArray _traj, const String& files_format, int start, const String& tag) cv 307 modules/viz/src/vizcore.cpp writePose(cv::format(files_format.c_str(), index), affine, tag); cv 320 modules/viz/src/vizcore.cpp writePose(cv::format(files_format.c_str(), index), traj.at<Affine3f>((int)i), tag); cv 324 modules/viz/src/vizcore.cpp writePose(cv::format(files_format.c_str(), index), traj.at<Affine3d>((int)i), tag); cv 334 modules/viz/src/vizcore.cpp void cv::viz::computeNormals(const Mesh& mesh, OutputArray _normals) cv 50 modules/viz/src/vizimpl.cpp cv::viz::Viz3d::VizImpl::VizImpl(const String &name) : spin_once_state_(false), cv 58 modules/viz/src/vizimpl.cpp cv::Vec2i window_size = cv::Vec2i(window_->GetScreenSize()) / 2; cv 74 modules/viz/src/vizimpl.cpp cv::viz::Viz3d::VizImpl::~VizImpl() { close(); } cv 77 modules/viz/src/vizimpl.cpp void cv::viz::Viz3d::VizImpl::TimerCallback::Execute(vtkObject* caller, unsigned long event_id, void* cookie) cv 86 modules/viz/src/vizimpl.cpp void cv::viz::Viz3d::VizImpl::ExitCallback::Execute(vtkObject*, unsigned long event_id, void*) cv 97 modules/viz/src/vizimpl.cpp bool cv::viz::Viz3d::VizImpl::wasStopped() const cv 104 modules/viz/src/vizimpl.cpp void cv::viz::Viz3d::VizImpl::close() cv 113 modules/viz/src/vizimpl.cpp void cv::viz::Viz3d::VizImpl::recreateRenderWindow() cv 132 modules/viz/src/vizimpl.cpp void cv::viz::Viz3d::VizImpl::spin() cv 155 modules/viz/src/vizimpl.cpp void cv::viz::Viz3d::VizImpl::spinOnce(int time, bool force_redraw) cv 191 modules/viz/src/vizimpl.cpp void cv::viz::Viz3d::VizImpl::showWidget(const String &id, const Widget &widget, const Affine3d &pose) cv 221 modules/viz/src/vizimpl.cpp void cv::viz::Viz3d::VizImpl::removeWidget(const String &id) cv 231 modules/viz/src/vizimpl.cpp cv::viz::Widget cv::viz::Viz3d::VizImpl::getWidget(const String &id) const cv 243 modules/viz/src/vizimpl.cpp void cv::viz::Viz3d::VizImpl::setWidgetPose(const String &id, const Affine3d &pose) cv 258 modules/viz/src/vizimpl.cpp void cv::viz::Viz3d::VizImpl::updateWidgetPose(const String &id, const Affine3d &pose) cv 281 modules/viz/src/vizimpl.cpp cv::Affine3d cv::viz::Viz3d::VizImpl::getWidgetPose(const String &id) const cv 294 modules/viz/src/vizimpl.cpp void cv::viz::Viz3d::VizImpl::saveScreenshot(const String &file) { style_->saveScreenshot(file.c_str()); } cv 297 modules/viz/src/vizimpl.cpp void cv::viz::Viz3d::VizImpl::registerMouseCallback(MouseCallback callback, void* cookie) cv 300 modules/viz/src/vizimpl.cpp void cv::viz::Viz3d::VizImpl::registerKeyboardCallback(KeyboardCallback callback, void* cookie) cv 305 modules/viz/src/vizimpl.cpp void cv::viz::Viz3d::VizImpl::removeAllWidgets() cv 311 modules/viz/src/vizimpl.cpp void cv::viz::Viz3d::VizImpl::showImage(InputArray image, const Size& window_size) cv 321 modules/viz/src/vizimpl.cpp bool cv::viz::Viz3d::VizImpl::removeActorFromRenderer(vtkSmartPointer<vtkProp> actor) cv 336 modules/viz/src/vizimpl.cpp void cv::viz::Viz3d::VizImpl::setBackgroundColor(const Color& color, const Color& color2) cv 354 modules/viz/src/vizimpl.cpp void cv::viz::Viz3d::VizImpl::setBackgroundMeshLab() cv 358 modules/viz/src/vizimpl.cpp void cv::viz::Viz3d::VizImpl::setBackgroundTexture(InputArray image) cv 383 modules/viz/src/vizimpl.cpp void cv::viz::Viz3d::VizImpl::setCamera(const Camera &camera) cv 408 modules/viz/src/vizimpl.cpp cv::viz::Camera cv::viz::Viz3d::VizImpl::getCamera() const cv 421 modules/viz/src/vizimpl.cpp void cv::viz::Viz3d::VizImpl::setViewerPose(const Affine3d &pose) cv 426 modules/viz/src/vizimpl.cpp cv::Vec3d pos_vec = pose.translation(); cv 429 modules/viz/src/vizimpl.cpp cv::Matx33d rotation = pose.rotation(); cv 430 modules/viz/src/vizimpl.cpp cv::Vec3d y_axis(0.0, -1.0, 0.0); // In Computer Vision Camera Y-axis is oriented down cv 431 modules/viz/src/vizimpl.cpp cv::Vec3d up_vec(rotation * y_axis); cv 434 modules/viz/src/vizimpl.cpp cv::Vec3d z_axis(0.0, 0.0, 1.0); cv 435 modules/viz/src/vizimpl.cpp cv::Vec3d focal_vec = pose * z_axis; cv 445 modules/viz/src/vizimpl.cpp cv::Affine3d cv::viz::Viz3d::VizImpl::getViewerPose() cv 461 modules/viz/src/vizimpl.cpp void cv::viz::Viz3d::VizImpl::convertToWindowCoordinates(const Point3d &pt, Point3d &window_coord) cv 469 modules/viz/src/vizimpl.cpp void cv::viz::Viz3d::VizImpl::converTo3DRay(const Point3d &window_coord, Point3d &origin, Vec3d &direction) cv 479 modules/viz/src/vizimpl.cpp void cv::viz::Viz3d::VizImpl::resetCameraViewpoint(const String &id) cv 514 modules/viz/src/vizimpl.cpp void cv::viz::Viz3d::VizImpl::resetCamera() cv 520 modules/viz/src/vizimpl.cpp void cv::viz::Viz3d::VizImpl::setRepresentation(int representation) cv 549 modules/viz/src/vizimpl.cpp cv::String cv::viz::Viz3d::VizImpl::getWindowName() const { return window_name_; } cv 550 modules/viz/src/vizimpl.cpp void cv::viz::Viz3d::VizImpl::setFullScreen(bool mode) { window_->SetFullScreen(mode); } cv 551 modules/viz/src/vizimpl.cpp void cv::viz::Viz3d::VizImpl::setWindowPosition(const Point& position) { window_position_ = position; window_->SetPosition(position.x, position.y); } cv 552 modules/viz/src/vizimpl.cpp void cv::viz::Viz3d::VizImpl::setWindowSize(const Size& window_size) { window_->SetSize(window_size.width, window_size.height); } cv 553 modules/viz/src/vizimpl.cpp cv::Size cv::viz::Viz3d::VizImpl::getWindowSize() const { return Size(Point(Vec2i(window_->GetSize()))); } cv 49 modules/viz/src/vizimpl.hpp struct cv::viz::Viz3d::VizImpl cv 52 modules/viz/src/vtk/vtkCloudMatSink.cpp cv::viz::vtkCloudMatSink::vtkCloudMatSink() {} cv 53 modules/viz/src/vtk/vtkCloudMatSink.cpp cv::viz::vtkCloudMatSink::~vtkCloudMatSink() {} cv 55 modules/viz/src/vtk/vtkCloudMatSink.cpp void cv::viz::vtkCloudMatSink::SetOutput(OutputArray _cloud, OutputArray _colors, OutputArray _normals, OutputArray _tcoords) cv 63 modules/viz/src/vtk/vtkCloudMatSink.cpp void cv::viz::vtkCloudMatSink::WriteData() cv 152 modules/viz/src/vtk/vtkCloudMatSink.cpp void cv::viz::vtkCloudMatSink::PrintSelf(ostream& os, vtkIndent indent) cv 160 modules/viz/src/vtk/vtkCloudMatSink.cpp int cv::viz::vtkCloudMatSink::FillInputPortInformation(int, vtkInformation *info) cv 166 modules/viz/src/vtk/vtkCloudMatSink.cpp vtkPolyData* cv::viz::vtkCloudMatSink::GetInput() cv 171 modules/viz/src/vtk/vtkCloudMatSink.cpp vtkPolyData* cv::viz::vtkCloudMatSink::GetInput(int port) cv 51 modules/viz/src/vtk/vtkCloudMatSink.h namespace cv cv 66 modules/viz/src/vtk/vtkCloudMatSource.cpp cv::viz::vtkCloudMatSource::vtkCloudMatSource() { SetNumberOfInputPorts(0); } cv 67 modules/viz/src/vtk/vtkCloudMatSource.cpp cv::viz::vtkCloudMatSource::~vtkCloudMatSource() {} cv 69 modules/viz/src/vtk/vtkCloudMatSource.cpp int cv::viz::vtkCloudMatSource::SetCloud(InputArray _cloud) cv 87 modules/viz/src/vtk/vtkCloudMatSource.cpp int cv::viz::vtkCloudMatSource::SetColorCloud(InputArray _cloud, InputArray _colors) cv 108 modules/viz/src/vtk/vtkCloudMatSource.cpp int cv::viz::vtkCloudMatSource::SetColorCloudNormals(InputArray _cloud, InputArray _colors, InputArray _normals) cv 136 modules/viz/src/vtk/vtkCloudMatSource.cpp int cv::viz::vtkCloudMatSource::SetColorCloudNormalsTCoords(InputArray _cloud, InputArray _colors, InputArray _normals, InputArray _tcoords) cv 163 modules/viz/src/vtk/vtkCloudMatSource.cpp int cv::viz::vtkCloudMatSource::RequestData(vtkInformation *vtkNotUsed(request), vtkInformationVector **vtkNotUsed(inputVector), vtkInformationVector *outputVector) cv 183 modules/viz/src/vtk/vtkCloudMatSource.cpp int cv::viz::vtkCloudMatSource::filterNanCopy(const Mat& cloud) cv 208 modules/viz/src/vtk/vtkCloudMatSource.cpp void cv::viz::vtkCloudMatSource::filterNanColorsCopy(const Mat& cloud_colors, const Mat& mask, int total) cv 242 modules/viz/src/vtk/vtkCloudMatSource.cpp void cv::viz::vtkCloudMatSource::filterNanNormalsCopy(const Mat& cloud_normals, const Mat& mask, int total) cv 267 modules/viz/src/vtk/vtkCloudMatSource.cpp void cv::viz::vtkCloudMatSource::filterNanTCoordsCopy(const Mat& _tcoords, const Mat& mask, int total) cv 54 modules/viz/src/vtk/vtkCloudMatSource.h namespace cv cv 52 modules/viz/src/vtk/vtkImageMatSource.cpp cv::viz::vtkImageMatSource::vtkImageMatSource() cv 58 modules/viz/src/vtk/vtkImageMatSource.cpp int cv::viz::vtkImageMatSource::RequestInformation(vtkInformation *, vtkInformationVector**, vtkInformationVector *outputVector) cv 70 modules/viz/src/vtk/vtkImageMatSource.cpp int cv::viz::vtkImageMatSource::RequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector *outputVector) cv 79 modules/viz/src/vtk/vtkImageMatSource.cpp void cv::viz::vtkImageMatSource::SetImage(InputArray _image) cv 103 modules/viz/src/vtk/vtkImageMatSource.cpp void cv::viz::vtkImageMatSource::copyGrayImage(const Mat &source, vtkSmartPointer<vtkImageData> output) cv 117 modules/viz/src/vtk/vtkImageMatSource.cpp void cv::viz::vtkImageMatSource::copyRGBImage(const Mat &source, vtkSmartPointer<vtkImageData> output) cv 131 modules/viz/src/vtk/vtkImageMatSource.cpp void cv::viz::vtkImageMatSource::copyRGBAImage(const Mat &source, vtkSmartPointer<vtkImageData> output) cv 50 modules/viz/src/vtk/vtkImageMatSource.h namespace cv cv 52 modules/viz/src/vtk/vtkOBJWriter.cpp cv::viz::vtkOBJWriter::vtkOBJWriter() cv 59 modules/viz/src/vtk/vtkOBJWriter.cpp cv::viz::vtkOBJWriter::~vtkOBJWriter(){} cv 61 modules/viz/src/vtk/vtkOBJWriter.cpp void cv::viz::vtkOBJWriter::WriteData() cv 250 modules/viz/src/vtk/vtkOBJWriter.cpp void cv::viz::vtkOBJWriter::PrintSelf(ostream& os, vtkIndent indent) cv 256 modules/viz/src/vtk/vtkOBJWriter.cpp int cv::viz::vtkOBJWriter::FillInputPortInformation(int, vtkInformation *info) cv 262 modules/viz/src/vtk/vtkOBJWriter.cpp vtkPolyData* cv::viz::vtkOBJWriter::GetInput() cv 267 modules/viz/src/vtk/vtkOBJWriter.cpp vtkPolyData* cv::viz::vtkOBJWriter::GetInput(int port) cv 50 modules/viz/src/vtk/vtkOBJWriter.h namespace cv cv 52 modules/viz/src/vtk/vtkTrajectorySource.cpp cv::viz::vtkTrajectorySource::vtkTrajectorySource() { SetNumberOfInputPorts(0); } cv 53 modules/viz/src/vtk/vtkTrajectorySource.cpp cv::viz::vtkTrajectorySource::~vtkTrajectorySource() {} cv 55 modules/viz/src/vtk/vtkTrajectorySource.cpp void cv::viz::vtkTrajectorySource::SetTrajectory(InputArray _traj) cv 83 modules/viz/src/vtk/vtkTrajectorySource.cpp cv::Mat cv::viz::vtkTrajectorySource::ExtractPoints(InputArray _traj) cv 103 modules/viz/src/vtk/vtkTrajectorySource.cpp int cv::viz::vtkTrajectorySource::RequestData(vtkInformation *vtkNotUsed(request), vtkInformationVector **vtkNotUsed(inputVector), vtkInformationVector *outputVector) cv 54 modules/viz/src/vtk/vtkTrajectorySource.h namespace cv cv 55 modules/viz/src/vtk/vtkVizInteractorStyle.cpp cv::viz::vtkVizInteractorStyle::vtkVizInteractorStyle() cv 84 modules/viz/src/vtk/vtkVizInteractorStyle.cpp cv::viz::vtkVizInteractorStyle::~vtkVizInteractorStyle() {} cv 87 modules/viz/src/vtk/vtkVizInteractorStyle.cpp void cv::viz::vtkVizInteractorStyle::saveScreenshot(const String &file) cv 104 modules/viz/src/vtk/vtkVizInteractorStyle.cpp void cv::viz::vtkVizInteractorStyle::exportScene(const String &file) cv 124 modules/viz/src/vtk/vtkVizInteractorStyle.cpp void cv::viz::vtkVizInteractorStyle::exportScene() cv 128 modules/viz/src/vtk/vtkVizInteractorStyle.cpp exportScene(cv::format(format.c_str(), (unsigned int)time(0))); cv 133 modules/viz/src/vtk/vtkVizInteractorStyle.cpp void cv::viz::vtkVizInteractorStyle::changePointsSize(float delta) cv 148 modules/viz/src/vtk/vtkVizInteractorStyle.cpp void cv::viz::vtkVizInteractorStyle::setRepresentationToPoints() cv 162 modules/viz/src/vtk/vtkVizInteractorStyle.cpp void cv::viz::vtkVizInteractorStyle::printCameraParams() cv 172 modules/viz/src/vtk/vtkVizInteractorStyle.cpp String data = cv::format("clip(%f,%f) focal(%f,%f,%f) pos(%f,%f,%f) view(%f,%f,%f) angle(%f) winsz(%d,%d) winpos(%d,%d)", cv 181 modules/viz/src/vtk/vtkVizInteractorStyle.cpp void cv::viz::vtkVizInteractorStyle::toggleFullScreen() cv 207 modules/viz/src/vtk/vtkVizInteractorStyle.cpp void cv::viz::vtkVizInteractorStyle::resetViewerPose() cv 252 modules/viz/src/vtk/vtkVizInteractorStyle.cpp void cv::viz::vtkVizInteractorStyle::toggleStereo() cv 268 modules/viz/src/vtk/vtkVizInteractorStyle.cpp void cv::viz::vtkVizInteractorStyle::printHelp() cv 297 modules/viz/src/vtk/vtkVizInteractorStyle.cpp void cv::viz::vtkVizInteractorStyle::zoomIn() cv 308 modules/viz/src/vtk/vtkVizInteractorStyle.cpp void cv::viz::vtkVizInteractorStyle::zoomOut() cv 319 modules/viz/src/vtk/vtkVizInteractorStyle.cpp void cv::viz::vtkVizInteractorStyle::OnChar() cv 357 modules/viz/src/vtk/vtkVizInteractorStyle.cpp void cv::viz::vtkVizInteractorStyle::registerMouseCallback(void (*callback)(const MouseEvent&, void*), void* cookie) cv 363 modules/viz/src/vtk/vtkVizInteractorStyle.cpp void cv::viz::vtkVizInteractorStyle::registerKeyboardCallback(void (*callback)(const KeyboardEvent&, void*), void *cookie) cv 370 modules/viz/src/vtk/vtkVizInteractorStyle.cpp int cv::viz::vtkVizInteractorStyle::getModifiers() cv 386 modules/viz/src/vtk/vtkVizInteractorStyle.cpp void cv::viz::vtkVizInteractorStyle::OnKeyDown() cv 412 modules/viz/src/vtk/vtkVizInteractorStyle.cpp case 'j': case 'J' : saveScreenshot(cv::format("screenshot-%d.png", (unsigned int)time(0))); break; cv 501 modules/viz/src/vtk/vtkVizInteractorStyle.cpp void cv::viz::vtkVizInteractorStyle::OnKeyUp() cv 523 modules/viz/src/vtk/vtkVizInteractorStyle.cpp void cv::viz::vtkVizInteractorStyle::OnMouseMove() cv 568 modules/viz/src/vtk/vtkVizInteractorStyle.cpp void cv::viz::vtkVizInteractorStyle::OnLeftButtonDown() cv 613 modules/viz/src/vtk/vtkVizInteractorStyle.cpp void cv::viz::vtkVizInteractorStyle::OnLeftButtonUp() cv 634 modules/viz/src/vtk/vtkVizInteractorStyle.cpp void cv::viz::vtkVizInteractorStyle::OnMiddleButtonDown() cv 651 modules/viz/src/vtk/vtkVizInteractorStyle.cpp void cv::viz::vtkVizInteractorStyle::OnMiddleButtonUp() cv 667 modules/viz/src/vtk/vtkVizInteractorStyle.cpp void cv::viz::vtkVizInteractorStyle::OnRightButtonDown() cv 699 modules/viz/src/vtk/vtkVizInteractorStyle.cpp void cv::viz::vtkVizInteractorStyle::OnRightButtonUp() cv 722 modules/viz/src/vtk/vtkVizInteractorStyle.cpp void cv::viz::vtkVizInteractorStyle::OnMouseWheelForward() cv 760 modules/viz/src/vtk/vtkVizInteractorStyle.cpp void cv::viz::vtkVizInteractorStyle::OnMouseWheelBackward() cv 799 modules/viz/src/vtk/vtkVizInteractorStyle.cpp void cv::viz::vtkVizInteractorStyle::OnTimer() cv 809 modules/viz/src/vtk/vtkVizInteractorStyle.cpp void cv::viz::vtkVizInteractorStyle::Rotate() cv 838 modules/viz/src/vtk/vtkVizInteractorStyle.cpp void cv::viz::vtkVizInteractorStyle::Spin() cv 858 modules/viz/src/vtk/vtkVizInteractorStyle.cpp void cv::viz::vtkVizInteractorStyle::Pan() cv 898 modules/viz/src/vtk/vtkVizInteractorStyle.cpp void cv::viz::vtkVizInteractorStyle::Dolly() cv 907 modules/viz/src/vtk/vtkVizInteractorStyle.cpp void cv::viz::vtkVizInteractorStyle::Dolly(double factor) cv 929 modules/viz/src/vtk/vtkVizInteractorStyle.cpp void cv::viz::vtkVizInteractorStyle::Fly() cv 948 modules/viz/src/vtk/vtkVizInteractorStyle.cpp void cv::viz::vtkVizInteractorStyle::SetupMotionVars() cv 959 modules/viz/src/vtk/vtkVizInteractorStyle.cpp void cv::viz::vtkVizInteractorStyle::MotionAlongVector(const Vec3d& vector, double amount, vtkCamera* cam) cv 969 modules/viz/src/vtk/vtkVizInteractorStyle.cpp void cv::viz::vtkVizInteractorStyle::FlyByMouse() cv 1010 modules/viz/src/vtk/vtkVizInteractorStyle.cpp void cv::viz::vtkVizInteractorStyle::FlyByKey() cv 1068 modules/viz/src/vtk/vtkVizInteractorStyle.cpp void cv::viz::vtkVizInteractorStyle::PrintSelf(ostream& os, vtkIndent indent) cv 53 modules/viz/src/vtk/vtkXYZReader.cpp cv::viz::vtkXYZReader::vtkXYZReader() cv 59 modules/viz/src/vtk/vtkXYZReader.cpp cv::viz::vtkXYZReader::~vtkXYZReader() cv 64 modules/viz/src/vtk/vtkXYZReader.cpp void cv::viz::vtkXYZReader::PrintSelf(ostream& os, vtkIndent indent) cv 70 modules/viz/src/vtk/vtkXYZReader.cpp int cv::viz::vtkXYZReader::RequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector* outputVector) cv 50 modules/viz/src/vtk/vtkXYZReader.h namespace cv cv 52 modules/viz/src/vtk/vtkXYZWriter.cpp cv::viz::vtkXYZWriter::vtkXYZWriter() cv 58 modules/viz/src/vtk/vtkXYZWriter.cpp void cv::viz::vtkXYZWriter::WriteData() cv 102 modules/viz/src/vtk/vtkXYZWriter.cpp int cv::viz::vtkXYZWriter::FillInputPortInformation(int, vtkInformation *info) cv 108 modules/viz/src/vtk/vtkXYZWriter.cpp void cv::viz::vtkXYZWriter::PrintSelf(ostream& os, vtkIndent indent) cv 114 modules/viz/src/vtk/vtkXYZWriter.cpp vtkPolyData* cv::viz::vtkXYZWriter::GetInput() cv 119 modules/viz/src/vtk/vtkXYZWriter.cpp vtkPolyData* cv::viz::vtkXYZWriter::GetInput(int port) cv 50 modules/viz/src/vtk/vtkXYZWriter.h namespace cv cv 51 modules/viz/src/widget.cpp class cv::viz::Widget::Impl cv 58 modules/viz/src/widget.cpp cv::viz::Widget::Widget() : impl_( new Impl() ) { } cv 60 modules/viz/src/widget.cpp cv::viz::Widget::Widget(const Widget& other) : impl_( new Impl() ) cv 66 modules/viz/src/widget.cpp cv::viz::Widget& cv::viz::Widget::operator=(const Widget& other) cv 76 modules/viz/src/widget.cpp cv::viz::Widget::~Widget() cv 85 modules/viz/src/widget.cpp cv::viz::Widget cv::viz::Widget::fromPlyFile(const String &file_name) cv 106 modules/viz/src/widget.cpp void cv::viz::Widget::setRenderingProperty(int property, double value) cv 174 modules/viz/src/widget.cpp double cv::viz::Widget::getRenderingProperty(int property) const cv 223 modules/viz/src/widget.cpp vtkSmartPointer<vtkProp> cv::viz::WidgetAccessor::getProp(const Widget& widget) cv 228 modules/viz/src/widget.cpp void cv::viz::WidgetAccessor::setProp(Widget& widget, vtkSmartPointer<vtkProp> prop) cv 236 modules/viz/src/widget.cpp void cv::viz::Widget3D::setPose(const Affine3d &pose) cv 246 modules/viz/src/widget.cpp void cv::viz::Widget3D::updatePose(const Affine3d &pose) cv 265 modules/viz/src/widget.cpp cv::Affine3d cv::viz::Widget3D::getPose() const cv 272 modules/viz/src/widget.cpp void cv::viz::Widget3D::applyTransform(const Affine3d &transform) cv 284 modules/viz/src/widget.cpp void cv::viz::Widget3D::setColor(const Color &color) cv 297 modules/viz/src/widget.cpp template<> cv::viz::Widget3D cv::viz::Widget::cast<cv::viz::Widget3D>() cv 310 modules/viz/src/widget.cpp void cv::viz::Widget2D::setColor(const Color &color) cv 319 modules/viz/src/widget.cpp template<> cv::viz::Widget2D cv::viz::Widget::cast<cv::viz::Widget2D>() cv 3 modules/viz/test/test_precomp.cpp cv::String cv::Path::combine(const String& item1, const String& item2) cv 17 modules/viz/test/test_precomp.cpp cv::String cv::Path::combine(const String& item1, const String& item2, const String& item3) cv 20 modules/viz/test/test_precomp.cpp cv::String cv::Path::change_extension(const String& file, const String& ext) cv 85 modules/viz/test/test_precomp.hpp inline cv::String get_dragon_ply_file_path() cv 3 modules/viz/test/test_tutorial2.cpp using namespace cv; cv 3 modules/viz/test/test_tutorial3.cpp using namespace cv; cv 44 modules/viz/test/test_viz3d.cpp using namespace cv; cv 48 modules/viz/test/test_viz3d.cpp cv::Mat cloud = cv::viz::readCloud(get_dragon_ply_file_path()); cv 50 modules/viz/test/test_viz3d.cpp cv::viz::Viz3d viz("abc"); cv 52 modules/viz/test/test_viz3d.cpp viz.showWidget("coo", cv::viz::WCoordinateSystem(1)); cv 53 modules/viz/test/test_viz3d.cpp viz.showWidget("cloud", cv::viz::WPaintedCloud(cloud)); cv 45 modules/viz/test/tests_simple.cpp using namespace cv; cv 46 modules/viz/test/tests_simple.cpp using namespace cv::viz; cv 202 modules/viz/test/tests_simple.cpp cv::viz::Mesh mesh; cv 380 modules/viz/test/tests_simple.cpp cv::viz::imshow("show_image_method", make_gray(lena)).spin(); cv 45 modules/world/src/world_init.cpp bool cv::initAll() cv 14 samples/android/face-detection/jni/DetectionBasedTracker_jni.cpp using namespace cv; cv 24 samples/android/face-detection/jni/DetectionBasedTracker_jni.cpp CascadeDetectorAdapter(cv::Ptr<cv::CascadeClassifier> detector): cv 32 samples/android/face-detection/jni/DetectionBasedTracker_jni.cpp void detect(const cv::Mat &Image, std::vector<cv::Rect> &objects) cv 47 samples/android/face-detection/jni/DetectionBasedTracker_jni.cpp cv::Ptr<cv::CascadeClassifier> Detector; cv 52 samples/android/face-detection/jni/DetectionBasedTracker_jni.cpp cv::Ptr<CascadeDetectorAdapter> mainDetector; cv 53 samples/android/face-detection/jni/DetectionBasedTracker_jni.cpp cv::Ptr<CascadeDetectorAdapter> trackingDetector; cv 55 samples/android/face-detection/jni/DetectionBasedTracker_jni.cpp cv::Ptr<DetectionBasedTracker> tracker; cv 56 samples/android/face-detection/jni/DetectionBasedTracker_jni.cpp DetectorAgregator(cv::Ptr<CascadeDetectorAdapter>& _mainDetector, cv::Ptr<CascadeDetectorAdapter>& _trackingDetector): cv 80 samples/android/face-detection/jni/DetectionBasedTracker_jni.cpp cv::Ptr<CascadeDetectorAdapter> mainDetector = makePtr<CascadeDetectorAdapter>( cv 82 samples/android/face-detection/jni/DetectionBasedTracker_jni.cpp cv::Ptr<CascadeDetectorAdapter> trackingDetector = makePtr<CascadeDetectorAdapter>( cv 91 samples/android/face-detection/jni/DetectionBasedTracker_jni.cpp catch(cv::Exception& e) cv 124 samples/android/face-detection/jni/DetectionBasedTracker_jni.cpp catch(cv::Exception& e) cv 150 samples/android/face-detection/jni/DetectionBasedTracker_jni.cpp catch(cv::Exception& e) cv 176 samples/android/face-detection/jni/DetectionBasedTracker_jni.cpp catch(cv::Exception& e) cv 206 samples/android/face-detection/jni/DetectionBasedTracker_jni.cpp catch(cv::Exception& e) cv 236 samples/android/face-detection/jni/DetectionBasedTracker_jni.cpp catch(cv::Exception& e) cv 6 samples/android/hello-android/main.cpp using namespace cv; cv 8 samples/android/tutorial-2-mixedprocessing/jni/jni_part.cpp using namespace cv; cv 14 samples/cpp/3calibration.cpp using namespace cv; cv 34 samples/cpp/autofocus.cpp using namespace cv; cv 10 samples/cpp/bgfg_segm.cpp using namespace cv; cv 14 samples/cpp/calibration.cpp using namespace cv; cv 10 samples/cpp/camshiftdemo.cpp using namespace cv; cv 33 samples/cpp/cloning_demo.cpp using namespace cv; cv 43 samples/cpp/cloning_gui.cpp using namespace cv; cv 7 samples/cpp/connected_components.cpp using namespace cv; cv 6 samples/cpp/contours2.cpp using namespace cv; cv 6 samples/cpp/convexhull.cpp using namespace cv; cv 12 samples/cpp/cout_mat.cpp using namespace cv; cv 20 samples/cpp/create_mask.cpp using namespace cv; cv 15 samples/cpp/dbt_face_detection.cpp using namespace cv; cv 22 samples/cpp/dbt_face_detection.cpp CascadeDetectorAdapter(cv::Ptr<cv::CascadeClassifier> detector): cv 29 samples/cpp/dbt_face_detection.cpp void detect(const cv::Mat &Image, std::vector<cv::Rect> &objects) cv 39 samples/cpp/dbt_face_detection.cpp cv::Ptr<cv::CascadeClassifier> Detector; cv 55 samples/cpp/dbt_face_detection.cpp cv::Ptr<cv::CascadeClassifier> cascade = makePtr<cv::CascadeClassifier>(cascadeFrontalfilename); cv 56 samples/cpp/dbt_face_detection.cpp cv::Ptr<DetectionBasedTracker::IDetector> MainDetector = makePtr<CascadeDetectorAdapter>(cascade); cv 58 samples/cpp/dbt_face_detection.cpp cascade = makePtr<cv::CascadeClassifier>(cascadeFrontalfilename); cv 59 samples/cpp/dbt_face_detection.cpp cv::Ptr<DetectionBasedTracker::IDetector> TrackingDetector = makePtr<CascadeDetectorAdapter>(cascade); cv 5 samples/cpp/delaunay2.cpp using namespace cv; cv 8 samples/cpp/demhist.cpp using namespace cv; cv 7 samples/cpp/detect_blob.cpp using namespace cv; cv 29 samples/cpp/detect_mser.cpp using namespace cv; cv 9 samples/cpp/dft.cpp using namespace cv; cv 9 samples/cpp/distrans.cpp using namespace cv; cv 5 samples/cpp/drawing.cpp using namespace cv; cv 8 samples/cpp/edge.cpp using namespace cv; cv 5 samples/cpp/em.cpp using namespace cv; cv 6 samples/cpp/em.cpp using namespace cv::ml; cv 7 samples/cpp/example_cmake/example.cpp using namespace cv; cv 17 samples/cpp/facedetect.cpp using namespace cv; cv 133 samples/cpp/facedetect.cpp frame = cv::cvarrToMat(iplImg); cv 283 samples/cpp/facedetect.cpp cv::imshow( "result", img ); cv 19 samples/cpp/facial_features.cpp using namespace cv; cv 8 samples/cpp/fback.cpp using namespace cv; cv 8 samples/cpp/ffilldemo.cpp using namespace cv; cv 14 samples/cpp/filestorage.cpp using namespace cv; cv 21 samples/cpp/fitellipse.cpp using namespace cv; cv 8 samples/cpp/grabcut.cpp using namespace cv; cv 7 samples/cpp/houghcircles.cpp using namespace cv; cv 7 samples/cpp/houghlines.cpp using namespace cv; cv 7 samples/cpp/image.cpp using namespace cv; // all the new API is put into "cv" namespace. Export its content cv 40 samples/cpp/image.cpp Mat img = cv::cvarrToMat(iplimg); // cv::Mat replaces the CvMat and IplImage, but it's easy to convert cv 28 samples/cpp/image_alignment.cpp using namespace cv; cv 235 samples/cpp/image_alignment.cpp cv::RNG rng; cv 7 samples/cpp/image_sequence.cpp using namespace cv; cv 14 samples/cpp/imagelist_creator.cpp using namespace cv; cv 8 samples/cpp/inpaint.cpp using namespace cv; cv 9 samples/cpp/intelperc_capture.cpp using namespace cv; cv 6 samples/cpp/kalman.cpp using namespace cv; cv 6 samples/cpp/kmeans.cpp using namespace cv; cv 9 samples/cpp/laplace.cpp using namespace cv; cv 9 samples/cpp/letter_recog.cpp using namespace cv; cv 10 samples/cpp/letter_recog.cpp using namespace cv::ml; cv 9 samples/cpp/lkdemo.cpp using namespace cv; cv 145 samples/cpp/lkdemo.cpp cv::swap(prevGray, gray); cv 66 samples/cpp/logistic_regression.cpp using namespace cv; cv 67 samples/cpp/logistic_regression.cpp using namespace cv::ml; cv 11 samples/cpp/lsd_lines.cpp using namespace cv; cv 10 samples/cpp/mask_tmpl.cpp using namespace cv; cv 6 samples/cpp/matchmethod_orb_akaze_brisk.cpp using namespace cv; cv 6 samples/cpp/minarea.cpp using namespace cv; cv 7 samples/cpp/morphology2.cpp using namespace cv; cv 27 samples/cpp/npr_demo.cpp using namespace cv; cv 12 samples/cpp/opencv_version.cpp cv::CommandLineParser parser(argc, argv, keys); cv 24 samples/cpp/opencv_version.cpp std::cout << cv::getBuildInformation() << std::endl; cv 7 samples/cpp/openni_capture.cpp using namespace cv; cv 49 samples/cpp/pca.cpp using namespace cv; cv 86 samples/cpp/pca.cpp cv::normalize(_src, dst, 0, 255, NORM_MINMAX, CV_8UC1); cv 108 samples/cpp/pca.cpp p->pca = PCA(p->data, cv::Mat(), PCA::DATA_AS_ROW, var); cv 138 samples/cpp/pca.cpp } catch (cv::Exception& e) { cv 153 samples/cpp/pca.cpp PCA pca(data, cv::Mat(), PCA::DATA_AS_ROW, 0.95); // trackbar is initially set here, also this is a common value for retainedVariance cv 6 samples/cpp/phase_corr.cpp using namespace cv; cv 14 samples/cpp/points_classifier.cpp using namespace cv; cv 15 samples/cpp/points_classifier.cpp using namespace cv::ml; cv 303 samples/cpp/points_classifier.cpp cv::namedWindow( "points", 1 ); cv 9 samples/cpp/segment_objects.cpp using namespace cv; cv 24 samples/cpp/select3dobj.cpp using namespace cv; cv 14 samples/cpp/shape_example.cpp using namespace cv; cv 68 samples/cpp/shape_example.cpp cv::Ptr <cv::ShapeContextDistanceExtractor> mysc = cv::createShapeContextDistanceExtractor(); cv 15 samples/cpp/smiledetect.cpp using namespace cv; cv 127 samples/cpp/smiledetect.cpp frame = cv::cvarrToMat(iplImg); cv 250 samples/cpp/smiledetect.cpp cv::imshow( "result", img ); cv 14 samples/cpp/squares.cpp using namespace cv; cv 16 samples/cpp/starter_imagelist.cpp using namespace cv; cv 21 samples/cpp/starter_video.cpp using namespace cv; cv 39 samples/cpp/stereo_calib.cpp using namespace cv; cv 18 samples/cpp/stereo_match.cpp using namespace cv; cv 50 samples/cpp/stitching.cpp using namespace cv; cv 64 samples/cpp/stitching_detailed.cpp using namespace cv; cv 65 samples/cpp/stitching_detailed.cpp using namespace cv::detail; cv 361 samples/cpp/stitching_detailed.cpp cv::setBreakOnError(true); cv 597 samples/cpp/stitching_detailed.cpp warper_creator = makePtr<cv::PlaneWarperGpu>(); cv 599 samples/cpp/stitching_detailed.cpp warper_creator = makePtr<cv::CylindricalWarperGpu>(); cv 601 samples/cpp/stitching_detailed.cpp warper_creator = makePtr<cv::SphericalWarperGpu>(); cv 607 samples/cpp/stitching_detailed.cpp warper_creator = makePtr<cv::PlaneWarper>(); cv 609 samples/cpp/stitching_detailed.cpp warper_creator = makePtr<cv::CylindricalWarper>(); cv 611 samples/cpp/stitching_detailed.cpp warper_creator = makePtr<cv::SphericalWarper>(); cv 613 samples/cpp/stitching_detailed.cpp warper_creator = makePtr<cv::FisheyeWarper>(); cv 615 samples/cpp/stitching_detailed.cpp warper_creator = makePtr<cv::StereographicWarper>(); cv 617 samples/cpp/stitching_detailed.cpp warper_creator = makePtr<cv::CompressedRectilinearWarper>(2.0f, 1.0f); cv 619 samples/cpp/stitching_detailed.cpp warper_creator = makePtr<cv::CompressedRectilinearWarper>(1.5f, 1.0f); cv 621 samples/cpp/stitching_detailed.cpp warper_creator = makePtr<cv::CompressedRectilinearPortraitWarper>(2.0f, 1.0f); cv 623 samples/cpp/stitching_detailed.cpp warper_creator = makePtr<cv::CompressedRectilinearPortraitWarper>(1.5f, 1.0f); cv 625 samples/cpp/stitching_detailed.cpp warper_creator = makePtr<cv::PaniniWarper>(2.0f, 1.0f); cv 627 samples/cpp/stitching_detailed.cpp warper_creator = makePtr<cv::PaniniWarper>(1.5f, 1.0f); cv 629 samples/cpp/stitching_detailed.cpp warper_creator = makePtr<cv::PaniniPortraitWarper>(2.0f, 1.0f); cv 631 samples/cpp/stitching_detailed.cpp warper_creator = makePtr<cv::PaniniPortraitWarper>(1.5f, 1.0f); cv 633 samples/cpp/stitching_detailed.cpp warper_creator = makePtr<cv::MercatorWarper>(); cv 635 samples/cpp/stitching_detailed.cpp warper_creator = makePtr<cv::TransverseMercatorWarper>(); cv 10 samples/cpp/train_HOG.cpp using namespace cv; cv 11 samples/cpp/train_HOG.cpp using namespace cv::ml; cv 15 samples/cpp/train_HOG.cpp void convert_to_ml(const std::vector< cv::Mat > & train_samples, cv::Mat& trainData ); cv 50 samples/cpp/train_HOG.cpp void convert_to_ml(const std::vector< cv::Mat > & train_samples, cv::Mat& trainData ) cv 55 samples/cpp/train_HOG.cpp cv::Mat tmp(1, cols, CV_32FC1); //< used for transposition if needed cv 56 samples/cpp/train_HOG.cpp trainData = cv::Mat(rows, cols, CV_32FC1 ); cv 8 samples/cpp/tree_engine.cpp using namespace cv; cv 9 samples/cpp/tree_engine.cpp using namespace cv::ml; cv 11 samples/cpp/tutorial_code/HighGUI/AddingImagesTrackbar.cpp using namespace cv; cv 11 samples/cpp/tutorial_code/HighGUI/BasicLinearTransformsTrackbar.cpp using namespace cv; cv 20 samples/cpp/tutorial_code/HighGUI/GDAL_IO/gdal-image.cpp cv::Point2d tl( -122.441017, 37.815664 ); cv 21 samples/cpp/tutorial_code/HighGUI/GDAL_IO/gdal-image.cpp cv::Point2d tr( -122.370919, 37.815311 ); cv 22 samples/cpp/tutorial_code/HighGUI/GDAL_IO/gdal-image.cpp cv::Point2d bl( -122.441533, 37.747167 ); cv 23 samples/cpp/tutorial_code/HighGUI/GDAL_IO/gdal-image.cpp cv::Point2d br( -122.3715, 37.746814 ); cv 26 samples/cpp/tutorial_code/HighGUI/GDAL_IO/gdal-image.cpp cv::Point2d dem_bl( -122.0, 38); cv 27 samples/cpp/tutorial_code/HighGUI/GDAL_IO/gdal-image.cpp cv::Point2d dem_tr( -123.0, 37); cv 30 samples/cpp/tutorial_code/HighGUI/GDAL_IO/gdal-image.cpp std::vector<std::pair<cv::Vec3b,double> > color_range; cv 34 samples/cpp/tutorial_code/HighGUI/GDAL_IO/gdal-image.cpp cv::Point2d lerp( const cv::Point2d&, const cv::Point2d&, const double& ); cv 36 samples/cpp/tutorial_code/HighGUI/GDAL_IO/gdal-image.cpp cv::Vec3b get_dem_color( const double& ); cv 38 samples/cpp/tutorial_code/HighGUI/GDAL_IO/gdal-image.cpp cv::Point2d world2dem( const cv::Point2d&, const cv::Size&); cv 40 samples/cpp/tutorial_code/HighGUI/GDAL_IO/gdal-image.cpp cv::Point2d pixel2world( const int&, const int&, const cv::Size& ); cv 42 samples/cpp/tutorial_code/HighGUI/GDAL_IO/gdal-image.cpp void add_color( cv::Vec3b& pix, const uchar& b, const uchar& g, const uchar& r ); cv 52 samples/cpp/tutorial_code/HighGUI/GDAL_IO/gdal-image.cpp cv::Point2d lerp( cv::Point2d const& p1, cv::Point2d const& p2, const double& t ){ cv 53 samples/cpp/tutorial_code/HighGUI/GDAL_IO/gdal-image.cpp return cv::Point2d( ((1-t)*p1.x) + (t*p2.x), cv 61 samples/cpp/tutorial_code/HighGUI/GDAL_IO/gdal-image.cpp cv::Vec<DATATYPE,N> lerp( cv::Vec<DATATYPE,N> const& minColor, cv 62 samples/cpp/tutorial_code/HighGUI/GDAL_IO/gdal-image.cpp cv::Vec<DATATYPE,N> const& maxColor, cv 65 samples/cpp/tutorial_code/HighGUI/GDAL_IO/gdal-image.cpp cv::Vec<DATATYPE,N> output; cv 75 samples/cpp/tutorial_code/HighGUI/GDAL_IO/gdal-image.cpp cv::Vec3b get_dem_color( const double& elevation ){ cv 110 samples/cpp/tutorial_code/HighGUI/GDAL_IO/gdal-image.cpp cv::Point2d world2dem( cv::Point2d const& coordinate, const cv::Size& dem_size ){ cv 118 samples/cpp/tutorial_code/HighGUI/GDAL_IO/gdal-image.cpp cv::Point2d output; cv 128 samples/cpp/tutorial_code/HighGUI/GDAL_IO/gdal-image.cpp cv::Point2d pixel2world( const int& x, const int& y, const cv::Size& size ){ cv 135 samples/cpp/tutorial_code/HighGUI/GDAL_IO/gdal-image.cpp cv::Point2d rightSide = lerp(tr, br, ry); cv 136 samples/cpp/tutorial_code/HighGUI/GDAL_IO/gdal-image.cpp cv::Point2d leftSide = lerp(tl, bl, ry); cv 145 samples/cpp/tutorial_code/HighGUI/GDAL_IO/gdal-image.cpp void add_color( cv::Vec3b& pix, const uchar& b, const uchar& g, const uchar& r ){ cv 169 samples/cpp/tutorial_code/HighGUI/GDAL_IO/gdal-image.cpp cv::Mat image = cv::imread(argv[1], cv::IMREAD_LOAD_GDAL | cv::IMREAD_COLOR ); cv 172 samples/cpp/tutorial_code/HighGUI/GDAL_IO/gdal-image.cpp cv::Mat dem = cv::imread(argv[2], cv::IMREAD_LOAD_GDAL | cv::IMREAD_ANYDEPTH ); cv 175 samples/cpp/tutorial_code/HighGUI/GDAL_IO/gdal-image.cpp cv::Mat output_dem( image.size(), CV_8UC3 ); cv 176 samples/cpp/tutorial_code/HighGUI/GDAL_IO/gdal-image.cpp cv::Mat output_dem_flood( image.size(), CV_8UC3 ); cv 184 samples/cpp/tutorial_code/HighGUI/GDAL_IO/gdal-image.cpp color_range.push_back( std::pair<cv::Vec3b,double>(cv::Vec3b( 188, 154, 46), -1)); cv 185 samples/cpp/tutorial_code/HighGUI/GDAL_IO/gdal-image.cpp color_range.push_back( std::pair<cv::Vec3b,double>(cv::Vec3b( 110, 220, 110), 0.25)); cv 186 samples/cpp/tutorial_code/HighGUI/GDAL_IO/gdal-image.cpp color_range.push_back( std::pair<cv::Vec3b,double>(cv::Vec3b( 150, 250, 230), 20)); cv 187 samples/cpp/tutorial_code/HighGUI/GDAL_IO/gdal-image.cpp color_range.push_back( std::pair<cv::Vec3b,double>(cv::Vec3b( 160, 220, 200), 75)); cv 188 samples/cpp/tutorial_code/HighGUI/GDAL_IO/gdal-image.cpp color_range.push_back( std::pair<cv::Vec3b,double>(cv::Vec3b( 220, 190, 170), 100)); cv 189 samples/cpp/tutorial_code/HighGUI/GDAL_IO/gdal-image.cpp color_range.push_back( std::pair<cv::Vec3b,double>(cv::Vec3b( 250, 180, 140), 200)); cv 199 samples/cpp/tutorial_code/HighGUI/GDAL_IO/gdal-image.cpp cv::Point2d coordinate = pixel2world( x, y, image.size() ); cv 202 samples/cpp/tutorial_code/HighGUI/GDAL_IO/gdal-image.cpp cv::Point2d dem_coordinate = world2dem( coordinate, dem.size() ); cv 214 samples/cpp/tutorial_code/HighGUI/GDAL_IO/gdal-image.cpp output_dem_flood.at<cv::Vec3b>(y,x) = image.at<cv::Vec3b>(y,x); cv 217 samples/cpp/tutorial_code/HighGUI/GDAL_IO/gdal-image.cpp cv::Vec3b actualColor = get_dem_color(dz); cv 218 samples/cpp/tutorial_code/HighGUI/GDAL_IO/gdal-image.cpp output_dem.at<cv::Vec3b>(y,x) = actualColor; cv 222 samples/cpp/tutorial_code/HighGUI/GDAL_IO/gdal-image.cpp add_color( output_dem_flood.at<cv::Vec3b>(y,x), 90, 0, 0 ); cv 226 samples/cpp/tutorial_code/HighGUI/GDAL_IO/gdal-image.cpp add_color( output_dem_flood.at<cv::Vec3b>(y,x), 0, 90, 0 ); cv 230 samples/cpp/tutorial_code/HighGUI/GDAL_IO/gdal-image.cpp add_color( output_dem_flood.at<cv::Vec3b>(y,x), 0, 0, 90 ); cv 236 samples/cpp/tutorial_code/HighGUI/GDAL_IO/gdal-image.cpp cv::imwrite( "heat-map.jpg" , output_dem ); cv 239 samples/cpp/tutorial_code/HighGUI/GDAL_IO/gdal-image.cpp cv::imwrite( "flooded.jpg", output_dem_flood); cv 12 samples/cpp/tutorial_code/HighGUI/video-input-psnr-ssim/video-input-psnr-ssim.cpp using namespace cv; cv 8 samples/cpp/tutorial_code/HighGUI/video-write/video-write.cpp using namespace cv; cv 13 samples/cpp/tutorial_code/Histograms_Matching/EqualizeHist_Demo.cpp using namespace cv; cv 14 samples/cpp/tutorial_code/Histograms_Matching/MatchTemplate_Demo.cpp using namespace cv; cv 13 samples/cpp/tutorial_code/Histograms_Matching/calcBackProject_Demo1.cpp using namespace cv; cv 13 samples/cpp/tutorial_code/Histograms_Matching/calcBackProject_Demo2.cpp using namespace cv; cv 14 samples/cpp/tutorial_code/Histograms_Matching/calcHist_Demo.cpp using namespace cv; cv 14 samples/cpp/tutorial_code/Histograms_Matching/compareHist_Demo.cpp using namespace cv; cv 11 samples/cpp/tutorial_code/ImgProc/AddingImages.cpp using namespace cv; cv 11 samples/cpp/tutorial_code/ImgProc/BasicLinearTransforms.cpp using namespace cv; cv 13 samples/cpp/tutorial_code/ImgProc/Morphology_1.cpp using namespace cv; cv 13 samples/cpp/tutorial_code/ImgProc/Morphology_2.cpp using namespace cv; cv 11 samples/cpp/tutorial_code/ImgProc/Morphology_3.cpp using namespace cv; cv 14 samples/cpp/tutorial_code/ImgProc/Pyramids.cpp using namespace cv; cv 15 samples/cpp/tutorial_code/ImgProc/Smoothing.cpp using namespace cv; cv 13 samples/cpp/tutorial_code/ImgProc/Threshold.cpp using namespace cv; cv 13 samples/cpp/tutorial_code/ImgTrans/CannyDetector_Demo.cpp using namespace cv; cv 13 samples/cpp/tutorial_code/ImgTrans/Geometric_Transforms_Demo.cpp using namespace cv; cv 13 samples/cpp/tutorial_code/ImgTrans/HoughCircle_Demo.cpp using namespace cv; cv 13 samples/cpp/tutorial_code/ImgTrans/HoughLines_Demo.cpp using namespace cv; cv 13 samples/cpp/tutorial_code/ImgTrans/Laplace_Demo.cpp using namespace cv; cv 13 samples/cpp/tutorial_code/ImgTrans/Remap_Demo.cpp using namespace cv; cv 13 samples/cpp/tutorial_code/ImgTrans/Sobel_Demo.cpp using namespace cv; cv 13 samples/cpp/tutorial_code/ImgTrans/copyMakeBorder_demo.cpp using namespace cv; cv 13 samples/cpp/tutorial_code/ImgTrans/filter2D_demo.cpp using namespace cv; cv 11 samples/cpp/tutorial_code/ImgTrans/imageSegmentation.cpp using namespace cv; cv 14 samples/cpp/tutorial_code/ShapeDescriptors/findContours_demo.cpp using namespace cv; cv 14 samples/cpp/tutorial_code/ShapeDescriptors/generalContours_demo1.cpp using namespace cv; cv 14 samples/cpp/tutorial_code/ShapeDescriptors/generalContours_demo2.cpp using namespace cv; cv 14 samples/cpp/tutorial_code/ShapeDescriptors/hull_demo.cpp using namespace cv; cv 14 samples/cpp/tutorial_code/ShapeDescriptors/moments_demo.cpp using namespace cv; cv 13 samples/cpp/tutorial_code/ShapeDescriptors/pointPolygonTest_demo.cpp using namespace cv; cv 13 samples/cpp/tutorial_code/TrackingMotion/cornerDetector_Demo.cpp using namespace cv; cv 14 samples/cpp/tutorial_code/TrackingMotion/cornerHarris_Demo.cpp using namespace cv; cv 14 samples/cpp/tutorial_code/TrackingMotion/cornerSubPix_Demo.cpp using namespace cv; cv 14 samples/cpp/tutorial_code/TrackingMotion/goodFeaturesToTrack_Demo.cpp using namespace cv; cv 18 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp using namespace cv; cv 47 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/CsvReader.cpp cv::Point3f tmp_p; cv 10 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/CsvReader.h using namespace cv; cv 10 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/CsvWriter.h using namespace cv; cv 17 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Mesh.cpp Triangle::Triangle(int id, cv::Point3f V0, cv::Point3f V1, cv::Point3f V2) cv 34 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Mesh.cpp Ray::Ray(cv::Point3f P0, cv::Point3f P1) { cv 22 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Mesh.h explicit Triangle(int id, cv::Point3f V0, cv::Point3f V1, cv::Point3f V2); cv 25 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Mesh.h cv::Point3f getV0() const { return v0_; } cv 26 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Mesh.h cv::Point3f getV1() const { return v1_; } cv 27 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Mesh.h cv::Point3f getV2() const { return v2_; } cv 33 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Mesh.h cv::Point3f v0_, v1_, v2_; cv 44 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Mesh.h explicit Ray(cv::Point3f P0, cv::Point3f P1); cv 47 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Mesh.h cv::Point3f getP0() { return p0_; } cv 48 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Mesh.h cv::Point3f getP1() { return p1_; } cv 52 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Mesh.h cv::Point3f p0_, p1_; cv 68 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Mesh.h cv::Point3f getVertex(int pos) const { return list_vertex_[pos]; } cv 81 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Mesh.h std::vector<cv::Point3f> list_vertex_; cv 21 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Model.cpp void Model::add_correspondence(const cv::Point2f &point2d, const cv::Point3f &point3d) cv 28 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Model.cpp void Model::add_outlier(const cv::Point2f &point2d) cv 33 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Model.cpp void Model::add_descriptor(const cv::Mat &descriptor) cv 38 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Model.cpp void Model::add_keypoint(const cv::KeyPoint &kp) cv 47 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Model.cpp cv::Mat points3dmatrix = cv::Mat(list_points3d_in_); cv 48 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Model.cpp cv::Mat points2dmatrix = cv::Mat(list_points2d_in_); cv 51 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Model.cpp cv::FileStorage storage(path, cv::FileStorage::WRITE); cv 63 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Model.cpp cv::Mat points3d_mat; cv 65 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Model.cpp cv::FileStorage storage(path, cv::FileStorage::READ); cv 21 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Model.h std::vector<cv::Point2f> get_points2d_in() const { return list_points2d_in_; } cv 22 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Model.h std::vector<cv::Point2f> get_points2d_out() const { return list_points2d_out_; } cv 23 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Model.h std::vector<cv::Point3f> get_points3d() const { return list_points3d_in_; } cv 24 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Model.h std::vector<cv::KeyPoint> get_keypoints() const { return list_keypoints_; } cv 25 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Model.h cv::Mat get_descriptors() const { return descriptors_; } cv 29 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Model.h void add_correspondence(const cv::Point2f &point2d, const cv::Point3f &point3d); cv 30 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Model.h void add_outlier(const cv::Point2f &point2d); cv 31 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Model.h void add_descriptor(const cv::Mat &descriptor); cv 32 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Model.h void add_keypoint(const cv::KeyPoint &kp); cv 43 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Model.h std::vector<cv::KeyPoint> list_keypoints_; cv 45 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Model.h std::vector<cv::Point2f> list_points2d_in_; cv 47 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Model.h std::vector<cv::Point2f> list_points2d_out_; cv 49 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Model.h std::vector<cv::Point3f> list_points3d_in_; cv 51 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Model.h cv::Mat descriptors_; cv 21 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/ModelRegistration.cpp void ModelRegistration::registerPoint(const cv::Point2f &point2d, const cv::Point3f &point3d) cv 23 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/ModelRegistration.h std::vector<cv::Point2f> get_points2d() const { return list_points2d_; } cv 24 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/ModelRegistration.h std::vector<cv::Point3f> get_points3d() const { return list_points3d_; } cv 29 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/ModelRegistration.h void registerPoint(const cv::Point2f &point2d, const cv::Point3f &point3d); cv 38 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/ModelRegistration.h std::vector<cv::Point2f> list_points2d_; cv 40 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/ModelRegistration.h std::vector<cv::Point3f> list_points3d_; cv 17 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.cpp cv::Point3f CROSS(cv::Point3f v1, cv::Point3f v2); cv 18 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.cpp double DOT(cv::Point3f v1, cv::Point3f v2); cv 19 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.cpp cv::Point3f SUB(cv::Point3f v1, cv::Point3f v2); cv 20 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.cpp cv::Point3f get_nearest_3D_point(std::vector<cv::Point3f> &points_list, cv::Point3f origin); cv 25 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.cpp cv::Point3f CROSS(cv::Point3f v1, cv::Point3f v2) cv 27 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.cpp cv::Point3f tmp_p; cv 34 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.cpp double DOT(cv::Point3f v1, cv::Point3f v2) cv 39 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.cpp cv::Point3f SUB(cv::Point3f v1, cv::Point3f v2) cv 41 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.cpp cv::Point3f tmp_p; cv 52 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.cpp cv::Point3f get_nearest_3D_point(std::vector<cv::Point3f> &points_list, cv::Point3f origin) cv 54 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.cpp cv::Point3f p1 = points_list[0]; cv 55 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.cpp cv::Point3f p2 = points_list[1]; cv 74 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.cpp _A_matrix = cv::Mat::zeros(3, 3, CV_64FC1); // intrinsic camera parameters cv 80 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.cpp _R_matrix = cv::Mat::zeros(3, 3, CV_64FC1); // rotation matrix cv 81 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.cpp _t_matrix = cv::Mat::zeros(3, 1, CV_64FC1); // translation matrix cv 82 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.cpp _P_matrix = cv::Mat::zeros(3, 4, CV_64FC1); // rotation-translation matrix cv 91 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.cpp void PnPProblem::set_P_matrix( const cv::Mat &R_matrix, const cv::Mat &t_matrix) cv 109 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.cpp bool PnPProblem::estimatePose( const std::vector<cv::Point3f> &list_points3d, cv 110 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.cpp const std::vector<cv::Point2f> &list_points2d, cv 113 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.cpp cv::Mat distCoeffs = cv::Mat::zeros(4, 1, CV_64FC1); cv 114 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.cpp cv::Mat rvec = cv::Mat::zeros(3, 1, CV_64FC1); cv 115 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.cpp cv::Mat tvec = cv::Mat::zeros(3, 1, CV_64FC1); cv 120 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.cpp bool correspondence = cv::solvePnP( list_points3d, list_points2d, _A_matrix, distCoeffs, rvec, tvec, cv 135 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.cpp void PnPProblem::estimatePoseRANSAC( const std::vector<cv::Point3f> &list_points3d, // list with model 3D coordinates cv 136 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.cpp const std::vector<cv::Point2f> &list_points2d, // list with scene 2D coordinates cv 137 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.cpp int flags, cv::Mat &inliers, int iterationsCount, // PnP method; inliers container cv 140 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.cpp cv::Mat distCoeffs = cv::Mat::zeros(4, 1, CV_64FC1); // vector of distortion coefficients cv 141 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.cpp cv::Mat rvec = cv::Mat::zeros(3, 1, CV_64FC1); // output rotation vector cv 142 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.cpp cv::Mat tvec = cv::Mat::zeros(3, 1, CV_64FC1); // output translation vector cv 147 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.cpp cv::solvePnPRansac( list_points3d, list_points2d, _A_matrix, distCoeffs, rvec, tvec, cv 159 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.cpp std::vector<cv::Point2f> PnPProblem::verify_points(Mesh *mesh) cv 161 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.cpp std::vector<cv::Point2f> verified_points_2d; cv 164 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.cpp cv::Point3f point3d = mesh->getVertex(i); cv 165 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.cpp cv::Point2f point2d = this->backproject3DPoint(point3d); cv 175 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.cpp cv::Point2f PnPProblem::backproject3DPoint(const cv::Point3f &point3d) cv 178 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.cpp cv::Mat point3d_vec = cv::Mat(4, 1, CV_64FC1); cv 185 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.cpp cv::Mat point2d_vec = cv::Mat(4, 1, CV_64FC1); cv 189 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.cpp cv::Point2f point2d; cv 197 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.cpp bool PnPProblem::backproject2DPoint(const Mesh *mesh, const cv::Point2f &point2d, cv::Point3f &point3d) cv 207 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.cpp cv::Mat point2d_vec = cv::Mat::ones(3, 1, CV_64F); // 3x1 cv 213 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.cpp cv::Mat X_c = _A_matrix.inv() * point2d_vec ; // 3x1 cv 216 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.cpp cv::Mat X_w = _R_matrix.inv() * ( X_c - _t_matrix ); // 3x1 cv 219 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.cpp cv::Mat C_op = cv::Mat(_R_matrix.inv()).mul(-1) * _t_matrix; // 3x1 cv 222 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.cpp cv::Mat ray = X_w - C_op; // 3x1 cv 223 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.cpp ray = ray / cv::norm(ray); // 3x1 cv 226 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.cpp Ray R((cv::Point3f)C_op, (cv::Point3f)ray); cv 229 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.cpp std::vector<cv::Point3f> intersections_list; cv 234 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.cpp cv::Point3f V0 = mesh->getVertex(triangles_list[i][0]); cv 235 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.cpp cv::Point3f V1 = mesh->getVertex(triangles_list[i][1]); cv 236 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.cpp cv::Point3f V2 = mesh->getVertex(triangles_list[i][2]); cv 243 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.cpp cv::Point3f tmp_pt = R.getP0() + out*R.getP1(); // P = O + t*D cv 265 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.cpp cv::Point3f e1, e2; cv 266 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.cpp cv::Point3f P, Q, T; cv 270 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.cpp cv::Point3f V1 = Triangle.getV0(); // Triangle vertices cv 271 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.cpp cv::Point3f V2 = Triangle.getV1(); cv 272 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.cpp cv::Point3f V3 = Triangle.getV2(); cv 274 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.cpp cv::Point3f O = Ray.getP0(); // Ray origin cv 275 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.cpp cv::Point3f D = Ray.getP1(); // Ray direction cv 26 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.h bool backproject2DPoint(const Mesh *mesh, const cv::Point2f &point2d, cv::Point3f &point3d); cv 28 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.h std::vector<cv::Point2f> verify_points(Mesh *mesh); cv 29 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.h cv::Point2f backproject3DPoint(const cv::Point3f &point3d); cv 30 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.h bool estimatePose(const std::vector<cv::Point3f> &list_points3d, const std::vector<cv::Point2f> &list_points2d, int flags); cv 31 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.h void estimatePoseRANSAC( const std::vector<cv::Point3f> &list_points3d, const std::vector<cv::Point2f> &list_points2d, cv 32 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.h int flags, cv::Mat &inliers, cv 35 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.h cv::Mat get_A_matrix() const { return _A_matrix; } cv 36 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.h cv::Mat get_R_matrix() const { return _R_matrix; } cv 37 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.h cv::Mat get_t_matrix() const { return _t_matrix; } cv 38 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.h cv::Mat get_P_matrix() const { return _P_matrix; } cv 40 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.h void set_P_matrix( const cv::Mat &R_matrix, const cv::Mat &t_matrix); cv 44 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.h cv::Mat _A_matrix; cv 46 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.h cv::Mat _R_matrix; cv 48 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.h cv::Mat _t_matrix; cv 50 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.h cv::Mat _P_matrix; cv 54 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.h cv::Point3f CROSS(cv::Point3f v1, cv::Point3f v2); cv 55 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.h double DOT(cv::Point3f v1, cv::Point3f v2); cv 56 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.h cv::Point3f SUB(cv::Point3f v1, cv::Point3f v2); cv 18 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/RobustMatcher.cpp void RobustMatcher::computeKeyPoints( const cv::Mat& image, std::vector<cv::KeyPoint>& keypoints) cv 23 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/RobustMatcher.cpp void RobustMatcher::computeDescriptors( const cv::Mat& image, std::vector<cv::KeyPoint>& keypoints, cv::Mat& descriptors) cv 28 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/RobustMatcher.cpp int RobustMatcher::ratioTest(std::vector<std::vector<cv::DMatch> > &matches) cv 32 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/RobustMatcher.cpp for ( std::vector<std::vector<cv::DMatch> >::iterator cv 54 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/RobustMatcher.cpp void RobustMatcher::symmetryTest( const std::vector<std::vector<cv::DMatch> >& matches1, cv 55 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/RobustMatcher.cpp const std::vector<std::vector<cv::DMatch> >& matches2, cv 56 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/RobustMatcher.cpp std::vector<cv::DMatch>& symMatches ) cv 60 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/RobustMatcher.cpp for (std::vector<std::vector<cv::DMatch> >::const_iterator cv 69 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/RobustMatcher.cpp for (std::vector<std::vector<cv::DMatch> >::const_iterator cv 84 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/RobustMatcher.cpp cv::DMatch((*matchIterator1)[0].queryIdx, cv 94 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/RobustMatcher.cpp void RobustMatcher::robustMatch( const cv::Mat& frame, std::vector<cv::DMatch>& good_matches, cv 95 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/RobustMatcher.cpp std::vector<cv::KeyPoint>& keypoints_frame, const cv::Mat& descriptors_model ) cv 102 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/RobustMatcher.cpp cv::Mat descriptors_frame; cv 106 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/RobustMatcher.cpp std::vector<std::vector<cv::DMatch> > matches12, matches21; cv 125 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/RobustMatcher.cpp void RobustMatcher::fastRobustMatch( const cv::Mat& frame, std::vector<cv::DMatch>& good_matches, cv 126 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/RobustMatcher.cpp std::vector<cv::KeyPoint>& keypoints_frame, cv 127 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/RobustMatcher.cpp const cv::Mat& descriptors_model ) cv 135 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/RobustMatcher.cpp cv::Mat descriptors_frame; cv 139 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/RobustMatcher.cpp std::vector<std::vector<cv::DMatch> > matches; cv 146 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/RobustMatcher.cpp for ( std::vector<std::vector<cv::DMatch> >::iterator cv 22 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/RobustMatcher.h detector_ = cv::ORB::create(); cv 23 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/RobustMatcher.h extractor_ = cv::ORB::create(); cv 26 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/RobustMatcher.h matcher_ = cv::makePtr<cv::BFMatcher>((int)cv::NORM_HAMMING, false); cv 32 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/RobustMatcher.h void setFeatureDetector(const cv::Ptr<cv::FeatureDetector>& detect) { detector_ = detect; } cv 35 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/RobustMatcher.h void setDescriptorExtractor(const cv::Ptr<cv::DescriptorExtractor>& desc) { extractor_ = desc; } cv 38 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/RobustMatcher.h void setDescriptorMatcher(const cv::Ptr<cv::DescriptorMatcher>& match) { matcher_ = match; } cv 41 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/RobustMatcher.h void computeKeyPoints( const cv::Mat& image, std::vector<cv::KeyPoint>& keypoints); cv 44 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/RobustMatcher.h void computeDescriptors( const cv::Mat& image, std::vector<cv::KeyPoint>& keypoints, cv::Mat& descriptors); cv 53 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/RobustMatcher.h int ratioTest(std::vector<std::vector<cv::DMatch> > &matches); cv 56 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/RobustMatcher.h void symmetryTest( const std::vector<std::vector<cv::DMatch> >& matches1, cv 57 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/RobustMatcher.h const std::vector<std::vector<cv::DMatch> >& matches2, cv 58 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/RobustMatcher.h std::vector<cv::DMatch>& symMatches ); cv 61 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/RobustMatcher.h void robustMatch( const cv::Mat& frame, std::vector<cv::DMatch>& good_matches, cv 62 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/RobustMatcher.h std::vector<cv::KeyPoint>& keypoints_frame, cv 63 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/RobustMatcher.h const cv::Mat& descriptors_model ); cv 66 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/RobustMatcher.h void fastRobustMatch( const cv::Mat& frame, std::vector<cv::DMatch>& good_matches, cv 67 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/RobustMatcher.h std::vector<cv::KeyPoint>& keypoints_frame, cv 68 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/RobustMatcher.h const cv::Mat& descriptors_model ); cv 72 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/RobustMatcher.h cv::Ptr<cv::FeatureDetector> detector_; cv 74 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/RobustMatcher.h cv::Ptr<cv::DescriptorExtractor> extractor_; cv 76 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/RobustMatcher.h cv::Ptr<cv::DescriptorMatcher> matcher_; cv 18 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp int fontFace = cv::FONT_ITALIC; cv 28 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp void drawQuestion(cv::Mat image, cv::Point3f point, cv::Scalar color) cv 35 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp cv::putText(image, text, cv::Point(25,50), fontFace, fontScale, color, thickness_font, 8); cv 39 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp void drawText(cv::Mat image, std::string text, cv::Scalar color) cv 41 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp cv::putText(image, text, cv::Point(25,50), fontFace, fontScale, color, thickness_font, 8); cv 45 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp void drawText2(cv::Mat image, std::string text, cv::Scalar color) cv 47 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp cv::putText(image, text, cv::Point(25,75), fontFace, fontScale, color, thickness_font, 8); cv 51 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp void drawFPS(cv::Mat image, double fps, cv::Scalar color) cv 55 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp cv::putText(image, text, cv::Point(500,50), fontFace, fontScale, color, thickness_font, 8); cv 59 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp void drawConfidence(cv::Mat image, double confidence, cv::Scalar color) cv 63 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp cv::putText(image, text, cv::Point(500,75), fontFace, fontScale, color, thickness_font, 8); cv 67 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp void drawCounter(cv::Mat image, int n, int n_max, cv::Scalar color) cv 72 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp cv::putText(image, text, cv::Point(500,50), fontFace, fontScale, color, thickness_font, 8); cv 76 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp void drawPoints(cv::Mat image, std::vector<cv::Point2f> &list_points_2d, std::vector<cv::Point3f> &list_points_3d, cv::Scalar color) cv 80 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp cv::Point2f point_2d = list_points_2d[i]; cv 81 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp cv::Point3f point_3d = list_points_3d[i]; cv 84 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp cv::circle(image, point_2d, radius, color, -1, lineType ); cv 94 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp cv::putText(image, text, point_2d, fontFace, fontScale*0.5, color, thickness_font, 8); cv 99 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp void draw2DPoints(cv::Mat image, std::vector<cv::Point2f> &list_points, cv::Scalar color) cv 103 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp cv::Point2f point_2d = list_points[i]; cv 106 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp cv::circle(image, point_2d, radius, color, -1, lineType ); cv 111 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp void drawArrow(cv::Mat image, cv::Point2i p, cv::Point2i q, cv::Scalar color, int arrowMagnitude, int thickness, int line_type, int shift) cv 114 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp cv::line(image, p, q, color, thickness, line_type, shift); cv 122 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp cv::line(image, p, q, color, thickness, line_type, shift); cv 127 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp cv::line(image, p, q, color, thickness, line_type, shift); cv 131 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp void draw3DCoordinateAxes(cv::Mat image, const std::vector<cv::Point2f> &list_points2d) cv 133 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp cv::Scalar red(0, 0, 255); cv 134 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp cv::Scalar green(0,255,0); cv 135 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp cv::Scalar blue(255,0,0); cv 136 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp cv::Scalar black(0,0,0); cv 138 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp cv::Point2i origin = list_points2d[0]; cv 139 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp cv::Point2i pointX = list_points2d[1]; cv 140 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp cv::Point2i pointY = list_points2d[2]; cv 141 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp cv::Point2i pointZ = list_points2d[3]; cv 146 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp cv::circle(image, origin, radius/2, black, -1, lineType ); cv 151 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp void drawObjectMesh(cv::Mat image, const Mesh *mesh, PnPProblem *pnpProblem, cv::Scalar color) cv 158 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp cv::Point3f point_3d_0 = mesh->getVertex(tmp_triangle[0]); cv 159 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp cv::Point3f point_3d_1 = mesh->getVertex(tmp_triangle[1]); cv 160 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp cv::Point3f point_3d_2 = mesh->getVertex(tmp_triangle[2]); cv 162 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp cv::Point2f point_2d_0 = pnpProblem->backproject3DPoint(point_3d_0); cv 163 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp cv::Point2f point_2d_1 = pnpProblem->backproject3DPoint(point_3d_1); cv 164 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp cv::Point2f point_2d_2 = pnpProblem->backproject3DPoint(point_3d_2); cv 166 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp cv::line(image, point_2d_0, point_2d_1, color, 1); cv 167 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp cv::line(image, point_2d_1, point_2d_2, color, 1); cv 168 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp cv::line(image, point_2d_2, point_2d_0, color, 1); cv 173 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp double get_translation_error(const cv::Mat &t_true, const cv::Mat &t) cv 175 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp return cv::norm( t_true - t ); cv 179 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp double get_rotation_error(const cv::Mat &R_true, const cv::Mat &R) cv 181 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp cv::Mat error_vec, error_mat; cv 182 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp error_mat = R_true * cv::Mat(R.inv()).mul(-1); cv 183 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp cv::Rodrigues(error_mat, error_vec); cv 185 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp return cv::norm(error_vec); cv 189 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp cv::Mat rot2euler(const cv::Mat & rotationMatrix) cv 191 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp cv::Mat euler(3,1,CV_64F); cv 229 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp cv::Mat euler2rot(const cv::Mat & euler) cv 231 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp cv::Mat rotationMatrix(3,3,CV_64F); cv 16 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.h void drawQuestion(cv::Mat image, cv::Point3f point, cv::Scalar color); cv 19 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.h void drawText(cv::Mat image, std::string text, cv::Scalar color); cv 22 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.h void drawText2(cv::Mat image, std::string text, cv::Scalar color); cv 25 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.h void drawFPS(cv::Mat image, double fps, cv::Scalar color); cv 28 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.h void drawConfidence(cv::Mat image, double confidence, cv::Scalar color); cv 31 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.h void drawCounter(cv::Mat image, int n, int n_max, cv::Scalar color); cv 34 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.h void drawPoints(cv::Mat image, std::vector<cv::Point2f> &list_points_2d, std::vector<cv::Point3f> &list_points_3d, cv::Scalar color); cv 37 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.h void draw2DPoints(cv::Mat image, std::vector<cv::Point2f> &list_points, cv::Scalar color); cv 40 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.h void drawArrow(cv::Mat image, cv::Point2i p, cv::Point2i q, cv::Scalar color, int arrowMagnitude = 9, int thickness=1, int line_type=8, int shift=0); cv 43 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.h void draw3DCoordinateAxes(cv::Mat image, const std::vector<cv::Point2f> &list_points2d); cv 46 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.h void drawObjectMesh(cv::Mat image, const Mesh *mesh, PnPProblem *pnpProblem, cv::Scalar color); cv 49 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.h double get_translation_error(const cv::Mat &t_true, const cv::Mat &t); cv 52 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.h double get_rotation_error(const cv::Mat &R_true, const cv::Mat &R); cv 55 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.h cv::Mat rot2euler(const cv::Mat & rotationMatrix); cv 58 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.h cv::Mat euler2rot(const cv::Mat & euler); cv 21 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/main_detection.cpp using namespace cv; cv 16 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/main_registration.cpp using namespace cv; cv 14 samples/cpp/tutorial_code/calib3d/stereoBM/SBM_Sample.cpp using namespace cv; cv 12 samples/cpp/tutorial_code/core/Matrix/Drawing_1.cpp using namespace cv; cv 12 samples/cpp/tutorial_code/core/Matrix/Drawing_2.cpp using namespace cv; cv 8 samples/cpp/tutorial_code/core/discrete_fourier_transform/discrete_fourier_transform.cpp using namespace cv; cv 5 samples/cpp/tutorial_code/core/file_input_output/file_input_output.cpp using namespace cv; cv 9 samples/cpp/tutorial_code/core/how_to_scan_images/how_to_scan_images.cpp using namespace cv; cv 73 samples/cpp/tutorial_code/core/how_to_scan_images/how_to_scan_images.cpp cv::Mat clone_i = I.clone(); cv 87 samples/cpp/tutorial_code/core/how_to_scan_images/how_to_scan_images.cpp cv::Mat clone_i = I.clone(); cv 101 samples/cpp/tutorial_code/core/how_to_scan_images/how_to_scan_images.cpp cv::Mat clone_i = I.clone(); cv 11 samples/cpp/tutorial_code/core/interoperability_with_OpenCV_1/interoperability_with_OpenCV_1.cpp using namespace cv; // The new C++ interface API is inside this namespace. Import it. cv 46 samples/cpp/tutorial_code/core/interoperability_with_OpenCV_1/interoperability_with_OpenCV_1.cpp Mat I = cv::cvarrToMat(IplI); // Convert to the new style container. Only header created. Image not copied. cv 9 samples/cpp/tutorial_code/core/ippasync/ippasync_sample.cpp using namespace cv; cv 9 samples/cpp/tutorial_code/core/mat_mask_operations/mat_mask_operations.cpp using namespace cv; cv 7 samples/cpp/tutorial_code/core/mat_the_basic_image_container/mat_the_basic_image_container.cpp using namespace cv; cv 8 samples/cpp/tutorial_code/features2D/AKAZE_match.cpp using namespace cv; cv 12 samples/cpp/tutorial_code/features2D/AKAZE_tracking/planar_tracking.cpp using namespace cv; cv 9 samples/cpp/tutorial_code/features2D/AKAZE_tracking/utils.h using namespace cv; cv 14 samples/cpp/tutorial_code/gpu/gpu-basics-similarity/gpu-basics-similarity.cpp using namespace cv; cv 11 samples/cpp/tutorial_code/introduction/display_image/display_image.cpp using namespace cv; cv 6 samples/cpp/tutorial_code/introduction/windows_visual_studio_Opencv/introduction_windows_vs.cpp using namespace cv; cv 11 samples/cpp/tutorial_code/ml/introduction_to_pca/introduction_to_pca.cpp using namespace cv; cv 7 samples/cpp/tutorial_code/ml/introduction_to_svm/introduction_to_svm.cpp using namespace cv; cv 8 samples/cpp/tutorial_code/ml/introduction_to_svm/introduction_to_svm.cpp using namespace cv::ml; cv 11 samples/cpp/tutorial_code/ml/non_linear_svms/non_linear_svms.cpp using namespace cv; cv 12 samples/cpp/tutorial_code/ml/non_linear_svms/non_linear_svms.cpp using namespace cv::ml; cv 10 samples/cpp/tutorial_code/objectDetection/objectDetection.cpp using namespace cv; cv 15 samples/cpp/tutorial_code/objectDetection/objectDetection2.cpp using namespace cv; cv 25 samples/cpp/tutorial_code/photo/decolorization/decolor.cpp using namespace cv; cv 8 samples/cpp/tutorial_code/photo/hdr_imaging/hdr_imaging.cpp using namespace cv; cv 26 samples/cpp/tutorial_code/photo/non_photorealistic_rendering/npr_demo.cpp using namespace cv; cv 32 samples/cpp/tutorial_code/photo/seamless_cloning/cloning_demo.cpp using namespace cv; cv 42 samples/cpp/tutorial_code/photo/seamless_cloning/cloning_gui.cpp using namespace cv; cv 19 samples/cpp/tutorial_code/video/bg_sub.cpp using namespace cv; cv 112 samples/cpp/tutorial_code/video/bg_sub.cpp rectangle(frame, cv::Point(10, 2), cv::Point(100,20), cv 113 samples/cpp/tutorial_code/video/bg_sub.cpp cv::Scalar(255,255,255), -1); cv 116 samples/cpp/tutorial_code/video/bg_sub.cpp putText(frame, frameNumberString.c_str(), cv::Point(15, 15), cv 117 samples/cpp/tutorial_code/video/bg_sub.cpp FONT_HERSHEY_SIMPLEX, 0.5 , cv::Scalar(0,0,0)); cv 157 samples/cpp/tutorial_code/video/bg_sub.cpp rectangle(frame, cv::Point(10, 2), cv::Point(100,20), cv 158 samples/cpp/tutorial_code/video/bg_sub.cpp cv::Scalar(255,255,255), -1); cv 159 samples/cpp/tutorial_code/video/bg_sub.cpp putText(frame, frameNumberString.c_str(), cv::Point(15, 15), cv 160 samples/cpp/tutorial_code/video/bg_sub.cpp FONT_HERSHEY_SIMPLEX, 0.5 , cv::Scalar(0,0,0)); cv 20 samples/cpp/tutorial_code/viz/creating_widgets.cpp using namespace cv; cv 10 samples/cpp/tutorial_code/viz/launching_viz.cpp using namespace cv; cv 11 samples/cpp/tutorial_code/viz/transformations.cpp using namespace cv; cv 43 samples/cpp/tutorial_code/viz/transformations.cpp Point3f* data = cloud.ptr<cv::Point3f>(); cv 11 samples/cpp/tutorial_code/viz/widget_pose.cpp using namespace cv; cv 17 samples/cpp/tutorial_code/xfeatures2D/LATCH_match.cpp using namespace cv; cv 36 samples/cpp/tutorial_code/xfeatures2D/LATCH_match.cpp Ptr<cv::ORB> orb_detector = cv::ORB::create(10000); cv 9 samples/cpp/tvl1_optical_flow.cpp using namespace cv; cv 15 samples/cpp/ufacedetect.cpp using namespace cv; cv 22 samples/cpp/videostab.cpp using namespace cv; cv 23 samples/cpp/videostab.cpp using namespace cv::videostab; cv 9 samples/cpp/watershed.cpp using namespace cv; cv 25 samples/directx/d3d10_interop.cpp using namespace cv; cv 30 samples/directx/d3d10_interop.cpp D3D10WinApp(int width, int height, std::string& window_name, cv::VideoCapture& cap) : cv 117 samples/directx/d3d10_interop.cpp if (cv::ocl::haveOpenCL()) cv 119 samples/directx/d3d10_interop.cpp m_oclCtx = cv::directx::ocl::initializeContextFromD3D10Device(m_pD3D10Dev); cv 122 samples/directx/d3d10_interop.cpp m_oclDevName = cv::ocl::useOpenCL() ? cv 123 samples/directx/d3d10_interop.cpp cv::ocl::Context::getDefault().device(0).name() : cv 138 samples/directx/d3d10_interop.cpp cv::cvtColor(m_frame_bgr, m_frame_rgba, CV_RGB2BGRA); cv 149 samples/directx/d3d10_interop.cpp cv::Mat m(m_height, m_width, CV_8UC4, mappedTex.pData, (int)mappedTex.RowPitch); cv 196 samples/directx/d3d10_interop.cpp cv::Mat m(m_height, m_width, CV_8UC4, mappedTex.pData, (int)mappedTex.RowPitch); cv 201 samples/directx/d3d10_interop.cpp cv::blur(m, m, cv::Size(15, 15), cv::Point(-7, -7)); cv 212 samples/directx/d3d10_interop.cpp cv::UMat u; cv 214 samples/directx/d3d10_interop.cpp cv::directx::convertFromD3D10Texture2D(pSurface, u); cv 219 samples/directx/d3d10_interop.cpp cv::blur(u, u, cv::Size(15, 15), cv::Point(-7, -7)); cv 222 samples/directx/d3d10_interop.cpp cv::directx::convertToD3D10Texture2D(u, pSurface); cv 244 samples/directx/d3d10_interop.cpp catch (cv::Exception& e) cv 254 samples/directx/d3d10_interop.cpp void print_info(ID3D10Texture2D* pSurface, int mode, float fps, cv::String oclDevName) cv 267 samples/directx/d3d10_interop.cpp cv::Mat m(m_height, m_width, CV_8UC4, mappedTex.pData, (int)mappedTex.RowPitch); cv 269 samples/directx/d3d10_interop.cpp cv::String strMode = cv::format("%s", m_modeStr[mode].c_str()); cv 270 samples/directx/d3d10_interop.cpp cv::String strFPS = cv::format("%2.1f", fps); cv 271 samples/directx/d3d10_interop.cpp cv::String strDevName = cv::format("%s", oclDevName.c_str()); cv 273 samples/directx/d3d10_interop.cpp cv::putText(m, strMode, cv::Point(0, 16), 1, 0.8, cv::Scalar(0, 0, 0)); cv 274 samples/directx/d3d10_interop.cpp cv::putText(m, strFPS, cv::Point(0, 32), 1, 0.8, cv::Scalar(0, 0, 0)); cv 275 samples/directx/d3d10_interop.cpp cv::putText(m, strDevName, cv::Point(0, 48), 1, 0.8, cv::Scalar(0, 0, 0)); cv 300 samples/directx/d3d10_interop.cpp cv::ocl::Context m_oclCtx; cv 301 samples/directx/d3d10_interop.cpp cv::String m_oclPlatformName; cv 302 samples/directx/d3d10_interop.cpp cv::String m_oclDevName; cv 25 samples/directx/d3d11_interop.cpp using namespace cv; cv 30 samples/directx/d3d11_interop.cpp D3D11WinApp(int width, int height, std::string& window_name, cv::VideoCapture& cap) : cv 121 samples/directx/d3d11_interop.cpp if (cv::ocl::haveOpenCL()) cv 123 samples/directx/d3d11_interop.cpp m_oclCtx = cv::directx::ocl::initializeContextFromD3D11Device(m_pD3D11Dev); cv 126 samples/directx/d3d11_interop.cpp m_oclDevName = cv::ocl::useOpenCL() ? cv 127 samples/directx/d3d11_interop.cpp cv::ocl::Context::getDefault().device(0).name() : cv 142 samples/directx/d3d11_interop.cpp cv::cvtColor(m_frame_bgr, m_frame_rgba, CV_RGB2BGRA); cv 153 samples/directx/d3d11_interop.cpp cv::Mat m(m_height, m_width, CV_8UC4, mappedTex.pData, (int)mappedTex.RowPitch); cv 200 samples/directx/d3d11_interop.cpp cv::Mat m(m_height, m_width, CV_8UC4, mappedTex.pData, (int)mappedTex.RowPitch); cv 205 samples/directx/d3d11_interop.cpp cv::blur(m, m, cv::Size(15, 15), cv::Point(-7, -7)); cv 216 samples/directx/d3d11_interop.cpp cv::UMat u; cv 218 samples/directx/d3d11_interop.cpp cv::directx::convertFromD3D11Texture2D(pSurface, u); cv 223 samples/directx/d3d11_interop.cpp cv::blur(u, u, cv::Size(15, 15), cv::Point(-7, -7)); cv 226 samples/directx/d3d11_interop.cpp cv::directx::convertToD3D11Texture2D(u, pSurface); cv 248 samples/directx/d3d11_interop.cpp catch (cv::Exception& e) cv 258 samples/directx/d3d11_interop.cpp void print_info(ID3D11Texture2D* pSurface, int mode, float fps, cv::String oclDevName) cv 271 samples/directx/d3d11_interop.cpp cv::Mat m(m_height, m_width, CV_8UC4, mappedTex.pData, (int)mappedTex.RowPitch); cv 273 samples/directx/d3d11_interop.cpp cv::String strMode = cv::format("%s", m_modeStr[mode].c_str()); cv 274 samples/directx/d3d11_interop.cpp cv::String strFPS = cv::format("%2.1f", fps); cv 275 samples/directx/d3d11_interop.cpp cv::String strDevName = cv::format("%s", oclDevName.c_str()); cv 277 samples/directx/d3d11_interop.cpp cv::putText(m, strMode, cv::Point(0, 16), 1, 0.8, cv::Scalar(0, 0, 0)); cv 278 samples/directx/d3d11_interop.cpp cv::putText(m, strFPS, cv::Point(0, 32), 1, 0.8, cv::Scalar(0, 0, 0)); cv 279 samples/directx/d3d11_interop.cpp cv::putText(m, strDevName, cv::Point(0, 48), 1, 0.8, cv::Scalar(0, 0, 0)); cv 306 samples/directx/d3d11_interop.cpp cv::ocl::Context m_oclCtx; cv 307 samples/directx/d3d11_interop.cpp cv::String m_oclPlatformName; cv 308 samples/directx/d3d11_interop.cpp cv::String m_oclDevName; cv 25 samples/directx/d3d9_interop.cpp using namespace cv; cv 30 samples/directx/d3d9_interop.cpp D3D9WinApp(int width, int height, std::string& window_name, cv::VideoCapture& cap) : cv 90 samples/directx/d3d9_interop.cpp if (cv::ocl::haveOpenCL()) cv 92 samples/directx/d3d9_interop.cpp m_oclCtx = cv::directx::ocl::initializeContextFromDirect3DDevice9(m_pD3D9Dev); cv 95 samples/directx/d3d9_interop.cpp m_oclDevName = cv::ocl::useOpenCL() ? cv 96 samples/directx/d3d9_interop.cpp cv::ocl::Context::getDefault().device(0).name() : cv 111 samples/directx/d3d9_interop.cpp cv::cvtColor(m_frame_bgr, m_frame_rgba, CV_RGB2RGBA); cv 122 samples/directx/d3d9_interop.cpp cv::Mat m(m_height, m_width, CV_8UC4, memDesc.pBits, memDesc.Pitch); cv 173 samples/directx/d3d9_interop.cpp cv::Mat m(m_height, m_width, CV_8UC4, memDesc.pBits, memDesc.Pitch); cv 178 samples/directx/d3d9_interop.cpp cv::blur(m, m, cv::Size(15, 15), cv::Point(-7, -7)); cv 193 samples/directx/d3d9_interop.cpp cv::UMat u; cv 195 samples/directx/d3d9_interop.cpp cv::directx::convertFromDirect3DSurface9(pSurface, u); cv 200 samples/directx/d3d9_interop.cpp cv::blur(u, u, cv::Size(15, 15), cv::Point(-7, -7)); cv 203 samples/directx/d3d9_interop.cpp cv::directx::convertToDirect3DSurface9(u, pSurface); cv 228 samples/directx/d3d9_interop.cpp catch (cv::Exception& e) cv 238 samples/directx/d3d9_interop.cpp void print_info(LPDIRECT3DSURFACE9 pSurface, int mode, float fps, cv::String oclDevName) cv 298 samples/directx/d3d9_interop.cpp cv::ocl::Context m_oclCtx; cv 299 samples/directx/d3d9_interop.cpp cv::String m_oclPlatformName; cv 300 samples/directx/d3d9_interop.cpp cv::String m_oclDevName; cv 25 samples/directx/d3d9ex_interop.cpp using namespace cv; cv 30 samples/directx/d3d9ex_interop.cpp D3D9ExWinApp(int width, int height, std::string& window_name, cv::VideoCapture& cap) : cv 90 samples/directx/d3d9ex_interop.cpp if (cv::ocl::haveOpenCL()) cv 92 samples/directx/d3d9ex_interop.cpp m_oclCtx = cv::directx::ocl::initializeContextFromDirect3DDevice9(m_pD3D9DevEx); cv 95 samples/directx/d3d9ex_interop.cpp m_oclDevName = cv::ocl::useOpenCL() ? cv 96 samples/directx/d3d9ex_interop.cpp cv::ocl::Context::getDefault().device(0).name() : cv 111 samples/directx/d3d9ex_interop.cpp cv::cvtColor(m_frame_bgr, m_frame_rgba, CV_RGB2RGBA); cv 122 samples/directx/d3d9ex_interop.cpp cv::Mat m(m_height, m_width, CV_8UC4, memDesc.pBits, memDesc.Pitch); cv 173 samples/directx/d3d9ex_interop.cpp cv::Mat m(m_height, m_width, CV_8UC4, memDesc.pBits, memDesc.Pitch); cv 178 samples/directx/d3d9ex_interop.cpp cv::blur(m, m, cv::Size(15, 15), cv::Point(-7, -7)); cv 193 samples/directx/d3d9ex_interop.cpp cv::UMat u; cv 195 samples/directx/d3d9ex_interop.cpp cv::directx::convertFromDirect3DSurface9(pSurface, u); cv 200 samples/directx/d3d9ex_interop.cpp cv::blur(u, u, cv::Size(15, 15), cv::Point(-7, -7)); cv 203 samples/directx/d3d9ex_interop.cpp cv::directx::convertToDirect3DSurface9(u, pSurface); cv 229 samples/directx/d3d9ex_interop.cpp catch (cv::Exception& e) cv 239 samples/directx/d3d9ex_interop.cpp void print_info(LPDIRECT3DSURFACE9 pSurface, int mode, float fps, cv::String oclDevName) cv 299 samples/directx/d3d9ex_interop.cpp cv::ocl::Context m_oclCtx; cv 300 samples/directx/d3d9ex_interop.cpp cv::String m_oclPlatformName; cv 301 samples/directx/d3d9ex_interop.cpp cv::String m_oclDevName; cv 30 samples/directx/d3dsample.hpp D3DSample(int width, int height, std::string& window_name, cv::VideoCapture& cap) : cv 35 samples/directx/d3dsample.hpp m_modeStr[0] = cv::String("No processing"); cv 36 samples/directx/d3dsample.hpp m_modeStr[1] = cv::String("Processing on CPU"); cv 37 samples/directx/d3dsample.hpp m_modeStr[2] = cv::String("Processing on GPU"); cv 56 samples/directx/d3dsample.hpp int64 now = cv::getTickCount(); cv 68 samples/directx/d3dsample.hpp float fps = sz * (float)cv::getTickFrequency() / (now - then); cv 113 samples/directx/d3dsample.hpp cv::String m_modeStr[3]; cv 114 samples/directx/d3dsample.hpp cv::VideoCapture m_cap; cv 115 samples/directx/d3dsample.hpp cv::Mat m_frame_bgr; cv 116 samples/directx/d3dsample.hpp cv::Mat m_frame_rgba; cv 143 samples/directx/d3dsample.hpp cv::CommandLineParser parser(argc, argv, keys); \ cv 153 samples/directx/d3dsample.hpp cv::VideoCapture cap; cv 179 samples/directx/d3dsample.hpp catch (cv::Exception& e) cv 8 samples/gpu/alpha_comp.cpp using namespace cv; cv 9 samples/gpu/alpha_comp.cpp using namespace cv::cuda; cv 12 samples/gpu/bgfg_segm.cpp using namespace cv; cv 13 samples/gpu/bgfg_segm.cpp using namespace cv::cuda; cv 25 samples/gpu/bgfg_segm.cpp cv::CommandLineParser cmd(argc, argv, cv 121 samples/gpu/bgfg_segm.cpp int64 start = cv::getTickCount(); cv 146 samples/gpu/bgfg_segm.cpp double fps = cv::getTickFrequency() / (cv::getTickCount() - start); cv 19 samples/gpu/cascadeclassifier.cpp using namespace cv; cv 20 samples/gpu/cascadeclassifier.cpp using namespace cv::cuda; cv 34 samples/gpu/cascadeclassifier.cpp cv::cvtColor( src, gray, COLOR_BGR2GRAY ); cv 45 samples/gpu/cascadeclassifier.cpp cv::resize(gray, resized, sz); cv 57 samples/gpu/cascadeclassifier.cpp cv::cuda::cvtColor( src, gray, COLOR_BGR2GRAY ); cv 68 samples/gpu/cascadeclassifier.cpp cv::cuda::resize(gray, resized, sz); cv 82 samples/gpu/cascadeclassifier.cpp Size fontSize = cv::getTextSize("T[]", fontFace, fontScale, fontThickness, 0); cv 137 samples/gpu/cascadeclassifier.cpp cv::cuda::printShortCudaDeviceInfo(cv::cuda::getDevice()); cv 178 samples/gpu/cascadeclassifier.cpp cv::CascadeClassifier cascade_cpu; cv 280 samples/gpu/cascadeclassifier.cpp cv::cvtColor(resized_cpu, frameDisp, COLOR_GRAY2BGR); cv 17 samples/gpu/cascadeclassifier_nvidia_api.cpp using namespace cv; cv 39 samples/gpu/cascadeclassifier_nvidia_api.cpp const cv::String wndTitle = "NVIDIA Computer Vision :: Haar Classifiers Cascade"; cv 47 samples/gpu/cascadeclassifier_nvidia_api.cpp Size fontSize = cv::getTextSize("T[]", fontFace, fontScale, fontThickness, 0); cv 163 samples/gpu/cascadeclassifier_nvidia_api.cpp ncvAssertPrintReturn(cv::cuda::getCudaEnabledDeviceCount() != 0, "No GPU found or the library is compiled without CUDA support", -1); cv 166 samples/gpu/cascadeclassifier_nvidia_api.cpp cv::cuda::printShortCudaDeviceInfo(cv::cuda::getDevice()); cv 298 samples/gpu/cascadeclassifier_nvidia_api.cpp cvtColor((image.empty() ? frame : image), gray, cv::COLOR_BGR2GRAY); cv 346 samples/gpu/cascadeclassifier_nvidia_api.cpp cvtColor(gray, frameDisp, cv::COLOR_GRAY2BGR); cv 351 samples/gpu/cascadeclassifier_nvidia_api.cpp switch (cv::waitKey(3)) cv 384 samples/gpu/cascadeclassifier_nvidia_api.cpp cv::destroyWindow(wndTitle); cv 51 samples/gpu/driver_api_multi.cpp using namespace cv; cv 52 samples/gpu/driver_api_multi.cpp using namespace cv::cuda; cv 83 samples/gpu/driver_api_multi.cpp cv::cuda::printShortCudaDeviceInfo(i); cv 133 samples/gpu/driver_api_multi.cpp cv::transpose(src, dst); cv 141 samples/gpu/driver_api_multi.cpp bool passed = cv::norm(dst - Mat(d_dst), NORM_INF) < 1e-3; cv 53 samples/gpu/driver_api_stereo_multi.cpp using namespace cv; cv 54 samples/gpu/driver_api_stereo_multi.cpp using namespace cv::cuda; cv 113 samples/gpu/driver_api_stereo_multi.cpp cv::cuda::printShortCudaDeviceInfo(i); cv 131 samples/gpu/driver_api_stereo_multi.cpp left = imread(argv[++i], cv::IMREAD_GRAYSCALE); cv 136 samples/gpu/driver_api_stereo_multi.cpp right = imread(argv[++i], cv::IMREAD_GRAYSCALE); cv 13 samples/gpu/farneback_optical_flow.cpp using namespace cv; cv 14 samples/gpu/farneback_optical_flow.cpp using namespace cv::cuda; cv 26 samples/gpu/farneback_optical_flow.cpp cv::minMaxLoc(u, &uMin, &uMax, 0, 0); cv 28 samples/gpu/farneback_optical_flow.cpp cv::minMaxLoc(v, &vMin, &vMax, 0, 0); cv 14 samples/gpu/generalized_hough.cpp using namespace cv; cv 158 samples/gpu/generalized_hough.cpp cv::cvtColor(image, out, COLOR_GRAY2BGR); cv 14 samples/gpu/hog.cpp using namespace cv; cv 206 samples/gpu/hog.cpp cv::cuda::printShortCudaDeviceInfo(cv::cuda::getDevice()); cv 250 samples/gpu/hog.cpp cv::VideoWriter video_writer; cv 255 samples/gpu/hog.cpp cv::Ptr<cv::cuda::HOG> gpu_hog = cv::cuda::HOG::create(win_size); cv 256 samples/gpu/hog.cpp cv::HOGDescriptor cpu_hog(win_size, Size(16, 16), Size(8, 8), Size(8, 8), 9); cv 11 samples/gpu/houghlines.cpp using namespace cv; cv 12 samples/gpu/houghlines.cpp using namespace cv::cuda; cv 34 samples/gpu/houghlines.cpp cv::Canny(src, mask, 100, 200, 3); cv 37 samples/gpu/houghlines.cpp cv::cvtColor(mask, dst_cpu, COLOR_GRAY2BGR); cv 44 samples/gpu/houghlines.cpp cv::HoughLinesP(mask, lines_cpu, 1, CV_PI / 180, 50, 60, 5); cv 9 samples/gpu/morphology.cpp using namespace cv; cv 44 samples/gpu/multi.cpp using namespace cv; cv 45 samples/gpu/multi.cpp using namespace cv::cuda; cv 59 samples/gpu/multi.cpp cv::cuda::printShortCudaDeviceInfo(i); cv 90 samples/gpu/multi.cpp cv::transpose(src, dst); cv 98 samples/gpu/multi.cpp bool passed = cv::norm(dst - Mat(d_dst), NORM_INF) < 1e-3; cv 35 samples/gpu/opengl.cpp using namespace cv; cv 36 samples/gpu/opengl.cpp using namespace cv::cuda; cv 11 samples/gpu/optical_flow.cpp using namespace cv; cv 12 samples/gpu/optical_flow.cpp using namespace cv::cuda; cv 29 samples/gpu/opticalflow_nvidia_api.cpp using cv::Ptr; cv 394 samples/gpu/opticalflow_nvidia_api.cpp cv::cuda::printShortCudaDeviceInfo(cv::cuda::getDevice()); cv 8 samples/gpu/performance/performance.cpp using namespace cv; cv 9 samples/gpu/performance/performance.cpp using namespace cv::cuda; cv 60 samples/gpu/performance/performance.h void cpuOn() { cpu_started_ = cv::getTickCount(); } cv 63 samples/gpu/performance/performance.h int64 delta = cv::getTickCount() - cpu_started_; cv 74 samples/gpu/performance/performance.h void gpuOn() { gpu_started_ = cv::getTickCount(); } cv 77 samples/gpu/performance/performance.h int64 delta = cv::getTickCount() - gpu_started_; cv 182 samples/gpu/performance/performance.h void gen(cv::Mat& mat, int rows, int cols, int type, cv::Scalar low, cv 183 samples/gpu/performance/performance.h cv::Scalar high); cv 29 samples/gpu/performance/tests.cpp using namespace cv; cv 325 samples/gpu/performance/tests.cpp cv::Ptr<cv::cuda::FastFeatureDetector> d_FAST = cv::cuda::FastFeatureDetector::create(20); cv 626 samples/gpu/performance/tests.cpp cv::swap(src, dst); cv 643 samples/gpu/performance/tests.cpp cv::swap(src, dst); cv 660 samples/gpu/performance/tests.cpp cv::swap(src, dst); cv 677 samples/gpu/performance/tests.cpp cv::swap(src, dst); cv 694 samples/gpu/performance/tests.cpp cv::swap(src, dst); cv 711 samples/gpu/performance/tests.cpp cv::swap(src, dst); cv 728 samples/gpu/performance/tests.cpp cv::swap(src, dst); cv 938 samples/gpu/performance/tests.cpp cv::Ptr<cv::cuda::Filter> gauss = cv::cuda::createGaussianFilter(d_src.type(), -1, cv::Size(3, 3), 1); cv 963 samples/gpu/performance/tests.cpp cv::filter2D(src, dst, -1, kernel); cv 966 samples/gpu/performance/tests.cpp cv::filter2D(src, dst, -1, kernel); cv 1196 samples/gpu/performance/tests.cpp cv::VideoCapture cap(inputFile); cv 1199 samples/gpu/performance/tests.cpp cv::Mat frame; cv 1202 samples/gpu/performance/tests.cpp cv::Ptr<cv::BackgroundSubtractor> mog = cv::bgsegm::createBackgroundSubtractorMOG(); cv 1203 samples/gpu/performance/tests.cpp cv::Mat foreground; cv 1223 samples/gpu/performance/tests.cpp cv::cuda::GpuMat d_frame(frame); cv 1224 samples/gpu/performance/tests.cpp cv::Ptr<cv::BackgroundSubtractor> d_mog = cv::cuda::createBackgroundSubtractorMOG(); cv 1225 samples/gpu/performance/tests.cpp cv::cuda::GpuMat d_foreground; cv 1249 samples/gpu/performance/tests.cpp cv::VideoCapture cap(inputFile); cv 1252 samples/gpu/performance/tests.cpp cv::Mat frame; cv 1255 samples/gpu/performance/tests.cpp cv::Ptr<cv::BackgroundSubtractor> mog2 = cv::createBackgroundSubtractorMOG2(); cv 1256 samples/gpu/performance/tests.cpp cv::Mat foreground; cv 1257 samples/gpu/performance/tests.cpp cv::Mat background; cv 1279 samples/gpu/performance/tests.cpp cv::Ptr<cv::BackgroundSubtractor> d_mog2 = cv::cuda::createBackgroundSubtractorMOG2(); cv 1280 samples/gpu/performance/tests.cpp cv::cuda::GpuMat d_frame(frame); cv 1281 samples/gpu/performance/tests.cpp cv::cuda::GpuMat d_foreground; cv 1282 samples/gpu/performance/tests.cpp cv::cuda::GpuMat d_background; cv 13 samples/gpu/pyrlk_optical_flow.cpp using namespace cv; cv 14 samples/gpu/pyrlk_optical_flow.cpp using namespace cv::cuda; cv 136 samples/gpu/pyrlk_optical_flow.cpp cv::cvtColor(frame0, frame0Gray, COLOR_BGR2GRAY); cv 138 samples/gpu/pyrlk_optical_flow.cpp cv::cvtColor(frame1, frame1Gray, COLOR_BGR2GRAY); cv 11 samples/gpu/stereo_match.cpp using namespace cv; cv 144 samples/gpu/stereo_match.cpp cv::cuda::printShortCudaDeviceInfo(cv::cuda::getDevice()); cv 178 samples/gpu/stereo_match.cpp csbp = cv::cuda::createStereoConstantSpaceBP(p.ndisp); cv 296 samples/gpu/stereo_match.cpp bm->setPreFilterType(cv::StereoBM::PREFILTER_XSOBEL); cv 298 samples/gpu/stereo_match.cpp case cv::StereoBM::PREFILTER_XSOBEL: cv 23 samples/gpu/stereo_multi.cpp using namespace cv; cv 24 samples/gpu/stereo_multi.cpp using namespace cv::cuda; cv 17 samples/gpu/super_resolution.cpp using namespace cv; cv 18 samples/gpu/super_resolution.cpp using namespace cv::superres; cv 29 samples/gpu/super_resolution.cpp static Ptr<cv::superres::DenseOpticalFlowExt> createOptFlow(const string& name, bool useGpu) cv 34 samples/gpu/super_resolution.cpp return cv::superres::createOptFlow_Farneback_CUDA(); cv 36 samples/gpu/super_resolution.cpp return cv::superres::createOptFlow_Farneback(); cv 43 samples/gpu/super_resolution.cpp return cv::superres::createOptFlow_DualTVL1_CUDA(); cv 45 samples/gpu/super_resolution.cpp return cv::superres::createOptFlow_DualTVL1(); cv 48 samples/gpu/super_resolution.cpp return cv::superres::createOptFlow_Brox_CUDA(); cv 50 samples/gpu/super_resolution.cpp return cv::superres::createOptFlow_PyrLK_CUDA(); cv 54 samples/gpu/super_resolution.cpp return Ptr<cv::superres::DenseOpticalFlowExt>(); cv 95 samples/gpu/super_resolution.cpp Ptr<cv::superres::DenseOpticalFlowExt> of = createOptFlow(optFlow, useCuda); cv 115 samples/gpu/super_resolution.cpp catch (const cv::Exception&) cv 14 samples/gpu/surf_keypoint_matcher.cpp using namespace cv; cv 15 samples/gpu/surf_keypoint_matcher.cpp using namespace cv::cuda; cv 51 samples/gpu/surf_keypoint_matcher.cpp cv::cuda::printShortCudaDeviceInfo(cv::cuda::getDevice()); cv 65 samples/gpu/surf_keypoint_matcher.cpp Ptr<cv::cuda::DescriptorMatcher> matcher = cv::cuda::DescriptorMatcher::createBFMatcher(surf.defaultNorm()); cv 29 samples/gpu/tick_meter.hpp double TickMeter::getTimeMicro() const { return (double)getTimeTicks()/cv::getTickFrequency(); } cv 35 samples/gpu/tick_meter.hpp void TickMeter::start(){ startTime = cv::getTickCount(); } cv 38 samples/gpu/tick_meter.hpp int64 time = cv::getTickCount(); cv 26 samples/gpu/video_reader.cpp cv::namedWindow("CPU", cv::WINDOW_NORMAL); cv 27 samples/gpu/video_reader.cpp cv::namedWindow("GPU", cv::WINDOW_OPENGL); cv 28 samples/gpu/video_reader.cpp cv::cuda::setGlDevice(); cv 30 samples/gpu/video_reader.cpp cv::Mat frame; cv 31 samples/gpu/video_reader.cpp cv::VideoCapture reader(fname); cv 33 samples/gpu/video_reader.cpp cv::cuda::GpuMat d_frame; cv 34 samples/gpu/video_reader.cpp cv::Ptr<cv::cudacodec::VideoReader> d_reader = cv::cudacodec::createVideoReader(fname); cv 54 samples/gpu/video_reader.cpp cv::imshow("CPU", frame); cv 55 samples/gpu/video_reader.cpp cv::imshow("GPU", d_frame); cv 57 samples/gpu/video_reader.cpp if (cv::waitKey(3) > 0) cv 26 samples/gpu/video_writer.cpp cv::VideoCapture reader(argv[1]); cv 34 samples/gpu/video_writer.cpp cv::cuda::printShortCudaDeviceInfo(cv::cuda::getDevice()); cv 36 samples/gpu/video_writer.cpp cv::VideoWriter writer; cv 37 samples/gpu/video_writer.cpp cv::Ptr<cv::cudacodec::VideoWriter> d_writer; cv 39 samples/gpu/video_writer.cpp cv::Mat frame; cv 40 samples/gpu/video_writer.cpp cv::cuda::GpuMat d_frame; cv 64 samples/gpu/video_writer.cpp if (!writer.open("output_cpu.avi", cv::VideoWriter::fourcc('X', 'V', 'I', 'D'), FPS, frame.size())) cv 72 samples/gpu/video_writer.cpp const cv::String outputFilename = "output_gpu.avi"; cv 73 samples/gpu/video_writer.cpp d_writer = cv::cudacodec::createVideoWriter(outputFilename, frame.size(), FPS); cv 12 samples/tapi/bgfg_segm.cpp using namespace cv; cv 11 samples/tapi/camshift.cpp static cv::UMat image; cv 16 samples/tapi/camshift.cpp static cv::Rect selection; cv 21 samples/tapi/camshift.cpp static cv::Point origin; cv 30 samples/tapi/camshift.cpp selection &= cv::Rect(0, 0, image.cols, image.rows); cv 35 samples/tapi/camshift.cpp case cv::EVENT_LBUTTONDOWN: cv 36 samples/tapi/camshift.cpp origin = cv::Point(x, y); cv 37 samples/tapi/camshift.cpp selection = cv::Rect(x, y, 0, 0); cv 40 samples/tapi/camshift.cpp case cv::EVENT_LBUTTONUP: cv 72 samples/tapi/camshift.cpp cv::VideoCapture cap; cv 73 samples/tapi/camshift.cpp cv::Rect trackWindow; cv 78 samples/tapi/camshift.cpp cv::CommandLineParser parser(argc, argv, keys); cv 94 samples/tapi/camshift.cpp cv::namedWindow("Histogram", cv::WINDOW_NORMAL); cv 95 samples/tapi/camshift.cpp cv::namedWindow("CamShift Demo", cv::WINDOW_NORMAL); cv 96 samples/tapi/camshift.cpp cv::setMouseCallback("CamShift Demo", onMouse); cv 97 samples/tapi/camshift.cpp cv::createTrackbar("Vmin", "CamShift Demo", &vmin, 256); cv 98 samples/tapi/camshift.cpp cv::createTrackbar("Vmax", "CamShift Demo", &vmax, 256); cv 99 samples/tapi/camshift.cpp cv::createTrackbar("Smin", "CamShift Demo", &smin, 256); cv 101 samples/tapi/camshift.cpp cv::Mat frame, histimg(200, 320, CV_8UC3, cv::Scalar::all(0)); cv 102 samples/tapi/camshift.cpp cv::UMat hsv, hist, hue, mask, backproj; cv 118 samples/tapi/camshift.cpp cv::cvtColor(image, hsv, cv::COLOR_BGR2HSV); cv 124 samples/tapi/camshift.cpp cv::inRange(hsv, cv::Scalar(0, smin, std::min(_vmin, _vmax)), cv 125 samples/tapi/camshift.cpp cv::Scalar(180, 256, std::max(_vmin, _vmax)), mask); cv 129 samples/tapi/camshift.cpp cv::mixChannels(std::vector<cv::UMat>(1, hsv), std::vector<cv::UMat>(1, hue), fromTo, 1); cv 133 samples/tapi/camshift.cpp cv::UMat roi(hue, selection), maskroi(mask, selection); cv 134 samples/tapi/camshift.cpp cv::calcHist(std::vector<cv::Mat>(1, roi.getMat(cv::ACCESS_READ)), std::vector<int>(1, 0), cv 136 samples/tapi/camshift.cpp cv::normalize(hist, hist, 0, 255, cv::NORM_MINMAX); cv 141 samples/tapi/camshift.cpp histimg = cv::Scalar::all(0); cv 143 samples/tapi/camshift.cpp cv::Mat buf (1, hsize, CV_8UC3); cv 145 samples/tapi/camshift.cpp buf.at<cv::Vec3b>(i) = cv::Vec3b(cv::saturate_cast<uchar>(i*180./hsize), 255, 255); cv 146 samples/tapi/camshift.cpp cv::cvtColor(buf, buf, cv::COLOR_HSV2BGR); cv 149 samples/tapi/camshift.cpp cv::Mat _hist = hist.getMat(cv::ACCESS_READ); cv 152 samples/tapi/camshift.cpp int val = cv::saturate_cast<int>(_hist.at<float>(i)*histimg.rows/255); cv 153 samples/tapi/camshift.cpp cv::rectangle(histimg, cv::Point(i*binW, histimg.rows), cv 154 samples/tapi/camshift.cpp cv::Point((i+1)*binW, histimg.rows - val), cv 155 samples/tapi/camshift.cpp cv::Scalar(buf.at<cv::Vec3b>(i)), -1, 8); cv 160 samples/tapi/camshift.cpp cv::calcBackProject(std::vector<cv::UMat>(1, hue), std::vector<int>(1, 0), hist, backproj, cv 162 samples/tapi/camshift.cpp cv::bitwise_and(backproj, mask, backproj); cv 164 samples/tapi/camshift.cpp cv::RotatedRect trackBox = cv::CamShift(backproj, trackWindow, cv 165 samples/tapi/camshift.cpp cv::TermCriteria(cv::TermCriteria::EPS | cv::TermCriteria::COUNT, 10, 1)); cv 169 samples/tapi/camshift.cpp trackWindow = cv::Rect(trackWindow.x - r, trackWindow.y - r, cv 171 samples/tapi/camshift.cpp cv::Rect(0, 0, cols, rows); cv 175 samples/tapi/camshift.cpp cv::cvtColor(backproj, image, cv::COLOR_GRAY2BGR); cv 178 samples/tapi/camshift.cpp cv::Mat _image = image.getMat(cv::ACCESS_RW); cv 179 samples/tapi/camshift.cpp cv::ellipse(_image, trackBox, cv::Scalar(0, 0, 255), 3, cv::LINE_AA); cv 188 samples/tapi/camshift.cpp cv::UMat roi(image, selection); cv 189 samples/tapi/camshift.cpp cv::bitwise_not(roi, roi); cv 192 samples/tapi/camshift.cpp cv::imshow("CamShift Demo", image); cv 194 samples/tapi/camshift.cpp cv::imshow("Histogram", histimg); cv 196 samples/tapi/camshift.cpp char c = (char)cv::waitKey(10); cv 207 samples/tapi/camshift.cpp histimg = cv::Scalar::all(0); cv 212 samples/tapi/camshift.cpp cv::destroyWindow("Histogram"); cv 214 samples/tapi/camshift.cpp cv::namedWindow("Histogram", cv::WINDOW_AUTOSIZE); cv 220 samples/tapi/camshift.cpp cv::ocl::setUseOpenCL(!cv::ocl::useOpenCL()); cv 10 samples/tapi/clahe.cpp using namespace cv; cv 38 samples/tapi/clahe.cpp cv::CommandLineParser cmd(argc, argv, keys); cv 104 samples/tapi/clahe.cpp ocl::setUseOpenCL(!cv::ocl::useOpenCL()); cv 17 samples/tapi/hog.cpp using namespace cv; cv 157 samples/tapi/hog.cpp HOGDescriptor::L2Hys, 0.2, gamma_corr, cv::HOGDescriptor::DEFAULT_NLEVELS); cv 274 samples/tapi/hog.cpp ocl::setUseOpenCL(!cv::ocl::useOpenCL()); cv 13 samples/tapi/pyrlk_optical_flow.cpp using namespace cv; cv 108 samples/tapi/pyrlk_optical_flow.cpp imread(fname0, cv::IMREAD_GRAYSCALE).copyTo(frame0); cv 110 samples/tapi/pyrlk_optical_flow.cpp imread(fname1, cv::IMREAD_GRAYSCALE).copyTo(frame1); cv 112 samples/tapi/pyrlk_optical_flow.cpp vector<cv::Point2f> pts(points); cv 113 samples/tapi/pyrlk_optical_flow.cpp vector<cv::Point2f> nextPts(points); cv 191 samples/tapi/pyrlk_optical_flow.cpp ocl::setUseOpenCL(!cv::ocl::useOpenCL()); cv 14 samples/tapi/squares.cpp using namespace cv; cv 69 samples/tapi/squares.cpp cv::threshold(gray0, gray, (l+1)*255/N, 255, THRESH_BINARY); cv 188 samples/tapi/squares.cpp int64 t_start = cv::getTickCount(); cv 190 samples/tapi/squares.cpp t_cpp += cv::getTickCount() - t_start; cv 192 samples/tapi/squares.cpp t_start = cv::getTickCount(); cv 13 samples/tapi/tvl1_optical_flow.cpp using namespace cv; cv 113 samples/tapi/tvl1_optical_flow.cpp imread(fname0, cv::IMREAD_GRAYSCALE).copyTo(frame0); cv 114 samples/tapi/tvl1_optical_flow.cpp imread(fname1, cv::IMREAD_GRAYSCALE).copyTo(frame1); cv 115 samples/tapi/tvl1_optical_flow.cpp cv::Ptr<cv::DenseOpticalFlow> alg = cv::createOptFlow_DualTVL1(); cv 188 samples/tapi/tvl1_optical_flow.cpp ocl::setUseOpenCL(!cv::ocl::useOpenCL()); cv 35 samples/winrt/FaceDetection/FaceDetection/MainPage.xaml.cpp cv::String face_cascade_name = "Assets/haarcascade_frontalface_alt.xml"; cv 45 samples/winrt/FaceDetection/FaceDetection/MainPage.xaml.cpp cv::Mat image = cv::imread("Assets/group1.jpg"); cv 46 samples/winrt/FaceDetection/FaceDetection/MainPage.xaml.cpp groupFaces = cv::Mat(image.rows, image.cols, CV_8UC4); cv 47 samples/winrt/FaceDetection/FaceDetection/MainPage.xaml.cpp cv::cvtColor(image, groupFaces, CV_BGR2BGRA); cv 59 samples/winrt/FaceDetection/FaceDetection/MainPage.xaml.cpp std::vector<cv::Rect> facesColl; cv 60 samples/winrt/FaceDetection/FaceDetection/MainPage.xaml.cpp cv::Mat frame_gray; cv 63 samples/winrt/FaceDetection/FaceDetection/MainPage.xaml.cpp cv::equalizeHist(frame_gray, frame_gray); cv 66 samples/winrt/FaceDetection/FaceDetection/MainPage.xaml.cpp face_cascade.detectMultiScale(frame_gray, facesColl, 1.1, 2, 0 | CV_HAAR_SCALE_IMAGE, cv::Size(1, 1)); cv 70 samples/winrt/FaceDetection/FaceDetection/MainPage.xaml.cpp cv::rectangle(groupFaces, face, cv::Scalar(0, 255, 255), 5); cv 79 samples/winrt/FaceDetection/FaceDetection/MainPage.xaml.cpp void FaceDetection::MainPage::UpdateImage(const cv::Mat& image) { cv 28 samples/winrt/FaceDetection/FaceDetection/MainPage.xaml.h cv::Mat groupFaces; cv 29 samples/winrt/FaceDetection/FaceDetection/MainPage.xaml.h void UpdateImage(const cv::Mat& image); cv 30 samples/winrt/FaceDetection/FaceDetection/MainPage.xaml.h cv::CascadeClassifier face_cascade; cv 1314 samples/winrt/ImageManipulations/MediaExtensions/OcvTransform/OcvTransform.cpp cv::Mat InputFrame(m_imageHeightInPixels + m_imageHeightInPixels/2, m_imageWidthInPixels, CV_8UC1, pSrc, lSrcStride); cv 1315 samples/winrt/ImageManipulations/MediaExtensions/OcvTransform/OcvTransform.cpp cv::Mat InputGreyScale(InputFrame, cv::Range(0, m_imageHeightInPixels), cv::Range(0, m_imageWidthInPixels)); cv 1316 samples/winrt/ImageManipulations/MediaExtensions/OcvTransform/OcvTransform.cpp cv::Mat OutputFrame(m_imageHeightInPixels + m_imageHeightInPixels/2, m_imageWidthInPixels, CV_8UC1, pDest, lDestStride); cv 1326 samples/winrt/ImageManipulations/MediaExtensions/OcvTransform/OcvTransform.cpp OutputFrame.setTo(cv::Scalar(128)); cv 1327 samples/winrt/ImageManipulations/MediaExtensions/OcvTransform/OcvTransform.cpp cv::Mat OutputGreyScale(OutputFrame, cv::Range(0, m_imageHeightInPixels), cv::Range(0, m_imageWidthInPixels)); cv 1332 samples/winrt/ImageManipulations/MediaExtensions/OcvTransform/OcvTransform.cpp OutputFrame.setTo(cv::Scalar(128)); cv 1333 samples/winrt/ImageManipulations/MediaExtensions/OcvTransform/OcvTransform.cpp cv::Mat OutputGreyScale(OutputFrame, cv::Range(0, m_imageHeightInPixels), cv::Range(0, m_imageWidthInPixels)); cv 1334 samples/winrt/ImageManipulations/MediaExtensions/OcvTransform/OcvTransform.cpp cv::Canny(InputGreyScale, OutputGreyScale, 80, 90); cv 1339 samples/winrt/ImageManipulations/MediaExtensions/OcvTransform/OcvTransform.cpp OutputFrame.setTo(cv::Scalar(128)); cv 1340 samples/winrt/ImageManipulations/MediaExtensions/OcvTransform/OcvTransform.cpp cv::Mat OutputGreyScale(OutputFrame, cv::Range(0, m_imageHeightInPixels), cv::Range(0, m_imageWidthInPixels)); cv 1341 samples/winrt/ImageManipulations/MediaExtensions/OcvTransform/OcvTransform.cpp cv::Sobel(InputGreyScale, OutputGreyScale, CV_8U, 1, 1); cv 1351 samples/winrt/ImageManipulations/MediaExtensions/OcvTransform/OcvTransform.cpp const cv::Scalar mColorsY[] = { cv::Scalar(76), cv::Scalar(149), cv::Scalar(29) }; cv 1352 samples/winrt/ImageManipulations/MediaExtensions/OcvTransform/OcvTransform.cpp const cv::Scalar mColorsUV[] = { cv::Scalar(84, 255), cv::Scalar(43, 21), cv::Scalar(255, 107) }; cv 1354 samples/winrt/ImageManipulations/MediaExtensions/OcvTransform/OcvTransform.cpp cv::Mat OutputY(m_imageHeightInPixels, m_imageWidthInPixels, CV_8UC1, pDest, lDestStride); cv 1355 samples/winrt/ImageManipulations/MediaExtensions/OcvTransform/OcvTransform.cpp cv::Mat OutputUV(m_imageHeightInPixels/2, m_imageWidthInPixels/2, cv 1357 samples/winrt/ImageManipulations/MediaExtensions/OcvTransform/OcvTransform.cpp cv::Mat BgrFrame; cv 1361 samples/winrt/ImageManipulations/MediaExtensions/OcvTransform/OcvTransform.cpp cv::cvtColor(InputFrame, BgrFrame, cv::COLOR_YUV420sp2BGR); cv 1369 samples/winrt/ImageManipulations/MediaExtensions/OcvTransform/OcvTransform.cpp cv::Mat hist; cv 1370 samples/winrt/ImageManipulations/MediaExtensions/OcvTransform/OcvTransform.cpp cv::calcHist(&BgrFrame, 1, channels[c], cv::Mat(), hist, 1, mHistSize, ranges); cv 1371 samples/winrt/ImageManipulations/MediaExtensions/OcvTransform/OcvTransform.cpp cv::normalize(hist, hist, BgrFrame.rows/2, 0, cv::NORM_INF); cv 1373 samples/winrt/ImageManipulations/MediaExtensions/OcvTransform/OcvTransform.cpp cv::Point mP1, mP2; cv 1378 samples/winrt/ImageManipulations/MediaExtensions/OcvTransform/OcvTransform.cpp cv::line(OutputY, mP1, mP2, mColorsY[c], thikness); cv 1385 samples/winrt/ImageManipulations/MediaExtensions/OcvTransform/OcvTransform.cpp cv::line(OutputUV, mP1, mP2, mColorsUV[c], thikness/2); cv 48 samples/winrt/OcvImageProcessing/OcvImageProcessing/MainPage.xaml.cpp cv::Mat image = cv::imread("Assets/Lena.png"); cv 49 samples/winrt/OcvImageProcessing/OcvImageProcessing/MainPage.xaml.cpp Lena = cv::Mat(image.rows, image.cols, CV_8UC4); cv 83 samples/winrt/OcvImageProcessing/OcvImageProcessing/MainPage.xaml.cpp Lena = cv::Mat(frameHeight, frameWidth, CV_8UC4); cv 97 samples/winrt/OcvImageProcessing/OcvImageProcessing/MainPage.xaml.cpp return cv::tempfile(suffix.c_str()); cv 104 samples/winrt/OcvImageProcessing/OcvImageProcessing/MainPage.xaml.cpp bool OcvImageProcessing::MainPage::SaveImage(cv::Mat image) { cv 106 samples/winrt/OcvImageProcessing/OcvImageProcessing/MainPage.xaml.cpp cv::String localFile = ConvertPath(ApplicationData::Current->LocalFolder->Path) + "\\Lena.png"; cv 108 samples/winrt/OcvImageProcessing/OcvImageProcessing/MainPage.xaml.cpp return cv::imwrite(localFile, image); cv 117 samples/winrt/OcvImageProcessing/OcvImageProcessing/MainPage.xaml.cpp cv::String OcvImageProcessing::MainPage::ConvertPath(Platform::String^ path) { cv 131 samples/winrt/OcvImageProcessing/OcvImageProcessing/MainPage.xaml.cpp cv::String localPath(localPathC); cv 160 samples/winrt/OcvImageProcessing/OcvImageProcessing/MainPage.xaml.cpp void OcvImageProcessing::MainPage::UpdateImage(const cv::Mat& image) cv 183 samples/winrt/OcvImageProcessing/OcvImageProcessing/MainPage.xaml.cpp cv::Mat OcvImageProcessing::MainPage::ApplyGrayFilter(const cv::Mat& image) cv 185 samples/winrt/OcvImageProcessing/OcvImageProcessing/MainPage.xaml.cpp cv::Mat result; cv 186 samples/winrt/OcvImageProcessing/OcvImageProcessing/MainPage.xaml.cpp cv::Mat intermediateMat; cv 187 samples/winrt/OcvImageProcessing/OcvImageProcessing/MainPage.xaml.cpp cv::cvtColor(image, intermediateMat, CV_RGBA2GRAY); cv 188 samples/winrt/OcvImageProcessing/OcvImageProcessing/MainPage.xaml.cpp cv::cvtColor(intermediateMat, result, CV_GRAY2BGRA); cv 192 samples/winrt/OcvImageProcessing/OcvImageProcessing/MainPage.xaml.cpp cv::Mat OcvImageProcessing::MainPage::ApplyCannyFilter(const cv::Mat& image) cv 194 samples/winrt/OcvImageProcessing/OcvImageProcessing/MainPage.xaml.cpp cv::Mat result; cv 195 samples/winrt/OcvImageProcessing/OcvImageProcessing/MainPage.xaml.cpp cv::Mat intermediateMat; cv 196 samples/winrt/OcvImageProcessing/OcvImageProcessing/MainPage.xaml.cpp cv::Canny(image, intermediateMat, 80, 90); cv 197 samples/winrt/OcvImageProcessing/OcvImageProcessing/MainPage.xaml.cpp cv::cvtColor(intermediateMat, result, CV_GRAY2BGRA); cv 201 samples/winrt/OcvImageProcessing/OcvImageProcessing/MainPage.xaml.cpp cv::Mat OcvImageProcessing::MainPage::ApplyBlurFilter(const cv::Mat& image) cv 203 samples/winrt/OcvImageProcessing/OcvImageProcessing/MainPage.xaml.cpp cv::Mat result; cv 204 samples/winrt/OcvImageProcessing/OcvImageProcessing/MainPage.xaml.cpp cv::blur(image, result, cv::Size(3,3)); cv 208 samples/winrt/OcvImageProcessing/OcvImageProcessing/MainPage.xaml.cpp cv::Mat OcvImageProcessing::MainPage::ApplyFindFeaturesFilter(const cv::Mat& image) cv 210 samples/winrt/OcvImageProcessing/OcvImageProcessing/MainPage.xaml.cpp cv::Mat result; cv 211 samples/winrt/OcvImageProcessing/OcvImageProcessing/MainPage.xaml.cpp cv::Mat intermediateMat; cv 212 samples/winrt/OcvImageProcessing/OcvImageProcessing/MainPage.xaml.cpp cv::Ptr<cv::FastFeatureDetector> detector = cv::FastFeatureDetector::create(50); cv 213 samples/winrt/OcvImageProcessing/OcvImageProcessing/MainPage.xaml.cpp std::vector<cv::KeyPoint> features; cv 216 samples/winrt/OcvImageProcessing/OcvImageProcessing/MainPage.xaml.cpp cv::cvtColor(image, intermediateMat, CV_RGBA2GRAY); cv 221 samples/winrt/OcvImageProcessing/OcvImageProcessing/MainPage.xaml.cpp const cv::KeyPoint& kp = features[i]; cv 222 samples/winrt/OcvImageProcessing/OcvImageProcessing/MainPage.xaml.cpp cv::circle(result, cv::Point((int)kp.pt.x, (int)kp.pt.y), 10, cv::Scalar(255,0,0,255)); cv 228 samples/winrt/OcvImageProcessing/OcvImageProcessing/MainPage.xaml.cpp cv::Mat OcvImageProcessing::MainPage::ApplySepiaFilter(const cv::Mat& image) cv 237 samples/winrt/OcvImageProcessing/OcvImageProcessing/MainPage.xaml.cpp const cv::Mat SepiaKernel(4, 4, CV_32FC1, (void*)SepiaKernelData); cv 238 samples/winrt/OcvImageProcessing/OcvImageProcessing/MainPage.xaml.cpp cv::Mat result; cv 239 samples/winrt/OcvImageProcessing/OcvImageProcessing/MainPage.xaml.cpp cv::transform(image, result, SepiaKernel); cv 35 samples/winrt/OcvImageProcessing/OcvImageProcessing/MainPage.xaml.h cv::Mat ApplyGrayFilter(const cv::Mat& image); cv 36 samples/winrt/OcvImageProcessing/OcvImageProcessing/MainPage.xaml.h cv::Mat ApplyCannyFilter(const cv::Mat& image); cv 37 samples/winrt/OcvImageProcessing/OcvImageProcessing/MainPage.xaml.h cv::Mat ApplyBlurFilter(const cv::Mat& image); cv 38 samples/winrt/OcvImageProcessing/OcvImageProcessing/MainPage.xaml.h cv::Mat ApplyFindFeaturesFilter(const cv::Mat& image); cv 39 samples/winrt/OcvImageProcessing/OcvImageProcessing/MainPage.xaml.h cv::Mat ApplySepiaFilter(const cv::Mat& image); cv 41 samples/winrt/OcvImageProcessing/OcvImageProcessing/MainPage.xaml.h void UpdateImage(const cv::Mat& image); cv 43 samples/winrt/OcvImageProcessing/OcvImageProcessing/MainPage.xaml.h bool SaveImage(cv::Mat image); cv 46 samples/winrt/OcvImageProcessing/OcvImageProcessing/MainPage.xaml.h cv::String ConvertPath(Platform::String^ path); cv 48 samples/winrt/OcvImageProcessing/OcvImageProcessing/MainPage.xaml.h cv::Mat Lena; cv 82 samples/winrt_universal/PhoneTutorial/MainPage.xaml.cpp cv::Mat mat(width, height, CV_8UC4); cv 86 samples/winrt_universal/PhoneTutorial/MainPage.xaml.cpp cv::Mat intermediateMat; cv 87 samples/winrt_universal/PhoneTutorial/MainPage.xaml.cpp cv::cvtColor(mat, intermediateMat, CV_RGB2GRAY); cv 90 samples/winrt_universal/PhoneTutorial/MainPage.xaml.cpp cv::cvtColor(intermediateMat, mat, CV_GRAY2BGRA); cv 43 samples/winrt_universal/VideoCaptureXAML/video_capture_xaml/video_capture_xaml.Shared/main.cpp using namespace cv; cv 131 samples/winrt_universal/VideoCaptureXAML/video_capture_xaml/video_capture_xaml.Shared/main.cpp std::vector<cv::Rect> facesColl; cv 134 samples/winrt_universal/VideoCaptureXAML/video_capture_xaml/video_capture_xaml.Shared/main.cpp face_cascade.detectMultiScale(faces, facesColl, 1.1, 2, 0 | CV_HAAR_SCALE_IMAGE, cv::Size(1, 1)); cv 138 samples/winrt_universal/VideoCaptureXAML/video_capture_xaml/video_capture_xaml.Shared/main.cpp cv::rectangle(frame, face, cv::Scalar(0, 255, 255), 3); cv 45 samples/winrt_universal/VideoCaptureXAML/video_capture_xaml/video_capture_xaml.Windows/MainPage.xaml.cpp cv::winrt_setFrameContainer(cvImage); cv 53 samples/winrt_universal/VideoCaptureXAML/video_capture_xaml/video_capture_xaml.Windows/MainPage.xaml.cpp cv::winrt_startMessageLoop(cvMain); cv 60 samples/winrt_universal/VideoCaptureXAML/video_capture_xaml/video_capture_xaml.Windows/MainPage.xaml.cpp cv::winrt_onVisibilityChanged(e->Visible); cv 45 samples/winrt_universal/VideoCaptureXAML/video_capture_xaml/video_capture_xaml.WindowsPhone/MainPage.xaml.cpp cv::winrt_setFrameContainer(cvImage); cv 53 samples/winrt_universal/VideoCaptureXAML/video_capture_xaml/video_capture_xaml.WindowsPhone/MainPage.xaml.cpp cv::winrt_startMessageLoop(cvMain); cv 59 samples/winrt_universal/VideoCaptureXAML/video_capture_xaml/video_capture_xaml.WindowsPhone/MainPage.xaml.cpp cv::winrt_onVisibilityChanged(e->Visible); cv 76 samples/wp8/OcvImageManipulation/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DInterop.cpp m_backFrame = std::shared_ptr<cv::Mat> (new cv::Mat(height, width, CV_8UC4)); cv 77 samples/wp8/OcvImageManipulation/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DInterop.cpp m_frontFrame = std::shared_ptr<cv::Mat> (new cv::Mat(height, width, CV_8UC4)); cv 91 samples/wp8/OcvImageManipulation/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DInterop.cpp cv::Mat* mat = m_frontFrame.get(); cv 136 samples/wp8/OcvImageManipulation/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DInterop.cpp void Direct3DInterop::ApplyGrayFilter(cv::Mat* mat) cv 138 samples/wp8/OcvImageManipulation/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DInterop.cpp cv::Mat intermediateMat; cv 139 samples/wp8/OcvImageManipulation/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DInterop.cpp cv::cvtColor(*mat, intermediateMat, CV_RGBA2GRAY); cv 140 samples/wp8/OcvImageManipulation/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DInterop.cpp cv::cvtColor(intermediateMat, *mat, CV_GRAY2BGRA); cv 143 samples/wp8/OcvImageManipulation/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DInterop.cpp void Direct3DInterop::ApplyCannyFilter(cv::Mat* mat) cv 145 samples/wp8/OcvImageManipulation/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DInterop.cpp cv::Mat intermediateMat; cv 146 samples/wp8/OcvImageManipulation/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DInterop.cpp cv::Canny(*mat, intermediateMat, 80, 90); cv 147 samples/wp8/OcvImageManipulation/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DInterop.cpp cv::cvtColor(intermediateMat, *mat, CV_GRAY2BGRA); cv 150 samples/wp8/OcvImageManipulation/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DInterop.cpp void Direct3DInterop::ApplyBlurFilter(cv::Mat* mat) cv 152 samples/wp8/OcvImageManipulation/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DInterop.cpp cv::Mat intermediateMat; cv 154 samples/wp8/OcvImageManipulation/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DInterop.cpp cv::cvtColor(intermediateMat, *mat, CV_GRAY2BGRA); cv 157 samples/wp8/OcvImageManipulation/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DInterop.cpp void Direct3DInterop::ApplyFindFeaturesFilter(cv::Mat* mat) cv 159 samples/wp8/OcvImageManipulation/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DInterop.cpp cv::Mat intermediateMat; cv 160 samples/wp8/OcvImageManipulation/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DInterop.cpp cv::Ptr<cv::FastFeatureDetector> detector = cv::FastFeatureDetector::create(50); cv 161 samples/wp8/OcvImageManipulation/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DInterop.cpp std::vector<cv::KeyPoint> features; cv 163 samples/wp8/OcvImageManipulation/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DInterop.cpp cv::cvtColor(*mat, intermediateMat, CV_RGBA2GRAY); cv 168 samples/wp8/OcvImageManipulation/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DInterop.cpp const cv::KeyPoint& kp = features[i]; cv 169 samples/wp8/OcvImageManipulation/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DInterop.cpp cv::circle(*mat, cv::Point((int)kp.pt.x, (int)kp.pt.y), 10, cv::Scalar(255,0,0,255)); cv 173 samples/wp8/OcvImageManipulation/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DInterop.cpp void Direct3DInterop::ApplySepiaFilter(cv::Mat* mat) cv 183 samples/wp8/OcvImageManipulation/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DInterop.cpp const cv::Mat SepiaKernel(4, 4, CV_32FC1, (void*)SepiaKernelData); cv 184 samples/wp8/OcvImageManipulation/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DInterop.cpp cv::transform(*mat, *mat, SepiaKernel); cv 83 samples/wp8/OcvImageManipulation/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DInterop.h std::shared_ptr<cv::Mat> m_backFrame; cv 84 samples/wp8/OcvImageManipulation/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DInterop.h std::shared_ptr<cv::Mat> m_frontFrame; cv 94 samples/wp8/OcvImageManipulation/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DInterop.h void ApplyGrayFilter(cv::Mat* mat); cv 95 samples/wp8/OcvImageManipulation/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DInterop.h void ApplyCannyFilter(cv::Mat* mat); cv 96 samples/wp8/OcvImageManipulation/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DInterop.h void ApplyBlurFilter(cv::Mat* mat); cv 97 samples/wp8/OcvImageManipulation/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DInterop.h void ApplyFindFeaturesFilter(cv::Mat* mat); cv 98 samples/wp8/OcvImageManipulation/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DInterop.h void ApplySepiaFilter(cv::Mat* mat); cv 19 samples/wp8/OcvRotatingCube/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DInterop.cpp void Direct3DInterop::ApplyGrayFilter(const cv::Mat& image) cv 21 samples/wp8/OcvRotatingCube/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DInterop.cpp cv::Mat intermediateMat; cv 22 samples/wp8/OcvRotatingCube/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DInterop.cpp cv::cvtColor(image, intermediateMat, CV_RGBA2GRAY); cv 23 samples/wp8/OcvRotatingCube/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DInterop.cpp cv::cvtColor(intermediateMat, image, CV_GRAY2BGRA); cv 26 samples/wp8/OcvRotatingCube/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DInterop.cpp void Direct3DInterop::ApplyCannyFilter(const cv::Mat& image) cv 28 samples/wp8/OcvRotatingCube/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DInterop.cpp cv::Mat intermediateMat; cv 29 samples/wp8/OcvRotatingCube/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DInterop.cpp cv::Canny(image, intermediateMat, 80, 90); cv 30 samples/wp8/OcvRotatingCube/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DInterop.cpp cv::cvtColor(intermediateMat, image, CV_GRAY2BGRA); cv 33 samples/wp8/OcvRotatingCube/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DInterop.cpp void Direct3DInterop::ApplySepiaFilter(const cv::Mat& image) cv 43 samples/wp8/OcvRotatingCube/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DInterop.cpp const cv::Mat SepiaKernel(4, 4, CV_32FC1, (void*)SepiaKernelData); cv 44 samples/wp8/OcvRotatingCube/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DInterop.cpp cv::transform(image, image, SepiaKernel); cv 149 samples/wp8/OcvRotatingCube/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DInterop.cpp cv::Mat Lena = cv::Mat(height, width, CV_8UC4); cv 70 samples/wp8/OcvRotatingCube/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DInterop.h void ApplyGrayFilter(const cv::Mat& image); cv 71 samples/wp8/OcvRotatingCube/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DInterop.h void ApplyCannyFilter(const cv::Mat& image); cv 72 samples/wp8/OcvRotatingCube/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DInterop.h void ApplySepiaFilter(const cv::Mat& image); cv 74 samples/wp8/OcvRotatingCube/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DInterop.h void UpdateImage(const cv::Mat& image); cv 76 samples/wp8/OcvRotatingCube/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DInterop.h cv::Mat Lena; cv 17 samples/wp8/OpenCVXaml/OpenCVComponent/OpenCVComponent.cpp void CopyIVectorToMatrix(IVector<int>^ input, cv::Mat& mat, int size); cv 18 samples/wp8/OpenCVXaml/OpenCVComponent/OpenCVComponent.cpp void CopyMatrixToVector(const cv::Mat& mat, std::vector<int>& vector, int size); cv 27 samples/wp8/OpenCVXaml/OpenCVComponent/OpenCVComponent.cpp cv::Mat mat(width, height, CV_8UC4); cv 33 samples/wp8/OpenCVXaml/OpenCVComponent/OpenCVComponent.cpp cv::Mat intermediateMat; cv 34 samples/wp8/OpenCVXaml/OpenCVComponent/OpenCVComponent.cpp cv::cvtColor(mat, intermediateMat, CV_RGB2GRAY); cv 37 samples/wp8/OpenCVXaml/OpenCVComponent/OpenCVComponent.cpp cv::cvtColor(intermediateMat, mat, CV_GRAY2BGRA); cv 48 samples/wp8/OpenCVXaml/OpenCVComponent/OpenCVComponent.cpp void CopyIVectorToMatrix(IVector<int>^ input, cv::Mat& mat, int size) cv 59 samples/wp8/OpenCVXaml/OpenCVComponent/OpenCVComponent.cpp void CopyMatrixToVector(const cv::Mat& mat, std::vector<int>& vector, int size)